/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | SettingsFragmentTest.java | 55 private FragmentController<TestSettingsFragment> mFragmentController; field in SettingsFragmentTest 61 mFragmentController = FragmentController.of(new TestSettingsFragment()); in setUp() 62 mFragment = mFragmentController.get(); in setUp() 67 mFragmentController.setup(); in use_returnsController() 74 mFragmentController.create(); in onAttach_registersLifecycleObservers() 78 mFragmentController.destroy(); in onAttach_registersLifecycleObservers() 84 mFragmentController.setup(); in onUxRestrictionsChanged_propagatesToControllers() 95 mFragmentController.setup(); in onDisplayPreferenceDialog_unknownPreferenceType_throwsIllegalArgumentException() 103 mFragmentController.setup(); in launchFragment_otherFragment_opensFragment() 113 mFragmentController.setup(); in launchFragment_dialogFragment_throwsError() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothSettingsFragmentTest.java | 66 private FragmentController<BluetoothSettingsFragment> mFragmentController; field in BluetoothSettingsFragmentTest 78 mFragmentController = FragmentController.of(mFragment); in setUp() 89 mFragmentController.create().start(); in onStart_setsBluetoothManagerForegroundActivity() 99 mFragmentController.create().start(); in onStart_initializesSwitchState() 106 mFragmentController.create().start().resume().pause().stop(); in onStop_clearsBluetoothManagerForegroundActivity() 113 mFragmentController.setup(); in switchCheckedOn_enablesAdapter() 125 mFragmentController.setup(); in switchCheckedOff_disablesAdapter() 135 mFragmentController.setup(); in stateChanged_turningOn_setsSwitchChecked() 144 mFragmentController.setup(); in stateChanged_turningOn_setsSwitchDisabled() 153 mFragmentController.setup(); in stateChanged_on_setsSwitchChecked() [all …]
|
D | BluetoothDeviceDetailsFragmentTest.java | 65 private FragmentController<BluetoothDeviceDetailsFragment> mFragmentController; field in BluetoothDeviceDetailsFragmentTest 85 mFragmentController = FragmentController.of(mFragment); in setUp() 97 mFragmentController.setup(); in forgetButtonClicked_unpairsDevice() 106 mFragmentController.setup(); in forgetButtonClicked_goesBack() 117 mFragmentController.setup(); in connectionButtonClicked_deviceConnected_disconnectsDevice() 127 mFragmentController.setup(); in connectionButtonClicked_deviceNotConnected_connectsDevice() 137 mFragmentController.setup(); in deviceConnected_connectionButtonShowsDisconnect() 146 mFragmentController.setup(); in deviceNotConnected_connectionButtonShowsConnect() 155 mFragmentController.setup(); in deviceBusy_connectionButtonDisabled() 163 mFragmentController.setup(); in deviceNotBusy_connectionButtonEnabled() [all …]
|
D | BluetoothPairingSelectionFragmentTest.java | 61 private FragmentController<BluetoothPairingSelectionFragment> mFragmentController; field in BluetoothPairingSelectionFragmentTest 74 mFragmentController = FragmentController.of(mFragment); in setUp() 85 mFragmentController.create().start(); in onStart_setsBluetoothManagerForegroundActivity() 93 mFragmentController.create().start(); in onStart_registersEventListener() 100 mFragmentController.setup(); in onStart_showsProgressBar() 108 mFragmentController.create().start().resume().pause().stop(); in onStop_clearsBluetoothManagerForegroundActivity() 117 mFragmentController.create().start().resume().pause().stop(); in onStop_unregistersEventListener() 125 mFragmentController.setup().onPause(); in onStop_hidesProgressBar() 129 mFragmentController.stop(); in onStop_hidesProgressBar() 138 mFragmentController.setup(); in onDeviceBondStateChanged_deviceBonded_goesBack()
|
D | BluetoothDevicePickerFragmentTest.java | 46 private FragmentController<BluetoothDevicePickerFragment> mFragmentController; field in BluetoothDevicePickerFragmentTest 57 mFragmentController = FragmentController.of(mFragment); in setUp() 67 mFragmentController.create().start(); in onStart_setsBluetoothManagerForegroundActivity() 75 mFragmentController.setup(); in onStart_showsProgressBar() 83 mFragmentController.create().start().resume().pause().stop(); in onStop_clearsBluetoothManagerForegroundActivity() 90 mFragmentController.setup().onPause(); in onStop_hidesProgressBar() 94 mFragmentController.stop(); in onStop_hidesProgressBar()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/ |
D | AddWifiFragmentTest.java | 52 private FragmentController<AddWifiFragment> mFragmentController; field in AddWifiFragmentTest 59 mFragmentController = FragmentController.of(mFragment); in setUp() 70 mFragmentController.create().start(); in onStart_registersNameChangeListener() 78 mFragmentController.create().start(); in onStart_registersSecurityChangeListener() 86 mFragmentController.create().start(); in onStop_unregistersNameChangeListener() 87 mFragmentController.stop(); in onStop_unregistersNameChangeListener() 95 mFragmentController.create().start(); in onStop_unregistersSecurityChangeListener() 96 mFragmentController.stop(); in onStop_unregistersSecurityChangeListener() 104 mFragmentController.setup(); in initialState_buttonDisabled() 110 mFragmentController.setup(); in receiveNameChangeIntent_emptyName_buttonDisabled() [all …]
|
D | WifiTetherFragmentTest.java | 54 private FragmentController<WifiTetherFragment> mFragmentController; field in WifiTetherFragmentTest 65 mFragmentController = FragmentController.of(mFragment); in setUp() 79 mFragmentController.setup(); in onStart_tetherStateOn_shouldReturnSwitchStateOn() 89 mFragmentController.setup(); in onStart_tetherStateOff_shouldReturnSwitchStateOff() 99 mFragmentController.setup(); in onSwitchOn_shouldAttemptTetherOn() 112 mFragmentController.setup(); in onSwitchOff_shouldAttemptTetherOff() 124 mFragmentController.setup(); in onTetherEnabling_shouldReturnSwitchStateDisabled() 135 mFragmentController.setup(); in onTetherEnabled_shouldReturnSwitchStateEnabledAndOn() 147 mFragmentController.setup(); in onTetherDisabled_shouldReturnSwitchStateEnabledAndOff() 159 mFragmentController.setup(); in onEnableTetherFailed_shouldReturnSwitchStateEnabledAndOff()
|
D | AccessPointListPreferenceControllerTest.java | 75 private FragmentController mFragmentController; field in AccessPointListPreferenceControllerTest 89 mFragmentController = controllerHelper.getMockFragmentController(); in setUp() 179 verify(mFragmentController).launchFragment(any(WifiDetailsFragment.class)); in performClick_activeAccessPoint_showDetailsFragment()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | MobileNetworkFragmentTest.java | 49 private FragmentController<MobileNetworkFragment> mFragmentController; field in MobileNetworkFragmentTest 70 mFragmentController.setup(); in onMobileNetworkUpdated_startWithArgument_updateTitle() 79 mFragmentController = FragmentController.of(mFragment); in onMobileNetworkUpdated_noArgumentProvided_updateTitle() 85 mFragmentController.setup(); in onMobileNetworkUpdated_noArgumentProvided_updateTitle() 97 mFragmentController = FragmentController.of(mFragment); in setUpFragmentWithSubId()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/ |
D | AppDataUsageFragmentTest.java | 56 private FragmentController<AppDataUsageFragment> mFragmentController; field in AppDataUsageFragmentTest 71 mFragmentController = FragmentController.of(mFragment); in setUp() 86 mFragmentController.create(); in onActivityCreated_policyIsNull_startAndEndDateShouldHaveFourWeeksDifference() 103 mFragmentController.create(); in onActivityCreated_iteratorIsEmpty_startAndEndDateShouldHaveFourWeeksDifference() 131 mFragmentController.create(); in onActivityCreated_iteratorIsNotEmpty_startAndEndDateShouldBeLastOneInIterator()
|
D | DataLimitPreferenceControllerTest.java | 62 private FragmentController mFragmentController; field in DataLimitPreferenceControllerTest 78 mFragmentController = controllerHelper.getMockFragmentController(); in setUp() 150 verify(mFragmentController).showDialog(any(ConfirmationDialogFragment.class), in onPreferenceChanged_toggleTrue_showsDialog() 183 verify(mFragmentController).showDialog(any(UsageBytesThresholdPickerDialog.class), in onPreferenceClicked_showsPickerDialog()
|
D | DataWarningPreferenceControllerTest.java | 60 private FragmentController mFragmentController; field in DataWarningPreferenceControllerTest 76 mFragmentController = controllerHelper.getMockFragmentController(); in setUp() 160 verify(mFragmentController).showDialog(any(UsageBytesThresholdPickerDialog.class), in onPreferenceClicked_showsPickerDialog()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datetime/ |
D | TimePickerFragmentTest.java | 39 private FragmentController<TimePickerFragment> mFragmentController; field in TimePickerFragmentTest 46 mFragmentController = FragmentController.of(mFragment); in setUp() 52 mFragmentController.create().start(); in onActivityCreated_isNot24HourFormat_timePickerShouldShow12HourTimeFormat() 61 mFragmentController.create().start(); in onActivityCreated_is24HourFormat_timePickerShouldShow24HourTimeFormat()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/language/ |
D | LanguageBasePreferenceControllerTest.java | 85 private FragmentController mFragmentController; field in LanguageBasePreferenceControllerTest 99 mFragmentController = preferenceControllerHelper.getMockFragmentController(); in setUp() 154 verify(mFragmentController, never()).goBack(); in testOnPreferenceClick_hasMultipleChildLocales_neverCallsGoBack() 180 verify(mFragmentController).goBack(); in testOnPreferenceClick_hasSingleChildLocale_callsGoBack() 206 verify(mFragmentController).goBack(); in testOnPreferenceClick_noChildLocale_callsGoBack()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/ |
D | AppStorageSettingsDetailsFragmentTest.java | 79 private FragmentController<AppStorageSettingsDetailsFragment> mFragmentController; field in AppStorageSettingsDetailsFragmentTest 101 mFragmentController = FragmentController.of(mFragment); in setUp() 118 mFragmentController.setup(); in setUp() 159 mFragmentController.resume(); in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache() 182 mFragmentController.resume(); in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache() 221 mFragmentController.resume(); in handleClearDataClick_allowedBySystem_shouldShowDialogToClear()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/ |
D | ChooseNewAdminFragmentTest.java | 53 private FragmentController<ChooseNewAdminFragment> mFragmentController; field in ChooseNewAdminFragmentTest 62 mFragmentController = FragmentController.of(mFragment); in setUpTestActivity() 63 mFragmentController.setup(); in setUpTestActivity()
|
D | UserDetailsFragmentTest.java | 63 private FragmentController<UserDetailsFragment> mFragmentController; field in UserDetailsFragmentTest 110 mFragmentController = FragmentController.of(mUserDetailsFragment); in createUserDetailsFragment() 111 mFragmentController.setup(); in createUserDetailsFragment()
|
D | UsersListFragmentTest.java | 64 private FragmentController<UsersListFragment> mFragmentController; field in UsersListFragmentTest 78 mFragmentController = FragmentController.of(mFragment); in setUp() 166 mFragmentController.setup(); in createUsersListFragment()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/location/ |
D | LocationSettingsFragmentTest.java | 46 private FragmentController<LocationSettingsFragment> mFragmentController; field in LocationSettingsFragmentTest 58 mFragmentController = FragmentController.of(mFragment); in setUp() 59 mFragmentController.setup(); in setUp()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/ |
D | AccountSettingsFragmentTest.java | 49 private FragmentController<AccountSettingsFragment> mFragmentController; field in AccountSettingsFragmentTest 104 mFragmentController = FragmentController.of(mFragment); in initFragment() 105 mFragmentController.setup(); in initFragment()
|
D | AccountDetailsFragmentTest.java | 64 private FragmentController<AccountDetailsFragment> mFragmentController; field in AccountDetailsFragmentTest 155 mFragmentController = FragmentController.of(mFragment); in initFragment() 156 mFragmentController.setup(); in initFragment()
|
D | AccountListPreferenceControllerTest.java | 66 private FragmentController mFragmentController; field in AccountListPreferenceControllerTest 91 mFragmentController = mHelper.getMockFragmentController(); in setUp() 218 verify(mFragmentController).launchFragment(any(AccountDetailsFragment.class)); in onAccountPreferenceClicked_shouldLaunchAccountDetailsFragment()
|
D | AccountSyncDetailsFragmentTest.java | 69 private FragmentController<AccountSyncDetailsFragment> mFragmentController; field in AccountSyncDetailsFragmentTest 197 mFragmentController = FragmentController.of(mFragment); in initFragment() 198 mFragmentController.setup(); in initFragment()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PreferenceController.java | 142 private final FragmentController mFragmentController; field in PreferenceController 156 mFragmentController = fragmentController; in PreferenceController() 183 return mFragmentController; in getFragmentController()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/ |
D | ResetNetworkConfirmFragmentTest.java | 75 private FragmentController<ResetNetworkConfirmFragment> mFragmentController; field in ResetNetworkConfirmFragmentTest 96 mFragmentController = FragmentController.of(fragment); in setUp() 97 mFragmentController.setup(); in setUp()
|