Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingCallAudioPreferenceControllerTest.java110 private static final int TEST_DEVICE_GROUP_ID1 = 1; field in AudioSharingCallAudioPreferenceControllerTest
320 Settings.Secure.putInt(mContentResolver, TEST_SETTINGS_KEY, TEST_DEVICE_GROUP_ID1); in onProfileConnectionStateChanged_noDeviceInSharing_updateSummary()
337 Settings.Secure.putInt(mContentResolver, TEST_SETTINGS_KEY, TEST_DEVICE_GROUP_ID1); in onFallbackDeviceChanged_updateSummary()
338 when(mCachedDevice1.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID1); in onFallbackDeviceChanged_updateSummary()
358 Settings.Secure.putInt(mContentResolver, TEST_SETTINGS_KEY, TEST_DEVICE_GROUP_ID1); in displayPreference_showCorrectSummary()
359 when(mCachedDevice1.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID1); in displayPreference_showCorrectSummary()
361 when(mCachedDevice2.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID1); in displayPreference_showCorrectSummary()
387 when(mCachedDevice1.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID1); in displayPreference_noFallbackDeviceInSharing_showEmptySummary()
421 Settings.Secure.putInt(mContentResolver, TEST_SETTINGS_KEY, TEST_DEVICE_GROUP_ID1); in displayPreference_clickToShowCorrectDialog()
422 when(mCachedDevice1.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID1); in displayPreference_clickToShowCorrectDialog()
[all …]
DAudioSharingDeviceVolumeGroupControllerTest.java102 private static final int TEST_DEVICE_GROUP_ID1 = 1; field in AudioSharingDeviceVolumeGroupControllerTest
172 doReturn(TEST_DEVICE_GROUP_ID1).when(mCachedDevice1).getGroupId(); in setUp()
335 mController.setVolumeMap(ImmutableMap.of(TEST_DEVICE_GROUP_ID1, TEST_VOLUME_VALUE)); in onDeviceAdded_setVolumeFromVolumeControlService()
439 mContentResolver, SETTINGS_KEY_FALLBACK_DEVICE_GROUP_ID, TEST_DEVICE_GROUP_ID1); in settingsObserverOnChange_updatePreferenceOrder()
DAudioSharingStopDialogFragmentTest.java80 private static final int TEST_DEVICE_GROUP_ID1 = 1; field in AudioSharingStopDialogFragmentTest
115 when(mCachedDevice1.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID1); in setUp()
DAudioSharingSwitchBarControllerTest.java108 private static final int TEST_DEVICE_GROUP_ID1 = 1; field in AudioSharingSwitchBarControllerTest
160 when(mCachedDevice1.getGroupId()).thenReturn(TEST_DEVICE_GROUP_ID1); in setUp()