Home
last modified time | relevance | path

Searched defs:devices (Results 1 – 25 of 62) sorted by relevance

123

/aosp14/frameworks/base/services/robotests/src/com/android/server/media/
H A DAudioPoliciesBluetoothRouteControllerTest.java118 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet( in selectRoute_noDeviceWithGivenAddress_returnsFalse() local
129 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet( in selectRoute_deviceIsInDevicesSet_returnsTrue() local
140 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet( in selectRoute_resetSelectedDevice_returnsTrue() local
151 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet( in selectRoute_noSelectedDevice_returnsTrue() local
161 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet( in getSelectedRoute_updateRouteFailed_returnsNull() local
173 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet( in getSelectedRoute_updateRouteSuccessful_returnsUpdateDevice() local
189 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet( in getSelectedRoute_resetSelectedRoute_returnsNull() local
207 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet(addresses); in getTransferableRoutes_noSelectedRoute_returnsAllBluetoothDevices() local
222 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet(addresses); in getTransferableRoutes_hasSelectedRoute_returnsRoutesWithoutSelectedDevice() local
239 Set<BluetoothDevice> devices = generateFakeBluetoothDevicesSet(addresses); in getAllBluetoothRoutes_hasSelectedRoute_returnsAllRoutes() local
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
H A DCastTileTest.java186 List<CastDevice> devices = new ArrayList<>(); in testStateActive_wifiEnabledAndCasting() local
230 List<CastDevice> devices = new ArrayList<>(); in stateActive_wifiConnectedAndCasting_newPipeline() local
297 List<CastDevice> devices = new ArrayList<>(); in testStateActive_hotspotEnabledAndConnectedAndCasting() local
321 List<CastDevice> devices = new ArrayList<>(); in testHandleClick_castDevicePresent() local
339 List<CastDevice> devices = new ArrayList<>(); in testHandleClick_projectionOnly() local
357 List<CastDevice> devices = new ArrayList<>(); in testUpdateState_projectionOnly() local
379 List<CastDevice> devices = new ArrayList<>(); in testUpdateState_castingAndProjection() local
404 List<CastDevice> devices = new ArrayList<>(); in testUpdateState_connectedAndConnecting() local
438 List<CastDevice> devices = new ArrayList<>(); in testExpandView_casting_projection() local
454 List<CastDevice> devices = new ArrayList<>(); in testExpandView_connecting_projection() local
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioDeviceInventory.java841 @NonNull List<AudioDeviceAttributes> devices) { in onSaveSetPreferredDevices()
898 int capturePreset, @NonNull List<AudioDeviceAttributes> devices) { in onSaveSetPreferredDevicesForCapturePreset()
915 @NonNull List<AudioDeviceAttributes> devices) { in setPreferredDevicesForStrategyAndSave()
924 @NonNull List<AudioDeviceAttributes> devices) { in setPreferredDevicesForStrategy()
937 @NonNull List<AudioDeviceAttributes> devices) { in setPreferredDevicesForStrategyInt()
975 List<AudioDeviceAttributes> devices = new ArrayList<>(); in setDeviceAsNonDefaultForStrategyAndSave() local
996 List<AudioDeviceAttributes> devices = new ArrayList<>(); in removeDeviceAsNonDefaultForStrategyAndSave() local
1035 int capturePreset, @NonNull List<AudioDeviceAttributes> devices) { in setPreferredDevicesForCapturePresetAndSave()
1045 int capturePreset, @NonNull List<AudioDeviceAttributes> devices) { in setPreferredDevicesForCapturePreset()
1075 @NonNull List<AudioDeviceAttributes> devices) { in addDevicesRoleForCapturePresetInt()
[all …]
H A DAudioSystemAdapter.java139 ArrayList<AudioDeviceAttributes> devices = in onRoutingUpdated() local
354 @NonNull List<AudioDeviceAttributes> devices) { in attrDeviceToDebugString()
405 @NonNull List<AudioDeviceAttributes> devices) { in setDevicesRoleForStrategy()
418 @NonNull List<AudioDeviceAttributes> devices) { in removeDevicesRoleForStrategy()
442 @NonNull List<AudioDeviceAttributes> devices) { in setDevicesRoleForCapturePreset()
468 int capturePreset, int role, @NonNull List<AudioDeviceAttributes> devices) { in addDevicesRoleForCapturePreset()
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DMediaManager.java83 protected void dispatchDeviceListRemoved(List<MediaDevice> devices) { in dispatchDeviceListRemoved()
115 void onDeviceListAdded(List<MediaDevice> devices); in onDeviceListAdded()
122 void onDeviceListRemoved(List<MediaDevice> devices); in onDeviceListRemoved()
H A DLocalMediaManager.java515 public void onDeviceListAdded(List<MediaDevice> devices) { in onDeviceListAdded()
638 public void onDeviceListRemoved(List<MediaDevice> devices) { in onDeviceListRemoved()
689 default void onDeviceListUpdate(List<MediaDevice> devices) {}; in onDeviceListUpdate()
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDeviceManagerTest.java153 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_validCachedDevices_devicesAdded() local
197 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_sameHiSyncId_validCachedDevices_mainDevicesAdded_subDevicesNotAdded() local
212 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_differentHiSyncId_validCachedDevices_bothAdded() local
231 final Collection<CachedBluetoothDevice> devices = in addDevice_addDuplicatedDevice_duplicateDeviceShouldNotAdded() local
288 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() local
477 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_sameGroupId_validCachedDevices_mainDevicesAdded_memberDevicesNotAdded() local
494 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_differentGroupId_validCachedDevices_bothAdded() local
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
H A DLocalMediaManagerTest.java246 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListAdded_addDevicesList() local
265 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListAdded_addDeviceList() local
287 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListRemoved_removeAll() local
306 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListRemoved_phoneDeviceNotLastDeviceAfterRemoveDeviceList_removeList() local
446 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListAdded_haveMutingExpectedDevice_addMutingExpectedDevice() local
488 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice() local
525 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListAdded_bluetoothAdapterIsNull_noDisconnectedDeviceAdded() local
/aosp14/system/core/fastboot/
H A Dstorage.cpp46 void ConnectedDevicesStorage::WriteDevices(const FileLock&, const std::set<std::string>& devices) { in WriteDevices()
55 std::set<std::string> devices(start, end); in ReadDevices() local
/aosp14/system/core/init/
H A Dfirst_stage_mount.cpp271 std::set<std::string> devices; in InitDevices() local
298 void FirstStageMount::GetSuperDeviceName(std::set<std::string>* devices) { in GetSuperDeviceName()
310 bool FirstStageMount::InitRequiredDevices(std::set<std::string> devices) { in InitRequiredDevices()
321 std::set<std::string> devices; in InitDmLinearBackingDevices() local
582 auto init_devices = [this](std::set<std::string> devices) -> bool { in MountPartitions()
631 auto init_devices = [this](std::set<std::string> devices) -> bool { in UseDsuIfPresent()
684 bool FirstStageMountVBootV2::GetDmVerityDevices(std::set<std::string>* devices) { in GetDmVerityDevices()
H A Dblock_dev_initializer.cpp73 std::set<std::string>* devices) { in HandleUevent()
106 bool BlockDevInitializer::InitDevices(std::set<std::string> devices) { in InitDevices()
/aosp14/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
H A DUsbUtil.java33 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); in findAllPossibleAndroidDevices() local
79 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); in isDeviceConnected() local
H A DUsbHostManagementActivity.java84 LinkedList<UsbDevice> devices = UsbUtil.findAllPossibleAndroidDevices(usbManager); in onCreate() local
169 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); in dumpUsbDevices() local
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
H A DNoOpAudioSystemAdapter.java73 @NonNull List<AudioDeviceAttributes> devices) { in setDevicesRoleForStrategy()
79 @NonNull List<AudioDeviceAttributes> devices) { in removeDevicesRoleForStrategy()
90 @NonNull List<AudioDeviceAttributes> devices) { in setDevicesRoleForCapturePreset()
/aosp14/frameworks/base/media/java/android/media/
H A DIStrategyNonDefaultDevicesDispatcher.aidl28 void dispatchNonDefDevicesChanged(int strategyId, in List<AudioDeviceAttributes> devices); in dispatchNonDefDevicesChanged()
H A DIStrategyPreferredDevicesDispatcher.aidl28 void dispatchPrefDevicesChanged(int strategyId, in List<AudioDeviceAttributes> devices); in dispatchPrefDevicesChanged()
H A DICapturePresetDevicesRoleDispatcher.aidl29 int capturePreset, int role, in List<AudioDeviceAttributes> devices); in dispatchDevicesRoleChanged()
H A DIDevicesForAttributesCallback.aidl30 in List<AudioDeviceAttributes> devices); in onDevicesForAttributesChanged()
H A DAudioSystem.java1831 public static String deviceSetToString(@NonNull Set<Integer> devices) { in deviceSetToString()
1855 final AudioDeviceAttributes[] devices = new AudioDeviceAttributes[MAX_DEVICE_ROUTING]; in getDevicesForAttributes() local
2104 int strategy, int role, @NonNull List<AudioDeviceAttributes> devices) { in setDevicesRoleForStrategy()
2138 int strategy, int role, @NonNull List<AudioDeviceAttributes> devices) { in removeDevicesRoleForStrategy()
2182 int strategy, int role, @NonNull List<AudioDeviceAttributes> devices); in getDevicesForRoleAndStrategy()
2186 private static Pair<int[], String[]> populateInputDevicesTypeAndAddress( in populateInputDevicesTypeAndAddress()
2210 int capturePreset, int role, @NonNull List<AudioDeviceAttributes> devices) { in setDevicesRoleForCapturePreset()
2240 int capturePreset, int role, @NonNull List<AudioDeviceAttributes> devices) { in addDevicesRoleForCapturePreset()
2270 int capturePreset, int role, @NonNull List<AudioDeviceAttributes> devices) { in removeDevicesRoleForCapturePreset()
2310 int capturePreset, int role, @NonNull List<AudioDeviceAttributes> devices); in getDevicesForRoleAndCapturePreset()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/media/
H A DBluetoothRouteController.java135 boolean updateVolumeForDevices(int devices, int volume); in updateVolumeForDevices()
197 public boolean updateVolumeForDevices(int devices, int volume) { in updateVolumeForDevices()
H A DSystemMediaRoute2Provider.java133 List<AudioDeviceAttributes> devices = in SystemMediaRoute2Provider() local
274 private void updateSelectedAudioDevice(@NonNull List<AudioDeviceAttributes> devices) { in updateSelectedAudioDevice()
418 int devices = mAudioManager.getDevicesForStream(AudioManager.STREAM_MUSIC); in updateVolume() local
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbAlsaManager.java216 Stack<UsbAlsaDevice> devices = mAttachedDevices.get(deviceType); in addDeviceToAttachedDevicesMap() local
231 Stack<UsbAlsaDevice> devices = mAttachedDevices.get(deviceType); in removeDeviceFromAttachedDevicesMap() local
258 Stack<UsbAlsaDevice> devices = mAttachedDevices.get(deviceType); in selectDefaultDevice() local
280 Stack<UsbAlsaDevice> devices = mAttachedDevices.get(deviceType); in deselectCurrentDevice() local
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/deviceidle/
H A DBluetoothConstraintTest.java142 private void enableBluetooth(boolean enabled, BluetoothDevice... devices) { in enableBluetooth()
/aosp14/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
H A DDeviceListAdapter.java102 void setDevices(List<DeviceFilterPair<?>> devices) { in setDevices()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
H A DMediaOutputControllerTest.java420 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListUpdate_verifyDeviceListCallback() local
443 final List<MediaDevice> devices = new ArrayList<>(); in advanced_onDeviceListUpdateWithConnectedDeviceRemote_verifyItemSize() local
466 final List<MediaDevice> devices = new ArrayList<>(); in advanced_categorizeMediaItems_withSuggestedDevice_verifyDeviceListSize() local

123