Home
last modified time | relevance | path

Searched refs:getCallingPackage (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/provider/
DDocumentsProvider.java995 context.grantUriPermission(getCallingPackage(), narrowUri, modeFlags); in canonicalize()
1084 enforceWritePermissionInner(rootUri, getCallingPackage(), getCallingAttributionTag(), in callUnchecked()
1106 enforceReadPermissionInner(documentUri, getCallingPackage(), in callUnchecked()
1119 enforceWritePermissionInner(documentUri, getCallingPackage(), in callUnchecked()
1134 enforceWritePermissionInner(documentUri, getCallingPackage(), in callUnchecked()
1143 enforceWritePermissionInner(documentUri, getCallingPackage(), in callUnchecked()
1158 context.grantUriPermission(getCallingPackage(), newDocumentUri, modeFlags); in callUnchecked()
1168 enforceWritePermissionInner(documentUri, getCallingPackage(), in callUnchecked()
1179 enforceReadPermissionInner(documentUri, getCallingPackage(), in callUnchecked()
1181 enforceWritePermissionInner(targetUri, getCallingPackage(), getCallingAttributionTag(), in callUnchecked()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsController.java88 callingPackage = getCallingPackage(); in updateMessageOnIccEfForSubscriber()
105 callingPackage = getCallingPackage(); in copyMessageToIccEfForSubscriber()
121 callingPackage = getCallingPackage(); in getAllMessagesFromIccEfForSubscriber()
151 callingPackage = getCallingPackage(); in sendDataForSubscriber()
179 private String getCallingPackage() { in getCallingPackage() method in SmsController
189 callingPackage = getCallingPackage(); in sendTextForSubscriber()
259 callingPackage = getCallingPackage(); in sendTextForSubscriberWithOptions()
280 if (getCallingPackage() != null) { in sendMultipartTextForSubscriber()
281 callingPackage = getCallingPackage(); in sendMultipartTextForSubscriber()
301 callingPackage = getCallingPackage(); in sendMultipartTextForSubscriberWithOptions()
[all …]
/frameworks/base/telephony/java/android/telephony/
DClientRequestStats.java61 mCallingPackage = clientRequestStats.getCallingPackage(); in ClientRequestStats()
73 public String getCallingPackage() { in getCallingPackage() method in ClientRequestStats
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java110 getCallingPackage(), in getCallingAppName()
155 getCallingPackage(), getDeviceMacAddress(selectedDevice.device)); in onDeviceConfirmed()
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java306 return createPermissionIntent(getContext(), sliceUri, getCallingPackage()); in onCreatePermissionRequest()
362 String callingPackage = getCallingPackage(); in call()
377 Slice s = handleBindSlice(uri, supportedSpecs, getCallingPackage(), in call()
/frameworks/base/packages/SettingsLib/SchedulesProvider/src/com/android/settingslib/schedulesprovider/
DSchedulesProvider.java88 if (!TextUtils.equals(getCallingPackage(), in call()
/frameworks/base/core/java/com/android/internal/app/
DConfirmUserCreationActivity.java85 final String callingPackage = getCallingPackage(); in checkUserCreationRequirements()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java64 mPackage = getCallingPackage(); in onCreate()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1283 protected String getCallingPackage() { in getCallingPackage() method in BaseShortcutManagerTest
1489 String origCaller = getCallingPackage(); in makePackageShortcut()
1888 getCallingPackage(), getCallingUserId());
1897 getCallingPackage(), getCallingUserId());
1908 getCallingPackage(), getCallingUserId());
1925 return getPackageShortcut(getCallingPackage(), shortcutId, getCallingUserId());
2330 new ComponentName(getCallingPackage(), ShortcutActivity.class.getName()),
2332 updatePackageVersion(getCallingPackage(), 1);
2334 genPackageAddIntent(getCallingPackage(), getCallingUserId()));
DShortcutManagerTest1.java549 .setActivity(new ComponentName(getCallingPackage(), "abc")) in testPublishWithNoActivity()
563 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity()
573 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity()
577 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity()
588 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity()
592 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity()
605 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity()
616 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity()
620 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity()
632 assertEquals(new ComponentName(getCallingPackage(), in testPublishWithNoActivity()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1300 getCallingPackage(), forceNotify, in mutateGlobalSetting()
1312 getCallingPackage(), forceNotify, CRITICAL_GLOBAL_SETTINGS); in mutateGlobalSetting()
1317 UserHandle.USER_SYSTEM, getCallingPackage(), mode, tag); in mutateGlobalSetting()
1327 return mPackageManager.getPackageInfo(getCallingPackage(), in getCallingPackageInfo()
1330 throw new IllegalStateException("Package " + getCallingPackage() + " doesn't exist"); in getCallingPackageInfo()
1633 getCallingPackage(), forceNotify, CRITICAL_SECURE_SETTINGS,
1645 getCallingPackage(), forceNotify, CRITICAL_SECURE_SETTINGS);
1650 UserHandle.USER_SYSTEM, getCallingPackage(), mode, tag);
1751 Binder.getCallingUid(), getCallingPackage(), true)) {
1795 owningUserId, name, value, null, false, getCallingPackage(),
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java64 String callingPackage = getCallingPackage(); in onCreate()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareClientState.java122 public String getCallingPackage() { in getCallingPackage() method in WifiAwareClientState
DWifiAwareDataPathStateManager.java1283 packageName = client.getCallingPackage(); in processNetworkSpecifier()
1290 client.getCallingPackage(), Build.VERSION_CODES.P, uid)) { in processNetworkSpecifier()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java65 mPackageName = getCallingPackage(); in onCreate()
/frameworks/base/core/java/android/app/
DIActivityTaskManager.aidl152 String getCallingPackage(in IBinder token); in getCallingPackage() method
DActivity.java6245 public String getCallingPackage() { in getCallingPackage() method in Activity
6247 return ActivityTaskManager.getService().getCallingPackage(mToken); in getCallingPackage()
/frameworks/base/media/java/android/media/session/
DMediaSession.java593 public String getCallingPackage() { in getCallingPackage() method in MediaSession
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java398 public String getCallingPackage() { in getCallingPackage() method in VoiceInteractionSession.Request
/frameworks/base/core/java/android/content/
DContentProvider.java951 public final @Nullable String getCallingPackage() { in getCallingPackage() method in ContentProvider
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java2418 public String getCallingPackage(IBinder token) { in getCallingPackage() method in ActivityTaskManagerService
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dboot-image-profile.txt645 HSPLandroid/app/Activity;->getCallingPackage()Ljava/lang/String;
2149 HSPLandroid/app/IActivityTaskManager$Stub$Proxy;->getCallingPackage(Landroid/os/IBinder;)Ljava/lang…
4748 HSPLandroid/content/ContentProvider;->getCallingPackage()Ljava/lang/String;
/frameworks/base/api/
Dcurrent.txt3782 method @Nullable public String getCallingPackage();
9703 method @Nullable public final String getCallingPackage();
44335 method public String getCallingPackage();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt3298 method public java.lang.String getCallingPackage();
6885 method public final java.lang.String getCallingPackage();

12