Home
last modified time | relevance | path

Searched defs:packageInfo (Results 1 – 25 of 130) sorted by relevance

123456

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/sharedlibrarysupport/
DSharedLibrarySpecifierTest.java34 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/
DUserPackageInfosLiveData.kt52 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
DLightPackageInfoLiveData.kt69 newValue?.let { packageInfo -> in <lambda>() method
140 val packageInfo = userPackagesLiveData.value!!.find { it.packageName == packageName } in <lambda>() constant
DPackagePermissionsLiveData.kt58 val packageInfo = packageInfoLiveData.value ?: return in loadDataAndPostValue() constant
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridgeTest.java99 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/
DAppInstallerInfoPreferenceControllerTest.java122 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
DAppInfoDashboardFragmentTest.java124 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
DAppOpenByDefaultPreferenceControllerTest.java168 final PackageInfo packageInfo = new PackageInfo(); in updateState_isBrowserApp_shouldNotShowPreference() local
188 final PackageInfo packageInfo = new PackageInfo(); in updateState_notBrowserApp_notInstantApp_shouldShowPreferenceAndSetSummary() local
DAppVersionPreferenceControllerTest.java59 final PackageInfo packageInfo = mock(PackageInfo.class); in updateState_shouldUpdatePreferenceSummary() local
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java310 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/
DNotificationUtils.java88 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/
DModuleLicensesListPreferenceControllerTest.java58 PackageInfo packageInfo = new PackageInfo(); in getAvailabilityStatus_validLicenses_returnsAvailable() local
99 PackageInfo packageInfo = new PackageInfo(); in getAvailabilityStatus_noLicenses_returnsConditionallyUnavailable() local
DModuleLicensesPreferenceControllerTest.java87 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/
DCarToastUI.java91 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/
DModuleLicenseProviderTest.java301 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/
DAppVersionPreferenceController.java35 final PackageInfo packageInfo = mParent.getPackageInfo(); in getSummary() local
DDrawOverlayDetailPreferenceController.java38 final PackageInfo packageInfo = mParent.getPackageInfo(); in getAvailabilityStatus() local
DWriteSystemSettingsPreferenceController.java38 final PackageInfo packageInfo = mParent.getPackageInfo(); in getAvailabilityStatus() local
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DPackageUtils.java32 PackageInfo packageInfo = context.getPackageManager().getPackageInfo( in getPackageVersion() local
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissionGroup.java154 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/
DVerifyPackageTask.java101 PackageInfo packageInfo = mPackageManager.getPackageArchiveInfo( in run() local
147 private boolean doesASignatureHashMatch(PackageInfo packageInfo, byte[] signatureChecksum) { in doesASignatureHashMatch()
/packages/modules/NeuralNetworks/runtime/
DAppInfoFetcher.cpp44 ANeuralNetworks_PackageInfo packageInfo; in fetchAppPackageLocationInfo() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DAppWorkaroundsUtils.java29 public AppWorkaroundsUtils(final PackageInfo packageInfo) { in AppWorkaroundsUtils()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAppPermissionsFragment.java95 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/
DReviewPermissionsActivity.java44 PackageInfo packageInfo = getTargetPackageInfo(); in onCreate() local

123456