Searched refs:AudioStreamPreference (Results 1 – 15 of 15) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsProgressCategoryPreferenceTest.java | 56 AudioStreamPreference first = new AudioStreamPreference(mContext, null); in addAudioStreamPreference_singlePreference() 65 Comparator<AudioStreamPreference> c = in addAudioStreamPreference_multiPreference_sorted() 66 Comparator.comparingInt(AudioStreamPreference::getOrder); in addAudioStreamPreference_multiPreference_sorted() 67 AudioStreamPreference first = new AudioStreamPreference(mContext, null); in addAudioStreamPreference_multiPreference_sorted() 69 AudioStreamPreference second = new AudioStreamPreference(mContext, null); in addAudioStreamPreference_multiPreference_sorted() 81 Comparator<AudioStreamPreference> c = in removeAudioStreamPreferences_shouldBeEmpty() 82 Comparator.comparingInt(AudioStreamPreference::getOrder); in removeAudioStreamPreferences_shouldBeEmpty() 83 AudioStreamPreference first = new AudioStreamPreference(mContext, null); in removeAudioStreamPreferences_shouldBeEmpty() 85 AudioStreamPreference second = new AudioStreamPreference(mContext, null); in removeAudioStreamPreferences_shouldBeEmpty()
|
D | AudioStreamPreferenceTest.java | 57 private AudioStreamPreference mPreference; 64 mPreference = new AudioStreamPreference(mContext, null); in setUp() 109 AudioStreamPreference p = in setAudioStreamMetadata_shouldUpdateMetadata() 110 AudioStreamPreference.fromMetadata( in setAudioStreamMetadata_shouldUpdateMetadata() 120 AudioStreamPreference p = in setAudioStreamState_shouldUpdateState() 121 AudioStreamPreference.fromMetadata( in setAudioStreamState_shouldUpdateState() 131 AudioStreamPreference p = in fromMetadata_shouldReturnBroadcastInfo() 132 AudioStreamPreference.fromMetadata( in fromMetadata_shouldReturnBroadcastInfo() 141 AudioStreamPreference p = in fromReceiveState_shouldReturnBroadcastInfo() 142 AudioStreamPreference.fromReceiveState(mContext, mBluetoothLeBroadcastReceiveState); in fromReceiveState_shouldReturnBroadcastInfo() [all …]
|
D | WaitForSyncStateTest.java | 46 @Mock private AudioStreamPreference mMockPreference;
|
D | AddSourceWaitForResponseStateTest.java | 47 @Mock private AudioStreamPreference mMockPreference;
|
D | SyncedStateTest.java | 55 @Mock private AudioStreamPreference mMockPreference;
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsProgressCategoryPreference.java | 56 @NonNull AudioStreamPreference preference, in addAudioStreamPreference() 57 Comparator<AudioStreamPreference> comparator) { in addAudioStreamPreference() 60 List<AudioStreamPreference> preferences = getAllAudioStreamPreferences(); in addAudioStreamPreference() 70 List<AudioStreamPreference> streams = getAllAudioStreamPreferences(); in removeAudioStreamPreferences() 76 private List<AudioStreamPreference> getAllAudioStreamPreferences() { in getAllAudioStreamPreferences() 77 List<AudioStreamPreference> streams = new ArrayList<>(); in getAllAudioStreamPreferences() 79 if (getPreference(i) instanceof AudioStreamPreference) { in getAllAudioStreamPreferences() 80 streams.add((AudioStreamPreference) getPreference(i)); in getAllAudioStreamPreferences()
|
D | AudioStreamPreference.java | 37 class AudioStreamPreference extends TwoTargetPreference { class 66 AudioStreamPreference(Context context, @Nullable AttributeSet attrs) { in AudioStreamPreference() method in AudioStreamPreference 138 static AudioStreamPreference fromMetadata( in fromMetadata() 142 AudioStreamPreference preference = new AudioStreamPreference(context, /* attrs= */ null); in fromMetadata() 149 static AudioStreamPreference fromReceiveState( in fromReceiveState() 151 AudioStreamPreference preference = new AudioStreamPreference(context, /* attrs= */ null); in fromReceiveState()
|
D | AudioStreamsProgressCategoryController.java | 70 private final Comparator<AudioStreamPreference> mComparator = 71 Comparator.<AudioStreamPreference, Boolean>comparing( 76 .thenComparingInt(AudioStreamPreference::getAudioStreamRssi) 101 private final ConcurrentHashMap<Integer, AudioStreamPreference> mBroadcastIdToPreferenceMap = 436 AudioStreamPreference preference, BluetoothLeBroadcastMetadata metadata) { in handleSourceAddRequest() 532 private AudioStreamPreference addNewPreference( in addNewPreference() 534 var preference = AudioStreamPreference.fromReceiveState(mContext, receiveState); in addNewPreference() 539 private AudioStreamPreference addNewPreference( in addNewPreference() 544 AudioStreamPreference.fromMetadata(mContext, metadata, sourceOriginForLogging); in addNewPreference() 549 private void moveToState(AudioStreamPreference preference, AudioStreamState state) { in moveToState()
|
D | AudioStreamStateHandler.java | 46 AudioStreamPreference preference, in handleStateChange() 88 AudioStreamPreference preference, in performAction()
|
D | SourceAddedState.java | 46 AudioStreamPreference preference, in performAction() 75 var p = (AudioStreamPreference) preference; in getOnClickListener()
|
D | SyncedState.java | 63 var p = (AudioStreamPreference) preference; in addSourceOrShowDialog() 83 AudioStreamPreference preference, in launchPasswordDialog()
|
D | AddSourceFailedState.java | 44 AudioStreamPreference preference, in performAction()
|
D | AddSourceBadCodeState.java | 44 AudioStreamPreference preference, in performAction()
|
D | AddSourceWaitForResponseState.java | 50 AudioStreamPreference preference, in performAction()
|
D | WaitForSyncState.java | 53 AudioStreamPreference preference, in performAction()
|