Home
last modified time | relevance | path

Searched refs:IPCThreadState (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/native/libs/binder/
DIPCThreadState.cpp298 IPCThreadState* IPCThreadState::self() in self()
303 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k); in self()
305 return new IPCThreadState; in self()
322 IPCThreadState* IPCThreadState::selfOrNull() in selfOrNull()
326 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k); in selfOrNull()
332 void IPCThreadState::shutdown() in shutdown()
338 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(gTLS); in shutdown()
347 void IPCThreadState::disableBackgroundScheduling(bool disable) in disableBackgroundScheduling()
352 sp<ProcessState> IPCThreadState::process() in process()
357 status_t IPCThreadState::clearLastError() in clearLastError()
[all …]
DBpBinder.cpp98 IPCThreadState::self()->incWeakHandle(handle); in BpBinder()
164 status_t status = IPCThreadState::self()->transact( in transact()
195 IPCThreadState* self = IPCThreadState::self(); in linkToDeath()
230 IPCThreadState* self = IPCThreadState::self(); in unlinkToDeath()
255 IPCThreadState* self = IPCThreadState::self(); in sendObituary()
316 IPCThreadState* ipc = IPCThreadState::self(); in ~BpBinder()
342 IPCThreadState* ipc = IPCThreadState::self(); in onFirstRef()
352 IPCThreadState* ipc = IPCThreadState::self(); in onLastStrongRef()
359 IPCThreadState* ipc = IPCThreadState::self(); in onIncStrongAttempted()
DProcessState.cpp62 IPCThreadState::self()->joinThreadPool(mIsMain); in threadLoop()
113 IPCThreadState* ipc = IPCThreadState::self(); in getContextObject()
213 status_t status = IPCThreadState::self()->transact( in getStrongProxyForHandle()
DPermissionCache.cpp83 IPCThreadState* ipcState = IPCThreadState::self(); in checkCallingPermission()
DStatic.cpp87 IPCThreadState::shutdown(); in ~LibBinderIPCtStatics()
DIServiceManager.cpp60 IPCThreadState* ipcState = IPCThreadState::self(); in checkCallingPermission()
/frameworks/native/services/sensorservice/
DBatteryService.cpp66 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); in enableSensorImpl()
68 IPCThreadState::self()->restoreCallingIdentity(identity); in enableSensorImpl()
75 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); in disableSensorImpl()
77 IPCThreadState::self()->restoreCallingIdentity(identity); in disableSensorImpl()
85 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); in cleanupImpl()
94 IPCThreadState::self()->restoreCallingIdentity(identity); in cleanupImpl()
/frameworks/av/services/medialog/
DMediaLogService.cpp31 if (IPCThreadState::self()->getCallingUid() != AID_MEDIA || shared == 0 || in registerWriter()
44 if (IPCThreadState::self()->getCallingUid() != AID_MEDIA || shared == 0) { in unregisterWriter()
61 if (!(IPCThreadState::self()->getCallingUid() == AID_MEDIA || in dump()
64 IPCThreadState::self()->getCallingPid(), in dump()
65 IPCThreadState::self()->getCallingUid()); in dump()
/frameworks/native/include/binder/
DIPCThreadState.h32 class IPCThreadState
35 static IPCThreadState* self();
36 static IPCThreadState* selfOrNull(); // self(), but won't instantiate
88 IPCThreadState();
89 ~IPCThreadState();
DProcessState.h30 class IPCThreadState; variable
66 friend class IPCThreadState;
DBinderService.h58 IPCThreadState::self()->joinThreadPool(); in joinThreadPool()
/frameworks/av/media/libstagefright/foundation/
DAWakeLock.cpp61 int64_t token = IPCThreadState::self()->clearCallingIdentity(); in acquire()
65 IPCThreadState::self()->restoreCallingIdentity(token); in acquire()
90 int64_t token = IPCThreadState::self()->clearCallingIdentity(); in release()
92 IPCThreadState::self()->restoreCallingIdentity(token); in release()
/frameworks/av/services/audioflinger/
DServiceUtilities.cpp29 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in recordingAllowed()
38 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in captureAudioOutputAllowed()
61 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in settingsAllowed()
/frameworks/base/native/android/
Dlooper.cpp26 using android::IPCThreadState;
59 IPCThreadState::self()->flushCommands(); in ALooper_pollOnce()
70 IPCThreadState::self()->flushCommands(); in ALooper_pollAll()
/frameworks/av/media/libstagefright/
DCameraSource.cpp498 int64_t token = IPCThreadState::self()->clearCallingIdentity(); in init()
502 IPCThreadState::self()->restoreCallingIdentity(token); in init()
597 int64_t token = IPCThreadState::self()->clearCallingIdentity(); in startCameraRecording()
628 IPCThreadState::self()->restoreCallingIdentity(token); in startCameraRecording()
692 int64_t token = IPCThreadState::self()->clearCallingIdentity(); in releaseCamera()
699 IPCThreadState::self()->restoreCallingIdentity(token); in releaseCamera()
723 token = IPCThreadState::self()->clearCallingIdentity(); in reset()
737 IPCThreadState::self()->restoreCallingIdentity(token); in reset()
764 int64_t token = IPCThreadState::self()->clearCallingIdentity(); in releaseRecordingFrame()
766 IPCThreadState::self()->restoreCallingIdentity(token); in releaseRecordingFrame()
DTimedEventQueue.cpp337 int64_t token = IPCThreadState::self()->clearCallingIdentity(); in acquireWakeLock_l()
342 IPCThreadState::self()->restoreCallingIdentity(token); in acquireWakeLock_l()
365 int64_t token = IPCThreadState::self()->clearCallingIdentity(); in releaseWakeLock_l()
367 IPCThreadState::self()->restoreCallingIdentity(token); in releaseWakeLock_l()
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp40 IPCThreadState* ipcState = IPCThreadState::self(); in isProtectedCallAllowed()
291 IPCThreadState::self()->getCallingPid(), in dump()
292 IPCThreadState::self()->getCallingUid()); in dump()
Dmain_drmserver.cpp36 IPCThreadState::self()->joinThreadPool(); in main()
/frameworks/base/core/jni/
Dandroid_util_Binder.cpp266 IPCThreadState* thread_state = IPCThreadState::self(); in onTransact()
747 return IPCThreadState::self()->getCallingPid(); in android_os_Binder_getCallingPid()
752 return IPCThreadState::self()->getCallingUid(); in android_os_Binder_getCallingUid()
757 return IPCThreadState::self()->clearCallingIdentity(); in android_os_Binder_clearCallingIdentity()
771 IPCThreadState::self()->restoreCallingIdentity(token); in android_os_Binder_restoreCallingIdentity()
776 IPCThreadState::self()->setStrictModePolicy(policyMask); in android_os_Binder_setThreadStrictModePolicy()
781 return IPCThreadState::self()->getStrictModePolicy(); in android_os_Binder_getThreadStrictModePolicy()
786 IPCThreadState::self()->flushCommands(); in android_os_Binder_flushPendingCommands()
894 android::IPCThreadState::self()->joinThreadPool(); in android_os_BinderInternal_joinThreadPool()
900 IPCThreadState::disableBackgroundScheduling(disable ? true : false); in android_os_BinderInternal_disableBackgroundScheduling()
[all …]
/frameworks/base/libs/common_time/
Dcommon_time_server_api.cpp298 IPCThreadState::self()->getCallingPid(), in dumpClockInterface()
299 IPCThreadState::self()->getCallingUid()); in dumpClockInterface()
374 IPCThreadState::self()->getCallingPid(), in dumpConfigInterface()
375 IPCThreadState::self()->getCallingUid()); in dumpConfigInterface()
Dmain.cpp40 IPCThreadState::self()->joinThreadPool(); in main()
/frameworks/base/cmds/bootanimation/
Dbootanimation_main.cpp57 IPCThreadState::self()->joinThreadPool(); in main()
/frameworks/native/services/surfaceflinger/
DClient.cpp92 IPCThreadState* ipc = IPCThreadState::self(); in onTransact()
/frameworks/base/cmds/app_process/
Dapp_main.cpp87 IPCThreadState::self()->stopProcess(); in onStarted()
104 IPCThreadState::self()->stopProcess(); in onExit()
/frameworks/native/services/surfaceflinger/tests/resize/
Dresize.cpp65 IPCThreadState::self()->joinThreadPool(); in main()

123