/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/core/tests/overlaytests/device/src/com/android/overlaytest/ |
D | FabricatedOverlaysTest.java | 74 mOverlayManager.getOverlayInfosForTarget(mContext.getPackageName(), mUserHandle).forEach( in tearDown() 86 mContext.getPackageName(), TEST_OVERLAY_NAME, mContext.getPackageName()) in testFabricatedOverlay() 118 mContext.getPackageName(), TEST_OVERLAY_NAME, mContext.getPackageName()) in testRegisterEnableAtomic() 134 mContext.getPackageName(), TEST_OVERLAY_NAME, mContext.getPackageName()) in testRegisterTwice() 146 mContext.getPackageName(), TEST_OVERLAY_NAME, mContext.getPackageName()) in testRegisterTwice() 159 "android", TEST_OVERLAY_NAME, mContext.getPackageName()) in testInvalidOwningPackageName() 176 mContext.getPackageName(), "invalid@name", mContext.getPackageName()) in testInvalidOverlayName() 194 Collections.nCopies(maxLength - mContext.getPackageName().length(), "a")); in testOverlayIdentifierLongest() 196 FabricatedOverlay overlay = new FabricatedOverlay.Builder(mContext.getPackageName(), in testOverlayIdentifierLongest() 197 longestName, mContext.getPackageName()) in testOverlayIdentifierLongest() [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/tests/overlaytests/device_self_targeting/src/com/android/overlaytest/ |
D | OverlayManagerImplTest.java | 200 final String packageName = mContext.getPackageName(); in createOverlayWithName() 230 mOverlayManagerImpl.getOverlayInfosForTarget(mContext.getPackageName()); in getOverlayInfosForTarget_defaultShouldBeZero() 247 mContext.getPackageName(), in registerOverlay_createColorOverlay_shouldBeSavedInAndLoadFromFile() 252 mOverlayManagerImpl.getOverlayInfosForTarget(mContext.getPackageName()); in registerOverlay_createColorOverlay_shouldBeSavedInAndLoadFromFile() 261 expect.that(overlayInfo.getPackageName()).isEqualTo(mContext.getPackageName()); in registerOverlay_createColorOverlay_shouldBeSavedInAndLoadFromFile() 262 expect.that(overlayInfo.getTargetPackageName()).isEqualTo(mContext.getPackageName()); in registerOverlay_createColorOverlay_shouldBeSavedInAndLoadFromFile() 273 mContext.getPackageName(), in registerOverlay_createStringOverlay_shouldBeSavedInAndLoadFromFile() 278 mOverlayManagerImpl.getOverlayInfosForTarget(mContext.getPackageName()); in registerOverlay_createStringOverlay_shouldBeSavedInAndLoadFromFile() 287 expect.that(overlayInfo.getPackageName()).isEqualTo(mContext.getPackageName()); in registerOverlay_createStringOverlay_shouldBeSavedInAndLoadFromFile() 288 expect.that(overlayInfo.getTargetPackageName()).isEqualTo(mContext.getPackageName()); in registerOverlay_createStringOverlay_shouldBeSavedInAndLoadFromFile() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutManager.java | 150 return mService.setDynamicShortcuts(mContext.getPackageName(), new ParceledListSlice( in setDynamicShortcuts() 170 return mService.getShortcuts(mContext.getPackageName(), in getDynamicShortcuts() 190 return mService.getShortcuts(mContext.getPackageName(), in getManifestShortcuts() 219 return mService.getShortcuts(mContext.getPackageName(), matchFlags, in getShortcuts() 242 return mService.addDynamicShortcuts(mContext.getPackageName(), in addDynamicShortcuts() 256 mService.removeDynamicShortcuts(mContext.getPackageName(), shortcutIds, in removeDynamicShortcuts() 270 mService.removeAllDynamicShortcuts(mContext.getPackageName(), injectMyUserId()); in removeAllDynamicShortcuts() 283 mService.removeLongLivedShortcuts(mContext.getPackageName(), shortcutIds, in removeLongLivedShortcuts() 303 return mService.getShortcuts(mContext.getPackageName(), FLAG_MATCH_PINNED, in getPinnedShortcuts() 325 return mService.updateShortcuts(mContext.getPackageName(), in updateShortcuts() [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/pm/ |
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/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/ |
D | SmsApplicationTest.java | 146 .thenReturn(TEST_COMPONENT_NAME.getPackageName()); in setUp() 152 opStr, SMS_APP_UID, TEST_COMPONENT_NAME.getPackageName())) in setUp() 170 assertEquals(TEST_COMPONENT_NAME.getPackageName(), componentName.getPackageName()); in testGetDefaultMmsApplicationAsUser() 179 assertEquals(TEST_COMPONENT_NAME.getPackageName(), componentName.getPackageName()); in testGetDefaultExternalTelephonyProviderChangedApplicationAsUser() 187 assertEquals(TEST_COMPONENT_NAME.getPackageName(), componentName.getPackageName()); in testGetDefaultRespondViaMessageApplicationAsUserAsUser() 195 assertEquals(TEST_COMPONENT_NAME.getPackageName(), componentName.getPackageName()); in testGetDefaultSimFullApplicationAsUser() 202 TEST_COMPONENT_NAME.getPackageName())) in testGetDefaultSmsApplicationWithAppOpsFix() 225 Uri.fromParts("package", TEST_COMPONENT_NAME.getPackageName(), null)); in testPackageChanged() 235 eq(new ComponentName(TEST_COMPONENT_NAME.getPackageName(), SEND_TO_NAME))); in testPackageChanged() 305 activityInfo.packageName = TEST_COMPONENT_NAME.getPackageName(); in makeSmsDeliverResolveInfo() [all …]
|
/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/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() 85 assertThat(CameraServiceProxy.getCropRotateScale(ctx, ctx.getPackageName(), taskInfo, in testGetCropRotateScale() 95 assertThat(CameraServiceProxy.getCropRotateScale(ctx, ctx.getPackageName(), taskInfo, in testGetCropRotateScale()
|
/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/packages/SystemUI/tests/src/com/android/systemui/media/dialog/ |
D | MediaOutputDialogReceiverTest.java | 59 intent.putExtra(MediaOutputConstants.EXTRA_PACKAGE_NAME, getContext().getPackageName()); in launchMediaOutputDialog_ExtraPackageName_DialogFactoryCalled() 63 .create(getContext().getPackageName(), false, null); in launchMediaOutputDialog_ExtraPackageName_DialogFactoryCalled() 70 intent.putExtra("Wrong Package Name Key", getContext().getPackageName()); in launchMediaOutputDialog_WrongExtraKey_DialogFactoryNotCalled() 90 intent.putExtra(MediaOutputConstants.EXTRA_PACKAGE_NAME, getContext().getPackageName()); in launchMediaOutputBroadcastDialog_ExtraPackageName_BroadcastDialogFactoryCalled() 95 .create(getContext().getPackageName(), true, null); in launchMediaOutputBroadcastDialog_ExtraPackageName_BroadcastDialogFactoryCalled() 102 intent.putExtra("Wrong Package Name Key", getContext().getPackageName()); in launchMediaOutputBroadcastDialog_WrongExtraKey_DialogBroadcastFactoryNotCalled() 122 intent.putExtra(Intent.EXTRA_PACKAGE_NAME, getContext().getPackageName()); in unKnownAction_ExtraPackageName_FactoriesNotCalled() 123 intent.putExtra(MediaOutputConstants.EXTRA_PACKAGE_NAME, getContext().getPackageName()); in unKnownAction_ExtraPackageName_FactoriesNotCalled()
|
/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/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/tests/servicestests/src/com/android/server/pm/ |
D | SELinuxMMACTest.java | 58 argThat(argument -> argument.packageName.equals(packageState.getPackageName())))) in getSeInfoOptInToLatest() 69 argThat(argument -> argument.packageName.equals(packageState.getPackageName())))) in getSeInfoOptInToR() 80 argThat(argument -> argument.packageName.equals(packageState.getPackageName())))) in getSeInfoNoOptIn() 91 argThat(argument -> argument.packageName.equals(packageState.getPackageName())))) in getSeInfoNoOptInButAlreadyLatest() 102 argThat(argument -> argument.packageName.equals(packageState.getPackageName())))) in getSeInfoTargetingCurDevelopment() 113 argThat(argument -> argument.packageName.equals(packageState.getPackageName())))) in getSeInfoNoOptInButAlreadyR() 124 argThat(argument -> argument.packageName.equals(packageState.getPackageName())))) in getSeInfoOptInRButLater() 133 when(packageState.getPackageName()).thenReturn(PACKAGE_NAME); in makePackageState()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ReconcilePackageUtils.java | 74 combinedPackages.put(installRequest.getScannedPackageSetting().getPackageName(), in reconcilePackages() 94 final String installPackageName = installRequest.getParsedPackage().getPackageName(); in reconcilePackages() 146 "Package " + parsedPackage.getPackageName() in reconcilePackages() 150 String msg = "System package " + parsedPackage.getPackageName() in reconcilePackages() 190 if (androidPackage.getPackageName() != null in reconcilePackages() 191 && !androidPackage.getPackageName().equals( in reconcilePackages() 192 parsedPackage.getPackageName())) { in reconcilePackages() 222 parsedPackage.getPackageName(), parsedPackage.getSigningDetails(), in reconcilePackages() 243 + parsedPackage.getPackageName() in reconcilePackages() 255 String msg = "System package " + parsedPackage.getPackageName() in reconcilePackages()
|
D | InstallPackageHelper.java | 272 if (parsedPackage != null && "android".equals(parsedPackage.getPackageName())) { in commitReconciledScanResultLocked() 310 originalPkgSetting.getPackageName()); in commitReconciledScanResultLocked() 311 mPm.mTransferredPackages.add(originalPkgSetting.getPackageName()); in commitReconciledScanResultLocked() 313 mPm.mSettings.removeRenamedPackageLPw(parsedPackage.getPackageName()); in commitReconciledScanResultLocked() 337 parsedPackage.getPackageName()); in commitReconciledScanResultLocked() 339 mUpdateOwnershipHelper.isUpdateOwnershipDenylisted(parsedPackage.getPackageName()); in commitReconciledScanResultLocked() 437 mPm.mTransferredPackages.add(pkg.getPackageName()); in commitReconciledScanResultLocked() 451 ksms.removeAppKeySetDataLPw(pkg.getPackageName()); in commitReconciledScanResultLocked() 489 mUpdateOwnershipHelper.addToUpdateOwnerDenyList(pkgSetting.getPackageName(), listItems); in commitReconciledScanResultLocked() 510 final String pkgName = pkg.getPackageName(); in commitPackageSettings() [all …]
|
D | SharedLibrariesImpl.java | 308 declaringPackage.getPackageName(), 313 return computer.getPackageStateInternal(declaringPackage.getPackageName()); 366 packagesToDelete.add(new VersionedPackage(ps.getPkg().getPackageName(), 375 if (mDeletePackageHelper.deletePackageX(pkgToDelete.getPackageName(), 440 latestSharedLibraVersionLPr.getPackageName()); 507 AndroidPackage pkgForCodePaths = mPm.mPackages.get(libInfo.getPackageName()); 508 PackageSetting pkgSetting = mPm.mSettings.getPackageLPr(libInfo.getPackageName()); 509 if (changingLib != null && changingLib.getPackageName().equals(libInfo.getPackageName())) { 515 || pkgForCodePaths.getPackageName().equals(changingLib.getPackageName())) { 608 mPm.getPackageSettingForMutation(sharedLibraryInfo.getPackageName()); [all …]
|
D | DexOptHelper.java | 154 pkg.getUid(), pkg.getPackageName(), in performDexOptUpgrade() 168 pkg.getPackageName()); in performDexOptUpgrade() 191 pkg.getUid(), pkg.getPackageName(), in performDexOptUpgrade() 208 Log.i(TAG, "Skipping update of non-optimizable app " + pkg.getPackageName()); in performDexOptUpgrade() 216 + numberOfPackagesToDexopt + ": " + pkg.getPackageName()); in performDexOptUpgrade() 247 new DexoptOptions(pkg.getPackageName(), pkgCompilationReason, filter, in performDexOptUpgrade() 302 pkg.getUid(), pkg.getPackageName(), in checkAndDexOptSystemUi() 425 pkgs.add(packageState.getPackageName()); in getOptimizablePackages() 435 } else if (snapshot.isInstantApp(options.getPackageName(), UserHandle.getCallingUserId())) { in performDexOpt() 438 var pkg = snapshot.getPackage(options.getPackageName()); in performDexOpt() [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() 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/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/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/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()
|