/frameworks/base/media/jni/soundpool/ |
android_media_SoundPool.cpp | 36 static inline SoundPool* MusterSoundPool(JNIEnv *env, jobject thiz) { 37 return (SoundPool*)env->GetIntField(thiz, fields.mNativeContext); 42 android_media_SoundPool_load_URL(JNIEnv *env, jobject thiz, jstring path, jint priority) 45 SoundPool *ap = MusterSoundPool(env, thiz); 57 android_media_SoundPool_load_FD(JNIEnv *env, jobject thiz, jobject fileDescriptor, 61 SoundPool *ap = MusterSoundPool(env, thiz); 68 android_media_SoundPool_unload(JNIEnv *env, jobject thiz, jint sampleID) { 70 SoundPool *ap = MusterSoundPool(env, thiz); 76 android_media_SoundPool_play(JNIEnv *env, jobject thiz, jint sampleID, 81 SoundPool *ap = MusterSoundPool(env, thiz); [all...] |
/cts/tools/signature-tools/src/signature/model/impl/ |
SigClassReference.java | 42 public static boolean equals(IClassReference thiz, Object that) { 44 return thiz.getClassDefinition().equals( 55 public static int hashCode(IClassReference thiz) { 56 return thiz.getClassDefinition().hashCode(); 64 public static String toString(IClassReference thiz) { 65 return "-> " + thiz.getClassDefinition().getQualifiedName();
|
SigWildcardType.java | 65 public static boolean equals(IWildcardType thiz, Object obj) { 66 if (thiz == obj) return true; 70 if (thiz.getLowerBound() == null) { 72 } else if (!thiz.getLowerBound().equals(that.getLowerBound())) 74 if (!thiz.getUpperBounds().equals(that.getUpperBounds())) return false; 84 public static String toString(IWildcardType thiz) { 87 if (thiz.getLowerBound() != null) { 90 builder.append(thiz.getLowerBound()); 92 if (!thiz.getUpperBounds().isEmpty()) { 94 builder.append(thiz.getUpperBounds()) [all...] |
SigParameterizedType.java | 78 public static boolean equals(IParameterizedType thiz, Object that) { 83 if (thiz.getOwnerType() == null) { 87 } else if (Uninitialized.isInitialized(thiz.getOwnerType())) { 91 } else if (!thiz.getOwnerType().equals(other.getOwnerType())) { 94 if (!thiz.getRawType().equals(other.getRawType())) { 97 if (!thiz.getTypeArguments().equals(other.getTypeArguments())) {
|
SigArrayType.java | 50 public static boolean equals(IArrayType thiz, Object that) {
55 return thiz.getComponentType().equals(other.getComponentType());
|
SigClassDefinition.java | 201 public static boolean equals(IClassDefinition thiz, Object obj) { 202 if (thiz == obj) return true; 205 return thiz.getName().equals(that.getName()) 206 && thiz.getPackageName().equals(that.getPackageName());
|
/frameworks/base/media/jni/ |
android_media_MediaPlayer.cpp | 63 JNIMediaPlayerListener(JNIEnv* env, jobject thiz, jobject weak_thiz); 72 JNIMediaPlayerListener::JNIMediaPlayerListener(JNIEnv* env, jobject thiz, jobject weak_thiz) 77 jclass clazz = env->GetObjectClass(thiz); 111 static sp<MediaPlayer> getMediaPlayer(JNIEnv* env, jobject thiz) 114 MediaPlayer* const p = (MediaPlayer*)env->GetIntField(thiz, fields.context); 118 static sp<MediaPlayer> setMediaPlayer(JNIEnv* env, jobject thiz, const sp<MediaPlayer>& player) 121 sp<MediaPlayer> old = (MediaPlayer*)env->GetIntField(thiz, fields.context); 123 player->incStrong(thiz); 126 old->decStrong(thiz); 128 env->SetIntField(thiz, fields.context, (int)player.get()) [all...] |
android_media_MediaRecorder.cpp | 44 extern sp<Camera> get_native_camera(JNIEnv *env, jobject thiz, struct JNICameraContext** context); 63 JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz); 72 JNIMediaRecorderListener::JNIMediaRecorderListener(JNIEnv* env, jobject thiz, jobject weak_thiz) 77 jclass clazz = env->GetObjectClass(thiz); 129 static sp<MediaRecorder> getMediaRecorder(JNIEnv* env, jobject thiz) 132 MediaRecorder* const p = (MediaRecorder*)env->GetIntField(thiz, fields.context); 136 static sp<MediaRecorder> setMediaRecorder(JNIEnv* env, jobject thiz, const sp<MediaRecorder>& recorder) 139 sp<MediaRecorder> old = (MediaRecorder*)env->GetIntField(thiz, fields.context); 141 recorder->incStrong(thiz); 144 old->decStrong(thiz); [all...] |
android_media_MediaMetadataRetriever.cpp | 62 static MediaMetadataRetriever* getRetriever(JNIEnv* env, jobject thiz) 65 MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetIntField(thiz, fields.context); 69 static void setRetriever(JNIEnv* env, jobject thiz, int retriever) 72 MediaMetadataRetriever *old = (MediaMetadataRetriever*) env->GetIntField(thiz, fields.context); 73 env->SetIntField(thiz, fields.context, retriever); 76 static void android_media_MediaMetadataRetriever_setDataSource(JNIEnv *env, jobject thiz, jstring path) 79 MediaMetadataRetriever* retriever = getRetriever(env, thiz); 104 static void android_media_MediaMetadataRetriever_setDataSourceFD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length) 107 MediaMetadataRetriever* retriever = getRetriever(env, thiz); 133 static void android_media_MediaMetadataRetriever_setMode(JNIEnv *env, jobject thiz, jint mode [all...] |
android_media_MediaProfiles.cpp | 48 android_media_MediaProfiles_native_get_num_file_formats(JNIEnv *env, jobject thiz) 55 android_media_MediaProfiles_native_get_file_format(JNIEnv *env, jobject thiz, jint index) 68 android_media_MediaProfiles_native_get_num_video_encoders(JNIEnv *env, jobject thiz) 75 android_media_MediaProfiles_native_get_video_encoder_cap(JNIEnv *env, jobject thiz, jint index) 119 android_media_MediaProfiles_native_get_num_audio_encoders(JNIEnv *env, jobject thiz) 126 android_media_MediaProfiles_native_get_audio_encoder_cap(JNIEnv *env, jobject thiz, jint index) 165 android_media_MediaProfiles_native_get_camcorder_profile(JNIEnv *env, jobject thiz, jint quality) 214 android_media_MediaProfiles_native_get_num_video_decoders(JNIEnv *env, jobject thiz) 221 android_media_MediaProfiles_native_get_video_decoder_type(JNIEnv *env, jobject thiz, jint index) 235 android_media_MediaProfiles_native_get_num_audio_decoders(JNIEnv *env, jobject thiz) [all...] |
android_media_MediaScanner.cpp | 155 android_media_MediaScanner_processDirectory(JNIEnv *env, jobject thiz, jstring path, jstring extensions, jobject client) 157 MediaScanner *mp = (MediaScanner *)env->GetIntField(thiz, fields.context); 187 android_media_MediaScanner_processFile(JNIEnv *env, jobject thiz, jstring path, jstring mimeType, jobject client) 189 MediaScanner *mp = (MediaScanner *)env->GetIntField(thiz, fields.context); 217 android_media_MediaScanner_setLocale(JNIEnv *env, jobject thiz, jstring locale) 219 MediaScanner *mp = (MediaScanner *)env->GetIntField(thiz, fields.context); 236 android_media_MediaScanner_extractAlbumArt(JNIEnv *env, jobject thiz, jobject fileDescriptor) 238 MediaScanner *mp = (MediaScanner *)env->GetIntField(thiz, fields.context); 305 android_media_MediaScanner_native_setup(JNIEnv *env, jobject thiz) 314 env->SetIntField(thiz, fields.context, (int)mp) [all...] |
/frameworks/base/core/jni/ |
android_hardware_Camera.cpp | 71 sp<Camera> get_native_camera(JNIEnv *env, jobject thiz, JNICameraContext** pContext) 75 JNICameraContext* context = reinterpret_cast<JNICameraContext*>(env->GetIntField(thiz, fields.context)); 292 static void android_hardware_Camera_native_setup(JNIEnv *env, jobject thiz, jobject weak_this) 308 jclass clazz = env->GetObjectClass(thiz); 317 context->incStrong(thiz); 321 env->SetIntField(thiz, fields.context, (int)context.get()); 328 static void android_hardware_Camera_release(JNIEnv *env, jobject thiz) 336 context = reinterpret_cast<JNICameraContext*>(env->GetIntField(thiz, fields.context)); 339 env->SetIntField(thiz, fields.context, 0); 355 context->decStrong(thiz); [all...] |
android_media_ToneGenerator.cpp | 41 static jboolean android_media_ToneGenerator_startTone(JNIEnv *env, jobject thiz, jint toneType, jint durationMs) { 42 LOGV("android_media_ToneGenerator_startTone: %x\n", (int)thiz); 44 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetIntField(thiz, 54 static void android_media_ToneGenerator_stopTone(JNIEnv *env, jobject thiz) { 55 LOGV("android_media_ToneGenerator_stopTone: %x\n", (int)thiz); 57 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetIntField(thiz, 68 static void android_media_ToneGenerator_release(JNIEnv *env, jobject thiz) { 69 ToneGenerator *lpToneGen = (ToneGenerator *)env->GetIntField(thiz, 73 env->SetIntField(thiz, fields.context, 0); 80 static void android_media_ToneGenerator_native_setup(JNIEnv *env, jobject thiz, [all...] |
android_os_StatFs.cpp | 43 android_os_StatFs_getBlockSize(JNIEnv *env, jobject thiz) 45 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); 50 android_os_StatFs_getBlockCount(JNIEnv *env, jobject thiz) 52 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); 57 android_os_StatFs_getFreeBlocks(JNIEnv *env, jobject thiz) 59 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); 64 android_os_StatFs_getAvailableBlocks(JNIEnv *env, jobject thiz) 66 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context); 71 android_os_StatFs_native_restat(JNIEnv *env, jobject thiz, jstring path) 79 struct statfs *stat = (struct statfs *)env->GetIntField(thiz, fields.context) [all...] |
android_media_AudioSystem.cpp | 53 android_media_AudioSystem_muteMicrophone(JNIEnv *env, jobject thiz, jboolean on) 59 android_media_AudioSystem_isMicrophoneMuted(JNIEnv *env, jobject thiz) 67 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream) 75 android_media_AudioSystem_setParameters(JNIEnv *env, jobject thiz, jstring keyValuePairs) 88 android_media_AudioSystem_getParameters(JNIEnv *env, jobject thiz, jstring keys) 122 android_media_AudioSystem_setDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jint state, jstring device_address) 133 android_media_AudioSystem_getDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jstring device_address) 143 android_media_AudioSystem_setPhoneState(JNIEnv *env, jobject thiz, jint state) 149 android_media_AudioSystem_setRingerMode(JNIEnv *env, jobject thiz, jint mode, jint mask) 155 android_media_AudioSystem_setForceUse(JNIEnv *env, jobject thiz, jint usage, jint config [all...] |
android_media_AudioRecord.cpp | 126 android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, 175 jclass clazz = env->GetObjectClass(thiz); 203 env->SetIntField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj, (int)lpRecorder); 207 env->SetIntField(thiz, javaAudioRecordFields.nativeCallbackCookie, (int)lpCallbackData); 220 env->SetIntField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj, 0); 221 env->SetIntField(thiz, javaAudioRecordFields.nativeCallbackCookie, 0); 230 android_media_AudioRecord_start(JNIEnv *env, jobject thiz) 233 (AudioRecord *)env->GetIntField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj); 245 android_media_AudioRecord_stop(JNIEnv *env, jobject thiz) 248 (AudioRecord *)env->GetIntField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj) [all...] |
android_media_JetPlayer.cpp | 79 android_media_JetPlayer_setup(JNIEnv *env, jobject thiz, jobject weak_this, 90 env->SetIntField(thiz, javaJetPlayerFields.nativePlayerInJavaObj, (int)lpJet); 103 android_media_JetPlayer_finalize(JNIEnv *env, jobject thiz) 107 thiz, javaJetPlayerFields.nativePlayerInJavaObj); 119 android_media_JetPlayer_release(JNIEnv *env, jobject thiz) 121 android_media_JetPlayer_finalize(env, thiz); 122 env->SetIntField(thiz, javaJetPlayerFields.nativePlayerInJavaObj, 0); 129 android_media_JetPlayer_loadFromFile(JNIEnv *env, jobject thiz, jstring path) 132 thiz, javaJetPlayerFields.nativePlayerInJavaObj); 165 android_media_JetPlayer_loadFromFileD(JNIEnv *env, jobject thiz, [all...] |
android_media_AudioTrack.cpp | 167 android_media_AudioTrack_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, 244 jclass clazz = env->GetObjectClass(thiz); 306 env->SetIntField(thiz, javaAudioTrackFields.nativeTrackInJavaObj, (int)lpTrack); 310 env->SetIntField(thiz, javaAudioTrackFields.jniData, (int)lpJniStorage); 317 env->SetIntField(thiz, javaAudioTrackFields.nativeTrackInJavaObj, 0); 323 env->SetIntField(thiz, javaAudioTrackFields.jniData, 0); 331 android_media_AudioTrack_start(JNIEnv *env, jobject thiz) 334 thiz, javaAudioTrackFields.nativeTrackInJavaObj); 346 android_media_AudioTrack_stop(JNIEnv *env, jobject thiz) 349 thiz, javaAudioTrackFields.nativeTrackInJavaObj) [all...] |
/cts/tests/tests/os/libbuildtest/ |
android_os_cts_BuildTest.c | 21 jboolean Java_android_os_cts_BuildTest_isArmCpu(JNIEnv* env, jobject thiz) 27 jboolean Java_android_os_cts_BuildTest_isArm7Compatible(JNIEnv* env, jobject thiz)
|
/external/quake/quake/src/WinQuake/ |
masterMain.cpp | 36 qinit(JNIEnv *env, jobject thiz) { 42 qevent(JNIEnv *env, jobject thiz, jint type, jint value) { 47 qmotionevent(JNIEnv *env, jobject thiz, jlong eventTime, jint action, 55 qtrackballevent(JNIEnv *env, jobject thiz, jlong eventTime, jint action, 62 qstep(JNIEnv *env, jobject thiz, jint width, jint height) { 67 qquit(JNIEnv *env, jobject thiz) {
|
/development/samples/BrowserPlugin/jni/ |
jni-bridge.cpp | 28 static void surfaceCreated(JNIEnv* env, jobject thiz, jint npp, jobject surface) { 39 static void surfaceChanged(JNIEnv* env, jobject thiz, jint npp, jint format, jint width, jint height) { 51 static void surfaceDestroyed(JNIEnv* env, jobject thiz, jint npp) {
|
/external/quake/quake/src/QW/client/ |
main.cpp | 38 qinit(JNIEnv *env, jobject thiz, /* jobjectArray config, */ 44 qevent(JNIEnv *env, jobject thiz, jint type, jint value) { 49 qstep(JNIEnv *env, jobject thiz) { 54 qquitting(JNIEnv *env, jobject thiz) {
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
CodeSourceTest.java | 199 CodeSource thiz = new CodeSource(urlSite, (Certificate[]) null); local 200 assertFalse(thiz.equals(null)); 214 CodeSource thiz = new CodeSource(urlSite, (Certificate[]) null); local 215 assertTrue(thiz.equals(thiz)); 234 CodeSource thiz = new CodeSource(urlSite, certs0); local 236 assertTrue(thiz.equals(that)); 250 CodeSource thiz = new CodeSource(urlSite, (Certificate[]) null); local 252 assertFalse(thiz.equals(that)); 253 assertFalse(that.equals(thiz)); 656 CodeSource thiz = new CodeSource(urlFileDirMinus, (Certificate[]) null); local 679 CodeSource thiz = new CodeSource(urlFileDirStar, (Certificate[]) null); local 750 CodeSource thiz = new CodeSource(urlSite, thizCerts); local [all...] |
/ndk/samples/hello-jni/jni/ |
hello-jni.c | 28 jobject thiz )
|
/frameworks/base/packages/TtsService/jni/ |
android_tts_SynthProxy.cpp | 360 android_tts_SynthProxy_setLowShelf(JNIEnv *env, jobject thiz, jboolean applyFilter, 385 android_tts_SynthProxy_native_setup(JNIEnv *env, jobject thiz, 423 env->SetIntField(thiz, javaTTSFields.synthProxyFieldJniData, (int)pJniStorage); 433 android_tts_SynthProxy_native_finalize(JNIEnv *env, jobject thiz, jint jniData) 447 env->SetIntField(thiz, javaTTSFields.synthProxyFieldJniData, 0); 452 android_tts_SynthProxy_shutdown(JNIEnv *env, jobject thiz, jint jniData) 457 android_tts_SynthProxy_native_finalize(env, thiz, jniData); 462 android_tts_SynthProxy_isLanguageAvailable(JNIEnv *env, jobject thiz, jint jniData, 488 android_tts_SynthProxy_setConfig(JNIEnv *env, jobject thiz, jint jniData, jstring engineConfig) 512 android_tts_SynthProxy_setLanguage(JNIEnv *env, jobject thiz, jint jniData [all...] |