Searched refs:activity2 (Results 1 – 4 of 4) sorted by relevance
231 ScopedTaskRunActivity activity2(task2); in TEST_F() local232 ActivityUserData& user_data2 = activity2.user_data(); in TEST_F()
50 DialogLifeCycleActivity activity2 = new DialogLifeCycleActivity(); in shouldNotComplainIfActivityIsDestroyedWhileAnotherActivityHasRegisteredBroadcastReceivers() local51 activity2.registerReceiver(new AppWidgetProvider(), new IntentFilter()); in shouldNotComplainIfActivityIsDestroyedWhileAnotherActivityHasRegisteredBroadcastReceivers()
380 Activity activity2 = buildActivity(Activity.class).create().get(); in assertSameInstanceEveryTime() local382 …assertThat(activity1.getSystemService(serviceName)).isSameAs(activity2.getSystemService(serviceNam… in assertSameInstanceEveryTime()
99 DialogLifeCycleActivity activity2 = Robolectric.setupActivity(DialogLifeCycleActivity.class); in shouldNotComplainIfActivityIsDestroyedWhileAnotherActivityHasRegisteredBroadcastReceivers() local100 activity2.registerReceiver(new AppWidgetProvider(), new IntentFilter()); in shouldNotComplainIfActivityIsDestroyedWhileAnotherActivityHasRegisteredBroadcastReceivers()