⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 counterthresholdjni.cpp

📁 270的linux说明
💻 CPP
📖 第 1 页 / 共 2 页
字号:
 * Class:     com_intel_mobile_threshold_Int64CounterThreshold * Method:    GetOffset * Signature: ()J */JNIEXPORT jlong JNICALL Java_com_intel_mobile_threshold_Int64CounterThreshold_GetOffsetNative( JNIEnv *JniEnv, jobject JObject ){	try	{		Int64CounterThreshold * TheInt64CounterThreshold = (Int64CounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheInt64CounterThreshold->GetOffset();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("Int64CounterThreshold"), IntelMobileText("GetOffset()") );	}	return NULL;}/* * Class:     com_intel_mobile_threshold_Int64CounterThreshold * Method:    SetOffset * Signature: (J)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_Int64CounterThreshold_SetOffsetNative( JNIEnv *JniEnv, jobject JObject, jlong offset ){	try	{		Int64CounterThreshold * TheInt64CounterThreshold = (Int64CounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheInt64CounterThreshold->SetOffset( offset );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("Int64CounterThreshold"), IntelMobileText("SetOffset()" ));	}	return NULL;}/************************************** IntCounter **************************************//* * Class:     com_intel_mobile_threshold_IntCounterThreshold * Method:    constructor * Signature: ()V */JNIEXPORT void JNICALL Java_com_intel_mobile_threshold_IntCounterThreshold_constructor( JNIEnv *JniEnv, jobject JObject ){	try	{		IntCounterThreshold * TheIntCounterThreshold = new IntCounterThreshold();		Set_nativeObjRef(JniEnv, JObject, (jlong) TheIntCounterThreshold);	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("IntCounterThreshold"), IntelMobileText("constructor" ));	}}/* * Class:     com_intel_mobile_threshold_IntCounterThreshold * Method:    SetObservedProperty * Signature: (Lcom/intel/mobile/base/IntProperty;)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_IntCounterThreshold_SetObservedPropertyNative( JNIEnv *JniEnv, jobject JObject, jobject observedProperty ){	try	{		IntCounterThreshold * TheIntCounterThreshold = (IntCounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		IntProperty * MyIntProperty = (IntProperty *) Get_nativeObjRef(JniEnv, observedProperty);		return TheIntCounterThreshold->SetObservedProperty( *MyIntProperty );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("IntCounterThreshold"), IntelMobileText("SetObservedProperty()" ));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_IntCounterThreshold * Method:    GetThreshold * Signature: ()I */JNIEXPORT jint JNICALL Java_com_intel_mobile_threshold_IntCounterThreshold_GetThresholdNative( JNIEnv *JniEnv, jobject JObject ){	try	{		IntCounterThreshold * TheIntCounterThreshold = (IntCounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheIntCounterThreshold->GetThreshold();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("IntCounterThreshold"), IntelMobileText("GetThreshold()") );	}	return NULL;}/* * Class:     com_intel_mobile_threshold_IntCounterThreshold * Method:    SetThreshold * Signature: (I)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_IntCounterThreshold_SetThresholdNative( JNIEnv *JniEnv, jobject JObject, jint threshold ){	try	{		IntCounterThreshold * TheIntCounterThreshold = (IntCounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheIntCounterThreshold->SetThreshold( threshold );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("IntCounterThreshold"), IntelMobileText("SetThreshold()") );	}	return NULL;}/* * Class:     com_intel_mobile_threshold_IntCounterThreshold * Method:    GetOffset * Signature: ()I */JNIEXPORT jint JNICALL Java_com_intel_mobile_threshold_IntCounterThreshold_GetOffsetNative( JNIEnv *JniEnv, jobject JObject ){	try	{		IntCounterThreshold * TheIntCounterThreshold = (IntCounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheIntCounterThreshold->GetOffset();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("IntCounterThreshold"), IntelMobileText("GetOffset()") );	}	return NULL;}/* * Class:     com_intel_mobile_threshold_IntCounterThreshold * Method:    SetOffset * Signature: (I)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_IntCounterThreshold_SetOffsetNative( JNIEnv *JniEnv, jobject JObject, jint offset ){	try	{		IntCounterThreshold * TheIntCounterThreshold = (IntCounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheIntCounterThreshold->SetOffset( offset );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("IntCounterThreshold"), IntelMobileText("SetOffset()") );	}	return NULL;}/************************************** UInt64Counter **************************************//* * Class:     com_intel_mobile_threshold_UInt64CounterThreshold * Method:    constructor * Signature: ()V */JNIEXPORT void JNICALL Java_com_intel_mobile_threshold_UInt64CounterThreshold_constructor( JNIEnv *JniEnv, jobject JObject ){	try	{		UInt64CounterThreshold * TheUInt64CounterThreshold = new UInt64CounterThreshold();		Set_nativeObjRef(JniEnv, JObject, (jlong) TheUInt64CounterThreshold);	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UInt64CounterThreshold"), IntelMobileText("constructor") );	}}/* * Class:     com_intel_mobile_threshold_UInt64CounterThreshold * Method:    SetObservedProperty * Signature: (Lcom/intel/mobile/base/UInt64Property;)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_UInt64CounterThreshold_SetObservedPropertyNative( JNIEnv *JniEnv, jobject JObject, jobject observedProperty ){	try	{		printf("classname:com/intel/mobile/base/UInt64Property\n");		UInt64CounterThreshold * TheUInt64CounterThreshold = (UInt64CounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		UInt64Property * MyUInt64Property = (UInt64Property *) Get_nativeObjRef(JniEnv, observedProperty);		return TheUInt64CounterThreshold->SetObservedProperty( *MyUInt64Property );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UInt64CounterThreshold"), IntelMobileText("SetObservedProperty()") );	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UInt64CounterThreshold * Method:    GetThreshold * Signature: ()J */JNIEXPORT jlong JNICALL Java_com_intel_mobile_threshold_UInt64CounterThreshold_GetThresholdNative( JNIEnv *JniEnv, jobject JObject ){	try	{		UInt64CounterThreshold * TheUInt64CounterThreshold = (UInt64CounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUInt64CounterThreshold->GetThreshold();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UInt64CounterThreshold"), IntelMobileText("GetThreshold()") );	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UInt64CounterThreshold * Method:    SetThreshold * Signature: (J)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_UInt64CounterThreshold_SetThresholdNative( JNIEnv *JniEnv, jobject JObject, jlong threshold ){	try	{		UInt64CounterThreshold * TheUInt64CounterThreshold = (UInt64CounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUInt64CounterThreshold->SetThreshold( threshold );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UInt64CounterThreshold"), IntelMobileText("SetThreshold()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UInt64CounterThreshold * Method:    GetOffset * Signature: ()J */JNIEXPORT jlong JNICALL Java_com_intel_mobile_threshold_UInt64CounterThreshold_GetOffsetNative( JNIEnv *JniEnv, jobject JObject ){	try	{		UInt64CounterThreshold * TheUInt64CounterThreshold = (UInt64CounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUInt64CounterThreshold->GetOffset();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UInt64CounterThreshold"), IntelMobileText("GetOffset()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UInt64CounterThreshold * Method:    SetOffset * Signature: (J)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_UInt64CounterThreshold_SetOffsetNative( JNIEnv *JniEnv, jobject JObject, jlong offset ){	try	{		UInt64CounterThreshold * TheUInt64CounterThreshold = (UInt64CounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUInt64CounterThreshold->SetOffset( offset );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UInt64CounterThreshold"), IntelMobileText("SetOffset()"));	}	return NULL;}/************************************** UIntCounter **************************************//* * Class:     com_intel_mobile_threshold_UIntCounterThreshold * Method:    constructor * Signature: ()V */JNIEXPORT void JNICALL Java_com_intel_mobile_threshold_UIntCounterThreshold_constructor( JNIEnv *JniEnv, jobject JObject ){	try	{		UIntCounterThreshold * TheUIntCounterThreshold = new UIntCounterThreshold();		Set_nativeObjRef(JniEnv, JObject, (jlong) TheUIntCounterThreshold);	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UIntCounterThreshold"), IntelMobileText("constructor"));	}}/* * Class:     com_intel_mobile_threshold_UIntCounterThreshold * Method:    SetObservedProperty * Signature: (Lcom/intel/mobile/base/UIntProperty;)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_UIntCounterThreshold_SetObservedPropertyNative( JNIEnv *JniEnv, jobject JObject, jobject observedProperty ){	try	{		UIntCounterThreshold * TheUIntCounterThreshold = (UIntCounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		UIntProperty * MyUIntProperty = (UIntProperty *) Get_nativeObjRef(JniEnv, observedProperty);		return TheUIntCounterThreshold->SetObservedProperty( *MyUIntProperty );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UIntCounterThreshold"), IntelMobileText("SetObservedProperty()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UIntCounterThreshold * Method:    GetThreshold * Signature: ()I */JNIEXPORT jint JNICALL Java_com_intel_mobile_threshold_UIntCounterThreshold_GetThresholdNative( JNIEnv *JniEnv, jobject JObject ){	try	{		UIntCounterThreshold * TheUIntCounterThreshold = (UIntCounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUIntCounterThreshold->GetThreshold();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UIntCounterThreshold"), IntelMobileText("GetThreshold()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UIntCounterThreshold * Method:    SetThreshold * Signature: (I)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_UIntCounterThreshold_SetThresholdNative( JNIEnv *JniEnv, jobject JObject, jint threshold ){	try	{		UIntCounterThreshold * TheUIntCounterThreshold = (UIntCounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUIntCounterThreshold->SetThreshold( threshold );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UIntCounterThreshold"), IntelMobileText("SetThreshold()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UIntCounterThreshold * Method:    GetOffset * Signature: ()I */JNIEXPORT jint JNICALL Java_com_intel_mobile_threshold_UIntCounterThreshold_GetOffsetNative( JNIEnv *JniEnv, jobject JObject ){	try	{		UIntCounterThreshold * TheUIntCounterThreshold = (UIntCounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUIntCounterThreshold->GetOffset();	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UIntCounterThreshold"), IntelMobileText("GetOffset()"));	}	return NULL;}/* * Class:     com_intel_mobile_threshold_UIntCounterThreshold * Method:    SetOffset * Signature: (I)Z */JNIEXPORT jboolean JNICALL Java_com_intel_mobile_threshold_UIntCounterThreshold_SetOffsetNative( JNIEnv *JniEnv, jobject JObject, jint offset ){	try	{		UIntCounterThreshold * TheUIntCounterThreshold = (UIntCounterThreshold *) Get_nativeObjRef(JniEnv, JObject);		return TheUIntCounterThreshold->SetOffset( offset );	}	catch (IntelMobileException Ex)	{		ThrowException( JniEnv, Ex );	}	catch (...)	{		ThrowUnknownException( JniEnv, IntelMobileText("UIntCounterThreshold"), IntelMobileText("SetOffset()"));	}	return NULL;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -