Home
last modified time | relevance | path

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

123456789

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
H A DCastTileTest.java186 List<CastDevice> devices = new ArrayList<>(); in testStateActive_wifiEnabledAndCasting() local
223 List<CastDevice> devices = new ArrayList<>(); in testStateActive_hotspotEnabledAndConnectedAndCasting() local
245 List<CastDevice> devices = new ArrayList<>(); in testHandleClick_castDevicePresent() local
262 List<CastDevice> devices = new ArrayList<>(); in testHandleClick_projectionOnly() local
279 List<CastDevice> devices = new ArrayList<>(); in testUpdateState_projectionOnly() local
300 List<CastDevice> devices = new ArrayList<>(); in testUpdateState_castingAndProjection() local
324 List<CastDevice> devices = new ArrayList<>(); in testUpdateState_connectedAndConnecting() local
355 List<CastDevice> devices = new ArrayList<>(); in testExpandView_casting_projection() local
370 List<CastDevice> devices = new ArrayList<>(); in testExpandView_connecting_projection() local
384 List<CastDevice> devices = new ArrayList<>(); in testExpandView_casting_mediaRoute() local
[all …]
/aosp12/hardware/interfaces/neuralnetworks/utils/service/src/
H A DService.cpp54 std::vector<SharedDeviceAndUpdatability>* devices, in getHidlDevicesForVersion()
75 void getAidlDevices(std::vector<SharedDeviceAndUpdatability>* devices, in getAidlDevices()
120 std::vector<SharedDeviceAndUpdatability> devices; in getDevices() local
/aosp12/system/core/init/
H A Dfirst_stage_mount.cpp288 std::set<std::string> devices; in InitDevices() local
315 void FirstStageMount::GetSuperDeviceName(std::set<std::string>* devices) { in GetSuperDeviceName()
327 bool FirstStageMount::InitRequiredDevices(std::set<std::string> devices) { in InitRequiredDevices()
338 std::set<std::string> devices; in InitDmLinearBackingDevices() local
595 auto init_devices = [this](std::set<std::string> devices) -> bool { in MountPartitions()
644 auto init_devices = [this](std::set<std::string> devices) -> bool { in UseDsuIfPresent()
678 bool FirstStageMountVBootV1::GetDmVerityDevices(std::set<std::string>* devices) { in GetDmVerityDevices()
752 bool FirstStageMountVBootV2::GetDmVerityDevices(std::set<std::string>* devices) { in GetDmVerityDevices()
H A Dblock_dev_initializer.cpp73 std::set<std::string>* devices) { in HandleUevent()
100 bool BlockDevInitializer::InitDevices(std::set<std::string> devices) { in InitDevices()
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioIODescriptorInterface.h43 IoDescriptor& desc, Filter filter, bool& active, const DeviceVector& devices) in findPreferredDevice()
70 IoCollection& ioCollection, Filter filter, const DeviceVector& devices) in findPreferredDevice()
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDeviceManagerTest.java126 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_validCachedDevices_devicesAdded() local
170 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_sameHiSyncId_validCachedDevices_mainDevicesAdded_subDevicesNotAdded() local
185 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in addDevice_differentHiSyncId_validCachedDevices_bothAdded() local
204 final Collection<CachedBluetoothDevice> devices = in addDevice_addDuplicatedDevice_duplicateDeviceShouldNotAdded() local
261 Collection<CachedBluetoothDevice> devices = mCachedDeviceManager.getCachedDevicesCopy(); in clearNonBondedDevices_bondedAndNonBondedDevices_nonBondedDevicesCleared() local
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
H A DLocalMediaManagerTest.java291 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListAdded_addDevicesList() local
310 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListAdded_addDeviceList() local
383 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListRemoved_removeAll() local
404 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListRemoved_phoneDeviceNotLastDeviceAfterRemoveDeviceList_removeList() local
555 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListAdded_haveDisconnectedDevice_addDisconnectedDevice() local
601 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListAdded_transferToDisconnectedBluetooth_verifyConnectDevice() local
638 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListAdded_haveDisconnectedDevice_list5DisconnectedDevice() local
700 final List<MediaDevice> devices = new ArrayList<>(); in onDeviceListAdded_bluetoothAdapterIsNull_noDisconnectedDeviceAdded() local
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
H A DMediaManager.java95 protected void dispatchDeviceListRemoved(List<MediaDevice> devices) { in dispatchDeviceListRemoved()
139 void onDeviceListAdded(List<MediaDevice> devices); in onDeviceListAdded()
153 void onDeviceListRemoved(List<MediaDevice> devices); in onDeviceListRemoved()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
H A DMediaDeviceUpdateWorkerTest.java140 final List<MediaDevice> devices = in onDeviceListUpdate_sameDeviceList_shouldBeEqual() local
159 final List<MediaDevice> devices = in onDeviceListUpdate_add1DeviceToDeviceList_shouldBeEqual() local
173 final List<MediaDevice> devices = in onDeviceListUpdate_less1DeviceToDeviceList_shouldBeEqual() local
/aosp12/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
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DShortcutsUpdater.java56 List<ShortcutInfo> devices = getDeviceShortcuts(roots); in update() local
81 List<ShortcutInfo> devices = new ArrayList<>(); in getDeviceShortcuts() local
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DWiredHeadsetManager.java53 public void onAudioDevicesRemoved(AudioDeviceInfo[] devices) { in onAudioDevicesRemoved()
105 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_ALL); in isWiredHeadsetPluggedIn() local
/aosp12/frameworks/av/services/audioflinger/
H A DTrackMetrics.h57 void logBeginInterval(const std::string& devices) { in logBeginInterval()
144 void deliverDeviceMetrics(const char *eventName, const char *devices) const { in deliverDeviceMetrics()
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DDeviceDescriptor.cpp249 void DeviceVector::add(const DeviceVector &devices) in add()
315 void DeviceVector::remove(const DeviceVector &devices) in remove()
324 DeviceVector devices; in getDevicesFromHwModule() local
371 DeviceVector devices; in getDevicesFromTypes() local
398 DeviceVector devices; in getFirstDevicesFromTypes() local
444 DeviceVector devices; in getDevicesFromDeviceTypeAddrVec() local
/aosp12/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
H A DUsbUtil.java36 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); in findAllPossibleAndroidDevices() local
88 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); in isDeviceConnected() local
/aosp12/frameworks/base/media/java/android/media/
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()
/aosp12/packages/apps/Settings/src/com/android/settings/media/
H A DMediaOutputIndicatorWorker.java135 public void onDeviceListUpdate(List<MediaDevice> devices) { in onDeviceListUpdate()
140 private void buildMediaDevices(List<MediaDevice> devices) { in buildMediaDevices()
/aosp12/system/bt/binder/android/bluetooth/
H A DIBluetoothMetadataListener.aidl28 void onMetadataChanged(in BluetoothDevice devices, in int key, in byte[] value); in onMetadataChanged()
/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DTestFree.cpp58 std::vector<ANeuralNetworksDevice*> devices; in createDeviceList() local
101 const auto devices = createDeviceList(); in TEST() local
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
H A DBluetoothProfileDeviceManagerTest.java211 String devices = Settings.Secure.getStringForUser(mMockContext.getContentResolver(), in getSettingsDeviceList() local
218 ArrayList<BluetoothDevice> devices = new ArrayList<>(); in makeDeviceList() local
232 List<String> devices) { in setPreconditionsAndStart()
336 ArrayList<BluetoothDevice> devices = mProfileDeviceManager.getDeviceListSnapshot(); in assertDeviceList() local
602 ArrayList<BluetoothDevice> devices = makeDeviceList(SMALL_DEVICE_LIST); in testGetConnectionPriority_prioritiesReturned() local
852 ArrayList<BluetoothDevice> devices = makeDeviceList(SMALL_DEVICE_LIST); in testAutoConnectSeveralDevices_attemptsToConnectEachDevice() local
/aosp12/hardware/libhardware_legacy/audio/
H A DAudioHardwareGeneric.cpp68 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) in openOutputStream()
102 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, in openInputStream()
195 uint32_t devices, in set()
314 uint32_t devices, in set()
/aosp12/packages/apps/Settings/src/com/android/settings/sound/
H A DAudioSwitchPreferenceController.java196 final List<BluetoothDevice> devices = hfpProfile.getConnectedDevices(); in getConnectedHfpDevices() local
227 final List<BluetoothDevice> devices = hapProfile.getConnectedDevices(); in getConnectedHearingAidDevices() local
294 public void onAudioDevicesRemoved(AudioDeviceInfo[] devices) { in onAudioDevicesRemoved()
/aosp12/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DInputSource.cpp47 status_t Element<audio_source_t>::set(audio_devices_t devices) in set()
/aosp12/frameworks/av/services/audiopolicy/engine/common/src/
H A DEngineBase.cpp358 T t, device_role_t role, const AudioDeviceTypeAddrVector &devices, in setDevicesRoleForT()
420 T t, device_role_t role, AudioDeviceTypeAddrVector &devices, const std::string& logStr, in getDevicesRoleForT()
450 const AudioDeviceTypeAddrVector &devices) in setDevicesRoleForStrategy()
479 const AudioDeviceTypeAddrVector &devices) in setDevicesRoleForCapturePreset()
489 const AudioDeviceTypeAddrVector &devices) in addDevicesRoleForCapturePreset()
522 audio_source_t audioSource, device_role_t role, const AudioDeviceTypeAddrVector& devices) { in removeDevicesRoleForCapturePreset()
527 device_role_t role, const AudioDeviceTypeAddrVector& devices, bool forceMatched) in doRemoveDevicesRoleForCapturePreset()

123456789