Searched refs:resolveActivity (Results 1 – 5 of 5) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowPackageManagerTest.java | 921 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/ |
D | RemoteAPI.java | 86 boolean isActivity = m_context.getPackageManager().resolveActivity(testIntent, 0) != null; in start()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | LocalActivityInvoker.java | 192 if (getTargetContext().getPackageManager().resolveActivity(intent, 0) != null) { in getIntentForActivity()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowApplicationPackageManager.java | 266 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()
|
D | ShadowInstrumentation.java | 135 && RuntimeEnvironment.application.getPackageManager().resolveActivity(intent, -1) == null) { in verifyActivityInManifest()
|