/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingDisconnectDialogFragmentTest.java | 100 @Mock private CachedBluetoothDevice mCachedDevice3; field in AudioSharingDisconnectDialogFragmentTest 122 when(mCachedDevice3.getName()).thenReturn(TEST_DEVICE_NAME3); in setUp() 123 when(mCachedDevice3.getDevice()).thenReturn(mDevice3); in setUp() 124 when(mCachedDevice3.getGroupId()).thenReturn(TEST_GROUP_ID3); in setUp() 149 mParent, mDeviceItems, mCachedDevice3, EMPTY_EVENT_LISTENER, TEST_EVENT_DATA_LIST); in onCreateDialog_flagOff_dialogNotExist() 163 mParent, mDeviceItems, mCachedDevice3, EMPTY_EVENT_LISTENER, TEST_EVENT_DATA_LIST); in onCreateDialog_flagOn_dialogShowBtnForTwoDevices() 181 mParent, mDeviceItems, mCachedDevice3, EMPTY_EVENT_LISTENER, TEST_EVENT_DATA_LIST); in onCreateDialog_dialogIsShowingForSameGroup_updateDialog() 209 mCachedDevice3, in onCreateDialog_dialogIsShowingForSameGroup_updateDialog() 240 mParent, mDeviceItems, mCachedDevice3, EMPTY_EVENT_LISTENER, TEST_EVENT_DATA_LIST); in onCreateDialog_dialogIsShowingForNewGroup_showNewDialog() 294 mParent, mDeviceItems, mCachedDevice3, EMPTY_EVENT_LISTENER, TEST_EVENT_DATA_LIST); in onCreateDialog_clickCancel_dialogDismiss()
|
D | AudioSharingDialogHandlerTest.java | 113 @Mock private CachedBluetoothDevice mCachedDevice3; field in AudioSharingDialogHandlerTest 164 when(mCachedDevice3.getName()).thenReturn(TEST_DEVICE_NAME3); in setup() 165 when(mCachedDevice3.getDevice()).thenReturn(mDevice3); in setup() 166 when(mCachedDevice3.getProfiles()).thenReturn(List.of(mLeAudioProfile)); in setup() 167 when(mCachedDevice3.getGroupId()).thenReturn(3); in setup() 175 when(mCacheManager.findDevice(mDevice3)).thenReturn(mCachedDevice3); in setup() 379 listener.onItemClick(AudioSharingUtils.buildAudioSharingDeviceItem(mCachedDevice3)); in handleUserTriggeredLeaDeviceConnected_sharingWithTwoLeaDevices_showDisconnectDialog() 577 listener.onItemClick(AudioSharingUtils.buildAudioSharingDeviceItem(mCachedDevice3)); in handleLeaDeviceConnected_sharingWithTwoLeaDevices_showDisconnectDialog()
|
D | AudioSharingCallAudioPreferenceControllerTest.java | 133 @Mock private CachedBluetoothDevice mCachedDevice3; field in AudioSharingCallAudioPreferenceControllerTest 365 when(mCachedDevice3.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID2); in displayPreference_showCorrectSummary() 366 when(mCachedDevice3.getDevice()).thenReturn(mDevice3); in displayPreference_showCorrectSummary() 367 when(mCachedDevice3.getName()).thenReturn(TEST_DEVICE_NAME2); in displayPreference_showCorrectSummary() 370 when(mCacheManager.findDevice(mDevice3)).thenReturn(mCachedDevice3); in displayPreference_showCorrectSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
D | SavedDeviceGroupControllerTest.java | 84 @Mock private CachedBluetoothDevice mCachedDevice3; field in SavedDeviceGroupControllerTest 113 when(mCachedDevice3.getDevice()).thenReturn(mBluetoothDevice3); in setUp() 114 when(mCachedDevice3.getAddress()).thenReturn(FAKE_ADDRESS_3); in setUp() 115 when(mCachedDevice3.getDrawableWithDescription()).thenReturn(pairs); in setUp() 183 mCachedDevice3, in updatePreferenceGroup_bluetoothIsEnable_shouldOrderByMostRecentlyConnected() 218 mCachedDevice3, in updatePreferenceGroup_bluetoothIsDisable_shouldShowNoPreference()
|
D | PreviouslyConnectedDevicePreferenceControllerTest.java | 97 private CachedBluetoothDevice mCachedDevice3; field in PreviouslyConnectedDevicePreferenceControllerTest 141 when(mCachedDevice3.getDevice()).thenReturn(mBluetoothDevice3); in setUp() 142 when(mCachedDevice3.getAddress()).thenReturn(FAKE_ADDRESS_3); in setUp() 143 when(mCachedDevice3.getDrawableWithDescription()).thenReturn(pairs); in setUp() 250 mContext, mCachedDevice3, true, BluetoothDevicePreference.SortType.TYPE_NO_SORT); in onDeviceAdded_addFourDevicePreference_onlyDisplayThree() 334 mCachedDevice3, in updatePreferenceGroup_bluetoothIsEnable_shouldOrderByMostRecentlyConnected() 369 mCachedDevice3, in updatePreferenceGroup_bluetoothIsDisable_shouldShowOnlySeeAllPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothDevicePreferenceTest.java | 79 private CachedBluetoothDevice mCachedDevice3; field in BluetoothDevicePreferenceTest 117 when(mCachedDevice3.getAddress()).thenReturn(MAC_ADDRESS_4); in setUp() 118 when(mCachedDevice3.getDrawableWithDescription()) in setUp() 120 when(mCachedDevice3.getDevice()).thenReturn(mBluetoothDevice3); in setUp() 248 mCachedDevice3, SHOW_DEVICES_WITHOUT_NAMES, in compareTo_sortTypeFIFO() 273 mCachedDevice3, SHOW_DEVICES_WITHOUT_NAMES, in compareTo_sortTypeDefault()
|