/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | CrossProfileAppsServiceImpl.java | 100 final int callingUid = mInjector.getCallingUid(); 145 final int callingUid = mInjector.getCallingUid(); 194 mInjector.getAppOpsManager().checkPackage(mInjector.getCallingUid(), callingPackage); 204 public int getCallingUid() { method in class:CrossProfileAppsServiceImpl.InjectorImpl 205 return Binder.getCallingUid(); 248 int getCallingUid(); method in interface:CrossProfileAppsServiceImpl.Injector
|
/frameworks/base/core/java/android/speech/ |
H A D | RecognitionService.java | 326 * is being processed. This is obtained from {@link Binder#getCallingUid()}. 328 public int getCallingUid() { method in class:RecognitionService.Callback 348 recognizerIntent, listener, Binder.getCallingUid())));
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | DpmMockContext.java | 117 public int getCallingUid() { method in class:DpmMockContext.MockBinder 126 return new UserHandle(UserHandle.getUserId(getCallingUid())); 225 if (UserHandle.isSameApp(binder.getCallingUid(), SYSTEM_UID)) { 228 List<String> permissions = binder.callingPermissions.get(binder.getCallingUid()); 234 // "Caller UID " + binder.getCallingUid() + " doesn't exist"); 309 Assert.assertEquals(UserHandle.getUserId(binder.getCallingUid()), user.getIdentifier()); 427 return UserHandle.getUserId(binder.getCallingUid());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | CrossProfileAppsServiceImplTest.java | 388 public int getCallingUid() { method in class:CrossProfileAppsServiceImplTest.TestInjector
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SipProfile.java | 493 public int getCallingUid() { method in class:SipProfile
|
/frameworks/base/core/java/android/os/ |
H A D | Binder.java | 250 public static final native int getCallingUid(); method in class:Binder 255 * of the caller. It is distinct from {@link #getCallingUid()} in that a 261 return UserHandle.of(UserHandle.getUserId(getCallingUid())); 277 * @see #getCallingUid()
|
/frameworks/native/libs/binder/ |
H A D | IPCThreadState.cpp | 363 uid_t IPCThreadState::getCallingUid() const function in class:android::IPCThreadState
|
/frameworks/base/core/java/android/service/voice/ |
H A D | VoiceInteractionSession.java | 146 Binder.getCallingUid(), callback, VoiceInteractionSession.this, 159 Binder.getCallingUid(), callback, VoiceInteractionSession.this, 171 Binder.getCallingUid(), callback, VoiceInteractionSession.this, 183 Binder.getCallingUid(), callback, VoiceInteractionSession.this, 195 Binder.getCallingUid(), callback, VoiceInteractionSession.this, 328 public int getCallingUid() { method in class:VoiceInteractionSession.Request
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 501 int CameraService::getCallingUid() { function in class:android::CameraService 502 return IPCThreadState::self()->getCallingUid(); 728 int uid = getCallingUid(); 872 int callingUid = getCallingUid(); 1445 int uid = getCallingUid(); 1988 const int uid = getCallingUid(); 2194 IPCThreadState::self()->getCallingUid(), NULL, 0); 2687 getCallingUid());
|