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

/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/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.java211 public static final native int getCallingUid(); method in class:Binder
216 * of the caller. It is distinct from {@link #getCallingUid()} in that a
222 return UserHandle.of(UserHandle.getUserId(getCallingUid()));
238 * @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.java157 Binder.getCallingUid(), callback, VoiceInteractionSession.this,
170 Binder.getCallingUid(), callback, VoiceInteractionSession.this,
182 Binder.getCallingUid(), callback, VoiceInteractionSession.this,
194 Binder.getCallingUid(), callback, VoiceInteractionSession.this,
206 Binder.getCallingUid(), callback, VoiceInteractionSession.this,
339 public int getCallingUid() { method in class:VoiceInteractionSession.Request
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmMockContext.java130 public int getCallingUid() { method in class:DpmMockContext.MockBinder
139 return new UserHandle(UserHandle.getUserId(getCallingUid()));
540 final int userId = UserHandle.getUserId(binder.getCallingUid());
617 if (binder.getCallingUid() == SYSTEM_UID) {
621 List<String> permissions = binder.callingPermissions.get(binder.getCallingUid());
627 // "Caller UID " + binder.getCallingUid() + " doesn't exist");
696 Assert.assertEquals(UserHandle.getUserId(binder.getCallingUid()), user.getIdentifier());
818 return UserHandle.getUserId(binder.getCallingUid());
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp517 int CameraService::getCallingUid() { function in class:android::CameraService
518 return IPCThreadState::self()->getCallingUid();
740 int uid = getCallingUid();
883 int callingUid = getCallingUid();
1443 int uid = getCallingUid();
1962 const int uid = getCallingUid();
2153 IPCThreadState::self()->getCallingUid(), NULL, 0);
2476 getCallingUid());

Completed in 43 milliseconds