/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarDisplayCompatScaleProviderUpdatableTest.java | 148 when(mPackageManager.getApplicationInfoAsUser(eq("package1"), in noApplicationInfo_returnsFalse() 160 when(mPackageManager.getApplicationInfoAsUser(eq("package1"), in hasMedataDataDisplayCompat_requiredFalse_returnsFalse() 177 when(mPackageManager.getApplicationInfoAsUser(eq("package1"), in hasMedataData_notDisplayCompat_returnsTrue() 195 when(mPackageManager.getApplicationInfoAsUser(eq("package1"), in hasMedataDataDisplayCompat_requiredTrue_returnsTrue() 259 when(mPackageManager.getApplicationInfoAsUser(eq("package1"), in isPrivileged_returnsFalse() 274 when(mPackageManager.getApplicationInfoAsUser(eq("package1"), in isSystem_returnsFalse() 316 when(mPackageManager.getApplicationInfoAsUser(eq("package1"), in matchDisplay_scalesPackage() 344 when(mPackageManager.getApplicationInfoAsUser(eq("package1"), in matchDisplayPackage_scalesPackage() 372 when(mPackageManager.getApplicationInfoAsUser(eq("package1"), in matchDisplayUser_scalesPackage() 401 when(mPackageManager.getApplicationInfoAsUser(eq("package1"), in matchDisplayPackageUser_scalesPackage() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/companion/virtual/ |
D | CameraAccessControllerTest.java | 112 when(mPackageManager.getApplicationInfoAsUser( in setUp() 115 when(mPackageManager.getApplicationInfoAsUser( in setUp() 260 when(mPackageManager.getApplicationInfoAsUser( in multipleUsers_getPersonalProfileAppUid_cameraBlocked() 263 when(mPackageManager.getApplicationInfoAsUser( in multipleUsers_getPersonalProfileAppUid_cameraBlocked() 278 when(mPackageManager.getApplicationInfoAsUser( in multipleUsers_getPersonalProfileAppUid_noCameraBlocking() 281 when(mPackageManager.getApplicationInfoAsUser( in multipleUsers_getPersonalProfileAppUid_noCameraBlocking() 295 when(mPackageManager.getApplicationInfoAsUser( in multipleUsers_getWorkProfileAppUid_cameraBlocked() 298 when(mPackageManager.getApplicationInfoAsUser( in multipleUsers_getWorkProfileAppUid_cameraBlocked() 313 when(mPackageManager.getApplicationInfoAsUser( in multipleUsers_getWorkProfileAppUid_noCameraBlocking() 316 when(mPackageManager.getApplicationInfoAsUser( in multipleUsers_getWorkProfileAppUid_noCameraBlocking()
|
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/ |
D | PackageManagers.kt | 28 fun getApplicationInfoAsUser(packageName: String, userId: Int): ApplicationInfo? in getPackageInfoAsUser() method 67 override fun getApplicationInfoAsUser(packageName: String, userId: Int): ApplicationInfo? = in getPackageInfoAsUserCached() method in com.android.settingslib.spaprivileged.model.app.PackageManagersImpl 71 getApplicationInfoAsUser(packageName, userId)?.hasFlag(ApplicationInfo.FLAG_INSTALLED) in getPackageInfoAsUserCached()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | DefaultAppInfo.java | 84 final ApplicationInfo appInfo = mPm.getApplicationInfoAsUser( in loadLabel() 109 final ApplicationInfo appInfo = mPm.getApplicationInfoAsUser( in loadIcon() 122 final ApplicationInfo appInfo = mPm.getApplicationInfoAsUser( in loadIcon()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/ |
D | NoteTaskInfoResolverTest.kt | 64 packageManager.getApplicationInfoAsUser( in resolveInfo_shouldReturnInfo() 87 packageManager.getApplicationInfoAsUser( in resolveInfo_packageManagerThrowsException_shouldReturnInfoWithZeroUid()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ |
D | ControlsServiceInfo.kt | 120 val appInfo = mPm.getApplicationInfoAsUser(componentName.packageName, 0, userId) in loadLabel() 134 val appInfo = mPm.getApplicationInfoAsUser(packageName, 0, userId) in loadIcon()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameClassifierImpl.java | 39 mPackageManager.getApplicationInfoAsUser( in isGame()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | Utils.java | 65 final ApplicationInfo appInfo = packageManager.getApplicationInfoAsUser( in getApplicationLabel() 145 final ApplicationInfo appInfo = packageManager.getApplicationInfoAsUser( in getApplicationInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/ |
D | RecentTaskLabelLoader.kt | 50 packageManager.getApplicationInfoAsUser( in loadLabel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/ |
D | NoteTaskInfoResolver.kt | 66 getApplicationInfoAsUser(packageName, EMPTY_APPLICATION_INFO_FLAGS, user).uid in PackageManager()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipAppOpsListener.kt | 37 .getApplicationInfoAsUser(packageName, 0, userId) in <lambda>()
|
D | PipUiEventLogger.kt | 56 uid = mPackageManager.getApplicationInfoAsUser( in getUid()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | SoftRestrictedPermissionPolicy.java | 95 uidPkgInfo = pm.getApplicationInfoAsUser(uidPkg, 0, user); in getMinimumTargetSDK() 267 applicationInfo = packageManager.getApplicationInfoAsUser(packageName, 0, user);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | BackgroundInstallControlServiceTest.java | 571 when(mPackageManager.getApplicationInfoAsUser(eq(PACKAGE_NAME_1), any(), anyInt())) in testHandleUsageEvent_packageAddedNoUsageEvent() 609 when(mPackageManager.getApplicationInfoAsUser(eq(PACKAGE_NAME_1), any(), anyInt())) in testHandleUsageEvent_packageAddedInsideTimeFrame() 655 when(mPackageManager.getApplicationInfoAsUser(eq(PACKAGE_NAME_1), any(), anyInt())) in testHandleUsageEvent_fallsBackToAppInfoTimeWhenHistoricalSessionsNotFound() 706 when(mPackageManager.getApplicationInfoAsUser(eq(PACKAGE_NAME_1), any(), anyInt())) in testHandleUsageEvent_usesHistoricalSessionCreateTimeWhenHistoricalSessionsFound() 771 when(mPackageManager.getApplicationInfoAsUser(eq(PACKAGE_NAME_1), any(), anyInt())) in testHandleUsageEvent_packageAddedOutsideTimeFrame1() 822 when(mPackageManager.getApplicationInfoAsUser(eq(PACKAGE_NAME_1), any(), anyInt())) in testHandleUsageEvent_packageAddedOutsideTimeFrame2() 877 when(mPackageManager.getApplicationInfoAsUser(eq(PACKAGE_NAME_1), any(), anyInt())) in testHandleUsageEvent_packageAddedThroughAdb() 928 when(mPackageManager.getApplicationInfoAsUser(eq(PACKAGE_NAME_1), any(), anyInt())) in testHandleUsageEvent_packageAddedThroughAdb2()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/camera/ |
D | CameraIntents.kt | 40 … && context.packageManager.getApplicationInfoAsUser(packageName, 0, userId).enabled ?: false) { in getOverrideCameraPackage()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | BlockedAppActivity.java | 70 pm.getApplicationInfoAsUser(packageName, /* flags= */ 0, userId); in getAppLabel()
|
D | AppLocaleStore.java | 146 .getApplicationInfoAsUser(packageName, /* flags= */ 0, context.getUserId()); in isSystemApp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/ |
D | SystemUIToast.java | 181 .getApplicationInfoAsUser(mPackageName, 0, mUserId); in inflateToastView() 256 final ApplicationInfo appInfo = packageManager.getApplicationInfoAsUser( in getBadgedIcon()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/ |
D | GameManagerServiceTests.java | 262 when(mMockPackageManager.getApplicationInfoAsUser(eq(packageName), anyInt(), anyInt())) in mockAppCategory() 388 final ApplicationInfo applicationInfo = mMockPackageManager.getApplicationInfoAsUser( in mockGameModeOptInAll() 396 when(mMockPackageManager.getApplicationInfoAsUser(anyString(), anyInt(), anyInt())) in mockGameModeOptInAll() 401 final ApplicationInfo applicationInfo = mMockPackageManager.getApplicationInfoAsUser( in mockGameModeOptInPerformance() 407 when(mMockPackageManager.getApplicationInfoAsUser(anyString(), anyInt(), anyInt())) in mockGameModeOptInPerformance() 412 final ApplicationInfo applicationInfo = mMockPackageManager.getApplicationInfoAsUser( in mockGameModeOptInBattery() 418 when(mMockPackageManager.getApplicationInfoAsUser(anyString(), anyInt(), anyInt())) in mockGameModeOptInBattery() 423 final ApplicationInfo applicationInfo = mMockPackageManager.getApplicationInfoAsUser( in mockInterventionAllowDownscaleTrue() 429 when(mMockPackageManager.getApplicationInfoAsUser(anyString(), anyInt(), anyInt())) in mockInterventionAllowDownscaleTrue() 434 final ApplicationInfo applicationInfo = mMockPackageManager.getApplicationInfoAsUser( in mockInterventionAllowDownscaleFalse() [all …]
|
/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/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | WorkLockActivityTest.kt | 88 packageManager.getApplicationInfoAsUser( in testGetBadgedIcon()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | ConversationIconFactory.java | 100 final ApplicationInfo appInfo = mPackageManager.getApplicationInfoAsUser( in getAppBadge()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | WorkLockActivity.java | 113 mPackageManager.getApplicationInfoAsUser(packageName, in getBadgedIcon()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RankingHelperTest.java | 123 when(mPm.getApplicationInfoAsUser(eq(mPkg), anyInt(), anyInt())).thenReturn(legacy); in setUp() 124 when(mPm.getApplicationInfoAsUser(eq(UPDATED_PKG), anyInt(), anyInt())).thenReturn(upgrade); in setUp() 125 when(mPm.getApplicationInfoAsUser(eq(SYSTEM_PKG), anyInt(), anyInt())).thenReturn(upgrade); in setUp()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | StorageStatsService.java | 364 appInfo = mPackage.getApplicationInfoAsUser(packageName, in queryStatsForPackage() 446 final ApplicationInfo appInfo = mPackage.getApplicationInfoAsUser(packageNames[i], in queryStatsForUid() 810 appInfo = mPackage.getApplicationInfoAsUser(packageName, in queryCratesForPackage() 852 final ApplicationInfo appInfo = mPackage.getApplicationInfoAsUser(packageName, in queryCratesForUid()
|