Home
last modified time | relevance | path

Searched refs:packageNames (Results 1 – 10 of 10) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityServiceInfoTest.java126 sentInfo.packageNames = new String[] { in fullyPopulateSentAccessibilityServiceInfo()
147 assertEquals("packageNames not marshalled properly", sentInfo.packageNames.length, in assertAllFieldsProperlyMarshalled()
148 receivedInfo.packageNames.length); in assertAllFieldsProperlyMarshalled()
149 assertEquals("packageNames not marshalled properly", sentInfo.packageNames[0], in assertAllFieldsProperlyMarshalled()
150 receivedInfo.packageNames[0]); in assertAllFieldsProperlyMarshalled()
/cts/tests/security/src/android/keystore/cts/
DAttestationApplicationId.java43 String[] packageNames = pm.getPackagesForUid(uid); in AttestationApplicationId() local
44 if (packageNames == null || packageNames.length == 0) { in AttestationApplicationId()
48 for (String packageName : packageNames) { in AttestationApplicationId()
59 PackageInfo packageInfo = pm.getPackageInfo(packageNames[0], PackageManager.GET_SIGNATURES); in AttestationApplicationId()
/cts/tools/signature-tools/src/signature/converter/doclet/
DDocletFactory.java41 Set<String> fileNames, Set<String> packageNames) throws in loadApi() argument
43 for (String packageName : packageNames) { in loadApi()
54 RootDoc root = getRootDoc(visibility, sourcepath, packageNames); in loadApi()
57 packageNames); in loadApi()
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/
DCtsGroupCallService.java76 String[] packageNames = getPackageManager().getPackagesForUid(packageUid); in initialize() local
77 if (packageNames == null) { in initialize()
80 boolean isUidAllowed = Arrays.stream(packageNames).anyMatch(ALLOWED_PACKAGES::contains); in initialize()
DCtsStreamingService.java116 String[] packageNames = getPackageManager().getPackagesForUid(packageUid);
117 if (packageNames == null) {
120 boolean isUidAllowed = Arrays.stream(packageNames).anyMatch(ALLOWED_PACKAGES::contains);
DCtsDownloadService.java160 String[] packageNames = getPackageManager().getPackagesForUid(packageUid);
161 if (packageNames == null) {
164 boolean isUidAllowed = Arrays.stream(packageNames).anyMatch(ALLOWED_PACKAGES::contains);
/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/
DLauncherCallbackTestsService.java223 public void onPackagesAvailable(String[] packageNames, UserHandle user, in onPackagesAvailable() argument
227 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable() argument
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityServiceInfoTest.java74 assertNull(speakingService.packageNames /*all packages*/); in testAccessibilityServiceInfoForEnabledService()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerLauncherCallbackTest.java70 public void onPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing) { in onPackagesAvailable() argument
74 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable() argument
/cts/tests/tests/role/src/android/app/role/cts/
DRoleManagerTest.java585 List<String> packageNames = getRoleHolders(roleName); in assertIsRoleHolder() local
588 assertThat(packageNames).contains(packageName); in assertIsRoleHolder()
590 assertThat(packageNames).doesNotContain(packageName); in assertIsRoleHolder()