Home
last modified time | relevance | path

Searched refs:getInstalledPackages (Results 1 – 20 of 20) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/mainline/
DModuleDetector.java63 for (PackageInfo info : pm.getInstalledPackages(0)) { in getPlayManagedModules()
66 for (PackageInfo info : pm.getInstalledPackages(PackageManager.MATCH_APEX)) { in getPlayManagedModules()
/cts/hostsidetests/appsecurity/test-apps/PackageAccessApp/src/com/android/cts/packageaccessapp/
DPackageAccessTest.java95 List<PackageInfo> packages = pm.getInstalledPackages( in testPackageAccess_getPackagesCantSeeTiny()
107 List<PackageInfo> packages = pm.getInstalledPackages( in testPackageAccess_getPackagesCanSeeTiny()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiBuildCompat.java60 .getInstalledPackages(PackageManager.MATCH_APEX)) { in getWifiApexVersionCode()
/cts/tests/tests/appenumeration/app/source/src/android/appenumeration/cts/query/
DTestProvider.java37 getContext().getPackageManager().getInstalledPackages(0 /*flags*/).forEach(packageInfo -> { in query()
/cts/hostsidetests/appcompat/strictjavapackages/app/src/android/compat/sjp/app/
DApexDeviceTest.java67 final Set<String> lines = pm.getInstalledPackages(0).stream() in testCollectApkInApexPaths()
/cts/hostsidetests/os/test-apps/StaticSharedLibConsumerApp1/src/android/os/lib/consumer1/
DUseSharedLibraryTest.java223 .getContext().getPackageManager().getInstalledPackages(0); in testAppCanSeeOnlyLibrariesItDependOn()
243 .getPackageManager().getInstalledPackages(0); in testAppCanSeeOnlyLibrariesItDependOn()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTelecomAvailabilityTest.java208 for (PackageInfo info : pm.getInstalledPackages(0)) { in findMatchingPackages()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTrafficDescriptorTest.java166 for (PackageInfo packageInfo : mPackageManager.getInstalledPackages(0 /*flags*/)) { in testRealAppIdThrowException()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackages.java219 .getInstalledPackages(/* flags= */ 0) in installedForUser()
228 .getInstalledPackages(/* flags= */ 0) in installedForUser()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java614 assertTrue(mPackageManager.getInstalledPackages( in testGetInfo()
1102 List<PackageInfo> pkgs = mPackageManager.getInstalledPackages( in testGetInstalledPackages()
1210 List<PackageInfo> pkgInfos = mPackageManager.getInstalledPackages( in testGetInstalledPackages_OtherPackages()
1449 List<PackageInfo> installedPackages = mPackageManager.getInstalledPackages( in testGetInstalledPackages_ApexSupported_MatchesApex()
1460 List<PackageInfo> installedPackages = mPackageManager.getInstalledPackages( in testGetInstalledPackages_ApexSupported_DoesNotMatchApex()
1772 List<PackageInfo> packageInfos = mPackageManager.getInstalledPackages( in testGetInstalledPackages_WithFactoryFlag_IsSubset()
1774 List<PackageInfo> packageInfos2 = mPackageManager.getInstalledPackages( in testGetInstalledPackages_WithFactoryFlag_IsSubset()
1799 mPackageManager.getInstalledPackages( in testGetInstalledPackages_WithFactoryFlag_ImpliesSystem()
1813 List<PackageInfo> packageInfos = mPackageManager.getInstalledPackages( in testGetInstalledPackages_WithApexFlag_ContainsNoDuplicates()
1841 mPackageManager.getInstalledPackages( in testGetInstalledPackages_WithFactoryFlag_ContainsNoDuplicates()
[all …]
DPackageInstallerArchiveTest.java362 assertThat(mPackageManager.getInstalledPackages( in matchArchivedPackages()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DPackageDeviceInfo.java127 pm.getInstalledPackages(PackageManager.GET_PERMISSIONS); in collectDeviceInfo()
/cts/tests/tests/security/src/android/security/cts/
DPackageSignatureTest.java52 List<PackageInfo> allPackageInfos = packageManager.getInstalledPackages( in testPackageSignatures()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DAppEnumerationTests.java251 getInstalledPackages(QUERIES_NOTHING_PERM, MATCH_SYSTEM_ONLY).length, in systemPackagesQueryable_notEnabled()
252 greaterThan(getInstalledPackages(QUERIES_NOTHING, MATCH_SYSTEM_ONLY).length)); in systemPackagesQueryable_notEnabled()
1592 private String[] getInstalledPackages(String sourcePackageNames, int flags) throws Exception { in getInstalledPackages() method in AppEnumerationTests
/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java507 for (PackageInfo pi : mContext.getPackageManager().getInstalledPackages(0)) { in testProviderAcceptsCleartext()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBaseDefaultPermissionGrantPolicyTest.java235 .getInstalledPackages(PackageManager.GET_UNINSTALLED_PACKAGES in getAllPackages()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java1404 .getInstalledPackages(flags); in testGetInactiveApexFactoryPackagesAfterApexInstall_containsNoDuplicates()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DTestActivity.java635 getPackageManager().getInstalledPackages(PackageInfoFlags.of(flags)) in sendGetInstalledPackages()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerTest.java2964 List<PackageInfo> allPackages = mPackageManager.getInstalledPackages( in testGrantRevokeNotificationManagerApis_exclusiveToPermissionController()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt12968 … @NonNull public abstract java.util.List<android.content.pm.PackageInfo> getInstalledPackages(int);
12969 …method @NonNull public java.util.List<android.content.pm.PackageInfo> getInstalledPackages(@NonNul…