Home
last modified time | relevance | path

Searched refs:testActivity (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/search/
DWidgetsSearchBarControllerTest.java63 TestActivity testActivity = mActivityController.setup().get(); in setUp() local
65 mEditText = new ExtendedEditText(testActivity); in setUp()
66 mCancelButton = new ImageButton(testActivity); in setUp()
/packages/apps/TV/tests/robotests/src/com/android/tv/ui/
DChannelBannerViewTest.java52 private TestActivity testActivity; field in ChannelBannerViewTest
58 testActivity = Robolectric.buildActivity(TestActivity.class).create().get(); in setUp()
61 LayoutInflater.from(testActivity).inflate(R.layout.channel_banner, null); in setUp()
/packages/apps/TV/tests/robotests/src/com/android/tv/audio/
DAudioManagerHelperTest.java47 Activity testActivity = Robolectric.buildActivity(Activity.class).get(); in setup() local
51 mAudioManagerHelper = new AudioManagerHelper(testActivity, mTvView); in setup()
/packages/services/Car/tests/carservice_test/src/com/android/car/cluster/
DClusterHomeManagerTest.java257 ComponentName testActivity = ComponentName.createRelative("testPkg", "testActivity"); in testStartFixedActivityModeAsUser() local
258 Intent intent = Intent.makeMainActivity(testActivity); in testStartFixedActivityModeAsUser()
265 assertThat(mIntentCaptor.getValue().getComponent()).isEqualTo(testActivity); in testStartFixedActivityModeAsUser()