/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/sharedlibrarysupport/ |
D | SharedLibrarySpecifierTest.java | 34 PackageInfo packageInfo = PackageInfoBuilder.newBuilder() in test_empty_sharedlibraryspecifier_matches_anything() local 47 PackageInfo packageInfo = PackageInfoBuilder.newBuilder() in test_sharedlibraryspecifier_doesnt_match_different_package_name() local 59 PackageInfo packageInfo = PackageInfoBuilder.newBuilder() in test_sharedlibraryspecifier_matches_same_package_name() local 72 PackageInfo packageInfo = PackageInfoBuilder.newBuilder() in test_sharedlibraryspecifier_doesnt_match_versioncode() local 86 PackageInfo packageInfo = PackageInfoBuilder.newBuilder() in test_sharedlibraryspecifier_matches_versioncode() local
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | UserPackageInfosLiveData.kt | 52 for (packageInfo in value ?: emptyList()) { in <lambda>() method 59 for (packageInfo in value ?: emptyList()) { in <lambda>() method 62 for (packageInfo in newValue ?: emptyList()) { in <lambda>() method 80 postValue(packageInfos.map { packageInfo -> LightPackageInfo(packageInfo) }) in <lambda>() method 88 for (packageInfo in value ?: emptyList()) { in <lambda>() method 96 for (packageInfo in value ?: emptyList()) { in <lambda>() method
|
D | LightPackageInfoLiveData.kt | 69 newValue?.let { packageInfo -> in <lambda>() method 140 val packageInfo = userPackagesLiveData.value!!.find { it.packageName == packageName } in <lambda>() constant
|
D | PackagePermissionsLiveData.kt | 58 val packageInfo = packageInfoLiveData.value ?: return in loadDataAndPostValue() constant
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/ |
D | AppStateAppOpsBridgeTest.java | 99 PackageInfo packageInfo = createPackageInfo(packageName, uid); in androidPackagesIgnored() local 112 PackageInfo packageInfo = createPackageInfo(packageName, uid); in selfPackageIgnored() local 125 PackageInfo packageInfo = createPackageInfo(packageName, uid); in packagesNotRequestingPermissionIgnored() local 141 PackageInfo packageInfo = createPackageInfo(packageName, uid); in unavailablePackageIgnored() local 156 PackageInfo packageInfo = createPackageInfo(packageName, uid); in loadsAppOpsExtraInfo_modeAllowed_isPermissible() local 171 PackageInfo packageInfo = createPackageInfo(packageName, uid); in loadsAppOpsExtraInfo_modeDefault_isPermissible() local 186 PackageInfo packageInfo = createPackageInfo(packageName, uid); in loadsAppOpsExtraInfo_modeIgnored_isNotPermissible() local 257 PackageInfo packageInfo = createPackageInfo(packageName, uid); in appEntryNotIncluded_extraInfoCleared() local 271 PackageInfo packageInfo = new PackageInfo(); in createPackageInfo() local 279 private void addPackageWithPermission(PackageInfo packageInfo, int mode) in addPackageWithPermission() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | AppInstallerInfoPreferenceControllerTest.java | 122 final PackageInfo packageInfo = mock(PackageInfo.class); in updateState_shouldSetSummary() local 133 final PackageInfo packageInfo = mock(PackageInfo.class); in updateState_noAppStoreLink_shouldDisablePreference() local 145 final PackageInfo packageInfo = mock(PackageInfo.class); in updateState_hasAppStoreLink_shouldSetPreferenceIntent() local 175 final PackageInfo packageInfo = new PackageInfo(); in mockMainlineModule() local
|
D | AppInfoDashboardFragmentTest.java | 124 final PackageInfo packageInfo = mock(PackageInfo.class); in shouldShowUninstallForAll_installForOneOtherUserOnly_shouldReturnTrue() local 140 final PackageInfo packageInfo = mock(PackageInfo.class); in shouldShowUninstallForAll_installForSelfOnly_shouldReturnFalse() local 192 final PackageInfo packageInfo = mock(PackageInfo.class); in ensurePackageInfoAvailable_hasPackageInfo_shouldReturnTrue() local 258 final PackageInfo packageInfo = mock(PackageInfo.class); in instantApps_noUninstallForAllButton() local
|
D | AppOpenByDefaultPreferenceControllerTest.java | 168 final PackageInfo packageInfo = new PackageInfo(); in updateState_isBrowserApp_shouldNotShowPreference() local 188 final PackageInfo packageInfo = new PackageInfo(); in updateState_notBrowserApp_notInstantApp_shouldShowPreferenceAndSetSummary() local
|
D | AppVersionPreferenceControllerTest.java | 59 final PackageInfo packageInfo = mock(PackageInfo.class); in updateState_shouldUpdatePreferenceSummary() local
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | UtilsTest.java | 310 PackageInfo packageInfo = setUpPackage(TEST_PACKAGE_NAME_1, TEST_DEVICE_ADMIN_NAME); in testFindDeviceAdminInPackageInfo_Success() local 319 PackageInfo packageInfo = setUpPackage(TEST_PACKAGE_NAME_1, TEST_DEVICE_ADMIN_NAME); in testFindDeviceAdminInPackageInfo_PackageNameMismatch() local 327 PackageInfo packageInfo = setUpPackage(TEST_PACKAGE_NAME_1); in testFindDeviceAdminInPackageInfo_NoAdmin() local 335 PackageInfo packageInfo = setUpPackage(TEST_PACKAGE_NAME_1, TEST_DEVICE_ADMIN_NAME, in testFindDeviceAdminInPackageInfo_TwoAdmins() local 344 PackageInfo packageInfo = setUpPackage(TEST_PACKAGE_NAME_1, TEST_DEVICE_ADMIN_NAME, in testFindDeviceAdminInPackageInfo_TwoAdminsWithComponentName() local 355 PackageInfo packageInfo = setUpPackage(TEST_PACKAGE_NAME_1, TEST_DEVICE_ADMIN_NAME); in testFindDeviceAdminInPackageInfo_InvalidComponentName() local 459 PackageInfo packageInfo = new PackageInfo(); in setUpPackage() local
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | NotificationUtils.java | 88 PackageInfo packageInfo = getPackageInfo(context, statusBarNotification); in isSystemApp() local 99 PackageInfo packageInfo = getPackageInfo(context, statusBarNotification); in isSignedWithPlatformKey() local 161 PackageInfo packageInfo = getPackageInfo(context, alertEntry.getStatusBarNotification()); in isSystemPrivilegedOrPlatformKeyInner() local 176 PackageInfo packageInfo = null; in getPackageInfo() local
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicensesListPreferenceControllerTest.java | 58 PackageInfo packageInfo = new PackageInfo(); in getAvailabilityStatus_validLicenses_returnsAvailable() local 99 PackageInfo packageInfo = new PackageInfo(); in getAvailabilityStatus_noLicenses_returnsConditionallyUnavailable() local
|
D | ModuleLicensesPreferenceControllerTest.java | 87 PackageInfo packageInfo = new PackageInfo(); in displayPreference_alphabeticalOrder() local 121 PackageInfo packageInfo = new PackageInfo(); in displayPreference_includeOnlyModulesWithLicenseFile() local
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/toast/ |
D | CarToastUI.java | 91 PackageInfo packageInfo = getPackageInfo(packageName); in isSystemPrivilegedOrPlatformKey() local 100 PackageInfo packageInfo = null; in getPackageInfo() local
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicenseProviderTest.java | 301 PackageInfo packageInfo = new PackageInfo(); in isCachedHtmlFileOutdated_versionCodeDiffersFromSharedPref_returnTrue() local 322 PackageInfo packageInfo = new PackageInfo(); in isCachedHtmlFileOutdated_fileDoesNotExist_returnTrue() local 344 PackageInfo packageInfo = new PackageInfo(); in isCachedHtmlFileOutdated_fileIsEmpty_returnTrue() local 369 PackageInfo packageInfo = new PackageInfo(); in isCachedHtmlFileOutdated_notOutdated_returnFalse() local
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppVersionPreferenceController.java | 35 final PackageInfo packageInfo = mParent.getPackageInfo(); in getSummary() local
|
D | DrawOverlayDetailPreferenceController.java | 38 final PackageInfo packageInfo = mParent.getPackageInfo(); in getAvailabilityStatus() local
|
D | WriteSystemSettingsPreferenceController.java | 38 final PackageInfo packageInfo = mParent.getPackageInfo(); in getAvailabilityStatus() local
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | PackageUtils.java | 32 PackageInfo packageInfo = context.getPackageManager().getPackageInfo( in getPackageVersion() local
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | AppPermissionGroup.java | 154 public static AppPermissionGroup create(Context context, PackageInfo packageInfo, in create() 207 PackageInfo packageInfo = Utils.getUserContext(app, user).getPackageManager() in create() local 236 public static AppPermissionGroup create(Context context, PackageInfo packageInfo, in create() 259 public static AppPermissionGroup create(Context context, PackageInfo packageInfo, in create() 433 private AppPermissionGroup(Context context, PackageInfo packageInfo, String name, in AppPermissionGroup()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | VerifyPackageTask.java | 101 PackageInfo packageInfo = mPackageManager.getPackageArchiveInfo( in run() local 147 private boolean doesASignatureHashMatch(PackageInfo packageInfo, byte[] signatureChecksum) { in doesASignatureHashMatch()
|
/packages/modules/NeuralNetworks/runtime/ |
D | AppInfoFetcher.cpp | 44 ANeuralNetworks_PackageInfo packageInfo; in fetchAppPackageLocationInfo() local
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | AppWorkaroundsUtils.java | 29 public AppWorkaroundsUtils(final PackageInfo packageInfo) { in AppWorkaroundsUtils()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoAppPermissionsFragment.java | 95 PackageInfo packageInfo = AutoPermissionsUtils.getPackageInfo(activity, mPackageName, in onCreate() local 138 protected void bindUi(PackageInfo packageInfo) { in bindUi() 154 private void createPreferenceCategories(PackageInfo packageInfo) { in createPreferenceCategories()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/ |
D | ReviewPermissionsActivity.java | 44 PackageInfo packageInfo = getTargetPackageInfo(); in onCreate() local
|