Home
last modified time | relevance | path

Searched refs:TEST_DEVICE_GROUP_ID2 (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingCallAudioPreferenceControllerTest.java111 private static final int TEST_DEVICE_GROUP_ID2 = 2; field in AudioSharingCallAudioPreferenceControllerTest
365 when(mCachedDevice3.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID2); in displayPreference_showCorrectSummary()
386 Settings.Secure.putInt(mContentResolver, TEST_SETTINGS_KEY, TEST_DEVICE_GROUP_ID2); in displayPreference_noFallbackDeviceInSharing_showEmptySummary()
425 when(mCachedDevice2.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID2); in displayPreference_clickToShowCorrectDialog()
463 when(mCachedDevice2.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID2); in logCallAudioDeviceChange_changeCallAudioToEarlierConnectedDevice()
482 when(mCachedDevice2.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID2); in logCallAudioDeviceChange_changeCallAudioToLaterConnectedDevice()
487 mController.logCallAudioDeviceChange(TEST_DEVICE_GROUP_ID2, mCachedDevice1); in logCallAudioDeviceChange_changeCallAudioToLaterConnectedDevice()
501 when(mCachedDevice2.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID2); in logCallAudioDeviceChange_deviceNotFoundInRecentList_unknownChangeType()
DAudioSharingStopDialogFragmentTest.java81 private static final int TEST_DEVICE_GROUP_ID2 = 2; field in AudioSharingStopDialogFragmentTest
85 TEST_DEVICE_NAME2, TEST_DEVICE_GROUP_ID2, /* isActive= */ false);
118 when(mCachedDevice2.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID2); in setUp()
DAudioSharingDeviceVolumeGroupControllerTest.java103 private static final int TEST_DEVICE_GROUP_ID2 = 2; field in AudioSharingDeviceVolumeGroupControllerTest
178 doReturn(TEST_DEVICE_GROUP_ID2).when(mCachedDevice2).getGroupId(); in setUp()
320 mContentResolver, SETTINGS_KEY_FALLBACK_DEVICE_GROUP_ID, TEST_DEVICE_GROUP_ID2); in onDeviceAdded_rankFallbackDeviceOnTop()
430 mContentResolver, SETTINGS_KEY_FALLBACK_DEVICE_GROUP_ID, TEST_DEVICE_GROUP_ID2); in settingsObserverOnChange_updatePreferenceOrder()
DAudioSharingSwitchBarControllerTest.java109 private static final int TEST_DEVICE_GROUP_ID2 = 2; field in AudioSharingSwitchBarControllerTest
165 when(mCachedDevice2.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID2); in setUp()