/frameworks/native/libs/binder/ |
D | IPCThreadState.cpp | 298 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 …]
|
D | BpBinder.cpp | 98 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()
|
D | ProcessState.cpp | 62 IPCThreadState::self()->joinThreadPool(mIsMain); in threadLoop() 113 IPCThreadState* ipc = IPCThreadState::self(); in getContextObject() 213 status_t status = IPCThreadState::self()->transact( in getStrongProxyForHandle()
|
D | PermissionCache.cpp | 83 IPCThreadState* ipcState = IPCThreadState::self(); in checkCallingPermission()
|
D | Static.cpp | 87 IPCThreadState::shutdown(); in ~LibBinderIPCtStatics()
|
D | IServiceManager.cpp | 60 IPCThreadState* ipcState = IPCThreadState::self(); in checkCallingPermission()
|
/frameworks/native/services/sensorservice/ |
D | BatteryService.cpp | 66 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/ |
D | MediaLogService.cpp | 31 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/ |
D | IPCThreadState.h | 32 class IPCThreadState 35 static IPCThreadState* self(); 36 static IPCThreadState* selfOrNull(); // self(), but won't instantiate 88 IPCThreadState(); 89 ~IPCThreadState();
|
D | ProcessState.h | 30 class IPCThreadState; variable 66 friend class IPCThreadState;
|
D | BinderService.h | 58 IPCThreadState::self()->joinThreadPool(); in joinThreadPool()
|
/frameworks/av/media/libstagefright/foundation/ |
D | AWakeLock.cpp | 61 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/ |
D | ServiceUtilities.cpp | 29 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/ |
D | looper.cpp | 26 using android::IPCThreadState; 59 IPCThreadState::self()->flushCommands(); in ALooper_pollOnce() 70 IPCThreadState::self()->flushCommands(); in ALooper_pollAll()
|
/frameworks/av/media/libstagefright/ |
D | CameraSource.cpp | 498 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()
|
D | TimedEventQueue.cpp | 337 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/ |
D | DrmManagerService.cpp | 40 IPCThreadState* ipcState = IPCThreadState::self(); in isProtectedCallAllowed() 291 IPCThreadState::self()->getCallingPid(), in dump() 292 IPCThreadState::self()->getCallingUid()); in dump()
|
D | main_drmserver.cpp | 36 IPCThreadState::self()->joinThreadPool(); in main()
|
/frameworks/base/core/jni/ |
D | android_util_Binder.cpp | 266 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/ |
D | common_time_server_api.cpp | 298 IPCThreadState::self()->getCallingPid(), in dumpClockInterface() 299 IPCThreadState::self()->getCallingUid()); in dumpClockInterface() 374 IPCThreadState::self()->getCallingPid(), in dumpConfigInterface() 375 IPCThreadState::self()->getCallingUid()); in dumpConfigInterface()
|
D | main.cpp | 40 IPCThreadState::self()->joinThreadPool(); in main()
|
/frameworks/base/cmds/bootanimation/ |
D | bootanimation_main.cpp | 57 IPCThreadState::self()->joinThreadPool(); in main()
|
/frameworks/native/services/surfaceflinger/ |
D | Client.cpp | 92 IPCThreadState* ipc = IPCThreadState::self(); in onTransact()
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 87 IPCThreadState::self()->stopProcess(); in onStarted() 104 IPCThreadState::self()->stopProcess(); in onExit()
|
/frameworks/native/services/surfaceflinger/tests/resize/ |
D | resize.cpp | 65 IPCThreadState::self()->joinThreadPool(); in main()
|