/frameworks/native/libs/binder/ |
D | IPCThreadState.cpp | 287 IPCThreadState* IPCThreadState::self() in self() 292 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k); in self() 294 return new IPCThreadState; in self() 318 IPCThreadState* IPCThreadState::selfOrNull() in selfOrNull() 322 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k); in selfOrNull() 328 void IPCThreadState::shutdown() in shutdown() 334 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(gTLS); in shutdown() 344 void IPCThreadState::disableBackgroundScheduling(bool disable) in disableBackgroundScheduling() 349 bool IPCThreadState::backgroundSchedulingDisabled() in backgroundSchedulingDisabled() 354 sp<ProcessState> IPCThreadState::process() in process() [all …]
|
D | BpBinder.cpp | 113 trackedUid = IPCThreadState::self()->getCallingUid(); in create() 150 IPCThreadState::self()->incWeakHandle(handle, this); in BpBinder() 237 status_t status = IPCThreadState::self()->transact( in transact() 270 IPCThreadState* self = IPCThreadState::self(); in linkToDeath() 305 IPCThreadState* self = IPCThreadState::self(); in unlinkToDeath() 330 IPCThreadState* self = IPCThreadState::self(); in sendObituary() 391 IPCThreadState* ipc = IPCThreadState::self(); in ~BpBinder() 422 IPCThreadState* ipc = IPCThreadState::self(); in onFirstRef() 432 IPCThreadState* ipc = IPCThreadState::self(); in onLastStrongRef() 459 IPCThreadState* ipc = IPCThreadState::self(); in onIncStrongAttempted()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | CameraThreadState.cpp | 27 return hardware::IPCThreadState::self()->getCallingUid(); in getCallingUid() 29 return IPCThreadState::self()->getCallingUid(); in getCallingUid() 34 return hardware::IPCThreadState::self()->getCallingPid(); in getCallingPid() 36 return IPCThreadState::self()->getCallingPid(); in getCallingPid() 41 return hardware::IPCThreadState::self()->clearCallingIdentity(); in clearCallingIdentity() 43 return IPCThreadState::self()->clearCallingIdentity(); in clearCallingIdentity() 48 hardware::IPCThreadState::self()->restoreCallingIdentity(token); in restoreCallingIdentity() 50 IPCThreadState::self()->restoreCallingIdentity(token); in restoreCallingIdentity()
|
/frameworks/native/libs/gui/ |
D | BufferQueueThreadState.cpp | 27 return hardware::IPCThreadState::self()->getCallingUid(); in getCallingUid() 29 return IPCThreadState::self()->getCallingUid(); in getCallingUid() 34 return hardware::IPCThreadState::self()->getCallingPid(); in getCallingPid() 36 return IPCThreadState::self()->getCallingPid(); in getCallingPid()
|
/frameworks/native/libs/binder/ndk/ |
D | process.cpp | 24 using ::android::IPCThreadState; 35 IPCThreadState::self()->joinThreadPool(); in ABinderProcess_joinThreadPool() 39 return IPCThreadState::self()->setupPolling(fd); in ABinderProcess_setupPolling() 43 return IPCThreadState::self()->handlePolledCommands(); in ABinderProcess_handlePolledCommands()
|
/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()
|
/frameworks/base/cmds/statsd/src/ |
D | StatsService.cpp | 75 uid_t uid = IPCThreadState::self()->getCallingUid(); in checkUid() 85 pid_t pid = IPCThreadState::self()->getCallingPid(); in checkDumpAndUsageStats() 86 uid_t uid = IPCThreadState::self()->getCallingUid(); in checkDumpAndUsageStats() 352 uid_t uid = IPCThreadState::self()->getCallingUid(); in command() 555 uid = IPCThreadState::self()->getCallingUid(); in cmd_trigger_broadcast() 592 uid = IPCThreadState::self()->getCallingUid(); in cmd_trigger_active_config_broadcast() 606 uid = IPCThreadState::self()->getCallingUid(); in cmd_trigger_active_config_broadcast() 649 uid = IPCThreadState::self()->getCallingUid(); in cmd_config() 732 uid = IPCThreadState::self()->getCallingUid(); in cmd_dump_report() 824 uid = IPCThreadState::self()->getCallingUid(); in cmd_log_app_breadcrumb() [all …]
|
/frameworks/native/cmds/servicemanager/ |
D | main.cpp | 33 using ::android::IPCThreadState; 45 IPCThreadState::self()->setupPolling(&binder_fd); in setupTo() 50 IPCThreadState::self()->flushCommands(); in setupTo() 63 IPCThreadState::self()->handlePolledCommands(); in handleEvent() 132 IPCThreadState::self()->setTheContextObject(manager); in main()
|
/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/base/cmds/idmap2/idmap2d/ |
D | Main.cpp | 31 using android::IPCThreadState; 38 IPCThreadState::disableBackgroundScheduling(true); in main() 46 IPCThreadState::self()->joinThreadPool(); in main()
|
D | Idmap2Service.cpp | 40 using android::IPCThreadState; 81 const uid_t uid = IPCThreadState::self()->getCallingUid(); in removeIdmap() 124 const uid_t uid = IPCThreadState::self()->getCallingUid(); in createIdmap()
|
/frameworks/native/include/binder/ |
D | IPCThreadState.h | 32 class IPCThreadState 35 static IPCThreadState* self(); 36 static IPCThreadState* selfOrNull(); // self(), but won't instantiate 145 IPCThreadState(); 146 ~IPCThreadState();
|
/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 145 IPCThreadState(); 146 ~IPCThreadState();
|
/frameworks/av/services/medialog/ |
D | MediaLogService.cpp | 57 if (!isAudioServerOrMediaServerUid(IPCThreadState::self()->getCallingUid()) || shared == 0 || in registerWriter() 71 if (!isAudioServerOrMediaServerUid(IPCThreadState::self()->getCallingUid()) || shared == 0) { in unregisterWriter() 100 if (!(isAudioServerOrMediaServerUid(IPCThreadState::self()->getCallingUid()) in dump() 103 IPCThreadState::self()->getCallingPid(), in dump() 104 IPCThreadState::self()->getCallingUid()); in dump()
|
/frameworks/native/libs/binder/tests/ |
D | binderLibTest.cpp | 190 IPCThreadState::self()->restoreCallingWorkSource(0); in SetUp() 581 IPCThreadState::self()->flushCommands(); in TEST_F() 832 IPCThreadState::self()->flushCommands(); in TEST_F() 922 IPCThreadState::self()->clearCallingWorkSource(); in TEST_F() 923 int64_t previousWorkSource = IPCThreadState::self()->setCallingWorkSourceUid(100); in TEST_F() 928 EXPECT_EQ(true, IPCThreadState::self()->shouldPropagateWorkSource()); in TEST_F() 937 IPCThreadState::self()->setCallingWorkSourceUidWithoutPropagation(100); in TEST_F() 938 EXPECT_EQ(false, IPCThreadState::self()->shouldPropagateWorkSource()); in TEST_F() 943 EXPECT_EQ(false, IPCThreadState::self()->shouldPropagateWorkSource()); in TEST_F() 952 IPCThreadState::self()->setCallingWorkSourceUid(100); in TEST_F() [all …]
|
/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() 191 const uid_t callingUserId = IPCThreadState::self()->getCallingUid(); in convertHandleToServiceStream() 276 const pid_t ownerPid = IPCThreadState::self()->getCallingPid(); // TODO review in registerAudioThread()
|
/frameworks/native/libs/binderthreadstate/include/binderthreadstate/ |
D | CallerUtils.h | 39 const void* hwbinderSp = android::hardware::IPCThreadState::self()->getServingStackPointer(); in getCurrentServingCall() 40 const void* binderSp = android::IPCThreadState::self()->getServingStackPointer(); in getCurrentServingCall()
|
/frameworks/native/services/schedulerservice/ |
D | SchedulingPolicyService.cpp | 33 using ::android::hardware::IPCThreadState; in isAllowed() 35 return IPCThreadState::self()->getCallingUid() == AID_CAMERASERVER; in isAllowed()
|
/frameworks/av/services/soundtrigger/ |
D | SoundTriggerHwService.cpp | 117 IPCThreadState::self()->getCallingPid(), in listModules() 118 IPCThreadState::self()->getCallingUid())) { in listModules() 141 IPCThreadState::self()->getCallingPid(), in attach() 142 IPCThreadState::self()->getCallingUid())) { in attach() 986 IPCThreadState::self()->getCallingPid(), in detach() 987 IPCThreadState::self()->getCallingUid())) { in detach() 1011 IPCThreadState::self()->getCallingPid(), in loadSoundModel() 1012 IPCThreadState::self()->getCallingUid())) { in loadSoundModel() 1030 IPCThreadState::self()->getCallingPid(), in unloadSoundModel() 1031 IPCThreadState::self()->getCallingUid())) { in unloadSoundModel() [all …]
|
/frameworks/native/services/inputflinger/host/ |
D | InputFlinger.cpp | 50 const IPCThreadState* ipc = IPCThreadState::self(); in dump()
|
/frameworks/av/media/utils/ |
D | ProcessInfo.cpp | 58 int callingPid = IPCThreadState::self()->getCallingPid(); in isValidPid() 59 int callingUid = IPCThreadState::self()->getCallingUid(); in isValidPid()
|
/frameworks/base/cmds/app_process/ |
D | app_main.cpp | 88 IPCThreadState::self()->stopProcess(); in onStarted() 89 hardware::IPCThreadState::self()->stopProcess(); in onStarted() 103 IPCThreadState::self()->stopProcess(); in onExit() 104 hardware::IPCThreadState::self()->stopProcess(); in onExit()
|
/frameworks/base/core/jni/ |
D | android_util_Binder.cpp | 397 IPCThreadState* thread_state = IPCThreadState::self(); in onTransact() 940 return IPCThreadState::self()->getCallingPid(); in android_os_Binder_getCallingPid() 945 return IPCThreadState::self()->getCallingUid(); in android_os_Binder_getCallingUid() 955 return IPCThreadState::self()->clearCallingIdentity(); in android_os_Binder_clearCallingIdentity() 969 IPCThreadState::self()->restoreCallingIdentity(token); in android_os_Binder_restoreCallingIdentity() 974 IPCThreadState::self()->setStrictModePolicy(policyMask); in android_os_Binder_setThreadStrictModePolicy() 979 return IPCThreadState::self()->getStrictModePolicy(); in android_os_Binder_getThreadStrictModePolicy() 984 return IPCThreadState::self()->setCallingWorkSourceUid(workSource); in android_os_Binder_setCallingWorkSourceUid() 989 return IPCThreadState::self()->getCallingWorkSourceUid(); in android_os_Binder_getCallingWorkSourceUid() 994 return IPCThreadState::self()->clearCallingWorkSource(); in android_os_Binder_clearCallingWorkSource() [all …]
|