Searched refs:resolveActivity (Results 1 – 7 of 7) sorted by relevance
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/testing/ |
D | FakeContextBuilder.java | 54 when(packageManager.resolveActivity(any(Intent.class), anyInt())).thenReturn(null); in FakeContextBuilder() 95 when(packageManager.resolveActivity(any(Intent.class), anyInt())) in build()
|
/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/test/java/org/robolectric/shadows/ |
D | ShadowPackageManagerTest.java | 924 assertThat(packageManager.resolveActivity(i, 0)).isNotNull(); in resolveActivity_Match() 925 assertThat(packageManager.resolveActivity(i, 0).activityInfo.name).isEqualTo("name"); in resolveActivity_Match() 926 assertThat(packageManager.resolveActivity(i, 0).activityInfo.packageName) in resolveActivity_Match() 934 assertThat(packageManager.resolveActivity(i, 0)).isNull(); in resolveActivity_NoMatch() 1272 assertThat(packageManager.resolveActivity(intent, 0)).isNull(); in removeResolveInfosForIntent_shouldCauseResolveActivityToReturnNull() 1686 assertThat(packageManager.resolveActivity(intent1, -1)).isNull(); in testResolveDifferentIntentObjects() 1694 ResolveInfo result = packageManager.resolveActivity(intent1, -1); in testResolveDifferentIntentObjects() 1701 result = packageManager.resolveActivity(intent2, -1); in testResolveDifferentIntentObjects() 1711 assertThat(packageManager.resolveActivity(intent1, -1)).isNull(); in testResolvePartiallySimilarIntents() 1720 ResolveInfo result = packageManager.resolveActivity(intent1, -1); in testResolvePartiallySimilarIntents() [all …]
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | LocalActivityInvoker.java | 197 if (getTargetContext().getPackageManager().resolveActivity(intent, 0) != null) { in getIntentForActivity()
|
/external/libtextclassifier/java/src/com/android/textclassifier/common/intent/ |
D | LabeledIntent.java | 95 final ResolveInfo resolveInfo = pm.resolveActivity(intent, 0); in resolve()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowApplicationPackageManager.java | 287 protected ResolveInfo resolveActivity(Intent intent, int flags) { in resolveActivity() method in ShadowApplicationPackageManager 1366 return resolveActivity(intent, flags); in resolveActivityAsUser() 1830 ResolveInfo info = resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY); in isPackageActiveLauncher() 1839 resolveActivity( in isPackageRequiredInstaller() 1852 resolveActivity( in isPackageRequiredUninstaller()
|
D | ShadowInstrumentation.java | 135 && RuntimeEnvironment.application.getPackageManager().resolveActivity(intent, -1) == null) { in verifyActivityInManifest()
|