Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DCastTileTest.java143 List<CastDevice> devices = new ArrayList<>(); in testStateActive_wifiEnabledAndCasting() local
162 List<CastDevice> devices = new ArrayList<>(); in testHandleClick_castDevicePresent() local
178 List<CastDevice> devices = new ArrayList<>(); in testHandleClick_projectionOnly() local
195 List<CastDevice> devices = new ArrayList<>(); in testUpdateState_projectionOnly() local
216 List<CastDevice> devices = new ArrayList<>(); in testUpdateState_castingAndProjection() local
240 List<CastDevice> devices = new ArrayList<>(); in testUpdateState_connectedAndConnecting() local
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DBluetoothMediaManagerTest.java91 final List<BluetoothDevice> devices = new ArrayList<>(); in startScan_haveA2dpProfileDeviceIsPreferredAndBonded_shouldAddDevice() local
108 final List<BluetoothDevice> devices = new ArrayList<>(); in startScan_haveA2dpProfileDeviceIsPreferredAndBondNone_shouldNotAddDevice() local
125 final List<BluetoothDevice> devices = new ArrayList<>(); in startScan_noA2dpProfileBluetoothDevice_shouldNotAddDevice() local
136 final List<BluetoothDevice> devices = new ArrayList<>(); in startScan_haveHapProfileDeviceIsPreferredAndBonded_shouldAddDevice() local
153 final List<BluetoothDevice> devices = new ArrayList<>(); in startScan_noHapProfileBluetoothDevice_shouldNotAddDevice() local
432 final List<BluetoothDevice> devices = new ArrayList<>(); in onActiveDeviceChanged_hearingAidDeviceIsActive_returnHearingAidDeviceId() local
449 final List<BluetoothDevice> devices = new ArrayList<>(); in onActiveDeviceChanged_hearingAidDeviceNotActive_returnPhoneDeviceId() local
DLocalMediaManagerTest.java210 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListAdded_phoneDeviceNotExistInList_addPhoneDeviceAndDevicesList() local
229 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListAdded_phoneDeviceExistInList_addDeviceList() local
302 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListRemoved_phoneDeviceIsLastDeviceAfterRemoveDeviceList_removeAll() local
322 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListRemoved_phoneDeviceNotLastDeviceAfterRemoveDeviceList_removeList() local
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioIODescriptorInterface.h41 IoDescriptor& desc, Filter filter, bool& active, const DeviceVector& devices) in findPreferredDevice()
55 IoCollection& ioCollection, Filter filter, const DeviceVector& devices) in findPreferredDevice()
DDeviceDescriptor.h197 ssize_t merge(const DeviceVector &devices) in merge()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DMediaManager.java104 protected void dispatchDeviceListRemoved(List<MediaDevice> devices) { in dispatchDeviceListRemoved()
144 void onDeviceListAdded(List<MediaDevice> devices); in onDeviceListAdded()
158 void onDeviceListRemoved(List<MediaDevice> devices); in onDeviceListRemoved()
DLocalMediaManager.java203 public MediaDevice getMediaDeviceById(List<MediaDevice> devices, String id) { in getMediaDeviceById()
249 public void onDeviceListAdded(List<MediaDevice> devices) { in onDeviceListAdded()
278 public void onDeviceListRemoved(List<MediaDevice> devices) { in onDeviceListRemoved()
315 void onDeviceListUpdate(List<MediaDevice> devices); in onDeviceListUpdate()
DBluetoothMediaManager.java98 final List<BluetoothDevice> devices = a2dpProfile.getConnectableDevices(); in addConnectableA2dpDevices() local
130 final List<BluetoothDevice> devices = hapProfile.getConnectableDevices(); in addConnectableHearingAidDevices() local
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbUtil.java33 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); in findAllPossibleAndroidDevices() local
79 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); in isDeviceConnected() local
DUsbHostManagementActivity.java84 LinkedList<UsbDevice> devices = UsbUtil.findAllPossibleAndroidDevices(usbManager); in onCreate() local
169 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); in dumpUsbDevices() local
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManagerTest.java129 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_validCachedDevices_devicesAdded() local
173 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_sameHiSyncId_validCachedDevices_mainDevicesAdded_subDevicesNotAdded() local
188 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_differentHiSyncId_validCachedDevices_bothAdded() local
245 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() local
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp200 void DeviceVector::add(const DeviceVector &devices) in add()
244 void DeviceVector::remove(const DeviceVector &devices) in remove()
253 DeviceVector devices; in getDevicesFromHwModule() local
300 DeviceVector devices; in getDevicesFromTypes() local
327 DeviceVector devices; in getFirstDevicesFromTypes() local
DIOProfile.cpp27 bool IOProfile::isCompatibleProfile(const DeviceVector &devices, in isCompatibleProfile()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DInputSource.cpp47 status_t Element<audio_source_t>::set(audio_devices_t devices) in set()
/frameworks/av/media/libaudiofoundation/
DDeviceDescriptorBase.cpp150 std::string toString(const DeviceDescriptorBaseVector& devices) in toString()
162 AudioDeviceTypeAddrVector deviceTypeAddrsFromDescriptors(const DeviceDescriptorBaseVector& devices) in deviceTypeAddrsFromDescriptors()
/frameworks/ml/nn/runtime/test/
DTestFree.cpp58 std::vector<ANeuralNetworksDevice*> devices; in createDeviceList() local
101 const auto devices = createDeviceList(); in TEST() local
DTestPartitioning.cpp796 int partitionTheWork(const std::vector<std::shared_ptr<Device>>& devices, in partitionTheWork()
882 const std::vector<std::shared_ptr<Device>>& devices) { in PartitioningCompilation()
1048 std::vector<std::shared_ptr<Device>> devices; in makeDevices() local
1665 const auto devices = makeDevices({{"V1_0", 0.6, HalVersion::V1_0, ~0U}, in TEST_F() local
1686 const auto devices = makeDevices({{"1", 0.5, 1 << kDevOp}}); in TEST_F() local
1798 const auto devices = makeDevices({{"hw", 0.5, (1 << 0)}}); in TEST_F() local
1852 const auto devices = makeDevices({{"0", 0.5, 1 << 0}, {"1", 0.5, 1 << 1}}); in TEST_F() local
1935 const auto devices = makeDevices({// Best choice for non-relaxed model. in TEST_F() local
2000 const auto devices = in TEST_F() local
2019 const auto devices = in TEST_F() local
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/deviceidle/
DBluetoothConstraintTest.java142 private void enableBluetooth(boolean enabled, BluetoothDevice... devices) { in enableBluetooth()
/frameworks/av/services/audiopolicy/engine/common/include/
DProductStrategy.h82 void setDeviceTypes(const DeviceTypeSet& devices) in setDeviceTypes()
/frameworks/av/services/audioflinger/
DSpdifStreamOut.cpp48 audio_devices_t devices, in open()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothInstrumentation.java108 Set<BluetoothDevice> devices = getBluetoothAdapter().getBondedDevices(); in getBondedDevices() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DCastTile.java186 final List<CastDevice> devices = mController.getCastDevices(); in handleUpdateState() local
329 private void updateItems(List<CastDevice> devices) { in updateItems()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestUtil.java88 final HashMap<String,UsbDevice> devices = usbManager.getDeviceList(); in findMtpDevice() local
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DRootScanner.java136 final MtpDeviceRecord[] devices = mManager.getDevices(); in run() local
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp149 DeviceVector devices; in getDevicesForStrategyInt() local
612 auto devices = getDevicesForProductStrategy(strategy->getId()); in updateDeviceSelectionCache() local

1234