Home
last modified time | relevance | path

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

/packages/apps/TV/jni/
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 …]
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.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 …]
/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/services/DeviceAsWebcam/jni/
DDeviceAsWebcamNative.cpp99 JNIEnv* env, jobject thiz, jobjectArray jIgnoredNodes) { in com_android_DeviceAsWebcam_setupServicesAndStartListening() argument
100 return DeviceAsWebcamServiceManager::kInstance->setupServicesAndStartListening(env, thiz, in com_android_DeviceAsWebcam_setupServicesAndStartListening()
113 void DeviceAsWebcamNative::setStreamConfig(jobject thiz, bool mjpeg, uint32_t width, in setStreamConfig() argument
120 env->CallVoidMethod(thiz, kJavaMethods.setStreamConfig, jMjpeg, jWidth, jHeight, jFps); in setStreamConfig()
123 void DeviceAsWebcamNative::startStreaming(jobject thiz) { in startStreaming() argument
125 env->CallVoidMethod(thiz, kJavaMethods.startStreaming); in startStreaming()
127 void DeviceAsWebcamNative::stopStreaming(jobject thiz) { in stopStreaming() argument
129 env->CallVoidMethod(thiz, kJavaMethods.stopStreaming); in stopStreaming()
132 void DeviceAsWebcamNative::returnImage(jobject thiz, long timestamp) { in returnImage() argument
135 env->CallVoidMethod(thiz, kJavaMethods.returnImage, jTimestamp); in returnImage()
[all …]
DDeviceAsWebcamNative.h44 static jint com_android_DeviceAsWebcam_encodeImage(JNIEnv* env, jobject thiz,
55 static void setStreamConfig(jobject thiz, bool mjpeg, uint32_t width, uint32_t height,
57 static void startStreaming(jobject thiz);
58 static void stopStreaming(jobject thiz);
59 static void returnImage(jobject thiz, long timestamp);
60 static void stopService(jobject thiz);
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogPerfService.cpp426 auto thiz = sp<WatchdogPerfService>::fromExisting(this); in onUserStateChange() local
427 mHandlerLooper->removeMessages(thiz, SwitchMessage::END_USER_SWITCH_COLLECTION); in onUserStateChange()
430 mHandlerLooper->sendMessageAtTime(endUserSwitchCollectionTime, thiz, in onUserStateChange()
446 auto thiz = sp<WatchdogPerfService>::fromExisting(this); in startUserSwitchCollection() local
447 mHandlerLooper->removeMessages(thiz); in startUserSwitchCollection()
453 mHandlerLooper->sendMessageAtTime(mHandlerLooper->now() + mUserSwitchTimeoutNs.count(), thiz, in startUserSwitchCollection()
456 mHandlerLooper->sendMessage(thiz, EventType::USER_SWITCH_COLLECTION); in startUserSwitchCollection()
475 auto thiz = sp<WatchdogPerfService>::fromExisting(this); in onSuspendExit() local
476 mHandlerLooper->removeMessages(thiz); in onSuspendExit()
479 mHandlerLooper->sendMessageAtTime(now + mWakeUpDurationNs.count(), thiz, in onSuspendExit()
[all …]
DWatchdogServiceHelper.cpp53 const auto& thiz = ServiceManager::getInstance()->getWatchdogServiceHelper(); in onBinderDied() local
54 if (thiz == nullptr) { in onBinderDied()
57 thiz->handleBinderDeath(cookie); in onBinderDied()
DWatchdogProcessService.cpp173 const auto& thiz = ServiceManager::getInstance()->getWatchdogProcessService(); in onBinderDied() local
174 if (thiz == nullptr) { in onBinderDied()
177 thiz->handleBinderDeath(cookie); in onBinderDied()
702 auto thiz = sp<WatchdogProcessService>::fromExisting(this); in start() local
703 mMessageHandler = sp<MessageHandlerImpl>::make(thiz); in start()
704 mPropertyChangeListener = std::make_shared<PropertyChangeListener>(thiz); in start()
DIoOveruseMonitor.cpp164 const auto& thiz = ServiceManager::getInstance()->getIoOveruseMonitor(); in onBinderDied() local
165 if (thiz == nullptr) { in onBinderDied()
168 thiz->handleBinderDeath(cookie); in onBinderDied()
/packages/modules/DnsResolver/
DDns64Configuration.cpp64 const std::shared_ptr<Dns64Configuration> thiz = shared_from_this(); in startPrefixDiscovery() local
66 std::thread discovery_thread([thiz, cfg, netId] { in startPrefixDiscovery()
79 if (!thiz->shouldContinueDiscovery(evalCfg)) break; in startPrefixDiscovery()
82 thiz->mGetNetworkContextCallback(evalCfg.netId, 0, &netcontext); in startPrefixDiscovery()
88 thiz->recordDns64Config(evalCfg); in startPrefixDiscovery()
92 if (!thiz->shouldContinueDiscovery(evalCfg)) break; in startPrefixDiscovery()
96 std::unique_lock<std::mutex> cvGuard(thiz->mMutex); in startPrefixDiscovery()
100 thiz->mCv.wait_for(cvGuard, backoff.getNextTimeout()); in startPrefixDiscovery()
/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/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/services/Car/service/jni/evs/
DCarEvsService.cpp40 jboolean connectToHalServiceIfNecessary(JNIEnv* env, jobject thiz, jlong handle) { in connectToHalServiceIfNecessary() argument
55 if (!ctxt->initialize(env, thiz)) { in connectToHalServiceIfNecessary()
180 void triggerBinderDied([[maybe_unused]] JNIEnv* env, [[maybe_unused]] jobject thiz, in triggerBinderDied() argument
DEvsServiceContext.cpp195 bool EvsServiceContext::initialize(JNIEnv* env, jobject thiz) { in initialize() argument
217 mCarEvsServiceObj = env->NewGlobalRef(thiz); in initialize()
528 auto thiz = static_cast<EvsServiceContext*>(cookie); in onEvsServiceBinderDied() local
529 if (!thiz) { in onEvsServiceBinderDied()
535 thiz->onEvsServiceDiedImpl(); in onEvsServiceBinderDied()
DEvsServiceContext.h83 bool initialize(JNIEnv* env, jobject thiz) EXCLUDES(mLock);
/packages/modules/Media/apex/framework/jni/
Dandroid_media_MediaParserJNI.cpp22 JNIEXPORT RETURN_TYPE Java_android_media_MediaParser_##NAME(JNIEnv* env, jobject thiz, \
25 JNIEXPORT RETURN_TYPE Java_android_media_MediaParser_##NAME(JNIEnv* env, jobject thiz, \
/packages/services/Car/cpp/telemetry/cartelemetryd/src/
DCarTelemetryInternalImpl.cpp105 auto thiz = static_cast<CarTelemetryInternalImpl*>(cookie); in listenerBinderDied() local
106 thiz->listenerBinderDiedImpl(); in listenerBinderDied()
/packages/services/Car/cpp/evs/apps/default/src/
DEvsStats.cpp196 auto thiz = static_cast<EvsStats*>(cookie); in telemetryBinderDied() local
197 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/StatsD/statsd/src/
DStatsService.cpp1444 auto thiz = static_cast<StatsService*>(cookie); in statsCompanionServiceDied() local
1445 thiz->statsCompanionServiceDiedImpl(); in statsCompanionServiceDied()