/packages/apps/Settings/tests/unit/src/com/android/settings/fuelgauge/batterytip/ |
D | RestrictAppTest.java | 74 mBatteryDatabaseManager.insertAnomaly(mPackageManager.getPackageUid(PACKAGE_SETTINGS, 0), in batterySettings_hasOneAnomaly_showAnomaly() 86 mBatteryDatabaseManager.insertAnomaly(mPackageManager.getPackageUid(PACKAGE_SETTINGS, 0), in batterySettings_hasTwoAnomalies_showAnomalies() 89 mBatteryDatabaseManager.insertAnomaly(mPackageManager.getPackageUid(PACKAGE_SYSTEM_UI, 0), in batterySettings_hasTwoAnomalies_showAnomalies() 101 final int uid = mPackageManager.getPackageUid(PACKAGE_SETTINGS, 0); in insertDuplicateAnomalies_onlyInsertOnce()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | OpenHelper.java | 94 final int ownerUid = getPackageUid(context, ownerPackageName); in buildViewIntentForMediaStoreDownload() 185 private static int getPackageUid(Context context, String packageName) { in getPackageUid() method in OpenHelper 190 return context.getPackageManager().getPackageUid(packageName, 0); in getPackageUid()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryUtils.java | 386 public int getPackageUid(String packageName) { in getPackageUid() method in BatteryUtils 388 return packageName == null ? UID_NULL : mPackageManager.getPackageUid(packageName, in getPackageUid() 424 final int uid = getPackageUid(packageName); in clearForceAppStandby()
|
D | AdvancedPowerUsageDetailActivity.java | 61 args.putInt(EXTRA_UID, packageManager.getPackageUid(packageName, 0 /* no flag */)); in onCreate()
|
D | AdvancedPowerUsageDetail.java | 170 args.putInt(EXTRA_UID, packageManager.getPackageUid(packageName, 0 /* no flag */)); in startBatteryDetailPage()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryUtils.java | 413 public int getPackageUid(String packageName) { in getPackageUid() method in BatteryUtils 415 return packageName == null ? UID_NULL : mPackageManager.getPackageUid(packageName, in getPackageUid() 451 final int uid = getPackageUid(packageName); in clearForceAppStandby()
|
D | AdvancedPowerUsageDetailActivity.java | 61 args.putInt(EXTRA_UID, packageManager.getPackageUid(packageName, 0 /* no flag */)); in onCreate()
|
D | AdvancedPowerUsageDetail.java | 170 args.putInt(EXTRA_UID, packageManager.getPackageUid(packageName, 0 /* no flag */)); in startBatteryDetailPage()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | AppDataUsageActivity.java | 43 uid = pm.getPackageUid(packageName, 0); in onCreate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | AppDataUsageActivity.java | 43 uid = pm.getPackageUid(packageName, 0); in onCreate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryUtilsTest.java | 705 when(mBatteryUtils.getPackageUid(HIGH_SDK_PACKAGE)).thenReturn(UID); in clearForceAppStandby_appRestricted_clearAndReturnTrue() 716 when(mBatteryUtils.getPackageUid(PACKAGE_NAME)).thenReturn(BatteryUtils.UID_NULL); in clearForceAppStandby_appInvalid_returnFalse() 725 when(mBatteryUtils.getPackageUid(PACKAGE_NAME)).thenReturn(UID); in clearForceAppStandby_appUnrestricted_returnFalse()
|
D | AdvancedPowerUsageDetailTest.java | 360 doReturn(UID).when(mPackageManager).getPackageUid(PACKAGE_NAME[0], 0 /* no flag */); in testStartBatteryDetailPage_batteryEntryNotExisted_extractUidFromPackageName()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | UpdateInteractAcrossProfilesAppOpTask.java | 98 final int uid = mPackageManager.getPackageUid(packageName, /* flags= */ 0); in appOpIsChangedFromDefault()
|
D | CreateManagedProfileTask.java | 136 final int uid = mPackageManager.getPackageUid(packageName, /* flags= */ 0); in appOpIsChangedFromDefault()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/ |
D | CrossProfileAppsPregrantController.java | 94 int uid = mPackageManager.getPackageUid(packageName, /* flags= */ 0); in appOpIsChangedFromDefault()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/deviceadmin/ |
D | DeviceAdminAddTest.java | 66 doReturn(UID).when(mBatteryUtils).getPackageUid(PACKAGE_NAME); in setUp()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | LocalCallingIdentityTest.java | 94 pm.getPackageUid(MediaProviderTest.PERMISSIONLESS_APP, 0)); in testFromExternal()
|
D | MediaProviderForFuseTest.java | 70 sTestUid = context.getPackageManager().getPackageUid(MediaProviderTest.PERMISSIONLESS_APP, in setUp()
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/model/ |
D | AppPermissionViewModel.kt | 763 val uid = KotlinUtils.getPackageUid(app, packageName, user) ?: return in <lambda>() 777 val uid = KotlinUtils.getPackageUid(app, packageName, user) ?: return in <lambda>()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/ |
D | AppOpsSettingsTest.java | 186 final int packageUid = mPackageManager.getPackageUid(mPackageName, 0); in testSwitchToggle()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | NotificationSettings.java | 107 mUid = mPm.getPackageUid(mPkg, 0); in onAttach()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationSettingsBase.java | 107 mUid = mPm.getPackageUid(mPkg, 0); in onAttach()
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | PermissionAppsFragment.java | 371 Integer uid = KotlinUtils.INSTANCE.getPackageUid(getActivity().getApplication(), in logPermissionAppsFragmentCreated()
|
D | AppPermissionGroupsFragment.java | 462 Integer uid = KotlinUtils.INSTANCE.getPackageUid(getActivity().getApplication(), in logAppPermissionsFragmentViewEntry()
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | PermissionControllerServiceImpl.java | 614 uid = pm.getPackageUid(packageName, 0); in onOneTimePermissionSessionTimeout()
|