/frameworks/native/libs/binder/ |
D | IPCThreadState.cpp | 280 IPCThreadState* IPCThreadState::self() in self() 285 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k); in self() 287 return new IPCThreadState; in self() 310 IPCThreadState* IPCThreadState::selfOrNull() in selfOrNull() 314 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k); in selfOrNull() 320 void IPCThreadState::shutdown() in shutdown() 326 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(gTLS); in shutdown() 336 void IPCThreadState::disableBackgroundScheduling(bool disable) in disableBackgroundScheduling() 341 bool IPCThreadState::backgroundSchedulingDisabled() in backgroundSchedulingDisabled() 346 sp<ProcessState> IPCThreadState::process() in process() [all …]
|
D | BpBinder.cpp | 99 IPCThreadState::self()->incWeakHandle(handle); in BpBinder() 165 status_t status = IPCThreadState::self()->transact( in transact() 196 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 | PermissionCache.cpp | 83 IPCThreadState* ipcState = IPCThreadState::self(); in checkCallingPermission()
|
D | ProcessState.cpp | 61 IPCThreadState::self()->joinThreadPool(mIsMain); in threadLoop() 133 IPCThreadState* ipc = IPCThreadState::self(); in getContextObject() 273 status_t status = IPCThreadState::self()->transact( in getStrongProxyForHandle()
|
/frameworks/native/services/sensorservice/ |
D | BatteryService.cpp | 61 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); in enableSensorImpl() 63 IPCThreadState::self()->restoreCallingIdentity(identity); in enableSensorImpl() 70 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); in disableSensorImpl() 72 IPCThreadState::self()->restoreCallingIdentity(identity); in disableSensorImpl() 80 int64_t identity = IPCThreadState::self()->clearCallingIdentity(); in cleanupImpl() 89 IPCThreadState::self()->restoreCallingIdentity(identity); in cleanupImpl()
|
D | SensorRegistrationInfo.h | 46 IPCThreadState *thread = IPCThreadState::self(); in SensorRegistrationInfo()
|
/frameworks/native/libs/binder/include/binder/ |
D | IPCThreadState.h | 32 class IPCThreadState 35 static IPCThreadState* self(); 36 static IPCThreadState* selfOrNull(); // self(), but won't instantiate 93 IPCThreadState(); 94 ~IPCThreadState();
|
D | ProcessState.h | 32 class IPCThreadState; variable 78 friend class IPCThreadState;
|
/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/medialog/ |
D | MediaLogService.cpp | 50 if (IPCThreadState::self()->getCallingUid() != AID_AUDIOSERVER || shared == 0 || in registerWriter() 64 if (IPCThreadState::self()->getCallingUid() != AID_AUDIOSERVER || shared == 0) { in unregisterWriter() 94 if (!(IPCThreadState::self()->getCallingUid() == AID_AUDIOSERVER || in dump() 97 IPCThreadState::self()->getCallingPid(), in dump() 98 IPCThreadState::self()->getCallingUid()); in dump()
|
/frameworks/base/cmds/incidentd/src/ |
D | IncidentService.cpp | 50 IPCThreadState::self()->getCallingPid(), IPCThreadState::self()->getCallingUid()); in checkIncidentPermissions() 56 IPCThreadState::self()->getCallingPid(), IPCThreadState::self()->getCallingUid()); in checkIncidentPermissions() 234 if (IPCThreadState::self()->getCallingUid() != AID_SYSTEM) { in systemRunning()
|
/frameworks/av/services/oboeservice/ |
D | AAudioService.cpp | 63 << IPCThreadState::self()->getCallingPid() << ", uid=" in dump() 64 << IPCThreadState::self()->getCallingUid() << "\n"; in dump() 78 pid_t pid = IPCThreadState::self()->getCallingPid(); in registerClient() 109 if (mAudioClient.clientPid == IPCThreadState::self()->getCallingPid() && in openStream() 110 mAudioClient.clientUid == IPCThreadState::self()->getCallingUid()) { in openStream() 175 const uid_t callingUserId = IPCThreadState::self()->getCallingUid(); in convertHandleToServiceStream() 256 const pid_t ownerPid = IPCThreadState::self()->getCallingPid(); // TODO review in registerAudioThread()
|
/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/native/services/vr/virtual_touchpad/ |
D | VirtualTouchpadService.cpp | 103 const android::IPCThreadState* ipc = android::IPCThreadState::self(); in dump() 133 const android::IPCThreadState* ipc = android::IPCThreadState::self(); in CheckTouchPermission()
|
/frameworks/av/services/audioflinger/ |
D | ServiceUtilities.cpp | 53 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in recordingAllowed() 109 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in captureAudioOutputAllowed() 130 if (getpid_cached == IPCThreadState::self()->getCallingPid()) return true; in settingsAllowed()
|
/frameworks/native/services/inputflinger/host/ |
D | InputFlinger.cpp | 50 const IPCThreadState* ipc = IPCThreadState::self(); in dump()
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 87 IPCThreadState::self()->stopProcess(); in onStarted() 88 hardware::IPCThreadState::self()->stopProcess(); in onStarted() 102 IPCThreadState::self()->stopProcess(); in onExit() 103 hardware::IPCThreadState::self()->stopProcess(); in onExit()
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 92 if (!captureHotwordAllowed(IPCThreadState::self()->getCallingPid(), in listModules() 93 IPCThreadState::self()->getCallingUid())) { in listModules() 114 if (!captureHotwordAllowed(IPCThreadState::self()->getCallingPid(), in attach() 115 IPCThreadState::self()->getCallingUid())) { in attach() 965 if (!captureHotwordAllowed(IPCThreadState::self()->getCallingPid(), in detach() 966 IPCThreadState::self()->getCallingUid())) { in detach() 989 if (!captureHotwordAllowed(IPCThreadState::self()->getCallingPid(), in loadSoundModel() 990 IPCThreadState::self()->getCallingUid())) { in loadSoundModel() 1004 if (!captureHotwordAllowed(IPCThreadState::self()->getCallingPid(), in unloadSoundModel() 1005 IPCThreadState::self()->getCallingUid())) { in unloadSoundModel() [all …]
|
/frameworks/av/media/libstagefright/ |
D | CameraSource.cpp | 538 int64_t token = IPCThreadState::self()->clearCallingIdentity(); in init() 542 IPCThreadState::self()->restoreCallingIdentity(token); in init() 723 int64_t token = IPCThreadState::self()->clearCallingIdentity(); in startCameraRecording() 780 IPCThreadState::self()->restoreCallingIdentity(token); in startCameraRecording() 857 int64_t token = IPCThreadState::self()->clearCallingIdentity(); in releaseCamera() 864 IPCThreadState::self()->restoreCallingIdentity(token); in releaseCamera() 889 token = IPCThreadState::self()->clearCallingIdentity(); in reset() 903 IPCThreadState::self()->restoreCallingIdentity(token); in reset() 1018 int64_t token = IPCThreadState::self()->clearCallingIdentity(); in releaseRecordingFrame() 1020 IPCThreadState::self()->restoreCallingIdentity(token); in releaseRecordingFrame() [all …]
|
/frameworks/native/services/vr/hardware_composer/ |
D | vr_composer.cpp | 11 const android::IPCThreadState* ipc = android::IPCThreadState::self(); in CheckPermission()
|
/frameworks/base/core/jni/ |
D | android_util_Binder.cpp | 302 IPCThreadState* thread_state = IPCThreadState::self(); in onTransact() 814 return IPCThreadState::self()->getCallingPid(); in android_os_Binder_getCallingPid() 819 return IPCThreadState::self()->getCallingUid(); in android_os_Binder_getCallingUid() 824 return IPCThreadState::self()->clearCallingIdentity(); in android_os_Binder_clearCallingIdentity() 838 IPCThreadState::self()->restoreCallingIdentity(token); in android_os_Binder_restoreCallingIdentity() 843 IPCThreadState::self()->setStrictModePolicy(policyMask); in android_os_Binder_setThreadStrictModePolicy() 848 return IPCThreadState::self()->getStrictModePolicy(); in android_os_Binder_getThreadStrictModePolicy() 853 IPCThreadState::self()->flushCommands(); in android_os_Binder_flushPendingCommands() 889 return IPCThreadState::self()->blockUntilThreadAvailable(); in android_os_Binder_blockUntilThreadAvailable() 959 android::IPCThreadState::self()->joinThreadPool(); in android_os_BinderInternal_joinThreadPool() [all …]
|
/frameworks/av/media/audioserver/ |
D | main_audioserver.cpp | 65 IPCThreadState::self()->joinThreadPool(); in main() 152 IPCThreadState::self()->joinThreadPool(); in main()
|
/frameworks/av/media/libmediametrics/ |
D | IMediaAnalyticsService.cpp | 121 IPCThreadState *ipc = IPCThreadState::self(); in onTransact()
|
/frameworks/av/drm/drmserver/ |
D | DrmManagerService.cpp | 86 IPCThreadState* ipcState = IPCThreadState::self(); in isProtectedCallAllowed() 348 IPCThreadState::self()->getCallingPid(), in dump() 349 IPCThreadState::self()->getCallingUid()); in dump()
|
/frameworks/base/libs/common_time/ |
D | common_time_server_api.cpp | 300 IPCThreadState::self()->getCallingPid(), in dumpClockInterface() 301 IPCThreadState::self()->getCallingUid()); in dumpClockInterface() 376 IPCThreadState::self()->getCallingPid(), in dumpConfigInterface() 377 IPCThreadState::self()->getCallingUid()); in dumpConfigInterface()
|