/frameworks/base/packages/CarSystemUI/tests/src/com/android/systemui/car/sideloaded/ |
D | SideLoadedAppDetectorTest.java | 87 when(mPackageManager.getApplicationInfoAsUser(eq(APP_PACKAGE_NAME), anyInt(), any())) in isSafe_systemApp_returnsTrue() 102 when(mPackageManager.getApplicationInfoAsUser(eq(APP_PACKAGE_NAME), anyInt(), any())) in isSafe_updatedSystemApp_returnsTrue() 120 when(mPackageManager.getApplicationInfoAsUser(eq(APP_PACKAGE_NAME), anyInt(), any())) in isSafe_nonSystemApp_withSafeSource_returnsTrue() 139 when(mPackageManager.getApplicationInfoAsUser(eq(APP_PACKAGE_NAME), anyInt(), any())) in isSafe_nonSystemApp_withUnsafeSource_returnsFalse() 158 when(mPackageManager.getApplicationInfoAsUser(eq(APP_PACKAGE_NAME), anyInt(), any())) in isSafe_nonSystemApp_withoutSource_returnsFalse()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | DefaultAppInfo.java | 82 final ApplicationInfo appInfo = mPm.getApplicationInfoAsUser( in loadLabel() 103 final ApplicationInfo appInfo = mPm.getApplicationInfoAsUser( in loadIcon() 116 final ApplicationInfo appInfo = mPm.getApplicationInfoAsUser( in loadIcon()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SoftRestrictedPermissionPolicy.java | 96 uidPkgInfo = pm.getApplicationInfoAsUser(uidPkg, 0, user); in getMinimumTargetSDK() 225 applicationInfo = packageManager.getApplicationInfoAsUser(packageName, 0, user);
|
/frameworks/base/core/java/com/android/internal/app/ |
D | BlockedAppActivity.java | 70 pm.getApplicationInfoAsUser(packageName, /* flags= */ 0, userId); in getAppLabel()
|
D | SuspendedAppActivity.java | 73 return mPm.getApplicationInfoAsUser(packageName, 0, mUserId).loadLabel(mPm); in getAppLabel()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RankingHelperTest.java | 111 when(mPm.getApplicationInfoAsUser(eq(PKG), anyInt(), anyInt())).thenReturn(legacy); in setUp() 112 when(mPm.getApplicationInfoAsUser(eq(UPDATED_PKG), anyInt(), anyInt())).thenReturn(upgrade); in setUp() 113 when(mPm.getApplicationInfoAsUser(eq(SYSTEM_PKG), anyInt(), anyInt())).thenReturn(upgrade); in setUp()
|
D | PreferencesHelperTest.java | 169 when(mPm.getApplicationInfoAsUser(eq(PKG_N_MR1), anyInt(), anyInt())).thenReturn(legacy); in setUp() 170 when(mPm.getApplicationInfoAsUser(eq(PKG_O), anyInt(), anyInt())).thenReturn(upgrade); in setUp() 171 when(mPm.getApplicationInfoAsUser(eq(PKG_P), anyInt(), anyInt())).thenReturn(upgrade); in setUp() 172 when(mPm.getApplicationInfoAsUser(eq(SYSTEM_PKG), anyInt(), anyInt())).thenReturn(upgrade); in setUp() 317 when(mPm.getApplicationInfoAsUser(eq(packageName), anyInt(), anyInt())) in setUpPackageWithUid() 751 when(mPm.getApplicationInfoAsUser(eq(PKG_N_MR1), anyInt(), anyInt())).thenReturn(upgraded); in testChannelXml_upgradeDeletesDefaultChannel() 769 when(mPm.getApplicationInfoAsUser(eq(PKG_N_MR1), anyInt(), anyInt())).thenReturn(upgraded); in testDeletesDefaultChannelAfterChannelIsCreated() 1677 … when(mPm.getApplicationInfoAsUser(eq(PKG_N_MR1), anyInt(), anyInt())).thenReturn(legacy); in testOnUserRemoved() 1752 when(mPm.getApplicationInfoAsUser(eq(PKG_O), anyInt(), anyInt())).thenReturn(legacy); in testOnPackageChange_downgradeTargetSdk() 2001 when(mPm.getApplicationInfoAsUser( in testDumpChannelsJson() [all …]
|
D | NotificationComparatorTest.java | 102 when(mPm.getApplicationInfoAsUser(anyString(), anyInt(), anyInt())).thenReturn(legacy); in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipAppOpsListener.java | 50 .getApplicationInfoAsUser(packageName, 0, topPipActivityInfo.second);
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | DefaultAppInfoTest.java | 65 when(mPackageManager.getApplicationInfoAsUser(anyString(), anyInt(), in setUp()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/sideloaded/ |
D | SideLoadedAppDetector.java | 98 applicationInfo = mPackageManager.getApplicationInfoAsUser(packageName, in isSafe()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 296 appInfo = mPackage.getApplicationInfoAsUser(packageName, in queryStatsForPackage() 374 final ApplicationInfo appInfo = mPackage.getApplicationInfoAsUser(packageNames[i], in queryStatsForUid() 691 appInfo = mPackage.getApplicationInfoAsUser(packageName, in queryCratesForPackage() 733 final ApplicationInfo appInfo = mPackage.getApplicationInfoAsUser(packageName, in queryCratesForUid()
|
/frameworks/base/core/java/com/android/internal/os/logging/ |
D | MetricsLoggerWrapper.java | 79 uid = context.getPackageManager().getApplicationInfoAsUser( in getUid()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 341 callingPackageInfo = context.getPackageManager().getApplicationInfoAsUser( in reportAccessDeniedToReadIdentifiers() 440 ApplicationInfo info = context.getPackageManager().getApplicationInfoAsUser( in checkReadPhoneNumber()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | ConversationIconFactory.java | 100 final ApplicationInfo appInfo = mPackageManager.getApplicationInfoAsUser( in getAppBadge()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | LocationPermissionChecker.java | 223 if (mContext.getPackageManager().getApplicationInfoAsUser( in isTargetSdkLessThan()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationAccesses.java | 180 ApplicationInfo appInfo = mPackageManager.getApplicationInfoAsUser( in getAccessFromOps()
|
D | RecentLocationApps.java | 204 ApplicationInfo appInfo = mPackageManager.getApplicationInfoAsUser( in getRequestFromOps()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
D | RecentLocationAccessesTest.java | 133 when(mPackageManager.getApplicationInfoAsUser( in mockTestApplicationInfos()
|
D | RecentLocationAppsTest.java | 132 when(mPackageManager.getApplicationInfoAsUser( in mockTestApplicationInfos()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | IncidentCompanionService.java | 362 .getApplicationInfoAsUser(pkg, 0, userId); in enforceCallerIsSameApp()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | LocationPermissionCheckerTest.java | 99 when(mMockPkgMgr.getApplicationInfoAsUser(eq(TEST_PKG_NAME), eq(0), any())) in setupMocks()
|
/frameworks/base/core/java/android/service/notification/ |
D | StatusBarNotification.java | 440 .getApplicationInfoAsUser(pkg, PackageManager.MATCH_UNINSTALLED_PACKAGES, in getPackageContext()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 98 if (mContext.getPackageManager().getApplicationInfoAsUser( in isTargetSdkLessThan()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 190 ApplicationInfo appInfo = packageManager.getApplicationInfoAsUser( in getUnfulfilledRequests()
|