HomeSort by relevance Sort by last modified time
    Searched defs:getCallingUid (Results 1 - 25 of 41) sorted by null

1 2

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowBinder.java 34 public static final int getCallingUid() {
  /frameworks/support/v4/java/android/support/v4/app/
NotificationCompatSideChannelService.java 77 checkPermission(getCallingUid(), packageName);
88 checkPermission(getCallingUid(), packageName);
99 checkPermission(getCallingUid(), packageName);
  /frameworks/opt/net/voip/src/java/android/net/sip/
SipProfile.java 493 public int getCallingUid() {
  /packages/services/Telecomm/src/com/android/server/telecom/
TelecomServiceImpl.java 741 Binder.getCallingUid(),
775 Binder.getCallingUid(),
    [all...]
  /frameworks/base/core/java/android/speech/
RecognitionService.java 326 * is being processed. This is obtained from {@link Binder#getCallingUid()}.
328 public int getCallingUid() {
348 recognizerIntent, listener, Binder.getCallingUid())));
  /packages/services/Telephony/sip/src/com/android/services/telephony/sip/
SipSettings.java 102 int profileUid = mProfile.getCallingUid();
236 if (mUid == p.getCallingUid()) {
254 profile.setCallingUid(activeProfile.getCallingUid());
286 int uid = profile.getCallingUid();
  /cts/tests/tests/os/src/android/os/cts/
BinderTest.java 316 assertEquals(Process.myUid(), Binder.getCallingUid());
  /frameworks/base/core/java/android/os/
Binder.java 98 public static final native int getCallingUid();
103 * of the caller. It is distinct from {@link #getCallingUid()} in that a
109 return new UserHandle(UserHandle.getUserId(getCallingUid()));
125 * @see #getCallingUid()
  /frameworks/base/services/core/java/com/android/server/clipboard/
ClipboardService.java 165 final int callingUid = Binder.getCallingUid();
249 if (mAppOps.noteOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(),
253 addActiveOwnerLocked(Binder.getCallingUid(), pkg);
260 if (mAppOps.checkOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(),
271 if (mAppOps.checkOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(),
283 new ListenerInfo(Binder.getCallingUid(), callingPackage));
295 if (mAppOps.checkOp(AppOpsManager.OP_READ_CLIPBOARD, Binder.getCallingUid(),
394 UserHandle.getUserId(Binder.getCallingUid()));
  /frameworks/native/libs/binder/
IPCThreadState.cpp 351 uid_t IPCThreadState::getCallingUid() const
    [all...]
  /frameworks/base/core/java/android/content/
ContentProvider.java 520 if (getContext().checkPermission(permission, Binder.getCallingPid(), Binder.getCallingUid(),
538 final int uid = Binder.getCallingUid();
615 final int uid = Binder.getCallingUid();
712 * @see Binder#getCallingUid()
720 mTransport.mAppOpsManager.checkPackage(Binder.getCallingUid(), pkg);
    [all...]
  /frameworks/av/services/camera/libcameraservice/
CameraService.cpp 581 int CameraService::getCallingUid() {
582 return IPCThreadState::self()->getCallingUid();
767 int uid = getCallingUid();
848 clientUid = getCallingUid();
    [all...]
  /frameworks/base/core/java/android/service/voice/
VoiceInteractionSession.java 137 Binder.getCallingUid(), callback, VoiceInteractionSession.this,
150 Binder.getCallingUid(), callback, VoiceInteractionSession.this,
162 Binder.getCallingUid(), callback, VoiceInteractionSession.this,
174 Binder.getCallingUid(), callback, VoiceInteractionSession.this,
186 Binder.getCallingUid(), callback, VoiceInteractionSession.this,
316 public int getCallingUid() {
    [all...]
  /frameworks/opt/net/voip/src/java/com/android/server/sip/
SipService.java 147 localProfile.setCallingUid(Binder.getCallingUid());
164 localProfile.setCallingUid(Binder.getCallingUid());
187 return (profile.getCallingUid() == Binder.getCallingUid());
195 return (Binder.getCallingUid() == Process.PHONE_UID);
269 localProfile.setCallingUid(Binder.getCallingUid());
470 return mAppOps.noteOp(AppOpsManager.OP_USE_SIP, Binder.getCallingUid(),
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
PackageInstallerService.java 575 final int callingUid = Binder.getCallingUid();
    [all...]
PackageManagerService.java     [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiServiceImpl.java 473 mWifiStateMachine.startScan(Binder.getCallingUid(), scanRequestCounter++,
572 + ", uid=" + Binder.getCallingUid());
790 return mWifiStateMachine.syncGetConfiguredNetworks(Binder.getCallingUid(),
    [all...]
  /frameworks/base/services/appwidget/java/com/android/server/appwidget/
AppWidgetServiceImpl.java 453 + ", uid=" + Binder.getCallingUid());
504 HostId id = new HostId(Binder.getCallingUid(), hostId, callingPackage);
540 HostId id = new HostId(Binder.getCallingUid(), hostId, callingPackage);
572 HostId id = new HostId(Binder.getCallingUid(), hostId, callingPackage);
610 Binder.getCallingUid(), callingPackage);
698 Binder.getCallingUid(), callingPackage);
767 Binder.getCallingUid(), callingPackage);
    [all...]
  /frameworks/base/services/core/java/com/android/server/
MountService.java     [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsProvider2.java     [all...]
  /external/robolectric/lib/main/
android.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/14/
android.jar 

Completed in 647 milliseconds

1 2