Home
last modified time | relevance | path

Searched refs:thiz (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Gallery2/jni_jpegstream/src/
Djpegstream.cpp31 static jint OutputStream_setup(JNIEnv* env, jobject thiz, jobject out, in OutputStream_setup() argument
34 jclass thisClass = env->GetObjectClass(thiz); in OutputStream_setup()
76 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(w_ptr)); in OutputStream_setup()
84 static jint InputStream_setup(JNIEnv* env, jobject thiz, jobject dimens, in InputStream_setup() argument
87 jclass thisClass = env->GetObjectClass(thiz); in InputStream_setup()
140 env->SetLongField(thiz, fidNumber, reinterpret_cast<jlong>(r_ptr)); in InputStream_setup()
148 static JpegWriter* getWPtr(JNIEnv* env, jobject thiz, jfieldID* fid) { in getWPtr() argument
149 jclass thisClass = env->GetObjectClass(thiz); in getWPtr()
157 jlong ptr = env->GetLongField(thiz, fidNumber); in getWPtr()
169 static JpegReader* getRPtr(JNIEnv* env, jobject thiz, jfieldID* fid) { in getRPtr() argument
[all …]
/packages/apps/TV/jni/
DDvbManager.cpp117 int DvbManager::tune(JNIEnv *env, jobject thiz, in tune() argument
119 return tuneInternal(env, thiz, DELIVERY_SYSTEM_UNDEFINED, frequency, in tune()
123 int DvbManager::tune(JNIEnv *env, jobject thiz, in tune() argument
126 return tuneInternal(env, thiz, deliverySystemType, frequency, in tune()
130 int DvbManager::tuneInternal(JNIEnv *env, jobject thiz, in tuneInternal() argument
135 if (openDvbFe(env, thiz) != 0) { in tuneInternal()
297 openDvbDvr(env, thiz); in tuneInternal()
311 int DvbManager::openDvbFeFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbFeFromSystemApi() argument
312 int fd = (int) env->CallIntMethod(thiz, mOpenDvbFrontEndMethodID); in openDvbFeFromSystemApi()
317 int DvbManager::openDvbDemuxFromSystemApi(JNIEnv *env, jobject thiz) { in openDvbDemuxFromSystemApi() argument
[all …]
Dtunertvinput_jni.cpp56 JNIEnv *env, jobject thiz, jlong deviceId, jint frequency, in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I() argument
61 dvbManager = new DvbManager(env, thiz); in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I()
66 int res = dvbManager->tune(env, thiz, frequency, in Java_com_android_tv_tuner_TunerHal_nativeTune__JILjava_lang_String_2I()
78 JNIEnv *env, jobject thiz, jlong deviceId, jint deliverySystemType, in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I() argument
83 dvbManager = new DvbManager(env, thiz); in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I()
89 int res = dvbManager->tune(env, thiz, deliverySystemType, frequency, in Java_com_android_tv_tuner_TunerHal_nativeTune__JIILjava_lang_String_2I()
144 JNIEnv *env, jobject thiz, jlong deviceId, jint pid, jint filterType) { in Java_com_android_tv_tuner_TunerHal_nativeAddPidFilter() argument
147 it->second->startTsPidFilter(env, thiz, pid, filterType); in Java_com_android_tv_tuner_TunerHal_nativeAddPidFilter()
157 JNIEnv *env, jobject thiz, jlong deviceId, jbyteArray javaBuffer, in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer() argument
171 int dataSize = dvbManager->readTsStream(env, thiz, tsBuffer, readBufferSize, in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
[all …]
DDvbManager.h77 DvbManager(JNIEnv *env, jobject thiz);
79 int tune(JNIEnv *env, jobject thiz,
81 int tune(JNIEnv *env, jobject thiz,
85 int readTsStream(JNIEnv *env, jobject thiz,
87 int startTsPidFilter(JNIEnv *env, jobject thiz, int pid, int filterType);
90 int getDeliverySystemType(JNIEnv *env, jobject thiz);
91 int *getDeliverySystemTypes(JNIEnv *env, jobject thiz);
95 int tuneInternal(JNIEnv *env, jobject thiz,
98 int openDvbFe(JNIEnv *env, jobject thiz);
99 int openDvbDvr(JNIEnv *env, jobject thiz);
[all …]
/packages/modules/Connectivity/framework/jni/
Dandroid_net_NetworkUtils.cpp85 static jboolean android_net_utils_bindProcessToNetworkHandle(JNIEnv *env, jobject thiz, in android_net_utils_bindProcessToNetworkHandle() argument
91 static jlong android_net_utils_getBoundNetworkHandleForProcess(JNIEnv *env, jobject thiz) in android_net_utils_getBoundNetworkHandleForProcess() argument
102 static jboolean android_net_utils_bindProcessToNetworkForHostResolution(JNIEnv *env, jobject thiz, in android_net_utils_bindProcessToNetworkForHostResolution() argument
108 static jint android_net_utils_bindSocketToNetworkHandle(JNIEnv *env, jobject thiz, jobject javaFd, in android_net_utils_bindSocketToNetworkHandle() argument
122 static jobject android_net_utils_resNetworkQuery(JNIEnv *env, jobject thiz, jlong netHandle, in android_net_utils_resNetworkQuery() argument
143 static jobject android_net_utils_resNetworkSend(JNIEnv *env, jobject thiz, jlong netHandle, in android_net_utils_resNetworkSend() argument
158 static jobject android_net_utils_resNetworkResult(JNIEnv *env, jobject thiz, jobject javaFd) { in android_net_utils_resNetworkResult() argument
184 static void android_net_utils_resNetworkCancel(JNIEnv *env, jobject thiz, jobject javaFd) { in android_net_utils_resNetworkCancel() argument
190 static jobject android_net_utils_getDnsNetwork(JNIEnv *env, jobject thiz) { in android_net_utils_getDnsNetwork() argument
207 static jobject android_net_utils_getTcpRepairWindow(JNIEnv *env, jobject thiz, jobject javaFd) { in android_net_utils_getTcpRepairWindow() argument
/packages/modules/StatsD/statsd/src/config/
DConfigManager.cpp58 sp<ConfigManager> thiz = cookie_->mConfigManager.promote(); in configReceiverDied() local
59 if (!thiz) { in configReceiverDied()
68 lock_guard<mutex> lock(thiz->mMutex); in configReceiverDied()
69 auto it = thiz->mConfigReceivers.find(configKey); in configReceiverDied()
70 if (it != thiz->mConfigReceivers.end() && it->second == pir) { in configReceiverDied()
71 thiz->mConfigReceivers.erase(configKey); in configReceiverDied()
92 sp<ConfigManager> thiz = cookie_->mConfigManager.promote(); in activeConfigChangedReceiverDied() local
93 if (!thiz) { in activeConfigChangedReceiverDied()
102 lock_guard<mutex> lock(thiz->mMutex); in activeConfigChangedReceiverDied()
103 auto it = thiz->mActiveConfigsChangedReceivers.find(uid); in activeConfigChangedReceiverDied()
[all …]
/packages/apps/LegacyCamera/jni/
Dfeature_mos_jni.cpp278 JNIEnv* env, jobject thiz, jint width, jint height) in Java_com_android_camera_panorama_Mosaic_allocateMosaicMemory() argument
297 JNIEnv* env, jobject thiz) in Java_com_android_camera_panorama_Mosaic_freeMosaicMemory() argument
365 JNIEnv* env, jobject thiz) in Java_com_android_camera_panorama_Mosaic_setSourceImageFromGPU() argument
417 JNIEnv* env, jobject thiz, jbyteArray photo_data) in Java_com_android_camera_panorama_Mosaic_setSourceImage() argument
474 JNIEnv* env, jobject thiz, jint type) in Java_com_android_camera_panorama_Mosaic_setBlendingType() argument
480 JNIEnv* env, jobject thiz, jint type) in Java_com_android_camera_panorama_Mosaic_setStripType() argument
486 JNIEnv* env, jobject thiz) in Java_com_android_camera_panorama_Mosaic_reset() argument
501 JNIEnv* env, jobject thiz, jboolean hires, jboolean cancel_computation) in Java_com_android_camera_panorama_Mosaic_reportProgress() argument
515 JNIEnv* env, jobject thiz, jboolean value) in Java_com_android_camera_panorama_Mosaic_createMosaic() argument
572 JNIEnv* env, jobject thiz) in Java_com_android_camera_panorama_Mosaic_getFinalMosaic() argument
[all …]
/packages/modules/StatsD/statsd/src/subscriber/
DSubscriberReporter.cpp31 SubscriberReporter& thiz = getInstance(); in broadcastSubscriberDied() local
36 lock_guard<mutex> lock(thiz.mLock); in broadcastSubscriberDied()
37 for (auto subscriberMapIt = thiz.mIntentMap.begin(); subscriberMapIt != thiz.mIntentMap.end(); in broadcastSubscriberDied()
45 thiz.mIntentMap.erase(subscriberMapIt); in broadcastSubscriberDied()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_hid_device.cpp257 static jboolean registerAppNative(JNIEnv* env, jobject thiz, jstring name, in registerAppNative() argument
311 static jboolean unregisterAppNative(JNIEnv* env, jobject thiz) { in unregisterAppNative() argument
334 static jboolean sendReportNative(JNIEnv* env, jobject thiz, jint id, in sendReportNative() argument
365 static jboolean replyReportNative(JNIEnv* env, jobject thiz, jbyte type, in replyReportNative() argument
402 static jboolean reportErrorNative(JNIEnv* env, jobject thiz, jbyte error) { in reportErrorNative() argument
425 static jboolean unplugNative(JNIEnv* env, jobject thiz) { in unplugNative() argument
448 static jboolean connectNative(JNIEnv* env, jobject thiz, jbyteArray address) { in connectNative() argument
477 static jboolean disconnectNative(JNIEnv* env, jobject thiz) { in disconnectNative() argument
/packages/modules/StatsD/statsd/src/external/
DStatsPullerManager.cpp59 sp<StatsPullerManager> thiz = cookie_->mPullerManager.promote(); in pullAtomCallbackDied() local
60 if (!thiz) { in pullAtomCallbackDied()
70 lock_guard<mutex> lock(thiz->mLock); in pullAtomCallbackDied()
71 const auto& it = thiz->kAllPullAtomInfo.find(pullerKey); in pullAtomCallbackDied()
72 if (it != thiz->kAllPullAtomInfo.end() && puller != nullptr && puller == it->second) { in pullAtomCallbackDied()
75 thiz->kAllPullAtomInfo.erase(pullerKey); in pullAtomCallbackDied()
/packages/services/Car/cpp/telemetry/cartelemetryd/src/
DCarTelemetryInternalImpl.cpp100 auto thiz = static_cast<CarTelemetryInternalImpl*>(cookie); in listenerBinderDied() local
101 thiz->listenerBinderDiedImpl(); in listenerBinderDied()
/packages/services/Car/service/jni/evs/
DCarEvsService.cpp49 jboolean connectToHalServiceIfNecessary(JNIEnv* env, jobject thiz, jlong handle) { in connectToHalServiceIfNecessary() argument
64 if (!ctxt->initialize(env, thiz)) { in connectToHalServiceIfNecessary()
DEvsServiceContext.cpp87 bool EvsServiceContext::initialize(JNIEnv* env, jobject thiz) { in initialize() argument
108 mCarEvsServiceObj = env->NewGlobalRef(thiz); in initialize()
DEvsServiceContext.h58 bool initialize(JNIEnv* env, jobject thiz) ACQUIRE(mLock);
/packages/services/Car/cpp/evs/apps/default/
DEvsStats.cpp180 auto thiz = static_cast<EvsStats*>(cookie); in telemetryBinderDied() local
181 thiz->telemetryBinderDiedImpl(); in telemetryBinderDied()
/packages/apps/Gallery2/jni/
Djni_egl_fence.h28 jobject thiz);
Djni_egl_fence.cpp58 JNIEnv* env __unused, jobject thiz __unused) { in Java_com_android_gallery3d_photoeditor_FilterStack_nativeEglSetFenceAndWait()
/packages/modules/NetworkStack/jni/
Dnetwork_stack_utils_jni.cpp62 static void network_stack_utils_addArpEntry(JNIEnv *env, jobject thiz, jbyteArray ethAddr, in network_stack_utils_addArpEntry() argument
/packages/modules/StatsD/statsd/src/
DStatsService.cpp1285 auto thiz = static_cast<StatsService*>(cookie); in statsCompanionServiceDied() local
1286 thiz->statsCompanionServiceDiedImpl(); in statsCompanionServiceDied()