HomeSort by relevance Sort by last modified time
    Searched refs:thiz (Results 101 - 125 of 217) sorted by null

1 2 3 45 6 7 8 9

  /cts/apps/CtsVerifier/jni/cameraanalyzer/
com_android_cts_verifier_camera_analyzer_ColorCheckerTest.cpp 29 jobject thiz,
40 jobject thiz,
54 jobject thiz,
65 jobject thiz,
76 jobject thiz,
  /frameworks/base/media/jni/
android_media_MediaCrypto.cpp 40 static sp<JCrypto> getCrypto(JNIEnv *env, jobject thiz) {
41 return (JCrypto *)env->GetLongField(thiz, gFields.context);
45 JNIEnv *env, jobject thiz,
47 mObject = env->NewWeakGlobalRef(thiz);
148 JNIEnv *env, jobject thiz, const sp<JCrypto> &crypto) {
149 sp<JCrypto> old = (JCrypto *)env->GetLongField(thiz, gFields.context);
151 crypto->incStrong(thiz);
154 old->decStrong(thiz);
156 env->SetLongField(thiz, gFields.context, (jlong)crypto.get());
161 static void android_media_MediaCrypto_release(JNIEnv *env, jobject thiz) {
    [all...]
android_mtp_MtpServer.cpp 55 static inline MtpServer* getMtpServer(JNIEnv *env, jobject thiz) {
56 return (MtpServer*)env->GetLongField(thiz, field_MtpServer_nativeContext);
60 android_mtp_MtpServer_setup(JNIEnv *env, jobject thiz, jobject javaDatabase, jboolean usePtp)
66 env->SetLongField(thiz, field_MtpServer_nativeContext, (jlong)server);
73 android_mtp_MtpServer_run(JNIEnv *env, jobject thiz)
75 MtpServer* server = getMtpServer(env, thiz);
83 android_mtp_MtpServer_cleanup(JNIEnv *env, jobject thiz)
87 MtpServer* server = getMtpServer(env, thiz);
90 env->SetLongField(thiz, field_MtpServer_nativeContext, 0);
97 android_mtp_MtpServer_send_object_added(JNIEnv *env, jobject thiz, jint handle
    [all...]
android_media_MediaScanner.cpp 228 static MediaScanner *getNativeScanner_l(JNIEnv* env, jobject thiz)
230 return (MediaScanner *) env->GetLongField(thiz, fields.context);
233 static void setNativeScanner_l(JNIEnv* env, jobject thiz, MediaScanner *s)
235 env->SetLongField(thiz, fields.context, (jlong)s);
240 JNIEnv *env, jobject thiz, jstring path, jobject client)
243 MediaScanner *mp = getNativeScanner_l(env, thiz);
269 JNIEnv *env, jobject thiz, jstring path,
275 MediaScanner *mp = getNativeScanner_l(env, thiz);
312 JNIEnv *env, jobject thiz, jstring locale)
315 MediaScanner *mp = getNativeScanner_l(env, thiz);
    [all...]
android_media_MediaExtractor.cpp 121 JMediaExtractor::JMediaExtractor(JNIEnv *env, jobject thiz)
124 jclass clazz = env->GetObjectClass(thiz);
128 mObject = env->NewWeakGlobalRef(thiz);
325 JNIEnv *env, jobject thiz, const sp<JMediaExtractor> &extractor) {
327 (JMediaExtractor *)env->GetLongField(thiz, gFields.context);
330 extractor->incStrong(thiz);
333 old->decStrong(thiz);
335 env->SetLongField(thiz, gFields.context, (jlong)extractor.get());
340 static sp<JMediaExtractor> getMediaExtractor(JNIEnv *env, jobject thiz) {
341 return (JMediaExtractor *)env->GetLongField(thiz, gFields.context)
    [all...]
  /packages/apps/Gallery2/jni_jpegstream/src/
jpegstream.cpp 31 static jint OutputStream_setup(JNIEnv* env, jobject thiz, jobject out,
34 jclass thisClass = env->GetObjectClass(thiz);
76 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(w_ptr));
84 static jint InputStream_setup(JNIEnv* env, jobject thiz, jobject dimens,
87 jclass thisClass = env->GetObjectClass(thiz);
140 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(r_ptr));
148 static JpegWriter* getWPtr(JNIEnv* env, jobject thiz, jfieldID* fid) {
149 jclass thisClass = env->GetObjectClass(thiz);
157 jlong ptr = env->GetLongField(thiz, fidNumber);
169 static JpegReader* getRPtr(JNIEnv* env, jobject thiz, jfieldID* fid)
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
stats_scorer.h 32 JNIEnv* env, jobject thiz, jobject imageBuffer, jfloatArray statsArray);
36 JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height,
  /frameworks/base/media/jni/audioeffect/
android_media_Visualizer.cpp 232 static Visualizer *getVisualizer(JNIEnv* env, jobject thiz)
235 thiz, fields.fidNativeVisualizer);
337 android_media_visualizer_native_setup(JNIEnv *env, jobject thiz, jobject weak_this,
394 env->SetLongField(thiz, fields.fidNativeVisualizer, (jlong)lpVisualizer);
396 env->SetLongField(thiz, fields.fidJniData, (jlong)lpJniStorage);
410 env->SetLongField(thiz, fields.fidNativeVisualizer, 0);
415 env->SetLongField(thiz, fields.fidJniData, 0);
421 static void android_media_visualizer_native_finalize(JNIEnv *env, jobject thiz) {
422 ALOGV("android_media_visualizer_native_finalize jobject: %p\n", thiz);
426 thiz, fields.fidNativeVisualizer)
    [all...]
  /frameworks/base/core/jni/
android_media_JetPlayer.cpp 79 android_media_JetPlayer_setup(JNIEnv *env, jobject thiz, jobject weak_this,
90 env->SetLongField(thiz, javaJetPlayerFields.nativePlayerInJavaObj, (jlong)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->SetLongField(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_hardware_UsbRequest.cpp 42 android_hardware_UsbRequest_init(JNIEnv *env, jobject thiz, jobject java_device,
64 env->SetLongField(thiz, field_context, (jlong)request);
69 android_hardware_UsbRequest_close(JNIEnv *env, jobject thiz)
72 struct usb_request* request = get_request_from_object(env, thiz);
75 env->SetLongField(thiz, field_context, 0);
80 android_hardware_UsbRequest_queue_array(JNIEnv *env, jobject thiz,
83 struct usb_request* request = get_request_from_object(env, thiz);
104 request->client_data = (void *)env->NewGlobalRef(thiz);
119 android_hardware_UsbRequest_dequeue_array(JNIEnv *env, jobject thiz,
122 struct usb_request* request = get_request_from_object(env, thiz);
    [all...]
android_media_AudioTrack.cpp 162 static sp<AudioTrack> getAudioTrack(JNIEnv* env, jobject thiz)
166 (AudioTrack*)env->GetLongField(thiz, javaAudioTrackFields.nativeTrackInJavaObj);
170 static sp<AudioTrack> setAudioTrack(JNIEnv* env, jobject thiz, const sp<AudioTrack>& at)
174 (AudioTrack*)env->GetLongField(thiz, javaAudioTrackFields.nativeTrackInJavaObj);
181 env->SetLongField(thiz, javaAudioTrackFields.nativeTrackInJavaObj, (jlong)at.get());
186 android_media_AudioTrack_setup(JNIEnv *env, jobject thiz, jobject weak_this,
240 jclass clazz = env->GetObjectClass(thiz);
363 setAudioTrack(env, thiz, lpTrack);
367 env->SetLongField(thiz, javaAudioTrackFields.jniData, (jlong)lpJniStorage);
371 env->SetIntField(thiz, javaAudioTrackFields.fieldStreamType, (jint) lpTrack->streamType())
    [all...]
android_hardware_camera2_CameraMetadata.cpp 66 status_t CameraMetadata_getNativeMetadata(JNIEnv* env, jobject thiz,
68 if (!thiz) {
77 CameraMetadata* nativePtr = reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz,
150 static void CameraMetadata_classInit(JNIEnv *env, jobject thiz);
151 static jint CameraMetadata_getTagFromKey(JNIEnv *env, jobject thiz, jstring keyName);
152 static jint CameraMetadata_getTypeFromTag(JNIEnv *env, jobject thiz, jint tag);
153 static jint CameraMetadata_setupGlobalVendorTagDescriptor(JNIEnv *env, jobject thiz);
156 static CameraMetadata* CameraMetadata_getPointerNoThrow(JNIEnv *env, jobject thiz) {
158 if (thiz == NULL) {
162 return reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz, fields.metadata_ptr))
    [all...]
android_hardware_SerialPort.cpp 36 android_hardware_SerialPort_open(JNIEnv *env, jobject thiz, jobject fileDescriptor, jint speed)
142 env->SetIntField(thiz, field_context, fd);
161 android_hardware_SerialPort_close(JNIEnv *env, jobject thiz)
163 int fd = env->GetIntField(thiz, field_context);
165 env->SetIntField(thiz, field_context, -1);
169 android_hardware_SerialPort_read_array(JNIEnv *env, jobject thiz, jbyteArray buffer, jint length)
171 int fd = env->GetIntField(thiz, field_context);
191 android_hardware_SerialPort_read_direct(JNIEnv *env, jobject thiz, jobject buffer, jint length)
193 int fd = env->GetIntField(thiz, field_context);
208 android_hardware_SerialPort_write_array(JNIEnv *env, jobject thiz, jbyteArray buffer, jint length
    [all...]
android_hardware_Camera.cpp 126 sp<Camera> get_native_camera(JNIEnv *env, jobject thiz, JNICameraContext** pContext)
130 JNICameraContext* context = reinterpret_cast<JNICameraContext*>(env->GetLongField(thiz, fields.context));
491 static jint android_hardware_Camera_getNumberOfCameras(JNIEnv *env, jobject thiz)
496 static void android_hardware_Camera_getCameraInfo(JNIEnv *env, jobject thiz,
516 static jint android_hardware_Camera_native_setup(JNIEnv *env, jobject thiz,
547 jclass clazz = env->GetObjectClass(thiz);
561 env->SetLongField(thiz, fields.context, (jlong)context.get());
569 static void android_hardware_Camera_release(JNIEnv *env, jobject thiz)
576 context = reinterpret_cast<JNICameraContext*>(env->GetLongField(thiz, fields.context));
579 env->SetLongField(thiz, fields.context, 0)
    [all...]
android_media_AudioRecord.cpp 122 static sp<AudioRecord> getAudioRecord(JNIEnv* env, jobject thiz)
126 (AudioRecord*)env->GetLongField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj);
130 static sp<AudioRecord> setAudioRecord(JNIEnv* env, jobject thiz, const sp<AudioRecord>& ar)
134 (AudioRecord*)env->GetLongField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj);
141 env->SetLongField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj, (jlong)ar.get());
147 android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this,
183 jclass clazz = env->GetObjectClass(thiz);
267 setAudioRecord(env, thiz, lpRecorder);
271 env->SetLongField(thiz, javaAudioRecordFields.nativeCallbackCookie, (jlong)lpCallbackData);
280 env->SetLongField(thiz, javaAudioRecordFields.nativeCallbackCookie, 0)
    [all...]
  /cts/tests/tests/security/jni/
android_security_cts_SeccompDeathTestService.cpp 21 void android_security_cts_SeccompDeathTestService_testSigSysSelf(JNIEnv* env, jobject thiz)
  /frameworks/opt/net/voip/src/jni/rtp/
RtpStream.cpp 38 jint create(JNIEnv *env, jobject thiz, jstring jAddress)
40 env->SetIntField(thiz, gSocket, -1);
61 env->SetIntField(thiz, gSocket, socket);
78 env->SetIntField(thiz, gSocket, socket);
89 void close(JNIEnv *env, jobject thiz)
91 int socket = env->GetIntField(thiz, gSocket);
93 env->SetIntField(thiz, gSocket, -1);
  /external/chromium_org/third_party/skia/platform_tools/android/app/jni/
com_skia_SkiaSampleRenderer.cpp 175 jobject thiz, jobject jsampleActivity, jint msaaSampleCount)
189 gWindowGlue.m_obj = env->NewWeakGlobalRef(thiz);
226 jobject thiz)
242 JNIEnv* env, jobject thiz)
249 jobject thiz, jint w, jint h)
255 jobject thiz, jint owner, jfloat x, jfloat y, jint jstate)
277 JNIEnv* env, jobject thiz)
283 JNIEnv* env, jobject thiz)
289 JNIEnv* env, jobject thiz, jint position)
295 JNIEnv* env, jobject thiz)
    [all...]
  /external/skia/platform_tools/android/app/jni/
com_skia_SkiaSampleRenderer.cpp 175 jobject thiz, jobject jsampleActivity, jint msaaSampleCount)
189 gWindowGlue.m_obj = env->NewWeakGlobalRef(thiz);
226 jobject thiz)
242 JNIEnv* env, jobject thiz)
249 jobject thiz, jint w, jint h)
255 jobject thiz, jint owner, jfloat x, jfloat y, jint jstate)
277 JNIEnv* env, jobject thiz)
283 JNIEnv* env, jobject thiz)
289 JNIEnv* env, jobject thiz, jint position)
295 JNIEnv* env, jobject thiz)
    [all...]
  /cts/tools/signature-tools/src/signature/model/impl/
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());
  /packages/apps/FMRadio/jni/fmr/
