/frameworks/base/core/java/android/companion/ |
H A D | CompanionDeviceManager.java | 150 getCallingPackage()); 169 return mService.getAssociations(getCallingPackage(), mContext.getUserId()); 194 mService.disassociate(deviceMacAddress, getCallingPackage()); 264 private String getCallingPackage() { method in class:CompanionDeviceManager 315 mService.stopScan(mRequest, this, getCallingPackage());
|
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsProvider.java | 879 context.grantUriPermission(getCallingPackage(), narrowUri, modeFlags); 968 enforceWritePermissionInner(rootUri, getCallingPackage(), null); 989 enforceReadPermissionInner(documentUri, getCallingPackage(), null); 1001 enforceWritePermissionInner(documentUri, getCallingPackage(), null); 1015 enforceWritePermissionInner(documentUri, getCallingPackage(), null); 1023 enforceWritePermissionInner(documentUri, getCallingPackage(), null); 1037 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); 1047 enforceWritePermissionInner(documentUri, getCallingPackage(), null); 1057 enforceReadPermissionInner(documentUri, getCallingPackage(), null); 1058 enforceWritePermissionInner(targetUri, getCallingPackage(), nul [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | ClientRequestStats.java | 61 mCallingPackage = clientRequestStats.getCallingPackage(); 73 public String getCallingPackage() { method in class:ClientRequestStats
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
H A D | DeviceChooserActivity.java | 110 getCallingPackage(), 155 getCallingPackage(), getDeviceMacAddress(selectedDevice.device));
|
/frameworks/support/slices/core/src/androidTest/java/androidx/slice/compat/ |
H A D | SliceProviderCompatTest.java | 76 public String getCallingPackage() { 109 public String getCallingPackage() {
|
/frameworks/support/media/api24/android/support/v4/media/session/ |
H A D | MediaSessionCompatApi24.java | 37 public static String getCallingPackage(Object sessionObj) { method in class:MediaSessionCompatApi24 40 Method getCallingPackageMethod = session.getClass().getMethod("getCallingPackage"); 43 Log.e(TAG, "Cannot execute MediaSession.getCallingPackage()", e);
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
H A D | ShareCompat.java | 66 * (It is also provided by {@link Activity#getCallingPackage()}.) 68 * Instead of using this constant directly, consider using {@link #getCallingPackage(Activity)} 69 * or {@link IntentReader#getCallingPackage()}. 97 public static String getCallingPackage(Activity calledActivity) { method in class:ShareCompat 98 String result = calledActivity.getCallingPackage(); 614 mCallingPackage = ShareCompat.getCallingPackage(activity); 834 * @see Activity#getCallingPackage() 837 public String getCallingPackage() { method in class:ShareCompat.IntentReader
|
/frameworks/base/core/java/android/app/slice/ |
H A D | SliceProvider.java | 303 * @see #getCallingPackage() 306 return createPermissionIntent(getContext(), sliceUri, getCallingPackage()); 361 String callingPackage = getCallingPackage(); 376 Slice s = handleBindSlice(uri, supportedSpecs, getCallingPackage(),
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ConfirmUserCreationActivity.java | 85 final String callingPackage = getCallingPackage();
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
H A D | ConfirmDialog.java | 50 mPackage = getCallingPackage();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | MediaProjectionPermissionActivity.java | 66 mPackageName = getCallingPackage();
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
H A D | WifiAwareClientState.java | 109 public String getCallingPackage() { method in class:WifiAwareClientState
|
H A D | WifiAwareDataPathStateManager.java | 1116 client.getCallingPackage(), Build.VERSION_CODES.P)) {
|
/frameworks/support/slices/core/src/main/java/androidx/slice/compat/ |
H A D | SliceProviderCompat.java | 125 public String getCallingPackage() { method in class:SliceProviderCompat 126 return mProvider.getCallingPackage(); 137 Slice s = handleBindSlice(uri, specs, getCallingPackage()); 147 Slice s = handleBindSlice(uri, specs, getCallingPackage());
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsProvider.java | 1035 getCallingPackage(), forceNotify, CRITICAL_GLOBAL_SETTINGS); 1046 getCallingPackage(), forceNotify, CRITICAL_GLOBAL_SETTINGS); 1051 UserHandle.USER_SYSTEM, getCallingPackage(), mode, tag); 1061 return mPackageManager.getPackageInfo(getCallingPackage(), 1064 throw new IllegalStateException("Package " + getCallingPackage() + " doesn't exist"); 1357 getCallingPackage(), forceNotify, CRITICAL_SECURE_SETTINGS); 1368 getCallingPackage(), forceNotify, CRITICAL_SECURE_SETTINGS); 1373 UserHandle.USER_SYSTEM, getCallingPackage(), mode, tag); 1465 Binder.getCallingUid(), getCallingPackage(), true)) { 1510 owningUserId, name, value, null, false, getCallingPackage(), [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | BaseShortcutManagerTest.java | 1247 protected String getCallingPackage() { method in class:BaseShortcutManagerTest 1453 String origCaller = getCallingPackage(); 1787 getCallingPackage(), getCallingUserId()); 1804 return getPackageShortcut(getCallingPackage(), shortcutId, getCallingUserId()); 2194 new ComponentName(getCallingPackage(), ShortcutActivity.class.getName()), 2196 updatePackageVersion(getCallingPackage(), 1); 2198 genPackageAddIntent(getCallingPackage(), getCallingUserId()));
|
H A D | ShortcutManagerTest1.java | 414 .setActivity(new ComponentName(getCallingPackage(), "abc")) 428 assertEquals(new ComponentName(getCallingPackage(), 438 assertEquals(new ComponentName(getCallingPackage(), 442 assertEquals(new ComponentName(getCallingPackage(), 453 assertEquals(new ComponentName(getCallingPackage(), 457 assertEquals(new ComponentName(getCallingPackage(), 470 assertEquals(new ComponentName(getCallingPackage(), 481 assertEquals(new ComponentName(getCallingPackage(), 485 assertEquals(new ComponentName(getCallingPackage(), 497 assertEquals(new ComponentName(getCallingPackage(), [all...] |
/frameworks/support/media/src/main/java/android/support/v4/media/session/ |
H A D | MediaSessionCompat.java | 839 public String getCallingPackage() { method in class:MediaSessionCompat 840 return mImpl.getCallingPackage(); 1851 String getCallingPackage(); method in interface:MediaSessionCompat.MediaSessionImpl 2264 public String getCallingPackage() { method in class:MediaSessionCompat.MediaSessionImplBase 3453 public String getCallingPackage() { method in class:MediaSessionCompat.MediaSessionImplApi21 3457 return MediaSessionCompatApi24.getCallingPackage(mSessionObj);
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProvider.java | 743 public final @Nullable String getCallingPackage() { method in class:ContentProvider
|
/frameworks/base/core/java/android/app/ |
H A D | IActivityManager.aidl | 126 String getCallingPackage(in IBinder token);
|
H A D | Activity.java | 5477 public String getCallingPackage() { method in class:Activity 5479 return ActivityManager.getService().getCallingPackage(mToken);
|
/frameworks/base/core/java/android/service/voice/ |
H A D | VoiceInteractionSession.java | 335 public String getCallingPackage() { method in class:VoiceInteractionSession.Request
|
/frameworks/base/media/java/android/media/session/ |
H A D | MediaSession.java | 558 public String getCallingPackage() { method in class:MediaSession
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 8235 public String getCallingPackage(IBinder token) { method in class:ActivityManagerService [all...] |
/frameworks/base/config/ |
H A D | boot-image-profile.txt | 215 HPLandroid/app/Activity;->getCallingPackage()Ljava/lang/String; 586 HPLandroid/app/IActivityManager$Stub$Proxy;->getCallingPackage(Landroid/os/IBinder;)Ljava/lang/String; [all...] |