/cts/tests/admin/src/android/admin/cts/ |
D | DeviceAdminInfoTest.java | 82 resolveInfo.activityInfo = mPackageManager.getReceiverInfo(mComponent, in testDeviceAdminInfo() 115 resolveInfo.activityInfo = mPackageManager.getReceiverInfo(mSecondComponent, in testDeviceAdminInfo2() 148 resolveInfo.activityInfo = mPackageManager.getReceiverInfo(mThirdComponent, in testDeviceAdminInfo3() 169 ActivityInfo activityInfo = buildActivityInfo(); in testGetActivityInfo_returnsActivityInfo() local 170 DeviceAdminInfo deviceAdminInfo = buildDeviceAdminInfo(activityInfo); in testGetActivityInfo_returnsActivityInfo() 172 assertThat(deviceAdminInfo.getActivityInfo()).isEqualTo(activityInfo); in testGetActivityInfo_returnsActivityInfo() 180 ActivityInfo activityInfo = buildActivityInfo(getVisibleComponent()); in testIsVisible_visibleComponent_returnsTrue() local 181 DeviceAdminInfo deviceAdminInfo = buildDeviceAdminInfo(activityInfo); in testIsVisible_visibleComponent_returnsTrue() 191 ActivityInfo activityInfo = buildActivityInfo(getInvisibleComponent()); in testIsVisible_invisibleComponent_returnsFalse() local 192 DeviceAdminInfo deviceAdminInfo = buildDeviceAdminInfo(activityInfo); in testIsVisible_invisibleComponent_returnsFalse() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | ManifestTestListAdapter.java | 176 String parent = getTestParent(info.activityInfo.metaData); in getResolveInfosForParent() 191 if (info.activityInfo == null || mDisabledTests.contains(info.activityInfo.name)) { in getTestsByCategory() 192 Log.w(LOG_TAG, "ignoring disabled test: " + info.activityInfo.name); in getTestsByCategory() 195 String title = getTitle(mContext, info.activityInfo); in getTestsByCategory() 196 String testName = info.activityInfo.name; in getTestsByCategory() 197 Intent intent = getActivityIntent(info.activityInfo); in getTestsByCategory() 198 String[] requiredFeatures = getRequiredFeatures(info.activityInfo.metaData); in getTestsByCategory() 199 String[] requiredConfigs = getRequiredConfigs(info.activityInfo.metaData); in getTestsByCategory() 200 String[] excludedFeatures = getExcludedFeatures(info.activityInfo.metaData); in getTestsByCategory() 201 String[] applicableFeatures = getApplicableFeatures(info.activityInfo.metaData); in getTestsByCategory() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/OrderedActivityApp/src/android/appsecurity/cts/orderedactivity/ |
D | PackageResolutionTest.java | 48 resolve.get(0).activityInfo.name); in queryActivityOrdered() 50 resolve.get(1).activityInfo.name); in queryActivityOrdered() 52 resolve.get(2).activityInfo.name); in queryActivityOrdered() 54 resolve.get(3).activityInfo.name); in queryActivityOrdered() 88 resolve.get(0).activityInfo.name); in queryReceiverOrdered() 90 resolve.get(1).activityInfo.name); in queryReceiverOrdered() 92 resolve.get(2).activityInfo.name); in queryReceiverOrdered() 94 resolve.get(3).activityInfo.name); in queryReceiverOrdered()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageItemInfoTest.java | 48 ActivityInfo activityInfo = (ActivityInfo) getTestItemInfo(); in testLoadMethods() local 50 PackageItemInfo pkgItemInfo = new PackageItemInfo(activityInfo); in testLoadMethods() 51 checkInfoSame(activityInfo, pkgItemInfo); in testLoadMethods() 74 ActivityInfo activityInfo = (ActivityInfo) getTestItemInfo(); in testWriteToParcel() local 75 PackageItemInfo expectedInfo = new PackageItemInfo(activityInfo); in testWriteToParcel() 98 ActivityInfo activityInfo = in getTestItemInfo() local 100 return activityInfo; in getTestItemInfo()
|
D | PackageItemInfo_DisplayNameComparatorTest.java | 40 ActivityInfo activityInfo = pm.getActivityInfo(componentName, 0); in testDisplayNameComparator() local 41 PackageItemInfo pkgItemInfo = new PackageItemInfo(activityInfo); in testDisplayNameComparator() 44 activityInfo = pm.getActivityInfo(componentName, 0); in testDisplayNameComparator() 45 PackageItemInfo cmpInfo = new PackageItemInfo(activityInfo); in testDisplayNameComparator()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | TelecomAvailabilityTest.java | 85 if (resolveInfo.activityInfo == null) { in testTelecomHandlesCallIntents() 89 && TELECOM_PACKAGE_NAME.equals(resolveInfo.activityInfo.packageName)) { in testTelecomHandlesCallIntents() 92 && TELEPHONY_PACKAGE_NAME.equals(resolveInfo.activityInfo.packageName)) { in testTelecomHandlesCallIntents() 115 assertNotNull(resolveInfo.activityInfo); in testTelecomCanManageBlockedNumbers() 116 assertEquals(TELECOM_PACKAGE_NAME, resolveInfo.activityInfo.packageName); in testTelecomCanManageBlockedNumbers()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | IntentSenderActivity.java | 92 if (!ri.activityInfo.packageName.equals("com.android.cts.intent.receiver")) { in getCrossProfileResult() 93 intent.setComponent(new ComponentName(ri.activityInfo.packageName, in getCrossProfileResult() 94 ri.activityInfo.name)); in getCrossProfileResult()
|
D | SuspendPackageTest.java | 129 if (resolveInfo != null && resolveInfo.activityInfo != null) { in getSettingsPackageName() 130 settingsPackageName = resolveInfo.activityInfo.packageName; in getSettingsPackageName()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
D | ClientTest.java | 100 assertThat(resolveInfo.get(0).activityInfo.packageName, in testQuery() 102 assertThat(resolveInfo.get(0).activityInfo.name, in testQuery() 106 assertThat(resolveInfo.get(1).activityInfo.packageName, in testQuery() 108 assertThat(resolveInfo.get(1).activityInfo.name, in testQuery() 125 assertThat(resolveInfo.get(0).activityInfo.packageName, in testQuery() 127 assertThat(resolveInfo.get(0).activityInfo.name, in testQuery() 131 assertThat(resolveInfo.get(1).activityInfo.packageName, in testQuery() 133 assertThat(resolveInfo.get(1).activityInfo.name, in testQuery()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | DisallowSharingIntoProfileTest.java | 212 if (entry.activityInfo.packageName.equals(info.activityInfo.packageName) in containsResolveInfo() 213 && entry.activityInfo.name.equals(info.activityInfo.name)) { in containsResolveInfo()
|
D | CrossProfileUtils.java | 114 Log.d(TAG, "Hiding " + ri.activityInfo.packageName); in testDisableAllBrowsers() 115 dpm.setApplicationHidden(ADMIN_RECEIVER_COMPONENT, ri.activityInfo.packageName, true); in testDisableAllBrowsers()
|
D | BluetoothSharingRestrictionTest.java | 134 info.activityInfo != null ? info.activityInfo : in assertHandlerAvailable()
|
D | NfcTest.java | 64 if (NFC_BEAM_ACTIVITY.equals(resolveInfo.activityInfo.name)) { in isNfcBeamActivityResolved()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/UserAppTest/src/com/android/cts/userapptest/ |
D | ClientTest.java | 59 assertThat(resolveInfo.get(0).activityInfo.packageName, in testQueryFull() 61 assertThat(resolveInfo.get(0).activityInfo.name, in testQueryFull()
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | ClientTest.java | 140 assertThat(resolveInfo.get(0).activityInfo.packageName, in testQuery() 142 assertThat(resolveInfo.get(0).activityInfo.name, in testQuery() 146 assertThat(resolveInfo.get(1).activityInfo.packageName, in testQuery() 148 assertThat(resolveInfo.get(1).activityInfo.name, in testQuery() 163 assertThat(resolveInfo.get(0).activityInfo.packageName, in testQuery() 165 assertThat(resolveInfo.get(0).activityInfo.name, in testQuery() 169 assertThat(resolveInfo.get(1).activityInfo.packageName, in testQuery() 171 assertThat(resolveInfo.get(1).activityInfo.name, in testQuery() 186 assertThat(resolveInfo.get(0).activityInfo.packageName, in testQuery() 188 assertThat(resolveInfo.get(0).activityInfo.name, in testQuery() [all …]
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerRequestPinTest.java | 322 final ActivityInfo activityInfo = ri.activityInfo; in testRequestPinShortcut_noMainActivity() local 324 new ComponentName(activityInfo.packageName, activityInfo.name); in testRequestPinShortcut_noMainActivity()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | ManualPackageInstallTest.java | 130 if (resolveInfo != null && resolveInfo.activityInfo != null) { in getSettingsPackageName() 131 settingsPackageName = resolveInfo.activityInfo.packageName; in getSettingsPackageName()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | ActivityLaunchUtils.java | 165 if ((resolveInfo.activityInfo != null) in isHomeScreenShowing() 166 && packageName.equals(resolveInfo.activityInfo.packageName)) { in isHomeScreenShowing() 175 .map(r -> r.activityInfo).filter(Objects::nonNull) in isHomeScreenShowing()
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | DeviceInfo.java | 126 for (ActivityInfo activityInfo : activities) { in setUp() 127 mActivityList.add(activityInfo.name); in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | SearchUtil.java | 98 tvPackages.add(info.activityInfo.packageName); in getSearchableInfos() 103 tvPackages.add(info.activityInfo.packageName); in getSearchableInfos()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | WifiSliceTest.java | 111 final int testUid = pm.getPackageUid(info.activityInfo.packageName, 0); in wifiSlice_grantedPermissionToDefaultAssistant() 132 final int testUid = pm.getPackageUid(info.activityInfo.packageName, 0); in wifiSlice_grantedPermissionToDefaultVoiceAssistant()
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
D | SessionCommitBroadcastTest.java | 70 new ComponentName(info.activityInfo.packageName, info.activityInfo.name); in testBroadcastNotReceivedForDifferentLauncher()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiManagerTest.java | 768 allowedPackages.add(ri.activityInfo.packageName); 816 allowedPackages.add(ri.activityInfo.packageName); in testNetworkSetupWizardPermission() 817 validPkg = ri.activityInfo.packageName; in testNetworkSetupWizardPermission() 826 prePackageName = preRi.activityInfo.packageName; in testNetworkSetupWizardPermission() 835 postPackageName = postRi.activityInfo.packageName; in testNetworkSetupWizardPermission() 873 validPkg = ri.activityInfo.packageName; in testNetworkManagedProvisioningPermission()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 117 assertEquals("com.android.cts.splitapp.MyActivity", result.get(0).activityInfo.name); in testSingleBase() 196 assertEquals("com.android.cts.splitapp.MyReceiver", result.get(0).activityInfo.name); in testApi() 263 assertEquals("com.android.cts.splitapp.MyActivity", result.get(0).activityInfo.name); in testFeatureBase() 264 assertEquals("com.android.cts.splitapp.FeatureActivity", result.get(1).activityInfo.name); in testFeatureBase() 271 assertEquals("com.android.cts.splitapp.FeatureReceiver", result.get(0).activityInfo.name); in testFeatureBase()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | IntentFiltersTestHelper.java | 368 if (forwarderActivityInfo.packageName.equals(resolveInfo.activityInfo.packageName) in canForwarderActivityHandleIntent() 369 && forwarderActivityInfo.name.equals(resolveInfo.activityInfo.name)) { in canForwarderActivityHandleIntent() 389 return resolveInfoList.get(0).activityInfo; in getForwarderActivityInfo()
|