/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | AlwaysDiscoverableTest.java | 41 private AlwaysDiscoverable mAlwaysDiscoverable; field in AlwaysDiscoverableTest 47 mAlwaysDiscoverable = new AlwaysDiscoverable(mContext); in setUp() 53 assertThat(mAlwaysDiscoverable.mStarted).isFalse(); in isStartedWithoutStart() 58 mAlwaysDiscoverable.start(); in isStartedWithStart() 59 assertThat(mAlwaysDiscoverable.mStarted).isTrue(); in isStartedWithStart() 64 mAlwaysDiscoverable.start(); in isStartedWithStartStop() 65 mAlwaysDiscoverable.stop(); in isStartedWithStartStop() 66 assertThat(mAlwaysDiscoverable.mStarted).isFalse(); in isStartedWithStartStop() 71 mAlwaysDiscoverable.stop(); in stopWithoutStart() 79 mAlwaysDiscoverable.start(); in startSetsModeAndRegistersReceiver() [all …]
|
D | BluetoothSwitchPreferenceControllerTest.java | 53 private AlwaysDiscoverable mAlwaysDiscoverable; field in BluetoothSwitchPreferenceControllerTest 69 mController.mAlwaysDiscoverable = mAlwaysDiscoverable; in setUp() 117 verify(mAlwaysDiscoverable).start(); in onStart_setAlwaysDiscoverableAsTrue_shouldStartAlwaysDiscoverable() 125 verify(mAlwaysDiscoverable, never()).start(); in onStart_setAlwaysDiscoverableAsFalse_shouldStartAlwaysDiscoverable() 133 verify(mAlwaysDiscoverable).stop(); in onStop_setAlwaysDiscoverableAsTrue_shouldStopAlwaysDiscoverable() 141 verify(mAlwaysDiscoverable, never()).stop(); in onStop__setAlwaysDiscoverableAsFalse_shouldStopAlwaysDiscoverable()
|
D | BluetoothPairingDetailTest.java | 121 assertThat(mFragment.mAlwaysDiscoverable.mStarted).isEqualTo(true); in updateContent_stateOn_addDevices()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
D | DiscoverableFooterPreferenceControllerTest.java | 64 private AlwaysDiscoverable mAlwaysDiscoverable; field in DiscoverableFooterPreferenceControllerTest 86 "mAlwaysDiscoverable", mAlwaysDiscoverable); in setUp() 113 verify(mAlwaysDiscoverable).start(); in onStart_setAlwaysDiscoverableAsTrue_shouldRegisterBluetoothChanged() 123 verify(mAlwaysDiscoverable).stop(); in onStop_setAlwaysDiscoverableAsTrue_shouldUnregisterBluetoothChanged() 132 verify(mAlwaysDiscoverable, never()).start(); in onStart_setAlwaysDiscoverableAsFalse_shouldNotRegisterBluetoothChanged() 142 verify(mAlwaysDiscoverable, never()).stop(); in onStop_setAlwaysDiscoverableAsFalse_shouldNotUnregisterBluetoothChanged()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/ |
D | DiscoverableFooterPreferenceController.java | 53 private AlwaysDiscoverable mAlwaysDiscoverable; field in DiscoverableFooterPreferenceController 64 mAlwaysDiscoverable = new AlwaysDiscoverable(context); in DiscoverableFooterPreferenceController() 89 mAlwaysDiscoverable.start(); in onStart() 101 mAlwaysDiscoverable.stop(); in onStop()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPairingDetail.java | 61 AlwaysDiscoverable mAlwaysDiscoverable; field in BluetoothPairingDetail 102 mAlwaysDiscoverable = new AlwaysDiscoverable(getContext()); in onViewCreated() 115 mAlwaysDiscoverable.stop(); in onStop() 145 mAlwaysDiscoverable.start(); in updateContent()
|
D | BluetoothSwitchPreferenceController.java | 56 @VisibleForTesting AlwaysDiscoverable mAlwaysDiscoverable; field in BluetoothSwitchPreferenceController 87 mAlwaysDiscoverable = new AlwaysDiscoverable(context); in BluetoothSwitchPreferenceController() 95 mAlwaysDiscoverable.start(); in onStart() 106 mAlwaysDiscoverable.stop(); in onStop()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothScanningDevicesGroupPreferenceController.java | 53 private final AlwaysDiscoverable mAlwaysDiscoverable; field in BluetoothScanningDevicesGroupPreferenceController 62 mAlwaysDiscoverable = new AlwaysDiscoverable(context, mBluetoothAdapter); in BluetoothScanningDevicesGroupPreferenceController() 138 mAlwaysDiscoverable.start(); in enableScanning() 150 mAlwaysDiscoverable.stop(); in disableScanning()
|