/frameworks/base/core/java/android/provider/ |
D | DocumentsProvider.java | 872 context.grantUriPermission(getCallingPackage(), narrowUri, modeFlags); in canonicalize() 961 enforceWritePermissionInner(rootUri, getCallingPackage(), null); in callUnchecked() 982 enforceReadPermissionInner(documentUri, getCallingPackage(), null); in callUnchecked() 994 enforceWritePermissionInner(documentUri, getCallingPackage(), null); in callUnchecked() 1008 enforceWritePermissionInner(documentUri, getCallingPackage(), null); in callUnchecked() 1016 enforceWritePermissionInner(documentUri, getCallingPackage(), null); in callUnchecked() 1030 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked() 1040 enforceWritePermissionInner(documentUri, getCallingPackage(), null); in callUnchecked() 1050 enforceReadPermissionInner(documentUri, getCallingPackage(), null); in callUnchecked() 1051 enforceWritePermissionInner(targetUri, getCallingPackage(), null); in callUnchecked() [all …]
|
/frameworks/base/core/java/android/companion/ |
D | CompanionDeviceManager.java | 149 getCallingPackage()); in associate() 168 return mService.getAssociations(getCallingPackage(), mContext.getUserId()); in getAssociations() 193 mService.disassociate(deviceMacAddress, getCallingPackage()); in disassociate() 263 private String getCallingPackage() { in getCallingPackage() method in CompanionDeviceManager 295 mService.stopScan(mRequest, this, getCallingPackage()); in onActivityDestroyed()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ClientRequestStats.java | 61 mCallingPackage = clientRequestStats.getCallingPackage(); in ClientRequestStats() 73 public String getCallingPackage() { in getCallingPackage() method in ClientRequestStats
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | DeviceChooserActivity.java | 107 getCallingPackage(), in getCallingAppName() 147 getCallingPackage(), getDeviceMacAddress(selectedDevice.device)); in onPairTapped()
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | ShareCompat.java | 96 public static String getCallingPackage(Activity calledActivity) { in getCallingPackage() method in ShareCompat 97 String result = calledActivity.getCallingPackage(); in getCallingPackage() 613 mCallingPackage = ShareCompat.getCallingPackage(activity); in IntentReader() 836 public String getCallingPackage() { in getCallingPackage() method in ShareCompat.IntentReader
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ManageDialog.java | 57 if (getCallingPackage() != null) { in onCreate() 58 Log.e(TAG, getCallingPackage() + " cannot start this activity"); in onCreate()
|
D | ConfirmDialog.java | 50 mPackage = getCallingPackage(); in onCreate()
|
/frameworks/base/media/java/android/media/session/ |
D | ISession.aidl | 54 String getCallingPackage(); in getCallingPackage() method
|
D | MediaSession.java | 530 public String getCallingPackage() { in getCallingPackage() method in MediaSession 532 return mBinder.getCallingPackage(); in getCallingPackage()
|
/frameworks/support/media-compat/api24/android/support/v4/media/session/ |
D | MediaSessionCompatApi24.java | 36 public static String getCallingPackage(Object sessionObj) { in getCallingPackage() method in MediaSessionCompatApi24
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 994 getCallingPackage(), forceNotify, CRITICAL_GLOBAL_SETTINGS); in mutateGlobalSetting() 1005 getCallingPackage(), forceNotify, CRITICAL_GLOBAL_SETTINGS); in mutateGlobalSetting() 1010 UserHandle.USER_SYSTEM, getCallingPackage(), mode, tag); in mutateGlobalSetting() 1020 return mPackageManager.getPackageInfo(getCallingPackage(), in getCallingPackageInfo() 1023 throw new IllegalStateException("Package " + getCallingPackage() + " doesn't exist"); in getCallingPackageInfo() 1275 getCallingPackage(), forceNotify, CRITICAL_SECURE_SETTINGS); 1286 getCallingPackage(), forceNotify, CRITICAL_SECURE_SETTINGS); 1291 UserHandle.USER_SYSTEM, getCallingPackage(), mode, tag); 1383 Binder.getCallingUid(), getCallingPackage(), true)) { 1423 owningUserId, name, value, null, false, getCallingPackage(), [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ConfirmUserCreationActivity.java | 85 final String callingPackage = getCallingPackage(); in checkUserCreationRequirements()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 63 mPackageName = getCallingPackage(); in onCreate()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BaseShortcutManagerTest.java | 1196 protected String getCallingPackage() { in getCallingPackage() method in BaseShortcutManagerTest 1402 String origCaller = getCallingPackage(); in makePackageShortcut() 1737 getCallingPackage(), getCallingUserId()); 1754 return getPackageShortcut(getCallingPackage(), shortcutId, getCallingUserId()); 2136 new ComponentName(getCallingPackage(), ShortcutActivity.class.getName()), 2138 updatePackageVersion(getCallingPackage(), 1); 2140 genPackageAddIntent(getCallingPackage(), getCallingUserId()));
|
D | ShortcutManagerTest1.java | 377 .setActivity(new ComponentName(getCallingPackage(), "abc")) in testPublishWithNoActivity() 391 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity() 401 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity() 405 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity() 416 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity() 420 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity() 433 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity() 444 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity() 448 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity() 460 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity() [all …]
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
D | MediaSessionCompat.java | 781 public String getCallingPackage() { in getCallingPackage() method in MediaSessionCompat 782 return mImpl.getCallingPackage(); in getCallingPackage() 1798 String getCallingPackage(); in getCallingPackage() method 2221 public String getCallingPackage() { in getCallingPackage() method in MediaSessionCompat.MediaSessionImplBase 3410 public String getCallingPackage() { in getCallingPackage() method in MediaSessionCompat.MediaSessionImplApi21 3414 return MediaSessionCompatApi24.getCallingPackage(mSessionObj); in getCallingPackage()
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 745 public final @Nullable String getCallingPackage() { in getCallingPackage() method in ContentProvider
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionRecord.java | 910 public String getCallingPackage() { in getCallingPackage() method in MediaSessionRecord.SessionStub
|
/frameworks/base/core/java/android/app/ |
D | IActivityManager.aidl | 118 String getCallingPackage(in IBinder token); in getCallingPackage() method
|
D | Activity.java | 5355 public String getCallingPackage() { in getCallingPackage() method in Activity 5357 return ActivityManager.getService().getCallingPackage(mToken); in getCallingPackage()
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionSession.java | 346 public String getCallingPackage() { in getCallingPackage() method in VoiceInteractionSession.Request
|
/frameworks/support/api/ |
D | 22.0.0.txt | 2175 method public static java.lang.String getCallingPackage(android.app.Activity); 2210 method public java.lang.String getCallingPackage();
|
D | 22.1.0.txt | 2317 method public static java.lang.String getCallingPackage(android.app.Activity); 2352 method public java.lang.String getCallingPackage();
|
D | 22.2.0.txt | 2685 method public static java.lang.String getCallingPackage(android.app.Activity); 2720 method public java.lang.String getCallingPackage();
|
D | 22.2.1.txt | 2714 method public static java.lang.String getCallingPackage(android.app.Activity); 2749 method public java.lang.String getCallingPackage();
|