Searched refs:resolveInfo (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ResolveInfoTest.java | 41 ResolveInfo resolveInfo = pm.resolveActivity(intent, 0); in testResolveInfo() local 44 assertEquals(expectedLabel, resolveInfo.loadLabel(pm).toString()); in testResolveInfo() 45 assertNotNull(resolveInfo.loadIcon(pm)); in testResolveInfo() 46 assertTrue(resolveInfo.getIconResource() != 0); in testResolveInfo() 47 assertNotNull(resolveInfo.toString()); in testResolveInfo() 48 assertEquals(0, resolveInfo.describeContents()); in testResolveInfo() 54 ResolveInfo resolveInfo = pm.resolveService(intent, PackageManager.GET_RESOLVED_FILTER); in testDump() local 57 resolveInfo.writeToParcel(p, 0); in testDump() 61 assertEquals(resolveInfo.getIconResource(), infoFromParcel.getIconResource()); in testDump() 62 assertEquals(resolveInfo.priority, infoFromParcel.priority); in testDump() [all …]
|
D | PackageManagerTest.java | 435 ResolveInfo resolveInfo = mPackageManager.resolveService(intent, in testResolveMethods() local 437 assertEquals(SERVICE_NAME, resolveInfo.serviceInfo.name); in testResolveMethods()
|
/cts/tests/tests/admin/src/android/admin/cts/ |
D | DeviceAdminInfoTest.java | 60 ResolveInfo resolveInfo = new ResolveInfo(); in testDeviceAdminInfo() local 61 resolveInfo.activityInfo = mPackageManager.getReceiverInfo(mComponent, in testDeviceAdminInfo() 64 DeviceAdminInfo info = new DeviceAdminInfo(mContext, resolveInfo); in testDeviceAdminInfo() 92 ResolveInfo resolveInfo = new ResolveInfo(); in testDeviceAdminInfo2() local 93 resolveInfo.activityInfo = mPackageManager.getReceiverInfo(mSecondComponent, in testDeviceAdminInfo2() 96 DeviceAdminInfo info = new DeviceAdminInfo(mContext, resolveInfo); in testDeviceAdminInfo2()
|
D | DevicePolicyManagerTest.java | 1029 for (ResolveInfo resolveInfo : resolveInfos) { in testLauncherVersionAtLeastL() 1031 resolveInfo.activityInfo.packageName, 0 /* default flags */); in testLauncherVersionAtLeastL()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | TelecomAvailabilityTest.java | 83 for (ResolveInfo resolveInfo : activities) { in testTelecomHandlesCallIntents() 84 if (resolveInfo.activityInfo == null) { in testTelecomHandlesCallIntents() 88 && TELECOM_PACKAGE_NAME.equals(resolveInfo.activityInfo.packageName)) { in testTelecomHandlesCallIntents() 91 && TELEPHONY_PACKAGE_NAME.equals(resolveInfo.activityInfo.packageName)) { in testTelecomHandlesCallIntents()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | NfcTest.java | 50 for (ResolveInfo resolveInfo : pm.queryIntentActivities(intent, 0)) { in isNfcBeamActivityResolved() 51 if (NFC_BEAM_ACTIVITY.equals(resolveInfo.activityInfo.name)) { in isNfcBeamActivityResolved()
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
D | InputMethodInfoTest.java | 98 ResolveInfo resolveInfo = ris.get(i); in testInputMethodInfoProperties() local 99 mInputMethodInfo = new InputMethodInfo(mContext, resolveInfo); in testInputMethodInfoProperties() 100 assertService(resolveInfo.serviceInfo, mInputMethodInfo.getServiceInfo()); in testInputMethodInfoProperties()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | IntentFiltersTestHelper.java | 271 for (ResolveInfo resolveInfo : resolveInfoList) { in canForwarderActivityHandleIntent() 272 if (forwarderActivityInfo.packageName.equals(resolveInfo.activityInfo.packageName) in canForwarderActivityHandleIntent() 273 && forwarderActivityInfo.name.equals(resolveInfo.activityInfo.name)) { in canForwarderActivityHandleIntent()
|