/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/mainline/ |
D | ModuleDetector.java | 63 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/ |
D | PackageAccessTest.java | 95 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/ |
D | WifiBuildCompat.java | 60 .getInstalledPackages(PackageManager.MATCH_APEX)) { in getWifiApexVersionCode()
|
/cts/tests/tests/appenumeration/app/source/src/android/appenumeration/cts/query/ |
D | TestProvider.java | 37 getContext().getPackageManager().getInstalledPackages(0 /*flags*/).forEach(packageInfo -> { in query()
|
/cts/hostsidetests/appcompat/strictjavapackages/app/src/android/compat/sjp/app/ |
D | ApexDeviceTest.java | 67 final Set<String> lines = pm.getInstalledPackages(0).stream() in testCollectApkInApexPaths()
|
/cts/hostsidetests/os/test-apps/StaticSharedLibConsumerApp1/src/android/os/lib/consumer1/ |
D | UseSharedLibraryTest.java | 223 .getContext().getPackageManager().getInstalledPackages(0); in testAppCanSeeOnlyLibrariesItDependOn() 243 .getPackageManager().getInstalledPackages(0); in testAppCanSeeOnlyLibrariesItDependOn()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | TelecomAvailabilityTest.java | 208 for (PackageInfo info : pm.getInstalledPackages(0)) { in findMatchingPackages()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TrafficDescriptorTest.java | 166 for (PackageInfo packageInfo : mPackageManager.getInstalledPackages(0 /*flags*/)) { in testRealAppIdThrowException()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/ |
D | Packages.java | 219 .getInstalledPackages(/* flags= */ 0) in installedForUser() 228 .getInstalledPackages(/* flags= */ 0) in installedForUser()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 614 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 …]
|
D | PackageInstallerArchiveTest.java | 362 assertThat(mPackageManager.getInstalledPackages( in matchArchivedPackages()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | PackageDeviceInfo.java | 127 pm.getInstalledPackages(PackageManager.GET_PERMISSIONS); in collectDeviceInfo()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | PackageSignatureTest.java | 52 List<PackageInfo> allPackageInfos = packageManager.getInstalledPackages( in testPackageSignatures()
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | AppEnumerationTests.java | 251 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/ |
D | DownloadManagerTest.java | 507 for (PackageInfo pi : mContext.getPackageManager().getInstalledPackages(0)) { in testProviderAcceptsCleartext()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BaseDefaultPermissionGrantPolicyTest.java | 235 .getInstalledPackages(PackageManager.GET_UNINSTALLED_PACKAGES in getAllPackages()
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 1404 .getInstalledPackages(flags); in testGetInactiveApexFactoryPackagesAfterApexInstall_containsNoDuplicates()
|
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/ |
D | TestActivity.java | 635 getPackageManager().getInstalledPackages(PackageInfoFlags.of(flags)) in sendGetInstalledPackages()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationManagerTest.java | 2964 List<PackageInfo> allPackages = mPackageManager.getInstalledPackages( in testGrantRevokeNotificationManagerApis_exclusiveToPermissionController()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 12968 … @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…
|