Searched defs:getCallingUid (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
H A DCrossProfileAppsServiceImpl.java100 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 DRecognitionService.java326 * 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 DDpmMockContext.java117 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 DCrossProfileAppsServiceImplTest.java388 public int getCallingUid() { method in class:CrossProfileAppsServiceImplTest.TestInjector
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipProfile.java493 public int getCallingUid() { method in class:SipProfile
/frameworks/base/core/java/android/os/
H A DBinder.java250 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 DIPCThreadState.cpp363 uid_t IPCThreadState::getCallingUid() const function in class:android::IPCThreadState
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java146 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 DCameraService.cpp501 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());

Completed in 440 milliseconds