/frameworks/av/services/camera/libcameraservice/utils/ |
CameraThreadState.h | 26 static int getCallingUid();
|
CameraThreadState.cpp | 24 int CameraThreadState::getCallingUid() { 26 return hardware::IPCThreadState::self()->getCallingUid(); 28 return IPCThreadState::self()->getCallingUid();
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowBinderTest.java | 75 assertThat(Binder.getCallingUid()).isEqualTo(37); 86 assertThat(Binder.getCallingUid()).isEqualTo(android.os.Process.myUid()); 100 assertThat(Binder.getCallingUid()).isEqualTo(android.os.Process.myUid());
|
ShadowAppOpsManagerTest.java | 112 appOps.setMode(OP_GPS, Binder.getCallingUid(), PACKAGE_NAME1, MODE_DEFAULT); 120 appOps.setMode(OP_GPS, Binder.getCallingUid(), PACKAGE_NAME1, MODE_ERRORED);
|
/frameworks/av/services/medialog/ |
MediaLogService.cpp | 57 if (!isAudioServerOrMediaServerUid(IPCThreadState::self()->getCallingUid()) || shared == 0 || 71 if (!isAudioServerOrMediaServerUid(IPCThreadState::self()->getCallingUid()) || shared == 0) { 100 if (!(isAudioServerOrMediaServerUid(IPCThreadState::self()->getCallingUid()) 104 IPCThreadState::self()->getCallingUid());
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowBinder.java | 51 protected static final int getCallingUid() {
|
ShadowAppOpsManager.java | 165 mStoredOps.put(getInternalKey(Binder.getCallingUid(), proxiedPackageName), op); 166 return checkOpNoThrow(op, Binder.getCallingUid(), proxiedPackageName);
|
/frameworks/base/cmds/idmap2/idmap2d/ |
Idmap2Service.cpp | 81 const uid_t uid = IPCThreadState::self()->getCallingUid(); 124 const uid_t uid = IPCThreadState::self()->getCallingUid();
|
/frameworks/av/services/oboeservice/ |
AAudioService.cpp | 63 << IPCThreadState::self()->getCallingUid() << "\n"; 109 mAudioClient.clientUid == IPCThreadState::self()->getCallingUid()) { 191 const uid_t callingUserId = IPCThreadState::self()->getCallingUid();
|
/frameworks/av/media/libstagefright/ |
RemoteMediaExtractor.cpp | 57 int uid = IPCThreadState::self()->getCallingUid();
|
/cts/tests/tests/binder_ndk/src/android/binder/cts/ |
TestImpl.java | 63 return Binder.getCallingUid(); 85 mCachedUid = Binder.getCallingUid();
|
/frameworks/av/services/soundtrigger/ |
SoundTriggerHwService.cpp | 92 IPCThreadState::self()->getCallingUid())) { 116 IPCThreadState::self()->getCallingUid())) { 949 IPCThreadState::self()->getCallingUid())) { 974 IPCThreadState::self()->getCallingUid())) { [all...] |
/frameworks/av/drm/drmserver/ |
DrmManagerService.cpp | 91 uid_t uid = ipcState->getCallingUid(); 356 IPCThreadState::self()->getCallingUid());
|
/frameworks/av/services/audiopolicy/service/ |
AudioPolicyInterfaceImpl.cpp | 187 const uid_t callingUid = IPCThreadState::self()->getCallingUid(); 364 const uid_t callingUid = IPCThreadState::self()->getCallingUid(); [all...] |
/cts/hostsidetests/incident/src/com/android/server/cts/ |
JobSchedulerIncidentTest.java | 170 assertTrue(0 <= jssi.getCallingUid()); 176 assertTrue(0 <= jsd.getCallingUid());
|
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/ |
CtsGroupCallService.java | 75 int packageUid = Binder.getCallingUid();
|
CtsStreamingService.java | 115 int packageUid = Binder.getCallingUid();
|
/frameworks/av/services/mediaanalytics/ |
MediaAnalyticsService.cpp | 161 int uid = IPCThreadState::self()->getCallingUid(); 250 IPCThreadState::self()->getCallingUid());
|
/frameworks/base/cmds/incidentd/src/ |
IncidentService.cpp | 65 uid_t callingUid = IPCThreadState::self()->getCallingUid(); 311 if (IPCThreadState::self()->getCallingUid() != AID_SYSTEM) {
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentProviderTest.java | 248 assertEquals(android.os.Process.myUid(), Binder.getCallingUid());
|
ContextTest.java | 727 Binder.getCallingUid(), Intent.FLAG_GRANT_WRITE_URI_PERMISSION, 740 NOT_GRANTED_PERMISSION, Binder.getCallingPid(), Binder.getCallingUid(), [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
BinderTest.java | 319 assertEquals(Process.myUid(), Binder.getCallingUid());
|
/frameworks/av/media/libmedia/ |
IMediaExtractor.cpp | 312 const int uid = ipc->getCallingUid();
|
/frameworks/av/media/utils/ |
ServiceUtilities.cpp | 158 if (isAudioServerUid(IPCThreadState::self()->getCallingUid())) return true;
|
/frameworks/av/services/audioflinger/ |
AudioFlinger.cpp | 466 IPCThreadState::self()->getCallingUid()); 692 const uid_t callingUid = IPCThreadState::self()->getCallingUid(); [all...] |