Home
last modified time | relevance | path

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

1234567

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsHelperTest.java147 List<BluetoothDevice> devices = new ArrayList<>(); in addSource_hasDevice() local
170 List<BluetoothDevice> devices = new ArrayList<>(); in removeSource_noConnectedSource_doNothing() local
189 List<BluetoothDevice> devices = new ArrayList<>(); in removeSource_hasConnectedSource() local
210 List<BluetoothDevice> devices = new ArrayList<>(); in removeSource_memberHasConnectedSource() local
247 List<BluetoothDevice> devices = new ArrayList<>(); in getConnectedBroadcastIdAndState_returnStreamingSource() local
270 List<BluetoothDevice> devices = new ArrayList<>(); in getConnectedBroadcastIdAndState_noSource() local
294 List<BluetoothDevice> devices = new ArrayList<>(); in getConnectedBroadcastIdAndState_returnPausedSource() local
323 List<BluetoothDevice> devices = new ArrayList<>(); in startMediaService_hasDevice() local
DAudioStreamConfirmDialogTest.java234 List<BluetoothDevice> devices = new ArrayList<>(); in showDialog_noMetadata() local
282 List<BluetoothDevice> devices = new ArrayList<>(); in showDialog_invalidMetadata() local
333 List<BluetoothDevice> devices = new ArrayList<>(); in showDialog_confirmListen() local
392 List<BluetoothDevice> devices = new ArrayList<>(); in showDialog_turnOffTalkback() local
452 List<BluetoothDevice> devices = new ArrayList<>(); in showDialog_getDataStringFromIntent_confirmListen() local
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothDeviceManagerTest.java476 List<AudioDeviceInfo> devices = new ArrayList<>(); in testConnectDisconnectAudioHearingAid() local
511 List<AudioDeviceInfo> devices = new ArrayList<>(); in testConnectDisconnectAudioLeAudio() local
583 List<AudioDeviceInfo> devices = new ArrayList<>(); in testConnectMultipleLeAudioDevices() local
621 List<AudioDeviceInfo> devices = new ArrayList<>(); in testClearCommunicationDeviceOnActiveDeviceChange() local
673 List<AudioDeviceInfo> devices = new ArrayList<>(); in testConnectDualModeEarbud() local
833 List<AudioDeviceInfo> devices = new ArrayList<>(); in assertClearHearingAidOrLeCommunicationDevice() local
/packages/apps/TvSystemUI/src/com/android/systemui/tv/media/
DTvMediaOutputController.java140 List<MediaDevice> devices) { in buildMediaItems()
149 private List<MediaItem> buildInitialList(List<MediaDevice> devices) { in buildInitialList()
172 List<MediaDevice> devices) { in buildBetterSubsequentList()
188 List<MediaItem> oldMediaItems, List<MediaDevice> devices, boolean isConnected) { in addItemsBasedOnConnection()
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DMediaDeviceUpdateWorkerTest.java142 final List<MediaDevice> devices = in onDeviceListUpdate_sameDeviceList_shouldBeEqual() local
161 final List<MediaDevice> devices = in onDeviceListUpdate_add1DeviceToDeviceList_shouldBeEqual() local
175 final List<MediaDevice> devices = in onDeviceListUpdate_less1DeviceToDeviceList_shouldBeEqual() local
/packages/apps/DocumentsUI/src/com/android/documentsui/
DShortcutsUpdater.java56 List<ShortcutInfo> devices = getDeviceShortcuts(roots); in update() local
81 List<ShortcutInfo> devices = new ArrayList<>(); in getDeviceShortcuts() local
/packages/services/Telecomm/src/com/android/server/telecom/
DWiredHeadsetManager.java53 public void onAudioDevicesRemoved(AudioDeviceInfo[] devices) { in onAudioDevicesRemoved()
105 AudioDeviceInfo[] devices = mAudioManager.getDevices(AudioManager.GET_DEVICES_ALL); in isWiredHeadsetPluggedIn() local
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbUtil.java36 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); in findAllPossibleAndroidDevices() local
82 HashMap<String, UsbDevice> devices = usbManager.getDeviceList(); in isDeviceConnected() local
/packages/apps/Settings/src/com/android/settings/sound/
DAudioSwitchPreferenceController.java237 final List<BluetoothDevice> devices = hfpProfile.getConnectedDevices(); in getConnectedHfpDevices() local
268 final List<BluetoothDevice> devices = leAudioProfile.getConnectedDevices(); in getConnectedLeAudioDevices() local
307 final List<BluetoothDevice> devices = hapProfile.getConnectedDevices(); in getConnectedHearingAidDevices() local
406 public void onAudioDevicesRemoved(AudioDeviceInfo[] devices) { in onAudioDevicesRemoved()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapClientServiceBinderTest.java149 List<BluetoothDevice> devices = in testGetConnectedDevices_afterCleanup_returnsEmptyList() local
159 List<BluetoothDevice> devices = in testGetDevicesMatchingConnectionStates_afterCleanup_returnsEmptyList() local
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkServiceTest.java304 List<BluetoothDevice> devices = mService.getConnectedDevices(); in testGetConnectedDevices() local
320 List<BluetoothDevice> devices = in testGetDevicesMatchingConnectionStatesConnected() local
336 List<BluetoothDevice> devices = in testGetDevicesMatchingConnectionStatesDisconnected() local
/packages/modules/NeuralNetworks/runtime/test/
DTestFree.cpp58 std::vector<ANeuralNetworksDevice*> devices; in createDeviceList() local
101 const auto devices = createDeviceList(); in TEST() local
DTestPartitioning.cpp847 int partitionTheWork(const std::vector<std::shared_ptr<Device>>& devices, in partitionTheWork()
943 const std::vector<std::shared_ptr<Device>>& devices) { in PartitioningCompilation()
1129 std::vector<std::shared_ptr<Device>> devices; in makeDevices() local
1827 const auto devices = makeDevices({{"V1_0", 0.6, HalVersion::V1_0, ~0U}, in TEST_F() local
1849 const auto devices = makeDevices({{"1", 0.5, 1 << kDevOp}}); in TEST_F() local
1961 const auto devices = makeDevices({{"hw", 0.5, (1 << 0)}}); in TEST_F() local
2014 const auto devices = makeDevices({{"0", 0.5, 1 << 0}, {"1", 0.5, 1 << 1}}); in TEST_F() local
2100 const auto devices = makeDevices({// Best choice for non-relaxed model. in TEST_F() local
2166 const auto devices = in TEST_F() local
2186 const auto devices = in TEST_F() local
[all …]
/packages/apps/Settings/src/com/android/settings/media/
DMediaOutputIndicatorWorker.java135 public void onDeviceListUpdate(List<MediaDevice> devices) { in onDeviceListUpdate()
140 private void buildMediaDevices(List<MediaDevice> devices) { in buildMediaDevices()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/
DBatteryService.java200 List<BluetoothDevice> devices = new ArrayList<>(); in getConnectedDevices() local
257 ArrayList<BluetoothDevice> devices = new ArrayList<>(); in getDevicesMatchingConnectionStates() local
290 List<BluetoothDevice> devices = new ArrayList<>(); in getDevices() local
/packages/modules/Virtualization/android/virtualizationservice/aidl/android/system/virtualizationservice_internal/
DIVfioHandler.aidl37 IBoundDevice[] bindDevicesToVfioDriver(in VfioDev[] devices); in bindDevicesToVfioDriver()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothMetadataListener.aidl28 void onMetadataChanged(in BluetoothDevice devices, in int key, in byte[] value); in onMetadataChanged()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DBluetoothDeviceManagerTest.java185 String devices = Settings.Secure.getString(mMockContext.getContentResolver(), mSettingsKey); in getSettingsDeviceList() local
190 ArrayList<BluetoothDevice> devices = new ArrayList<>(); in makeDeviceList() local
204 List<String> devices) { in setPreconditionsAndStart()
267 List<BluetoothDevice> devices = mDeviceManager.getDeviceListSnapshot(); in assertDeviceList() local
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroupMuting.java159 private static void dumpDeviceAddresses(IndentingPrintWriter writer, String[] devices) { in dumpDeviceAddresses()
189 private static void dumpProtoDeviceAddresses(String[] devices, long fieldId, in dumpProtoDeviceAddresses()
/packages/modules/Bluetooth/android/pandora/test/
Drfcomm_test.py45 devices: Optional[PandoraDevices] = None variable in RfcommTest
Dsdp_test.py43 devices: Optional[PandoraDevices] = None variable in SdpTest
/packages/apps/Settings/src/com/android/settings/bluetooth/
DUtils.java376 List<CachedBluetoothDevice> devices = in setLeAudioEnabled() local
439 List<CachedBluetoothDevice> devices, LocalBluetoothProfile profile) { in getDevicesWithProfile()
452 List<CachedBluetoothDevice> devices, in setProfileEnabledWhenChangingLeAudio()
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriverLimited.cpp43 const auto devices = getExampleLimitedDevices(); in main() local
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothDeviceManager.java359 ArrayList<BluetoothDevice> devices = new ArrayList<>(); in getLeAudioConnectedDevices() local
686 List<AudioDeviceInfo> devices = mAudioManager.getAvailableCommunicationDevices(); in setLeAudioCommunicationDevice() local
736 List<AudioDeviceInfo> devices = mAudioManager.getAvailableCommunicationDevices(); in setHearingAidCommunicationDevice() local
776 List<AudioDeviceInfo> devices = mAudioManager.getAvailableCommunicationDevices(); in setCommunicationDeviceForAddress() local
/packages/services/Car/car-builtin-lib/src/android/car/builtin/bluetooth/
DBluetoothHeadsetClientHelper.java49 List<BluetoothDevice> devices = headsetClient.getConnectedDevices(); in getConnectedBvraDevices() local

1234567