/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 | 100 uidPkgInfo = pm.getApplicationInfoAsUser(uidPkg, 0, user); in getMinimumTargetSDK() 158 uidPkgInfo = pm.getApplicationInfoAsUser(uidPkg, 0, user); in forPermission()
|
/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 | 137 when(mPm.getApplicationInfoAsUser(eq(PKG_N_MR1), anyInt(), anyInt())).thenReturn(legacy); in setUp() 138 when(mPm.getApplicationInfoAsUser(eq(PKG_O), anyInt(), anyInt())).thenReturn(upgrade); in setUp() 139 when(mPm.getApplicationInfoAsUser(eq(SYSTEM_PKG), anyInt(), anyInt())).thenReturn(upgrade); in setUp() 256 when(mPm.getApplicationInfoAsUser(eq(packageName), anyInt(), anyInt())) in setUpPackageWithUid() 679 when(mPm.getApplicationInfoAsUser(eq(PKG_N_MR1), anyInt(), anyInt())).thenReturn(upgraded); in testChannelXml_upgradeDeletesDefaultChannel() 697 when(mPm.getApplicationInfoAsUser(eq(PKG_N_MR1), anyInt(), anyInt())).thenReturn(upgraded); in testDeletesDefaultChannelAfterChannelIsCreated() 1572 … when(mPm.getApplicationInfoAsUser(eq(PKG_N_MR1), anyInt(), anyInt())).thenReturn(legacy); in testOnUserRemoved() 1647 when(mPm.getApplicationInfoAsUser(eq(PKG_O), anyInt(), anyInt())).thenReturn(legacy); in testOnPackageChange_downgradeTargetSdk() 1879 when(mPm.getApplicationInfoAsUser( in testDumpChannelsJson()
|
D | NotificationComparatorTest.java | 100 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/core/java/com/android/internal/os/logging/ |
D | MetricsLoggerWrapper.java | 79 uid = context.getPackageManager().getApplicationInfoAsUser( in getUid()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | LocationPermissionChecker.java | 223 if (mContext.getPackageManager().getApplicationInfoAsUser( in isTargetSdkLessThan()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 372 callingPackageInfo = context.getPackageManager().getApplicationInfoAsUser( in reportAccessDeniedToReadIdentifiers() 486 ApplicationInfo info = context.getPackageManager().getApplicationInfoAsUser( in checkReadPhoneNumber()
|
/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 | 131 when(mPackageManager.getApplicationInfoAsUser( in mockTestApplicationInfos()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SuspendedAppActivity.java | 55 return mPm.getApplicationInfoAsUser(packageName, 0, mUserId).loadLabel(mPm); in getAppLabel()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 257 appInfo = mPackage.getApplicationInfoAsUser(packageName, in queryStatsForPackage() 319 final ApplicationInfo appInfo = mPackage.getApplicationInfoAsUser(packageNames[i], in queryStatsForUid()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | LocationPermissionCheckerTest.java | 98 when(mMockPkgMgr.getApplicationInfoAsUser(eq(TEST_PKG_NAME), eq(0), any())) in setupMocks()
|
/frameworks/base/services/core/java/com/android/server/compat/ |
D | PlatformCompat.java | 291 return mContext.getPackageManager().getApplicationInfoAsUser(packageName, 0, userId); in getApplicationInfo()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 130 if (mContext.getPackageManager().getApplicationInfoAsUser( in isTargetSdkLessThan()
|
/frameworks/base/services/core/java/com/android/server/incident/ |
D | IncidentCompanionService.java | 362 .getApplicationInfoAsUser(pkg, 0, userId); in enforceCallerIsSameApp()
|
/frameworks/base/core/java/android/service/notification/ |
D | StatusBarNotification.java | 395 .getApplicationInfoAsUser(pkg, PackageManager.MATCH_UNINSTALLED_PACKAGES, in getPackageContext()
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | CacheQuotaStrategy.java | 189 ApplicationInfo appInfo = packageManager.getApplicationInfoAsUser( in getUnfulfilledRequests()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsUsageMonitor.java | 580 ApplicationInfo ai = mContext.getPackageManager().getApplicationInfoAsUser( in checkCallerIsSystemOrPhoneOrSameApp()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 292 ai = mPackageManager.getApplicationInfoAsUser(packageName, 0, callingUser); in createProjection()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | FullRestoreEngine.java | 341 .getApplicationInfoAsUser(pkg, 0, mUserId); in restoreOneFile()
|