Home
last modified time | relevance | path

Searched refs:TEST_DEVICE_ADDRESS (Results 1 – 21 of 21) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHfpNativeInterfaceTest.java38 private static final byte[] TEST_DEVICE_ADDRESS = field in HfpNativeInterfaceTest
66 mNativeInterface.onConnectionStateChanged(state, peerFeat, chldFeat, TEST_DEVICE_ADDRESS); in onConnectionStateChanged()
79 mNativeInterface.onAudioStateChanged(state, TEST_DEVICE_ADDRESS); in onAudioStateChanged()
90 mNativeInterface.onVrStateChanged(state, TEST_DEVICE_ADDRESS); in onVrStateChanged()
101 mNativeInterface.onNetworkState(state, TEST_DEVICE_ADDRESS); in onNetworkState()
112 mNativeInterface.onNetworkRoaming(state, TEST_DEVICE_ADDRESS); in onNetworkRoaming()
123 mNativeInterface.onNetworkSignal(signal, TEST_DEVICE_ADDRESS); in onNetworkSignal()
134 mNativeInterface.onBatteryLevel(level, TEST_DEVICE_ADDRESS); in onBatteryLevel()
145 mNativeInterface.onCurrentOperator(name, TEST_DEVICE_ADDRESS); in onCurrentOperator()
156 mNativeInterface.onCall(call, TEST_DEVICE_ADDRESS); in onCall()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientNativeInterfaceTest.java37 private static final byte[] TEST_DEVICE_ADDRESS = field in HapClientNativeInterfaceTest
60 mNativeInterface.onConnectionStateChanged(state, TEST_DEVICE_ADDRESS); in onConnectionStateChanged()
73 mNativeInterface.onDeviceAvailable(TEST_DEVICE_ADDRESS, features); in onDeviceAvailable()
86 mNativeInterface.onFeaturesUpdate(TEST_DEVICE_ADDRESS, features); in onFeaturesUpdate()
98 mNativeInterface.onActivePresetSelected(TEST_DEVICE_ADDRESS, presetIndex); in onActivePresetSelected()
126 mNativeInterface.onActivePresetSelectError(TEST_DEVICE_ADDRESS, resultCode); in onActivePresetSelectError()
160 mNativeInterface.onPresetInfo(TEST_DEVICE_ADDRESS, infoReason, presets); in onPresetInfo()
195 mNativeInterface.onPresetNameSetError(TEST_DEVICE_ADDRESS, presetIndex, resultCode); in onPresetNameSetError()
227 mNativeInterface.onPresetInfoError(TEST_DEVICE_ADDRESS, presetIndex, resultCode); in onPresetInfoError()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceNativeInterfaceTest.java39 private static final byte[] TEST_DEVICE_ADDRESS = field in HidDeviceNativeInterfaceTest
64 mNativeInterface.onApplicationStateChanged(TEST_DEVICE_ADDRESS, true); in onApplicationStateChanged()
71 TEST_DEVICE_ADDRESS, BluetoothHidDevice.STATE_DISCONNECTED); in onConnectStateChanged()
DBluetoothHidDeviceBinderTest.java43 private static final String TEST_DEVICE_ADDRESS = "00:00:00:00:00:00"; field in BluetoothHidDeviceBinderTest
57 mTestDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(TEST_DEVICE_ADDRESS); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDevicePairingDetailBaseTest.java68 private static final String TEST_DEVICE_ADDRESS = "00:A1:A1:A1:A1:A1"; field in BluetoothDevicePairingDetailBaseTest
91 when(mCachedBluetoothDevice.getAddress()).thenReturn(TEST_DEVICE_ADDRESS); in setUp()
94 mBluetoothDevice = mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS); in setUp()
207 final BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS); in onProfileConnectionStateChanged_deviceInPreferenceMapAndConnected_removed()
225 final BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS); in onProfileConnectionStateChanged_deviceNotInPreferenceMap_doNothing()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DHearingDeviceAudioRoutingBasePreferenceControllerTest.java74 private static final String TEST_DEVICE_ADDRESS = "00:A1:A1:A1:A1:A1"; field in HearingDeviceAudioRoutingBasePreferenceControllerTest
101 TEST_DEVICE_ADDRESS); in setUp()
108 when(mBluetoothDevice.getAnonymizedAddress()).thenReturn(TEST_DEVICE_ADDRESS); in setUp()
109 when(mCachedBluetoothDevice.getAddress()).thenReturn(TEST_DEVICE_ADDRESS); in setUp()
DHearingAidPairingDialogFragmentTest.java79 private static final String TEST_DEVICE_ADDRESS = "00:A1:A1:A1:A1:A1"; field in HearingAidPairingDialogFragmentTest
174 HearingAidPairingDialogFragment.newInstance(TEST_DEVICE_ADDRESS, launchPage)); in setupDialog()
187 mBluetoothDevice = mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS); in setupEnvironment()
191 when(mCachedBluetoothDevice.getAddress()).thenReturn(TEST_DEVICE_ADDRESS); in setupEnvironment()
DHearingAidUtilsTest.java73 private static final String TEST_DEVICE_ADDRESS = "00:A1:A1:A1:A1:A1"; field in HearingAidUtilsTest
98 when(mCachedBluetoothDevice.getAddress()).thenReturn(TEST_DEVICE_ADDRESS); in setUp()
202 mBluetoothDevice = mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS); in setupEnvironment()
206 when(mCachedBluetoothDevice.getAddress()).thenReturn(TEST_DEVICE_ADDRESS); in setupEnvironment()
DHearingAidHelperTest.java61 private static final String TEST_DEVICE_ADDRESS = "00:A1:A1:A1:A1:A1"; field in HearingAidHelperTest
86 mBluetoothDevice = mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS); in setUp()
87 when(mCachedBluetoothDevice.getAddress()).thenReturn(TEST_DEVICE_ADDRESS); in setUp()
DHearingDevicePairingFragmentTest.java66 private static final String TEST_DEVICE_ADDRESS = "00:A1:A1:A1:A1:A1"; field in HearingDevicePairingFragmentTest
101 mDevice = mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS); in setUp()
325 if (key.equals(TEST_DEVICE_ADDRESS)) { in getCachedPreference()
DAccessibilityHearingAidPreferenceControllerTest.java78 private static final String TEST_DEVICE_ADDRESS = "00:A1:A1:A1:A1:A1"; field in AccessibilityHearingAidPreferenceControllerTest
294 mBluetoothDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS)); in setupEnvironment()
307 when(mCachedBluetoothDevice.getAddress()).thenReturn(TEST_DEVICE_ADDRESS); in setupEnvironment()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/
DBluetoothCsisBinderTest.java37 private static final String TEST_DEVICE_ADDRESS = "00:00:00:00:00:00"; field in BluetoothCsisBinderTest
52 mTestDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(TEST_DEVICE_ADDRESS); in setUp()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DBluetoothHeadsetBinderTest.java34 private static final String TEST_DEVICE_ADDRESS = "00:00:00:00:00:00"; field in BluetoothHeadsetBinderTest
49 mTestDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(TEST_DEVICE_ADDRESS); in setUp()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientDeviceBlockTest.java47 private static final String TEST_DEVICE_ADDRESS = "00:11:22:33:44:55"; field in HfpClientDeviceBlockTest
83 BluetoothAdapter.getDefaultAdapter().getRemoteDevice(TEST_DEVICE_ADDRESS); in setUp()
DHfpClientCallTest.java34 private static final String TEST_DEVICE_ADDRESS = "00:11:22:33:44:55"; field in HfpClientCallTest
40 .getRemoteDevice(TEST_DEVICE_ADDRESS);
DHeadsetClientServiceInterfaceTest.java46 private static final String TEST_DEVICE_ADDRESS = "00:11:22:33:44:55"; field in HeadsetClientServiceInterfaceTest
52 .getRemoteDevice(TEST_DEVICE_ADDRESS);
DHfpClientConnectionServiceTest.java65 private static final String TEST_DEVICE_ADDRESS = "00:11:22:33:44:55"; field in HfpClientConnectionServiceTest
71 .getRemoteDevice(TEST_DEVICE_ADDRESS);
DHfpClientConnectionTest.java59 private static final String TEST_DEVICE_ADDRESS = "00:11:22:33:44:55"; field in HfpClientConnectionTest
72 BluetoothAdapter.getDefaultAdapter().getRemoteDevice(TEST_DEVICE_ADDRESS); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/bluetooth/
DBluetoothHDAudioPreferenceControllerTest.java56 private static final String TEST_DEVICE_ADDRESS = "00:A1:A1:A1:A1:A1"; field in BluetoothHDAudioPreferenceControllerTest
88 mActiveDevice = ShadowBluetoothDevice.newInstance(TEST_DEVICE_ADDRESS); in setup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
DAvailableMediaDeviceGroupControllerTest.java108 private static final String TEST_DEVICE_ADDRESS = "00:A1:A1:A1:A1:A1"; field in AvailableMediaDeviceGroupControllerTest
170 when(mCachedBluetoothDevice.getAddress()).thenReturn(TEST_DEVICE_ADDRESS); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogHandlerTest.java97 private static final String TEST_DEVICE_ADDRESS = "xx:xx:xx:xx"; field in AudioSharingDialogHandlerTest
160 when(mCachedDevice2.getAddress()).thenReturn(TEST_DEVICE_ADDRESS); in setup()