/frameworks/base/core/tests/coretests/src/android/content/ |
D | PermissionCheckerTest.java | 55 Binder.getCallingUid(), mContext.getPackageName(), AppOpsManager.MODE_DEFAULT); in testCheckPermissionForPreflight_appOpPermission_modeDefaultAndPermissionGranted_returnsGranted() 59 Binder.getCallingUid(), mContext.getPackageName())) in testCheckPermissionForPreflight_appOpPermission_modeDefaultAndPermissionGranted_returnsGranted() 67 Binder.getCallingUid(), mContext.getPackageName(), AppOpsManager.MODE_DEFAULT); in testCheckPermissionForPreflight_appOpPermission_modeDefaultAndPermissionNotGranted_returnsHardDenied() 71 Binder.getCallingUid(), mContext.getPackageName())) in testCheckPermissionForPreflight_appOpPermission_modeDefaultAndPermissionNotGranted_returnsHardDenied() 79 Binder.getCallingUid(), mContext.getPackageName(), AppOpsManager.MODE_ALLOWED); in testCheckPermissionForPreflight_appOpPermission_modeAllowed_returnsGranted() 83 Binder.getCallingUid(), mContext.getPackageName())) in testCheckPermissionForPreflight_appOpPermission_modeAllowed_returnsGranted() 91 Binder.getCallingUid(), mContext.getPackageName(), AppOpsManager.MODE_ALLOWED); in testCheckPermissionForPreflight_appOpPermission_packageNameIsNull_returnsGranted() 103 Binder.getCallingUid(), mContext.getPackageName(), AppOpsManager.MODE_IGNORED); in testCheckPermissionForPreflight_appOpPermission_modeIgnored_returnsHardDenied() 107 Binder.getCallingUid(), mContext.getPackageName())) in testCheckPermissionForPreflight_appOpPermission_modeIgnored_returnsHardDenied() 115 Binder.getCallingUid(), mContext.getPackageName(), AppOpsManager.MODE_ERRORED); in testCheckPermissionForPreflight_appOpPermission_modeErrored_returnsHardDenied() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScorerAppManagerTest.java | 91 mockLocationPermissionGranted(PACKAGE_UID, RECO_COMPONENT.getPackageName()); in setUp() 98 setNetworkRecoPackageSetting(RECO_COMPONENT.getPackageName()); in testGetActiveScorer_providerAvailable() 99 mockScoreNetworksGranted(RECO_COMPONENT.getPackageName()); in testGetActiveScorer_providerAvailable() 111 setNetworkRecoPackageSetting(RECO_COMPONENT.getPackageName()); in testGetActiveScorer_providerAvailable_serviceLabelOverride() 112 mockScoreNetworksGranted(RECO_COMPONENT.getPackageName()); in testGetActiveScorer_providerAvailable_serviceLabelOverride() 125 setNetworkRecoPackageSetting(RECO_COMPONENT.getPackageName()); in testGetActiveScorer_scoreNetworksPermissionMissing() 126 mockScoreNetworksDenied(RECO_COMPONENT.getPackageName()); in testGetActiveScorer_scoreNetworksPermissionMissing() 135 setNetworkRecoPackageSetting(RECO_COMPONENT.getPackageName()); in testGetActiveScorer_locationPermissionMissing() 136 mockScoreNetworksGranted(RECO_COMPONENT.getPackageName()); in testGetActiveScorer_locationPermissionMissing() 137 mockLocationPermissionDenied(PACKAGE_UID, RECO_COMPONENT.getPackageName()); in testGetActiveScorer_locationPermissionMissing() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutManager.java | 144 return mService.setDynamicShortcuts(mContext.getPackageName(), in setDynamicShortcuts() 163 return mService.getShortcuts(mContext.getPackageName(), FLAG_MATCH_DYNAMIC, in getDynamicShortcuts() 182 return mService.getShortcuts(mContext.getPackageName(), FLAG_MATCH_MANIFEST, in getManifestShortcuts() 210 return mService.getShortcuts(mContext.getPackageName(), matchFlags, injectMyUserId()) in getShortcuts() 232 return mService.addDynamicShortcuts(mContext.getPackageName(), in addDynamicShortcuts() 246 mService.removeDynamicShortcuts(mContext.getPackageName(), shortcutIds, in removeDynamicShortcuts() 260 mService.removeAllDynamicShortcuts(mContext.getPackageName(), injectMyUserId()); in removeAllDynamicShortcuts() 273 mService.removeLongLivedShortcuts(mContext.getPackageName(), shortcutIds, in removeLongLivedShortcuts() 292 return mService.getShortcuts(mContext.getPackageName(), FLAG_MATCH_PINNED, in getPinnedShortcuts() 313 return mService.updateShortcuts(mContext.getPackageName(), in updateShortcuts() [all …]
|
D | CrossProfileApps.java | 98 mContext.getPackageName(), in startMainActivity() 164 mContext.getPackageName(), in startActivity() 193 mContext.getPackageName(), mContext.getAttributionTag(), component, in startActivity() 216 return mService.getTargetUserProfiles(mContext.getPackageName()); in getTargetUserProfiles() 299 return mService.canRequestInteractAcrossProfiles(mContext.getPackageName()); in canRequestInteractAcrossProfiles() 330 return mService.canInteractAcrossProfiles(mContext.getPackageName()); in canInteractAcrossProfiles() 360 final Uri packageUri = Uri.parse("package:" + mContext.getPackageName()); in createRequestInteractAcrossProfilesIntent()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsResolverTest.java | 144 setupResolver(1 /*numSlots*/, TEST_DEVICE_DEFAULT_NAME.getPackageName(), in testAddDevicePackageToCache() 145 TEST_DEVICE_DEFAULT_NAME.getPackageName()); in testAddDevicePackageToCache() 158 TEST_DEVICE_DEFAULT_NAME.getPackageName()); in testAddDevicePackageToCache() 170 setupResolver(1 /*numSlots*/, TEST_DEVICE_DEFAULT_NAME.getPackageName(), in testAddCarrierPackageToCache() 171 TEST_DEVICE_DEFAULT_NAME.getPackageName()); in testAddCarrierPackageToCache() 176 setConfigCarrierStringMmTelRcs(0, TEST_CARRIER_DEFAULT_NAME.getPackageName()); in testAddCarrierPackageToCache() 185 TEST_CARRIER_DEFAULT_NAME.getPackageName()); in testAddCarrierPackageToCache() 200 setupResolver(1 /*numSlots*/, TEST_DEVICE_DEFAULT_NAME.getPackageName(), in testCarrierPackageBind() 201 TEST_DEVICE_DEFAULT_NAME.getPackageName()); in testCarrierPackageBind() 207 setConfigCarrierStringMmTelRcs(0, TEST_CARRIER_DEFAULT_NAME.getPackageName()); in testCarrierPackageBind() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | SnoozeHelperTest.java | 203 r.getSbn().getPackageName(), in testCleanupContextShouldRemovePersistedRecord() 256 UserHandle.USER_SYSTEM, r.getSbn().getPackageName(), r.getKey())); in testSnoozeForTime() 266 UserHandle.USER_SYSTEM, r.getSbn().getPackageName(), r.getKey())); 276 UserHandle.USER_SYSTEM, r.getSbn().getPackageName(), r.getKey())); 278 UserHandle.USER_SYSTEM, r2.getSbn().getPackageName(), r2.getKey())); 280 mSnoozeHelper.cancel(UserHandle.USER_SYSTEM, r.getSbn().getPackageName(), "one", 1); 284 UserHandle.USER_SYSTEM, r.getSbn().getPackageName(), r.getKey())); 286 UserHandle.USER_SYSTEM, r2.getSbn().getPackageName(), r2.getKey())); 298 UserHandle.USER_SYSTEM, r.getSbn().getPackageName(), r.getKey())); 300 UserHandle.USER_SYSTEM, r2.getSbn().getPackageName(), r2.getKey())); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ModuleInfoProviderTest.java | 53 m1.getPackageName().compareTo(m1.getPackageName())); in testSuccessfulParse() 54 assertEquals("com.android.module1", mi.get(0).getPackageName()); in testSuccessfulParse() 55 assertEquals("com.android.module2", mi.get(1).getPackageName()); in testSuccessfulParse() 58 assertEquals("com.android.module1", mi1.getPackageName()); in testSuccessfulParse() 64 assertEquals("com.android.module2", mi2.getPackageName()); in testSuccessfulParse() 87 assertEquals("com.android.module1", mi1.getPackageName()); in testParse_unknownAttributesIgnored()
|
/frameworks/base/core/java/android/printservice/ |
D | PrintService.java | 376 return new PrinterId(new ComponentName(getPackageName(), in generatePrinterId() 479 + getPackageName()); 496 + getPackageName()); 507 + getPackageName()); 518 + getPackageName()); 528 + getPackageName()); 539 + getPackageName()); 550 + getPackageName()); 561 + getPackageName()); 572 + getPackageName()); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/permission/ |
D | PermissionManagerServiceTest.java | 93 mContext.getPackageName(), "testCheckDeviceIdentifierAccess", null, in checkDeviceIdentifierAccess_callingAppUidMismatch_throwsException() 105 mContext.getPackageName(), "testCheckDeviceIdentifierAccess", null, in checkDeviceIdentifierAccess_callingAppPidMismatch_throwsException() 116 mContext.getPackageName(), "testCheckDeviceIdentifierAccess", null, APP_PID, in checkDeviceIdentifierAccess_callingAppIdWithoutAccess_returnsDenied() 127 mContext.getPackageName(), "testCheckDeviceIdentifierAccess", null, SYSTEM_PID, in checkDeviceIdentifierAccess_systemUid_returnsGranted() 142 mContext.getPackageName(), "testCheckDeviceIdentifierAccess", null, APP_PID, in checkDeviceIdentifierAccess_hasPrivilegedPermission_returnsGranted() 154 eq(APP_UID), eq(mContext.getPackageName()), any(), any())).thenReturn( in checkDeviceIdentifierAccess_hasAppOp_returnsGranted() 158 mContext.getPackageName(), "testCheckDeviceIdentifierAccess", null, APP_PID, in checkDeviceIdentifierAccess_hasAppOp_returnsGranted() 169 when(mDevicePolicyManager.hasDeviceIdentifierAccess(mContext.getPackageName(), APP_PID, in checkDeviceIdentifierAccess_hasDpmAccess_returnsGranted() 173 mContext.getPackageName(), "testCheckDeviceIdentifierAccess", null, APP_PID, in checkDeviceIdentifierAccess_hasDpmAccess_returnsGranted()
|
/frameworks/base/apct-tests/perftests/core/src/android/app/ |
D | OverlayManagerPerfTest.java | 90 assertSetEnabled(sContext, overlay.getPackageName(), false); in tearDown() 94 assertSetEnabled(sContext, overlay.getPackageName(), false); in tearDown() 124 String packageName = sSmallOverlays.get(0).getPackageName(); in setEnabledWarmCache() 138 String packageName = sSmallOverlays.get(0).getPackageName(); in setEnabledColdCacheSmallOverlay() 153 String packageName = sLargeOverlays.get(0).getPackageName(); in setEnabledColdCacheLargeOverlay() 168 String packageName = sSmallOverlays.get(0).getPackageName(); in setEnabledDisable() 181 String packageName = sSmallOverlays.get(0).getPackageName(); in getStringOneSmallOverlay() 194 String packageName = sLargeOverlays.get(0).getPackageName(); in getStringOneLargeOverlay() 211 assertSetEnabled(sContext, overlay.getPackageName(), true); in getStringTenOverlays() 224 assertSetEnabled(sContext, overlay.getPackageName(), true); in getStringLargeTenOverlays()
|
/frameworks/base/media/java/android/media/session/ |
D | MediaController.java | 134 return mSessionBinder.sendMediaButton(mContext.getPackageName(), keyEvent); in dispatchMediaButtonEvent() 300 mSessionBinder.setVolumeTo(mContext.getPackageName(), mContext.getOpPackageName(), in setVolumeTo() 325 mSessionBinder.adjustVolume(mContext.getPackageName(), mContext.getOpPackageName(), in adjustVolume() 392 mSessionBinder.sendCommand(mContext.getPackageName(), command, args, cb); in sendCommand() 403 public String getPackageName() { in getPackageName() method in MediaController 406 mPackageName = mSessionBinder.getPackageName(); in getPackageName() 486 mSessionBinder.registerCallback(mContext.getPackageName(), mCbStub); in addCallbackLocked() 633 mSessionBinder.prepare(mContext.getPackageName()); in prepare() 657 mSessionBinder.prepareFromMediaId(mContext.getPackageName(), mediaId, extras); in prepareFromMediaId() 683 mSessionBinder.prepareFromSearch(mContext.getPackageName(), query, extras); in prepareFromSearch() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsNotedWatcherTest.java | 60 getContext().getPackageName()); in testWatchNotedOps() 62 getContext().getPackageName()); in testWatchNotedOps() 68 eq(Process.myUid()), eq(getContext().getPackageName()), in testWatchNotedOps() 72 eq(Process.myUid()), eq(getContext().getPackageName()), in testWatchNotedOps() 91 getContext().getPackageName()); in testWatchNotedOps() 96 eq(Process.myUid()), eq(getContext().getPackageName()), in testWatchNotedOps()
|
/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/ |
D | PlatformCompatPermissionsTest.java | 81 final String packageName = mContext.getPackageName(); in reportChange_noLogCompatChangePermission_throwsSecurityException() 90 final String packageName = mContext.getPackageName(); in reportChange_logCompatChangePermission_noThrow() 99 final String packageName = mContext.getPackageName(); in reportChangeByPackageName_noLogCompatChangePermission_throwsSecurityException() 108 final String packageName = mContext.getPackageName(); in reportChangeByPackageName_logCompatChangePermission_noThrow() 133 final String packageName = mContext.getPackageName(); in isChangeEnabled_noReadCompatConfigPermission_throwsSecurityException() 143 final String packageName = mContext.getPackageName(); in isChangeEnabled_noLogCompatChangeConfigPermission_throwsSecurityException() 152 final String packageName = mContext.getPackageName(); in isChangeEnabled_readAndLogCompatChangeConfigPermission_noThrow() 161 final String packageName = mContext.getPackageName(); in isChangeEnabledByPackageName_noReadCompatConfigPermission_throwsSecurityException() 171 final String packageName = mContext.getPackageName(); in isChangeEnabledByPackageName_noLogompatConfigPermission_throwsSecurityException() 180 final String packageName = mContext.getPackageName(); in isChangeEnabledByPackageName_readAndLogCompatChangeConfigPermission_noThrow()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 133 userId, rollbackId, packageRollbackInfo.getPackageName()); in doSnapshot() 144 packageRollbackInfo.getPackageName(), userId, rollbackId, flags); in doSnapshot() 150 + packageRollbackInfo.getPackageName() + ", userId: " + userId, ie); in doSnapshot() 168 userId, rollbackId, packageRollbackInfo.getPackageName()); in doRestoreOrWipe() 179 mInstaller.clearAppData(null, packageRollbackInfo.getPackageName(), in doRestoreOrWipe() 184 mInstaller.restoreAppDataSnapshot(packageRollbackInfo.getPackageName(), in doRestoreOrWipe() 192 + packageRollbackInfo.getPackageName() + " policy=" in doRestoreOrWipe() 215 mInstaller.destroyAppDataSnapshot(packageRollbackInfo.getPackageName(), user, in destroyAppDataSnapshot() 222 + packageRollbackInfo.getPackageName(), ie); in destroyAppDataSnapshot()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | BasePermission.java | 166 return Objects.equals(this.perm.getPackageName(), perm.getPackageName()) in isPermission() 294 || !Objects.equals(perm.getPackageName(), tree.perm.getPackageName()) in addToTree() 312 tree.perm.getPackageName(), name); in updateDynamicPermission() 323 (PackageSettingBase) packageManagerInternal.getPackageSetting(pkg.getPackageName()); in createOrUpdate() 325 if (bp != null && !Objects.equals(bp.sourcePackageName, p.getPackageName())) { in createOrUpdate() 331 bp.perm.getPackageName()); in createOrUpdate() 345 bp.sourcePackageName = p.getPackageName(); in createOrUpdate() 355 bp = new BasePermission(p.getName(), p.getPackageName(), TYPE_NORMAL); in createOrUpdate() 360 || bp.sourcePackageName.equals(p.getPackageName())) { in createOrUpdate() 363 || tree.sourcePackageName.equals(p.getPackageName())) { in createOrUpdate() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | GroupHelper.java | 74 String key = generatePackageGroupKey(userId, sbn.getPackageName(), group); in addToOngoingGroupCount() 83 String combinedKey = generatePackageGroupKey(userId, sbn.getPackageName(), group); in addToOngoingGroupCount() 115 = ungroupedNotificationsByUser.get(sbn.getPackageName()); in onNotificationPosted() 121 ungroupedNotificationsByUser.put(sbn.getPackageName(), notificationsForPackage); in onNotificationPosted() 129 adjustAutogroupingSummary(sbn.getUserId(), sbn.getPackageName(), in onNotificationPosted() 164 = ungroupedNotificationsByUser.get(sbn.getPackageName()); in maybeUngroup() 177 ungroupedNotificationsByUser.remove(sbn.getPackageName()); in maybeUngroup() 182 adjustAutogroupingSummary(userId, sbn.getPackageName(), null, false); in maybeUngroup()
|
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/ |
D | TestService.java | 40 Log.i(TAG, getPackageName() + " onBind()"); in onBind() 48 Log.i(TAG, getPackageName() + " onStartCommand()"); in onStartCommand() 56 Log.i(TAG, getPackageName() + " onUnbind()"); in onUnbind() 62 b.putString(Constants.EXTRA_SOURCE_PACKAGE, getPackageName()); in onUnbind()
|
D | TestActivity.java | 39 Log.i(TAG, getPackageName() + " onCreate()"); in onCreate() 52 Log.i(TAG, getPackageName() + " finishing activity"); in onNewIntent() 62 Log.i(TAG, getPackageName() + " onResume()"); in onResume() 71 Log.i(TAG, getPackageName() + " onDestroy()"); in onDestroy()
|
/frameworks/base/core/tests/coretests/src/android/app/compat/ |
D | CompatChangesTest.java | 60 private String getPackageName() { in getPackageName() method in CompatChangesTest 61 return mInstrumentation.getTargetContext().getPackageName(); in getPackageName() 69 assertThat(CompatChanges.isChangeEnabled(CHANGE_ID, getPackageName(), in testEnabledChange() 78 assertThat(CompatChanges.isChangeEnabled(CHANGE_ID, getPackageName(), in testDisabledChange()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 138 mRealTestContext.getPackageName(), 0)); in markPackageAsInstalled() 162 ai.packageName = delegateCertInstaller.getPackageName(); in markDelegatedCertInstallerAsInstalled() 165 markPackageAsInstalled(delegateCertInstaller.getPackageName(), ai, in markDelegatedCertInstallerAsInstalled() 208 copyFromAdmin.getPackageName(), in setUpPackageManagerForFakeAdmin() 217 ai.packageName = admin.getPackageName(); in setUpPackageManagerForFakeAdmin() 221 eq(admin.getPackageName()), in setUpPackageManagerForFakeAdmin() 242 aci.packageName = admin.getPackageName(); in setUpPackageManagerForFakeAdmin() 252 doReturn(new String[] {admin.getPackageName()}).when(mServices.ipackageManager) in setUpPackageManagerForFakeAdmin() 255 markPackageAsInstalled(admin.getPackageName(), ai, UserHandle.getUserId(packageUid)); in setUpPackageManagerForFakeAdmin()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutUser.java | 89 return new PackageWithUser(spi.getPackageUserId(), spi.getPackageName()); in of() 177 mPackages.put(p.getPackageName(), p); in addPackage() 198 launcher.getPackageName()), launcher); in addLauncher() 263 && spi.getPackageName().equals(packageName)) { in forPackageItem() 395 Slog.d(TAG, "Saving package item " + spi.getPackageName() + " to " + path); in saveShortcutPackageItem() 413 fileName = spi.getPackageName() + spi.getPackageUserId() + ".xml"; in getShortcutPackageItemFile() 415 fileName = spi.getPackageName() + ".xml"; in getShortcutPackageItemFile() 461 ret.mPackages.put(shortcuts.getPackageName(), shortcuts); in loadFromXml() 492 ret.mPackages.put(sp.getPackageName(), sp); in loadFromXml() 585 if (s.isPackageInstalled(sl.getPackageName(), getUserId()) in mergeRestoredFile() [all …]
|
D | InstantAppRegistry.java | 271 PackageSetting ps = mService.getPackageSetting(pkg.getPackageName()); in onPackageInstalledLPw() 278 if (mService.mPackages.get(pkg.getPackageName()) == null || !ps.getInstalled(userId)) { in onPackageInstalledLPw() 292 state.mInstantAppInfo.getPackageName().equals(pkg.getPackageName()), in onPackageInstalledLPw() 296 File instantAppDir = getInstantApplicationDir(pkg.getPackageName(), userId); in onPackageInstalledLPw() 301 File currentCookieFile = peekInstantCookieFile(pkg.getPackageName(), userId); in onPackageInstalledLPw() 332 Slog.i(LOG_TAG, "Signature for package " + pkg.getPackageName() in onPackageInstalledLPw() 348 if (mService.mPackages.get(pkg.getPackageName()) != null && ps.getInstalled(userId)) { in onPackageUninstalledLPw() 358 deleteDir(getInstantApplicationDir(pkg.getPackageName(), userId)); in onPackageUninstalledLPw() 518 File appDir = getInstantApplicationDir(pkg.getPackageName(), userId); in writeInstantApplicationIconLPw() 537 File iconFile = new File(getInstantApplicationDir(pkg.getPackageName(), userId), in writeInstantApplicationIconLPw() [all …]
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | PackageChangeReceiver.java | 134 String pkg = getPackageName(intent); in onReceive() 145 String pkg = getPackageName(intent); in onReceive() 153 String pkg = getPackageName(intent); in onReceive() 161 String[] disappearingPackages = new String[] {getPackageName(intent)}; in onReceive() 166 String getPackageName(Intent intent) { in getPackageName() method in PackageChangeReceiver
|
/frameworks/base/core/java/android/service/settings/suggestions/ |
D | SuggestionService.java | 45 Log.d(TAG, "getSuggestions() " + getPackageName()); in onBind() 53 Log.d(TAG, "dismissSuggestion() " + getPackageName()); in onBind() 61 Log.d(TAG, "launchSuggestion() " + getPackageName()); in onBind()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceManager.java | 135 mService.pinSlice(mContext.getPackageName(), uri, in pinSlice() 167 mService.unpinSlice(mContext.getPackageName(), uri, mToken); in unpinSlice() 178 return mService.hasSliceAccess(mContext.getPackageName()); in hasSliceAccess() 194 mContext.getPackageName()))); in getPinnedSpecs() 206 return Arrays.asList(mService.getPinnedSlices(mContext.getPackageName())); in getPinnedSlices() 436 return mService.checkSlicePermission(uri, mContext.getPackageName(), null, pid, uid, in checkSlicePermission() 453 mService.grantSlicePermission(mContext.getPackageName(), toPackage, uri); in grantSlicePermission() 475 mService.revokeSlicePermission(mContext.getPackageName(), toPackage, uri); in revokeSlicePermission() 494 int result = mService.checkSlicePermission(uri, mContext.getPackageName(), pkg, pid, in enforceSlicePermission() 511 mService.grantPermissionFromUser(uri, pkg, mContext.getPackageName(), allSlices); in grantPermissionFromUser()
|