Home
last modified time | relevance | path

Searched refs:mTestIntent (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkActivityTest.java66 private Intent mTestIntent; field in MobileNetworkActivityTest
92 mTestIntent = new Intent(mContext, MockMobileNetworkActivity.class); in setUp()
143 mMobileNetworkActivity = createTargetActivity(mTestIntent); in updateBottomNavigationView_oneSubscription_shouldNotCrash()
153 mMobileNetworkActivity = createTargetActivity(mTestIntent); in updateBottomNavigationView_twoSubscription_shouldNotCrash()
163 mTestIntent.putExtra(Settings.EXTRA_SUB_ID, PREV_SUB_ID); in switchFragment_switchBetweenTwoSubscriptions()
164 mMobileNetworkActivity = createTargetActivity(mTestIntent); in switchFragment_switchBetweenTwoSubscriptions()
180 mTestIntent.putExtra(Settings.EXTRA_SUB_ID, PREV_SUB_ID); in switchFragment_subscriptionsUpdate_notifyByIntent()
181 mMobileNetworkActivity = createTargetActivity(mTestIntent); in switchFragment_subscriptionsUpdate_notifyByIntent()
209 mTestIntent.putExtra(Settings.EXTRA_SUB_ID, PREV_SUB_ID); in onSaveInstanceState_saveCurrentSubId()
210 mMobileNetworkActivity = createTargetActivity(mTestIntent); in onSaveInstanceState_saveCurrentSubId()
/packages/apps/Settings/tests/robotests/src/com/android/settings/utils/
DAnnotationSpanTest.java36 private Intent mTestIntent; field in AnnotationSpanTest
44 mTestIntent = new Intent("test_action"); in setUp()
49 mPackageManager.addResolveInfoForIntent(mTestIntent, new ResolveInfo()); in newLinkInfo_validIntent_isActionable()
50 assertThat(new AnnotationSpan.LinkInfo(mContext, "annotation", mTestIntent).isActionable()) in newLinkInfo_validIntent_isActionable()
56 assertThat(new AnnotationSpan.LinkInfo(mContext, "annotation", mTestIntent).isActionable()) in newLinkInfo_invalidIntent_isNotActionable()