/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxShellCommandUnitTest.java | 104 .getApplicationInfoAsUser( in setup() 114 .getApplicationInfoAsUser( in setup() 121 .getApplicationInfoAsUser( in setup() 159 .getApplicationInfoAsUser( in testStartFailsForInvalidPackage() 199 .getApplicationInfoAsUser( in testStartFailsForNonDebuggablePackage() 223 .getApplicationInfoAsUser( in testStartFailsWhenSandboxAlreadyRunning() 249 .getApplicationInfoAsUser( in testStartSucceedsForDebuggablePackageWhenNotAlreadyRunning() 277 .getApplicationInfoAsUser( in testStartFailsWhenBindingSandboxFails() 300 .getApplicationInfoAsUser( in testStopFailsForInvalidPackage() 324 .getApplicationInfoAsUser( in testStopFailsForNonDebuggablePackage() [all …]
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/sideloaded/ |
D | SideLoadedAppDetectorTest.java | 89 when(mPackageManager.getApplicationInfoAsUser(eq(APP_PACKAGE_NAME), anyInt(), any())) in isSafe_systemApp_returnsTrue() 104 when(mPackageManager.getApplicationInfoAsUser(eq(APP_PACKAGE_NAME), anyInt(), any())) in isSafe_updatedSystemApp_returnsTrue() 122 when(mPackageManager.getApplicationInfoAsUser(eq(APP_PACKAGE_NAME), anyInt(), any())) in isSafe_nonSystemApp_withSafeSource_returnsTrue() 141 when(mPackageManager.getApplicationInfoAsUser(eq(APP_PACKAGE_NAME), anyInt(), any())) in isSafe_nonSystemApp_withUnsafeSource_returnsFalse() 160 when(mPackageManager.getApplicationInfoAsUser(eq(APP_PACKAGE_NAME), anyInt(), any())) in isSafe_nonSystemApp_withoutSource_returnsFalse()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/location/ |
D | AdasPrivacyPolicyDisclosurePreferenceControllerTest.java | 143 when(mPackageManager.getApplicationInfoAsUser(any(), anyInt(), anyInt())) in refreshUi_privacyPolicyMissing_throwsNoException() 159 when(mPackageManager.getApplicationInfoAsUser(any(), anyInt(), anyInt())) in refreshUi_metaDataMissing_throwsNoException() 174 when(mPackageManager.getApplicationInfoAsUser(any(), anyInt(), anyInt())) in refreshUi_throwsNoException() 186 when(mPackageManager.getApplicationInfoAsUser(any(), anyInt(), anyInt())) in initializePreference()
|
D | LocationInfotainmentAppsPreferenceControllerTest.java | 131 when(mPackageManager.getApplicationInfoAsUser(any(), anyInt(), anyInt())) in refreshUi_throwsNoException() 173 when(mPackageManager.getApplicationInfoAsUser(any(), anyInt(), anyInt())) in refreshUi_appDisabled_hideApp() 194 when(mPackageManager.getApplicationInfoAsUser(any(), anyInt(), anyInt())) in initializePreference()
|
/packages/modules/Permission/service/java/com/android/ecm/ |
D | EnhancedConfirmationService.java | 238 ApplicationInfo applicationInfo = getApplicationInfoAsUser(packageName, userId); in isPackageEcmGuarded() 276 getApplicationInfoAsUser(installingPackageName, userId); in isPackageEcmGuarded() 364 private ApplicationInfo getApplicationInfoAsUser(@Nullable String packageName, in getApplicationInfoAsUser() method in EnhancedConfirmationService.Stub 371 return mPackageManager.getApplicationInfoAsUser(packageName, /* flags */ 0, in getApplicationInfoAsUser() 381 return mPackageManager.getApplicationInfoAsUser(packageName, /* flags */ 0, in getPackageUid()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settingslib/enterprise/ |
D | EnterprisePrivacyFeatureProviderImplTest.java | 195 .getApplicationInfoAsUser(packageName, /* flags= */ 0, MY_USER_ID); in mockGetApplicationInfoNotFound() 200 doReturn(mApplicationInfo).when(mSpiedPm).getApplicationInfoAsUser(packageName, in mockGetApplicationInfoLabel() 202 doReturn(mApplicationInfo).when(mSpiedPm).getApplicationInfoAsUser(packageName, in mockGetApplicationInfoLabel()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/lib/ |
D | AppPreferenceRepositoryTest.kt | 55 getApplicationInfoAsUser(PACKAGE_NAME, 0, UserHandle.getUserId(UID)) in loadAppPreferences_packageNotFound_returnEmpty() 74 getApplicationInfoAsUser(PACKAGE_NAME, 0, UserHandle.getUserId(UID)) in loadAppPreferences_packageFound_returnPreference()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | WorkSourceHelperTest.java | 65 when(mPackageManager.getApplicationInfoAsUser(any(), anyInt(), any())).thenReturn( in setUp() 105 when(mPackageManager.getApplicationInfoAsUser(any(), anyInt(), any())).thenReturn(appInfo); in testGetRequestorWsPriority()
|
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/ |
D | EnhancedConfirmationManagerTest.kt | 318 getApplicationInfoAsUser(context, packageName).uid 321 private fun getApplicationInfoAsUser(context: Context, packageName: String) = method 322 packageManager.getApplicationInfoAsUser(
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppInfoDashboardFragmentTest.java | 312 when(mPackageManager.getApplicationInfoAsUser( in getNumberOfUserWithPackageInstalled_twoUsersInstalled_shouldReturnTwo() 315 when(mPackageManager.getApplicationInfoAsUser( in getNumberOfUserWithPackageInstalled_twoUsersInstalled_shouldReturnTwo() 335 when(mPackageManager.getApplicationInfoAsUser( in getNumberOfUserWithPackageInstalled_oneUserInstalled_shouldReturnOne() 338 when(mPackageManager.getApplicationInfoAsUser( in getNumberOfUserWithPackageInstalled_oneUserInstalled_shouldReturnOne()
|
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | PackageManagerCompat.java | 102 public ApplicationInfo getApplicationInfoAsUser(@NonNull String packageName, int flags, in getApplicationInfoAsUser() method in PackageManagerCompat 104 return this.mManager.getApplicationInfoAsUser(packageName, flags, userId); in getApplicationInfoAsUser()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/ |
D | DataSubscriptionControllerTest.java | 216 when(mPackageManager.getApplicationInfoAsUser( in onTaskMovedToFront_AppRequiresInternetAndNotBlocked_registerCallback() 237 when(mPackageManager.getApplicationInfoAsUser( in onTaskMovedToFront_invalidNetCap_popUpDisplay() 258 when(mPackageManager.getApplicationInfoAsUser( in onTaskMovedToFront_callbackRegistered_unregisterAndRegisterCallback()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/ |
D | Role.java | 516 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfoAsUser(packageName, in getQualifiedDefaultHolderPackageNameAsUser() 591 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfoAsUser(packageName, user, in isPackageQualifiedAsUser() 697 applicationInfo = PackageUtils.getApplicationInfoAsUser(packageName, user, in getQualifyingPackagesAsUser() 736 applicationInfo = PackageUtils.getApplicationInfoAsUser(packageName, user, in getQualifyingPackagesAsUser() 916 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfoAsUser(packageName, user, in killAppAsUser()
|
D | AppOp.java | 130 ApplicationInfo applicationInfo = PackageUtils.getApplicationInfoAsUser(packageName, user, in isAvailableAsUser()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/utils/ |
D | PackageUtils.java | 65 public static ApplicationInfo getApplicationInfoAsUser(@NonNull String packageName, in getApplicationInfoAsUser() method in PackageUtils
|
/packages/apps/Settings/src/com/android/settings/datausage/lib/ |
D | AppPreferenceRepository.kt | 42 val app = packageManager.getApplicationInfoAsUser(packageName, 0, userId) in <lambda>()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/util/ |
D | PackageUtils.java | 84 public static ApplicationInfo getApplicationInfoAsUser(@NonNull String packageName, in getApplicationInfoAsUser() method in PackageUtils
|
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/ |
D | UidToPackageNameConverter.java | 45 packageManager.getApplicationInfoAsUser(packageName, 0, user).uid; in convertToUids()
|
/packages/apps/Car/Settings/src/com/android/car/settingslib/enterprise/ |
D | EnterprisePrivacyFeatureProviderImpl.java | 79 return mPm.getApplicationInfoAsUser(packageName, /* flags= */ 0, MY_USER_ID) in getImeLabelIfOwnerSet()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | PackageInfoHandler.java | 277 ApplicationInfo info = mPackageManager.getApplicationInfoAsUser( in getUserPackageComponentType() 292 applicationInfos.add(mPackageManager.getApplicationInfoAsUser( in getSharedComponentTypeInternal()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | EnterprisePrivacyFeatureProviderImplTest.java | 267 when(mPackageManager.getApplicationInfoAsUser(IME_PACKAGE_ID, 0, mUserId)) in testGetImeLabelIfOwnerSet() 281 when(mPackageManager.getApplicationInfoAsUser(IME_PACKAGE_ID, 0, mUserId)) in testGetImeLabelIfOwnerSet() 287 when(mPackageManager.getApplicationInfoAsUser(IME_PACKAGE_ID, 0, mUserId)) in testGetImeLabelIfOwnerSet()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | DefaultAppInfo.java | 80 final ApplicationInfo appInfo = mPm.getApplicationInfoAsUser( in loadLabel()
|
/packages/apps/Car/Settings/src/com/android/car/settings/location/ |
D | AdasPrivacyPolicyUtil.java | 58 packageManager.getApplicationInfoAsUser( in createPrivacyPolicyPreference()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/ |
D | RoleLiveData.java | 90 ApplicationInfo qualifyingApplicationInfo = PackageUtils.getApplicationInfoAsUser( in loadValueInBackground()
|
/packages/apps/Settings/src/com/android/settings/notification/history/ |
D | HistoryLoader.java | 72 info = mPm.getApplicationInfoAsUser( in load()
|