libfm_jni.cpp 28 jboolean openDev(JNIEnv *env, jobject thiz)
38 jboolean closeDev(JNIEnv *env, jobject thiz)
48 jboolean powerUp(JNIEnv *env, jobject thiz, jfloat freq)
61 jboolean powerDown(JNIEnv *env, jobject thiz, jint type)
71 jboolean tune(JNIEnv *env, jobject thiz, jfloat freq)
83 jfloat seek(JNIEnv *env, jobject thiz, jfloat freq, jboolean isUp) //jboolean isUp;
109 jshortArray autoScan(JNIEnv *env, jobject thiz)
146 jshort readRds(JNIEnv *env, jobject thiz)
161 jbyteArray getPs(JNIEnv *env, jobject thiz)
179 jbyteArray getLrText(JNIEnv *env, jobject thiz)
    [all...]
  /frameworks/wilhelm/src/itf/
IOutputMixExt.c 176 IOutputMixExt *thiz = (IOutputMixExt *) self; local
177 IObject *thisObject = thiz->mThis;
182 if (thiz->mDestroyRequested) {
190 thiz->mDestroyRequested = SL_BOOLEAN_FALSE;
194 activeMask = thiz->mActiveMask;
200 Track *track = &thiz->mTracks[i];
341 IOutputMixExt *thiz = (IOutputMixExt *) self; local
342 thiz->mItf = &IOutputMixExt_Itf;
343 thiz->mActiveMask = 0;
344 Track *track = &thiz->mTracks[0]
    [all...]
IAudioDecoderCapabilities.c 67 IAudioDecoderCapabilities *thiz = (IAudioDecoderCapabilities *) self; local
68 thiz->mItf = &IAudioDecoderCapabilities_Itf;
  /frameworks/base/drm/jni/
android_drm_DrmManagerClient.cpp 137 JNIOnInfoListener(JNIEnv* env, jobject thiz, jobject weak_thiz);
148 JNIOnInfoListener::JNIOnInfoListener(JNIEnv* env, jobject thiz, jobject weak_thiz) {
149 jclass clazz = env->GetObjectClass(thiz);
182 JNIEnv* env, jobject thiz, const sp<DrmManagerClientImpl>& client) {
187 jlong oldHandle = env->GetLongField(thiz, fieldId);
190 client->incStrong(thiz);
193 old->decStrong(thiz);
195 env->SetLongField(thiz, fieldId, reinterpret_cast<jlong>(client.get()));
199 static sp<DrmManagerClientImpl> getDrmManagerClientImpl(JNIEnv* env, jobject thiz) {
204 jlong clientHandle = env->GetLongField(thiz, fieldId)
    [all...]

Completed in 1337 milliseconds

1 2 3 45 6 7 8 9