/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 | 148 return mService.setDynamicShortcuts(mContext.getPackageName(), new ParceledListSlice( in setDynamicShortcuts() 168 return mService.getShortcuts(mContext.getPackageName(), in getDynamicShortcuts() 188 return mService.getShortcuts(mContext.getPackageName(), in getManifestShortcuts() 217 return mService.getShortcuts(mContext.getPackageName(), matchFlags, in getShortcuts() 240 return mService.addDynamicShortcuts(mContext.getPackageName(), in addDynamicShortcuts() 254 mService.removeDynamicShortcuts(mContext.getPackageName(), shortcutIds, in removeDynamicShortcuts() 268 mService.removeAllDynamicShortcuts(mContext.getPackageName(), injectMyUserId()); in removeAllDynamicShortcuts() 281 mService.removeLongLivedShortcuts(mContext.getPackageName(), shortcutIds, in removeLongLivedShortcuts() 301 return mService.getShortcuts(mContext.getPackageName(), FLAG_MATCH_PINNED, in getPinnedShortcuts() 323 return mService.updateShortcuts(mContext.getPackageName(), in updateShortcuts() [all …]
|
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/ |
D | FabricatedOverlaysTest.java | 76 mOverlayManager.getOverlayInfosForTarget(mContext.getPackageName(), mUserHandle).forEach( in tearDown() 88 mContext.getPackageName(), TEST_OVERLAY_NAME, mContext.getPackageName()) in testFabricatedOverlay() 120 mContext.getPackageName(), TEST_OVERLAY_NAME, mContext.getPackageName()) in testRegisterEnableAtomic() 136 mContext.getPackageName(), TEST_OVERLAY_NAME, mContext.getPackageName()) in testRegisterTwice() 148 mContext.getPackageName(), TEST_OVERLAY_NAME, mContext.getPackageName()) in testRegisterTwice() 161 "android", TEST_OVERLAY_NAME, mContext.getPackageName()) in testInvalidOwningPackageName() 178 mContext.getPackageName(), "invalid@name", mContext.getPackageName()) in testInvalidOverlayName() 196 Collections.nCopies(maxLength - mContext.getPackageName().length(), "a")); in testOverlayIdentifierLongest() 198 FabricatedOverlay overlay = new FabricatedOverlay.Builder(mContext.getPackageName(), in testOverlayIdentifierLongest() 199 longestName, mContext.getPackageName()) in testOverlayIdentifierLongest() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsResolverTest.java | 151 setupResolver(1 /*numSlots*/, TEST_DEVICE_DEFAULT_NAME.getPackageName(), in testAddDevicePackageToCache() 152 TEST_DEVICE_DEFAULT_NAME.getPackageName()); in testAddDevicePackageToCache() 165 TEST_DEVICE_DEFAULT_NAME.getPackageName()); in testAddDevicePackageToCache() 177 setupResolver(1 /*numSlots*/, TEST_DEVICE_DEFAULT_NAME.getPackageName(), in testAddCarrierPackageToCache() 178 TEST_DEVICE_DEFAULT_NAME.getPackageName()); in testAddCarrierPackageToCache() 183 setConfigCarrierStringMmTelRcs(0, TEST_CARRIER_DEFAULT_NAME.getPackageName()); in testAddCarrierPackageToCache() 192 TEST_CARRIER_DEFAULT_NAME.getPackageName()); in testAddCarrierPackageToCache() 207 setupResolver(1 /*numSlots*/, TEST_DEVICE_DEFAULT_NAME.getPackageName(), in testIsDeviceImsServiceConfigured() 208 TEST_DEVICE_DEFAULT_NAME.getPackageName()); in testIsDeviceImsServiceConfigured() 236 setupResolver(1 /*numSlots*/, TEST_DEVICE_DEFAULT_NAME.getPackageName(), in testGetConfiguredImsServiceDevice() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | SnoozeHelperTest.java | 277 UserHandle.USER_SYSTEM, r.getSbn().getPackageName(), r.getKey())); in testSnoozeForTime() 298 UserHandle.USER_SYSTEM, r.getSbn().getPackageName(), r.getKey())); 324 UserHandle.USER_SYSTEM, r.getSbn().getPackageName(), r.getKey())); 326 UserHandle.USER_SYSTEM, r2.getSbn().getPackageName(), r2.getKey())); 328 mSnoozeHelper.cancel(UserHandle.USER_SYSTEM, r.getSbn().getPackageName(), "one", 1); 332 UserHandle.USER_SYSTEM, r.getSbn().getPackageName(), r.getKey())); 334 UserHandle.USER_SYSTEM, r2.getSbn().getPackageName(), r2.getKey())); 346 UserHandle.USER_SYSTEM, r.getSbn().getPackageName(), r.getKey())); 348 UserHandle.USER_SYSTEM, r2.getSbn().getPackageName(), r2.getKey())); 350 UserHandle.USER_ALL, r3.getSbn().getPackageName(), r3.getKey())); [all …]
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/ |
D | ModuleInfoProviderTest.java | 55 m1.getPackageName().compareTo(m1.getPackageName())); in testSuccessfulParse() 56 assertEquals("com.android.module1", mi.get(0).getPackageName()); in testSuccessfulParse() 57 assertEquals("com.android.module2", mi.get(1).getPackageName()); in testSuccessfulParse() 60 assertEquals("com.android.module1", mi1.getPackageName()); in testSuccessfulParse() 66 assertEquals("com.android.module2", mi2.getPackageName()); in testSuccessfulParse() 89 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/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
D | SplitScreenUtils.java | 58 public static String getPackageName(Intent intent) { in getPackageName() method in SplitScreenUtils 62 return intent.getComponent().getPackageName(); in getPackageName() 67 public static String getPackageName(PendingIntent pendingIntent) { in getPackageName() method in SplitScreenUtils 71 return getPackageName(pendingIntent.getIntent()); in getPackageName() 76 public static String getPackageName(int taskId, ShellTaskOrganizer taskOrganizer) { in getPackageName() method in SplitScreenUtils 78 return taskInfo != null ? getPackageName(taskInfo.baseIntent) : null; in getPackageName()
|
/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 | 143 return mSessionBinder.sendMediaButton(mContext.getPackageName(), keyEvent); in dispatchMediaButtonEvent() 309 mSessionBinder.setVolumeTo(mContext.getPackageName(), mContext.getOpPackageName(), in setVolumeTo() 334 mSessionBinder.adjustVolume(mContext.getPackageName(), mContext.getOpPackageName(), in adjustVolume() 401 mSessionBinder.sendCommand(mContext.getPackageName(), command, args, cb); in sendCommand() 412 public String getPackageName() { in getPackageName() method in MediaController 415 mPackageName = mSessionBinder.getPackageName(); in getPackageName() 490 mSessionBinder.registerCallback(mContext.getPackageName(), mCbStub); in addCallbackLocked() 648 mSessionBinder.prepare(mContext.getPackageName()); in prepare() 672 mSessionBinder.prepareFromMediaId(mContext.getPackageName(), mediaId, extras); in prepareFromMediaId() 698 mSessionBinder.prepareFromSearch(mContext.getPackageName(), query, extras); in prepareFromSearch() [all …]
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | AppDataRollbackHelper.java | 126 userId, rollbackId, packageRollbackInfo.getPackageName()); in doSnapshot() 132 packageRollbackInfo.getPackageName(), userId, rollbackId, flags); in doSnapshot() 135 + packageRollbackInfo.getPackageName() + ", userId: " + userId, ie); in doSnapshot() 153 userId, rollbackId, packageRollbackInfo.getPackageName()); in doRestoreOrWipe() 164 mInstaller.clearAppData(null, packageRollbackInfo.getPackageName(), in doRestoreOrWipe() 169 mInstaller.restoreAppDataSnapshot(packageRollbackInfo.getPackageName(), in doRestoreOrWipe() 177 + packageRollbackInfo.getPackageName() + " policy=" in doRestoreOrWipe() 193 mInstaller.destroyAppDataSnapshot(packageRollbackInfo.getPackageName(), user, in destroyAppDataSnapshot() 197 + packageRollbackInfo.getPackageName(), ie); in destroyAppDataSnapshot()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/camera/ |
D | CameraServiceProxyTest.java | 50 assertThat(CameraServiceProxy.getCropRotateScale(ctx, ctx.getPackageName(), taskInfo, in testGetCropRotateScale() 55 assertThat(CameraServiceProxy.getCropRotateScale(ctx, ctx.getPackageName(), taskInfo, in testGetCropRotateScale() 61 assertThat(CameraServiceProxy.getCropRotateScale(ctx, ctx.getPackageName(), taskInfo, in testGetCropRotateScale() 66 assertThat(CameraServiceProxy.getCropRotateScale(ctx, ctx.getPackageName(), taskInfo, in testGetCropRotateScale() 73 assertThat(CameraServiceProxy.getCropRotateScale(ctx, ctx.getPackageName(), taskInfo, in testGetCropRotateScale() 86 assertThat(CameraServiceProxy.getCropRotateScale(ctx, ctx.getPackageName(), taskInfo, in testGetCropRotateScale() 97 assertThat(CameraServiceProxy.getCropRotateScale(ctx, ctx.getPackageName(), taskInfo, in testGetCropRotateScale()
|
/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() 73 eq(Process.myUid()), eq(getContext().getPackageName()), in testWatchNotedOps() 93 getContext().getPackageName()); in testWatchNotedOps() 98 eq(Process.myUid()), eq(getContext().getPackageName()), in testWatchNotedOps()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SharedLibrariesImpl.java | 304 declaringPackage.getPackageName(), 309 return computer.getPackageStateInternal(declaringPackage.getPackageName()); 362 packagesToDelete.add(new VersionedPackage(ps.getPkg().getPackageName(), 371 if (mDeletePackageHelper.deletePackageX(pkgToDelete.getPackageName(), 427 latestSharedLibraVersionLPr.getPackageName()); 494 AndroidPackage pkgForCodePaths = mPm.mPackages.get(libInfo.getPackageName()); 495 PackageSetting pkgSetting = mPm.mSettings.getPackageLPr(libInfo.getPackageName()); 496 if (changingLib != null && changingLib.getPackageName().equals(libInfo.getPackageName())) { 502 || pkgForCodePaths.getPackageName().equals(changingLib.getPackageName())) { 584 mPm.getPackageSettingForMutation(sharedLibraryInfo.getPackageName()); [all …]
|
D | InstallPackageHelper.java | 245 if ("android".equals(parsedPackage.getPackageName())) { in commitReconciledScanResultLocked() 288 originalPkgSetting.getPackageName()); in commitReconciledScanResultLocked() 289 mPm.mTransferredPackages.add(originalPkgSetting.getPackageName()); in commitReconciledScanResultLocked() 291 mPm.mSettings.removeRenamedPackageLPw(parsedPackage.getPackageName()); in commitReconciledScanResultLocked() 336 mPm.mTransferredPackages.add(pkg.getPackageName()); in commitReconciledScanResultLocked() 349 ksms.removeAppKeySetDataLPw(pkg.getPackageName()); in commitReconciledScanResultLocked() 391 final String pkgName = pkg.getPackageName(); in commitPackageSettings() 393 && mPm.mCustomResolverComponentName.getPackageName().equals(pkg.getPackageName())) { in commitPackageSettings() 397 if (pkg.getPackageName().equals("android")) { in commitPackageSettings() 450 mPm.killApplication(clientPkg.getPackageName(), in commitPackageSettings() [all …]
|
D | DexOptHelper.java | 139 pkg.getUid(), pkg.getPackageName(), in performDexOptUpgrade() 153 pkg.getPackageName()); in performDexOptUpgrade() 176 pkg.getUid(), pkg.getPackageName(), in performDexOptUpgrade() 193 Log.i(TAG, "Skipping update of non-optimizable app " + pkg.getPackageName()); in performDexOptUpgrade() 201 + numberOfPackagesToDexopt + ": " + pkg.getPackageName()); in performDexOptUpgrade() 238 pkg.getPackageName(), in performDexOptUpgrade() 298 pkg.getUid(), pkg.getPackageName(), in checkAndDexOptSystemUi() 313 performDexOptTraced(new DexoptOptions(pkg.getPackageName(), REASON_BOOT_AFTER_OTA, in checkAndDexOptSystemUi() 375 pkgs.add(packageState.getPackageName()); in getOptimizablePackages() 385 } else if (snapshot.isInstantApp(options.getPackageName(), UserHandle.getCallingUserId())) { in performDexOpt() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | GroupHelper.java | 72 String key = generatePackageKey(sbn.getUserId(), sbn.getPackageName()); in updateOngoingGroupCount() 83 mCallback.updateAutogroupSummary(sbn.getUserId(), sbn.getPackageName(), needsOngoingFlag); in updateOngoingGroupCount() 106 = ungroupedNotificationsByUser.get(sbn.getPackageName()); in onNotificationPosted() 112 ungroupedNotificationsByUser.put(sbn.getPackageName(), notificationsForPackage); in onNotificationPosted() 120 adjustAutogroupingSummary(sbn.getUserId(), sbn.getPackageName(), in onNotificationPosted() 156 = ungroupedNotificationsByUser.get(sbn.getPackageName()); in maybeUngroup() 169 ungroupedNotificationsByUser.remove(sbn.getPackageName()); in maybeUngroup() 174 adjustAutogroupingSummary(userId, sbn.getPackageName(), null, false); in maybeUngroup()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SELinuxMMACTest.java | 57 argThat(argument -> argument.packageName.equals(pkg.getPackageName())))) in getSeInfoOptInToLatest() 67 argThat(argument -> argument.packageName.equals(pkg.getPackageName())))) in getSeInfoOptInToR() 77 argThat(argument -> argument.packageName.equals(pkg.getPackageName())))) in getSeInfoNoOptIn() 87 argThat(argument -> argument.packageName.equals(pkg.getPackageName())))) in getSeInfoNoOptInButAlreadyLatest() 97 argThat(argument -> argument.packageName.equals(pkg.getPackageName())))) in getSeInfoTargetingCurDevelopment() 107 argThat(argument -> argument.packageName.equals(pkg.getPackageName())))) in getSeInfoNoOptInButAlreadyR() 117 argThat(argument -> argument.packageName.equals(pkg.getPackageName())))) in getSeInfoOptInRButLater()
|
/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/ |
D | PlatformCompatPermissionsTest.java | 82 final String packageName = mContext.getPackageName(); in reportChange_noLogCompatChangePermission_throwsSecurityException() 91 final String packageName = mContext.getPackageName(); in reportChange_logCompatChangePermission_noThrow() 100 final String packageName = mContext.getPackageName(); in reportChangeByPackageName_noLogCompatChangePermission_throwsSecurityException() 109 final String packageName = mContext.getPackageName(); in reportChangeByPackageName_logCompatChangePermission_noThrow() 134 final String packageName = mContext.getPackageName(); in isChangeEnabled_noReadCompatConfigPermission_throwsSecurityException() 144 final String packageName = mContext.getPackageName(); in isChangeEnabled_noLogCompatChangeConfigPermission_throwsSecurityException() 153 final String packageName = mContext.getPackageName(); in isChangeEnabled_readAndLogCompatChangeConfigPermission_noThrow() 162 final String packageName = mContext.getPackageName(); in isChangeEnabledByPackageName_noReadCompatConfigPermission_throwsSecurityException() 172 final String packageName = mContext.getPackageName(); in isChangeEnabledByPackageName_noLogompatConfigPermission_throwsSecurityException() 181 final String packageName = mContext.getPackageName(); in isChangeEnabledByPackageName_readAndLogCompatChangeConfigPermission_noThrow()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | IdmapManager.java | 84 Slog.d(TAG, "create idmap for " + targetPackage.getPackageName() + " and " in createIdmap() 85 + overlayPackage.getPackageName()); in createIdmap() 181 if (mPackageManager.signaturesMatching(targetPackage.getPackageName(), in calculateFulfilledPolicies() 182 overlayPackage.getPackageName(), userId)) { in calculateFulfilledPolicies() 196 overlayPackage.getPackageName(), in calculateFulfilledPolicies() 236 targetPackage.getPackageName(), targetOverlayableName, userId); in matchesActorSignature() 241 overlayPackage.getPackageName(), userId)) { in matchesActorSignature()
|
/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()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 144 mRealTestContext.getPackageName(), 0)); in markPackageAsInstalled() 163 ai.packageName = delegateCertInstaller.getPackageName(); in markDelegatedCertInstallerAsInstalled() 166 markPackageAsInstalled(delegateCertInstaller.getPackageName(), ai, in markDelegatedCertInstallerAsInstalled() 209 copyFromAdmin.getPackageName(), in setUpPackageManagerForFakeAdmin() 218 ai.packageName = admin.getPackageName(); in setUpPackageManagerForFakeAdmin() 222 eq(admin.getPackageName()), in setUpPackageManagerForFakeAdmin() 243 aci.packageName = admin.getPackageName(); in setUpPackageManagerForFakeAdmin() 253 doReturn(new String[] {admin.getPackageName()}).when(mServices.ipackageManager) in setUpPackageManagerForFakeAdmin() 255 doReturn(new String[] {admin.getPackageName()}).when(mServices.packageManager) in setUpPackageManagerForFakeAdmin() 258 markPackageAsInstalled(admin.getPackageName(), ai, UserHandle.getUserId(packageUid)); in setUpPackageManagerForFakeAdmin()
|
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | SystemAppOpsHelper.java | 68 callerIdentity.getPackageName(), in startOpNoThrow() 86 callerIdentity.getPackageName(), in finishOp() 102 callerIdentity.getPackageName()) == AppOpsManager.MODE_ALLOWED; in checkOpNoThrow() 117 callerIdentity.getPackageName(), in noteOp() 134 callerIdentity.getPackageName(), in noteOpNoThrow()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 649 bp = new Permission(info.name, tree.getPackageName(), Permission.TYPE_DYNAMIC); in addPermission() 913 "Missing permissions state for " + pkg.getPackageName() + " and user " in updatePermissionFlagsForAllApps() 960 Slog.e(TAG, "Missing permissions state for " + pkg.getPackageName() + " and user " in checkPermissionInternal() 1119 Slog.e(TAG, "Missing permissions state for " + pkg.getPackageName() + " and user " in getAllowlistedRestrictedPermissionsInternal() 1188 permissionPackageName = bp.getPackageName(); in checkExistsAndEnforceCannotModifyImmutablyRestrictedPermission() 1275 getAllowlistedRestrictedPermissions(pkg.getPackageName(), flags, userId); in setAllowlistedRestrictedPermissions() 1392 + pkg.getPackageName() + " is not a changeable permission type"); in grantRuntimePermissionInternal() 1397 Slog.e(TAG, "Missing permissions state for " + pkg.getPackageName() + " and user " in grantRuntimePermissionInternal() 1404 throw new SecurityException("Package " + pkg.getPackageName() in grantRuntimePermissionInternal() 1581 + pkg.getPackageName() + " is not a changeable permission type"); in revokeRuntimePermissionInternal() [all …]
|