/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/binder/ |
D | IPCThreadState.cpp | 288 IPCThreadState* IPCThreadState::self() in self() 293 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k); in self() 295 return new IPCThreadState; in self() 319 IPCThreadState* IPCThreadState::selfOrNull() in selfOrNull() 323 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k); in selfOrNull() 329 void IPCThreadState::shutdown() in shutdown() 335 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(gTLS); in shutdown() 345 void IPCThreadState::disableBackgroundScheduling(bool disable) in disableBackgroundScheduling() 350 bool IPCThreadState::backgroundSchedulingDisabled() in backgroundSchedulingDisabled() 355 sp<ProcessState> IPCThreadState::process() in process() [all …]
|
D | BpBinder.cpp | 113 trackedUid = IPCThreadState::self()->getCallingUid(); in create() 165 IPCThreadState::self()->incWeakHandle(this->binderHandle(), this); in BpBinder() 278 status = IPCThreadState::self()->transact(binderHandle(), code, data, reply, flags); in transact() 314 IPCThreadState* self = IPCThreadState::self(); in linkToDeath() 351 IPCThreadState* self = IPCThreadState::self(); in unlinkToDeath() 378 IPCThreadState* self = IPCThreadState::self(); in sendObituary() 441 IPCThreadState* ipc = IPCThreadState::self(); in ~BpBinder() 474 IPCThreadState* ipc = IPCThreadState::self(); in onFirstRef() 488 IPCThreadState* ipc = IPCThreadState::self(); in onLastStrongRef() 518 IPCThreadState* ipc = IPCThreadState::self(); in onIncStrongAttempted()
|
/frameworks/native/libs/gui/ |
D | BufferQueueThreadState.cpp | 30 return hardware::IPCThreadState::self()->getCallingUid(); in getCallingUid() 32 return IPCThreadState::self()->getCallingUid(); in getCallingUid() 34 return hardware::IPCThreadState::self()->getCallingUid(); in getCallingUid() 41 return hardware::IPCThreadState::self()->getCallingPid(); in getCallingPid() 43 return IPCThreadState::self()->getCallingPid(); in getCallingPid() 45 return hardware::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/native/libs/binder/tests/ |
D | binderLibTest.cpp | 208 IPCThreadState::self()->restoreCallingWorkSource(0); in SetUp() 450 EXPECT_EQ(-EAGAIN, IPCThreadState::self()->freeze(pid, 1, 0)); in TEST_F() 451 EXPECT_EQ(-EAGAIN, IPCThreadState::self()->freeze(pid, 1, 0)); in TEST_F() 452 EXPECT_EQ(NO_ERROR, IPCThreadState::self()->freeze(pid, 1, 1000)); in TEST_F() 457 EXPECT_EQ(NO_ERROR, IPCThreadState::self()->getProcessFreezeInfo(pid, &sync_received, in TEST_F() 463 EXPECT_EQ(NO_ERROR, IPCThreadState::self()->freeze(pid, 0, 0)); in TEST_F() 629 IPCThreadState::self()->flushCommands(); in TEST_F() 872 IPCThreadState::self()->flushCommands(); in TEST_F() 956 IPCThreadState::self()->clearCallingWorkSource(); in TEST_F() 957 int64_t previousWorkSource = IPCThreadState::self()->setCallingWorkSourceUid(100); in TEST_F() [all …]
|
/frameworks/base/cmds/idmap2/idmap2d/ |
D | Main.cpp | 31 using android::IPCThreadState; 38 IPCThreadState::disableBackgroundScheduling(true); in main() 46 IPCThreadState::self()->joinThreadPool(); in main()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | AWakeLock.cpp | 61 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 | 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/include/binder/ |
D | IPCThreadState.h | 31 class IPCThreadState 36 static IPCThreadState* self(); 37 static IPCThreadState* selfOrNull(); // self(), but won't instantiate 166 IPCThreadState(); 167 ~IPCThreadState();
|
/frameworks/native/libs/binder/include/binder/ |
D | IPCThreadState.h | 31 class IPCThreadState 36 static IPCThreadState* self(); 37 static IPCThreadState* selfOrNull(); // self(), but won't instantiate 166 IPCThreadState(); 167 ~IPCThreadState();
|
D | ProcessState.h | 31 class IPCThreadState; variable 91 friend class IPCThreadState; variable
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_CreateDisplayTest.cpp | 69 int64_t oldId = IPCThreadState::self()->clearCallingIdentity(); in TEST_F() 71 IPCThreadState::self()->restoreCallingIdentity(static_cast<int64_t>(AID_GRAPHICS) << 32 | in TEST_F() 74 IPCThreadState::self()->restoreCallingIdentity(oldId); in TEST_F()
|
/frameworks/native/cmds/servicemanager/ |
D | main.cpp | 33 using ::android::IPCThreadState; 45 IPCThreadState::self()->setupPolling(&binder_fd); in setupTo() 59 IPCThreadState::self()->handlePolledCommands(); in handleEvent() 129 IPCThreadState::self()->setTheContextObject(manager); in main()
|
/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/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/oboeservice/ |
D | AAudioService.cpp | 71 << IPCThreadState::self()->getCallingPid() << ", uid=" in dump() 72 << IPCThreadState::self()->getCallingUid() << "\n"; in dump() 86 pid_t pid = IPCThreadState::self()->getCallingPid(); in registerClient() 119 pid_t pid = IPCThreadState::self()->getCallingPid(); in openStream() 123 legacy2aidl_uid_t_int32_t(IPCThreadState::self()->getCallingUid())); in openStream() 286 return clientPid == IPCThreadState::self()->getCallingPid() && in isCallerInService() 287 clientUid == IPCThreadState::self()->getCallingUid(); in isCallerInService() 308 const uid_t callingUserId = IPCThreadState::self()->getCallingUid(); in convertHandleToServiceStream()
|
/frameworks/native/services/inputflinger/host/ |
D | InputFlinger.cpp | 50 const IPCThreadState* ipc = IPCThreadState::self(); in dump()
|
/frameworks/native/services/gpuservice/ |
D | GpuService.cpp | 78 IPCThreadState* ipc = IPCThreadState::self(); in setUpdatableDriverPath() 116 IPCThreadState* ipc = IPCThreadState::self(); in doDump()
|
/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 | 401 IPCThreadState* thread_state = IPCThreadState::self(); in onTransact() 954 return IPCThreadState::self()->getCallingPid(); in android_os_Binder_getCallingPid() 959 return IPCThreadState::self()->getCallingUid(); in android_os_Binder_getCallingUid() 969 return IPCThreadState::self()->clearCallingIdentity(); in android_os_Binder_clearCallingIdentity() 974 IPCThreadState::self()->restoreCallingIdentity(token); in android_os_Binder_restoreCallingIdentity() 979 IPCThreadState::self()->setStrictModePolicy(policyMask); in android_os_Binder_setThreadStrictModePolicy() 984 return IPCThreadState::self()->getStrictModePolicy(); in android_os_Binder_getThreadStrictModePolicy() 989 return IPCThreadState::self()->setCallingWorkSourceUid(workSource); in android_os_Binder_setCallingWorkSourceUid() 994 return IPCThreadState::self()->getCallingWorkSourceUid(); in android_os_Binder_getCallingWorkSourceUid() 999 return IPCThreadState::self()->clearCallingWorkSource(); in android_os_Binder_clearCallingWorkSource() [all …]
|
/frameworks/av/media/utils/ |
D | ProcessInfo.cpp | 68 int callingPid = IPCThreadState::self()->getCallingPid(); in isValidPid() 69 int callingUid = IPCThreadState::self()->getCallingUid(); in isValidPid()
|