Home
last modified time | relevance | path

Searched refs:IPCThreadState (Results 1 – 25 of 104) sorted by relevance

12345

/frameworks/native/libs/binder/
DIPCThreadState.cpp280 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 …]
DBpBinder.cpp99 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()
DPermissionCache.cpp83 IPCThreadState* ipcState = IPCThreadState::self(); in checkCallingPermission()
DProcessState.cpp61 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/
DBatteryService.cpp61 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()
DSensorRegistrationInfo.h46 IPCThreadState *thread = IPCThreadState::self(); in SensorRegistrationInfo()
/frameworks/native/libs/binder/include/binder/
DIPCThreadState.h32 class IPCThreadState
35 static IPCThreadState* self();
36 static IPCThreadState* selfOrNull(); // self(), but won't instantiate
93 IPCThreadState();
94 ~IPCThreadState();
DProcessState.h32 class IPCThreadState; variable
78 friend class IPCThreadState;
/frameworks/av/media/libstagefright/foundation/
DAWakeLock.cpp61 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/
DMediaLogService.cpp50 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/
DIncidentService.cpp50 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/
DAAudioService.cpp63 << 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/
Dlooper.cpp26 using android::IPCThreadState;
59 IPCThreadState::self()->flushCommands(); in ALooper_pollOnce()
70 IPCThreadState::self()->flushCommands(); in ALooper_pollAll()
/frameworks/native/services/vr/virtual_touchpad/
DVirtualTouchpadService.cpp103 const android::IPCThreadState* ipc = android::IPCThreadState::self(); in dump()
133 const android::IPCThreadState* ipc = android::IPCThreadState::self(); in CheckTouchPermission()
/frameworks/av/services/audioflinger/
DServiceUtilities.cpp53 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/
DInputFlinger.cpp50 const IPCThreadState* ipc = IPCThreadState::self(); in dump()
/frameworks/base/cmds/app_process/
Dapp_main.cpp87 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/
DSoundTriggerHwService.cpp92 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/
DCameraSource.cpp538 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/
Dvr_composer.cpp11 const android::IPCThreadState* ipc = android::IPCThreadState::self(); in CheckPermission()
/frameworks/base/core/jni/
Dandroid_util_Binder.cpp302 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/
Dmain_audioserver.cpp65 IPCThreadState::self()->joinThreadPool(); in main()
152 IPCThreadState::self()->joinThreadPool(); in main()
/frameworks/av/media/libmediametrics/
DIMediaAnalyticsService.cpp121 IPCThreadState *ipc = IPCThreadState::self(); in onTransact()
/frameworks/av/drm/drmserver/
DDrmManagerService.cpp86 IPCThreadState* ipcState = IPCThreadState::self(); in isProtectedCallAllowed()
348 IPCThreadState::self()->getCallingPid(), in dump()
349 IPCThreadState::self()->getCallingUid()); in dump()
/frameworks/base/libs/common_time/
Dcommon_time_server_api.cpp300 IPCThreadState::self()->getCallingPid(), in dumpClockInterface()
301 IPCThreadState::self()->getCallingUid()); in dumpClockInterface()
376 IPCThreadState::self()->getCallingPid(), in dumpConfigInterface()
377 IPCThreadState::self()->getCallingUid()); in dumpConfigInterface()

12345