Home
last modified time | relevance | path

Searched refs:resolveActivity (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java921 assertThat(packageManager.resolveActivity(i, 0)).isNotNull(); in resolveActivity_Match()
922 assertThat(packageManager.resolveActivity(i, 0).activityInfo.name).isEqualTo("name"); in resolveActivity_Match()
923 assertThat(packageManager.resolveActivity(i, 0).activityInfo.packageName) in resolveActivity_Match()
931 assertThat(packageManager.resolveActivity(i, 0)).isNull(); in resolveActivity_NoMatch()
1232 assertThat(packageManager.resolveActivity(intent, 0)).isNull(); in removeResolveInfosForIntent_shouldCauseResolveActivityToReturnNull()
1646 assertThat(packageManager.resolveActivity(intent1, -1)).isNull(); in testResolveDifferentIntentObjects()
1654 ResolveInfo result = packageManager.resolveActivity(intent1, -1); in testResolveDifferentIntentObjects()
1661 result = packageManager.resolveActivity(intent2, -1); in testResolveDifferentIntentObjects()
1671 assertThat(packageManager.resolveActivity(intent1, -1)).isNull(); in testResolvePartiallySimilarIntents()
1680 ResolveInfo result = packageManager.resolveActivity(intent1, -1); in testResolvePartiallySimilarIntents()
[all …]
/external/deqp/android/package/src/com/drawelements/deqp/testercore/
DRemoteAPI.java86 boolean isActivity = m_context.getPackageManager().resolveActivity(testIntent, 0) != null; in start()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DLocalActivityInvoker.java192 if (getTargetContext().getPackageManager().resolveActivity(intent, 0) != null) { in getIntentForActivity()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowApplicationPackageManager.java266 protected ResolveInfo resolveActivity(Intent intent, int flags) { in resolveActivity() method in ShadowApplicationPackageManager
1797 ResolveInfo info = resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY); in isPackageActiveLauncher()
1806 resolveActivity( in isPackageRequiredInstaller()
1819 resolveActivity( in isPackageRequiredUninstaller()
DShadowInstrumentation.java135 && RuntimeEnvironment.application.getPackageManager().resolveActivity(intent, -1) == null) { in verifyActivityInManifest()