/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 | 112 trackedUid = IPCThreadState::self()->getCallingUid(); in create() 148 IPCThreadState::self()->incWeakHandle(handle, this); in BpBinder() 214 status_t status = IPCThreadState::self()->transact( in transact() 245 IPCThreadState* self = IPCThreadState::self(); in linkToDeath() 279 IPCThreadState* self = IPCThreadState::self(); in unlinkToDeath() 304 IPCThreadState* self = IPCThreadState::self(); in sendObituary() 365 IPCThreadState* ipc = IPCThreadState::self(); in ~BpBinder() 411 IPCThreadState* ipc = IPCThreadState::self(); in onFirstRef() 421 IPCThreadState* ipc = IPCThreadState::self(); in onLastStrongRef() 428 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() 139 IPCThreadState* ipc = IPCThreadState::self(); in getContextObject() 279 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() 90 IPCThreadState::self()->restoreCallingIdentity(identity); in cleanupImpl()
|
D | SensorRegistrationInfo.h | 46 IPCThreadState *thread = IPCThreadState::self(); in SensorRegistrationInfo()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.cpp | 70 uid_t uid = IPCThreadState::self()->getCallingUid(); in checkUid() 80 pid_t pid = IPCThreadState::self()->getCallingPid(); in checkDumpAndUsageStats() 81 uid_t uid = IPCThreadState::self()->getCallingUid(); in checkDumpAndUsageStats() 293 uid_t uid = IPCThreadState::self()->getCallingUid(); in command() 441 uid = IPCThreadState::self()->getCallingUid(); in cmd_trigger_broadcast() 494 uid = IPCThreadState::self()->getCallingUid(); in cmd_config() 579 uid = IPCThreadState::self()->getCallingUid(); in cmd_dump_report() 683 uid = IPCThreadState::self()->getCallingUid(); in cmd_log_app_breadcrumb() 691 if (mEngBuild || (uid >= 0 && (uid_t)uid == IPCThreadState::self()->getCallingUid())) { in cmd_log_app_breadcrumb() 738 IPCThreadState* ipc = IPCThreadState::self(); in cmd_clear_puller_cache() [all …]
|
/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/libmediaplayerservice/nuplayer/ |
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/media/libmediaplayer2/nuplayer2/ |
D | JWakeLock.cpp | 62 int64_t token = IPCThreadState::self()->clearCallingIdentity(); in acquire() 66 IPCThreadState::self()->restoreCallingIdentity(token); in acquire() 91 int64_t token = IPCThreadState::self()->clearCallingIdentity(); in release() 93 IPCThreadState::self()->restoreCallingIdentity(token); in release()
|
/frameworks/av/services/medialog/ |
D | MediaLogService.cpp | 56 if (IPCThreadState::self()->getCallingUid() != AID_AUDIOSERVER || shared == 0 || in registerWriter() 70 if (IPCThreadState::self()->getCallingUid() != AID_AUDIOSERVER || shared == 0) { in unregisterWriter() 100 if (!(IPCThreadState::self()->getCallingUid() == AID_AUDIOSERVER || in dump() 103 IPCThreadState::self()->getCallingPid(), in dump() 104 IPCThreadState::self()->getCallingUid()); in dump()
|
/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/oboeservice/ |
D | AAudioService.cpp | 62 << IPCThreadState::self()->getCallingPid() << ", uid=" in dump() 63 << IPCThreadState::self()->getCallingUid() << "\n"; in dump() 77 pid_t pid = IPCThreadState::self()->getCallingPid(); in registerClient() 108 if (mAudioClient.clientPid == IPCThreadState::self()->getCallingPid() && in openStream() 109 mAudioClient.clientUid == IPCThreadState::self()->getCallingUid()) { in openStream() 188 const uid_t callingUserId = IPCThreadState::self()->getCallingUid(); in convertHandleToServiceStream() 273 const pid_t ownerPid = IPCThreadState::self()->getCallingPid(); // TODO review in registerAudioThread()
|
/frameworks/native/services/schedulerservice/ |
D | SchedulingPolicyService.cpp | 33 using ::android::hardware::IPCThreadState; in isAllowed() 35 return IPCThreadState::self()->getCallingUid() == AID_CAMERASERVER; in isAllowed()
|
/frameworks/native/services/inputflinger/host/ |
D | InputFlinger.cpp | 50 const IPCThreadState* ipc = IPCThreadState::self(); in dump()
|
/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() 941 if (!captureHotwordAllowed(IPCThreadState::self()->getCallingPid(), in detach() 942 IPCThreadState::self()->getCallingUid())) { in detach() 965 if (!captureHotwordAllowed(IPCThreadState::self()->getCallingPid(), in loadSoundModel() 966 IPCThreadState::self()->getCallingUid())) { in loadSoundModel() 980 if (!captureHotwordAllowed(IPCThreadState::self()->getCallingPid(), in unloadSoundModel() 981 IPCThreadState::self()->getCallingUid())) { in unloadSoundModel() [all …]
|
/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/native/services/vr/hardware_composer/ |
D | vr_composer.cpp | 11 const android::IPCThreadState* ipc = android::IPCThreadState::self(); in CheckPermission()
|
/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/av/media/audioserver/ |
D | main_audioserver.cpp | 69 IPCThreadState::self()->joinThreadPool(); in main() 153 IPCThreadState::self()->joinThreadPool(); in main()
|
/frameworks/base/core/jni/ |
D | android_util_Binder.cpp | 338 IPCThreadState* thread_state = IPCThreadState::self(); in onTransact() 854 return IPCThreadState::self()->getCallingPid(); in android_os_Binder_getCallingPid() 859 return IPCThreadState::self()->getCallingUid(); in android_os_Binder_getCallingUid() 864 return IPCThreadState::self()->clearCallingIdentity(); in android_os_Binder_clearCallingIdentity() 878 IPCThreadState::self()->restoreCallingIdentity(token); in android_os_Binder_restoreCallingIdentity() 883 IPCThreadState::self()->setStrictModePolicy(policyMask); in android_os_Binder_setThreadStrictModePolicy() 888 return IPCThreadState::self()->getStrictModePolicy(); in android_os_Binder_getThreadStrictModePolicy() 893 IPCThreadState::self()->flushCommands(); in android_os_Binder_flushPendingCommands() 915 return IPCThreadState::self()->blockUntilThreadAvailable(); in android_os_Binder_blockUntilThreadAvailable() 986 android::IPCThreadState::self()->joinThreadPool(); in android_os_BinderInternal_joinThreadPool() [all …]
|
/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()
|