/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | BaseCarSettingsActivityTest.java | 78 pref.setFragment(TestFragment.class.getName()); in onPreferenceStartFragment_launchesFragment() 83 R.id.fragment_container)).isInstanceOf(TestFragment.class); in onPreferenceStartFragment_launchesFragment() 117 TestFragment fragment = new TestFragment(); in findDialogByTag_notDialogFragment() 130 TestFragment fragmentA = new TestFragment(); in onUxRestrictionsChanged_topFragmentInBackStackHasUpdatedUxRestrictions() 131 TestFragment fragmentB = new TestFragment(); in onUxRestrictionsChanged_topFragmentInBackStackHasUpdatedUxRestrictions() 156 TestFragment fragmentA = new TestFragment(); in onBackStackChanged_uxRestrictionsChanged_currentFragmentHasUpdatedUxRestrictions() 157 TestFragment fragmentB = new TestFragment(); in onBackStackChanged_uxRestrictionsChanged_currentFragmentHasUpdatedUxRestrictions() 187 return new TestFragment(); in getInitialFragment() 192 public static class TestFragment extends Fragment implements class in BaseCarSettingsActivityTest
|
D | CarSettingActivityTest.java | 137 TestFragment testFragment = new TestFragment(); in onResume_newIntent_launchesNewFragment() 152 assertThat(mActivity.getCurrentFragment()).isNotInstanceOf(TestFragment.class); in onResume_savedInstanceState_doesNotLaunchFragmentFromOldIntent() 154 mActivity.launchFragment(new TestFragment()); // Replace with test fragment. in onResume_savedInstanceState_doesNotLaunchFragmentFromOldIntent() 163 assertThat(mActivityController.get().getCurrentFragment()).isInstanceOf(TestFragment.class); in onResume_savedInstanceState_doesNotLaunchFragmentFromOldIntent() 171 TestFragment testFragment1 = new TestFragment(); in launchFragment_rootFragment_clearsBackStack() 175 TestFragment testFragment2 = new TestFragment(); in launchFragment_rootFragment_clearsBackStack() 192 TestFragment testFragment1 = new TestFragment(); in launchFragment_validIntent_clearsBackStack() 196 TestFragment testFragment2 = new TestFragment(); in launchFragment_validIntent_clearsBackStack() 208 public static class TestFragment extends Fragment { class in CarSettingActivityTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | DeviceListPreferenceFragmentTest.java | 61 private TestFragment mFragment; 68 mFragment = spy(new TestFragment()); in setUp() 175 public static class TestFragment extends DeviceListPreferenceFragment { class in DeviceListPreferenceFragmentTest 177 public TestFragment() { in TestFragment() method in DeviceListPreferenceFragmentTest.TestFragment
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/savedaccesspoints/ |
D | SavedAccessPointsWifiSettingsTest.java | 41 private TestFragment mSettings; 46 mSettings = spy(new TestFragment()); in setUp() 61 public static class TestFragment extends SavedAccessPointsWifiSettings { class in SavedAccessPointsWifiSettingsTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/support/actionbar/ |
D | HelpMenuControllerTest.java | 40 private TestFragment mHost; 45 mHost = spy(new TestFragment()); in setUp() 71 private static class TestFragment extends ObservablePreferenceFragment class in HelpMenuControllerTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | NetworkScorerPickerTest.java | 66 private TestFragment mFragment; 72 mFragment = new TestFragment(mContext, mPreferenceScreen, mNetworkScoreManager); in setUp() 170 public static class TestFragment extends NetworkScorerPicker { class in NetworkScorerPickerTest 177 public TestFragment(Context context, PreferenceScreen preferenceScreen, in TestFragment() method in NetworkScorerPickerTest.TestFragment
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | PowerUsageBaseTest.java | 52 private TestFragment mFragment; 58 mFragment = spy(new TestFragment()); in setUp() 70 public static class TestFragment extends PowerUsageBase { class in PowerUsageBaseTest
|
D | PowerUsageSummaryTest.java | 138 private TestFragment mFragment; 153 mFragment = spy(new TestFragment(mRealContext)); in setUp() 385 public static class TestFragment extends PowerUsageSummary { class in PowerUsageSummaryTest 388 public TestFragment(Context context) { in TestFragment() method in PowerUsageSummaryTest.TestFragment
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | ZenModeScheduleRuleSettingsTest.java | 58 private TestFragment mFragment; 69 mFragment = spy(new TestFragment()); in setUp() 98 public static class TestFragment extends ZenModeScheduleRuleSettings { class in ZenModeScheduleRuleSettingsTest
|
D | ZenModeEventRuleSettingsTest.java | 61 private TestFragment mFragment; 72 mFragment = spy(new TestFragment()); in setUp() 110 private static class TestFragment extends ZenModeEventRuleSettings { class in ZenModeEventRuleSettingsTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | SeekBarPreferenceTest.java | 86 final PreferenceFragmentCompat fragment = FragmentController.of(new TestFragment(), in isSelectable_default_returnFalse() 101 final PreferenceFragmentCompat fragment = FragmentController.of(new TestFragment(), in isSelectable_selectableInXml_returnTrue() 113 public static class TestFragment extends PreferenceFragmentCompat { class in SeekBarPreferenceTest
|
D | RadioButtonPickerFragmentTest.java | 60 private TestFragment mFragment; 66 mFragment = spy(new TestFragment()); in setUp() 128 public static class TestFragment extends RadioButtonPickerFragment { class in RadioButtonPickerFragmentTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppInfoWithHeaderTest.java | 68 private TestFragment mAppInfoWithHeader; 76 mAppInfoWithHeader = new TestFragment(); in setUp() 173 public static class TestFragment extends AppInfoWithHeader { class in AppInfoWithHeaderTest 181 public TestFragment() { in TestFragment() method in AppInfoWithHeaderTest.TestFragment
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/defaultapps/ |
D | DefaultAppPickerFragmentTest.java | 60 private TestFragment mFragment; 66 mFragment = spy(new TestFragment()); in setUp() 99 public static class TestFragment extends DefaultAppPickerFragment { class in DefaultAppPickerFragmentTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockTypeDialogFragmentTest.java | 51 private TestFragment mFragment; 56 mFragment = new TestFragment(); in setUp() 101 public static class TestFragment extends Fragment implements OnLockTypeSelectedListener { class in ChooseLockTypeDialogFragmentTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/language/ |
D | LanguageAndInputSettingsTest.java | 81 private TestFragment mFragment; 96 mFragment = new TestFragment(mActivity); in setUp() 195 public static class TestFragment extends LanguageAndInputSettings { class in LanguageAndInputSettingsTest 200 public TestFragment(Context context) { in TestFragment() method in LanguageAndInputSettingsTest.TestFragment
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/ |
D | LockTypeBasePreferenceControllerTest.java | 57 private static class TestFragment extends Fragment { class in LockTypeBasePreferenceControllerTest 69 return new TestFragment(); in fragmentToOpen() 117 any(TestFragment.class)); in testHandlePreferenceClicked_goesToNextFragment()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | LockscreenDashboardFragmentTest.java | 59 private TestFragment mTestFragment; 69 mTestFragment = spy(new TestFragment()); in setUp() 135 public static class TestFragment extends LockscreenDashboardFragment { class in LockscreenDashboardFragmentTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFragmentTest.java | 74 private TestFragment mTestFragment; 89 mTestFragment = new TestFragment(RuntimeEnvironment.application); in setUp() 280 public static class TestFragment extends DashboardFragment { class in DashboardFragmentTest 288 public TestFragment(Context context) { in TestFragment() method in DashboardFragmentTest.TestFragment
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | SettingsPreferenceFragmentTest.java | 63 private TestFragment mFragment; 71 mFragment = spy(new TestFragment()); in setUp() 190 public static class TestFragment extends SettingsPreferenceFragment { class in SettingsPreferenceFragmentTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettingsForSubTest.java | 82 private TestFragment mFragment; 109 mFragment = spy(new TestFragment()); in setUp() 343 protected class TestFragment extends WifiCallingSettingsForSub { class in WifiCallingSettingsForSubTest
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | ButtonActionDialogFragmentTest.java | 54 private TestFragment mTargetFragment; 139 public static class TestFragment extends Fragment implements class in ButtonActionDialogFragmentTest
|
D | AppButtonsPreferenceControllerTest.java | 99 private TestFragment mFragment; 476 public static class TestFragment extends InstrumentedPreferenceFragment class in AppButtonsPreferenceControllerTest
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ |
D | TestFragment.java | 29 public class TestFragment extends Fragment { class
|