Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Daudio_bluetooth_hw.cc33 static int adev_set_parameters(struct audio_hw_device* dev, in adev_set_parameters()
57 static char* adev_get_parameters(const struct audio_hw_device* dev, in adev_get_parameters()
63 static int adev_init_check(const struct audio_hw_device* dev) { return 0; } in adev_init_check()
65 static int adev_set_voice_volume(struct audio_hw_device* dev, float volume) { in adev_set_voice_volume()
70 static int adev_set_master_volume(struct audio_hw_device* dev, float volume) { in adev_set_master_volume()
75 static int adev_get_master_volume(struct audio_hw_device* dev, float* volume) { in adev_get_master_volume()
79 static int adev_set_master_mute(struct audio_hw_device* dev, bool muted) { in adev_set_master_mute()
84 static int adev_get_master_mute(struct audio_hw_device* dev, bool* muted) { in adev_get_master_mute()
88 static int adev_set_mode(struct audio_hw_device* dev, audio_mode_t mode) { in adev_set_mode()
93 static int adev_set_mic_mute(struct audio_hw_device* dev, bool state) { in adev_set_mic_mute()
[all …]
Dstream_apis.cc695 int adev_open_output_stream(struct audio_hw_device* dev, in adev_open_output_stream()
805 void adev_close_output_stream(struct audio_hw_device* dev, in adev_close_output_stream()
826 size_t adev_get_input_buffer_size(const struct audio_hw_device* dev, in adev_get_input_buffer_size()
1203 int adev_open_input_stream(struct audio_hw_device* dev, in adev_open_input_stream()
1292 void adev_close_input_stream(struct audio_hw_device* dev, in adev_close_input_stream()
/packages/services/Car/tools/keventreader/server/
Deventgatherer.cpp24 auto dev = std::make_unique<InputSource>(argv[i]); in EventGatherer() local
52 if (auto dev = mDevices[fd.fd].get()) { in read() local
/packages/modules/Bluetooth/system/stack/test/gatt/
Dgatt_api_test.cc31 tBTM_SEC_DEV_REC* dev = btm_sec_allocate_dev_rec(); in make_bonded_ble_device() local
41 tBTM_SEC_DEV_REC* dev = make_bonded_ble_device(bda, rra); in make_bonded_dual_device() local
/packages/modules/Bluetooth/tools/rootcanal/model/setup/
Dtest_model.cc130 auto dev = devices_[dev_index]; in AddDeviceToPhy() local
155 void TestModel::AddLinkLayerConnection(std::shared_ptr<Device> dev, in AddLinkLayerConnection()
177 auto dev = connect_to_remote_(server, port, phy_type); in AddRemote() local
184 size_t TestModel::AddHciConnection(std::shared_ptr<HciDevice> dev) { in AddHciConnection()
/packages/modules/Bluetooth/system/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc1545 static int adev_open_output_stream(struct audio_hw_device* dev, in adev_open_output_stream()
1652 static void adev_close_output_stream(struct audio_hw_device* dev, in adev_close_output_stream()
1679 static int adev_set_parameters(struct audio_hw_device* dev, in adev_set_parameters()
1698 static char* adev_get_parameters(UNUSED_ATTR const struct audio_hw_device* dev, in adev_get_parameters()
1709 static int adev_init_check(UNUSED_ATTR const struct audio_hw_device* dev) { in adev_init_check()
1715 static int adev_set_voice_volume(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_voice_volume()
1722 static int adev_set_master_volume(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_master_volume()
1729 static int adev_set_mode(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_mode()
1736 static int adev_set_mic_mute(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_mic_mute()
1743 static int adev_get_mic_mute(UNUSED_ATTR const struct audio_hw_device* dev, in adev_get_mic_mute()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DBondStateMachine.java139 BluetoothDevice dev = (BluetoothDevice) msg.obj; in processMessage() local
196 BluetoothDevice dev = (BluetoothDevice) msg.obj; in processMessage() local
309 private boolean cancelBond(BluetoothDevice dev) { in cancelBond()
321 private boolean removeBond(BluetoothDevice dev, boolean transition) { in removeBond()
337 private boolean createBond(BluetoothDevice dev, int transport, OobData remoteP192Data, in createBond()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/
DBassClientServiceTest.java428 BluetoothDevice dev = sm.getDevice(); in prepareConnectedDeviceGroup() local
938 BluetoothDevice dev = sm.getDevice(); in testInvalidRequestForGroup() local
951 BluetoothDevice dev = sm.getDevice(); in testInvalidRequestForGroup() local
969 BluetoothDevice dev = sm.getDevice(); in testInvalidRequestForGroup() local
989 BluetoothDevice dev = sm.getDevice(); in testConnectedIntent() local
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceResponse.java153 int tranId, WifiP2pDevice dev, byte[] data) { in WifiP2pDnsSdServiceResponse()
296 int transId, WifiP2pDevice dev, byte[] data) { in newInstance()
DWifiP2pServiceResponse.java180 public void setSrcDevice(WifiP2pDevice dev) { in setSrcDevice()
198 WifiP2pDevice dev = new WifiP2pDevice(); in newInstance() local
DWifiP2pUpnpServiceResponse.java81 int transId, WifiP2pDevice dev, byte[] data) { in WifiP2pUpnpServiceResponse()
/packages/modules/Bluetooth/system/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc1581 static int adev_open_output_stream(struct audio_hw_device* dev, in adev_open_output_stream()
1688 static void adev_close_output_stream(struct audio_hw_device* dev, in adev_close_output_stream()
1717 static int adev_set_parameters(struct audio_hw_device* dev, in adev_set_parameters()
1736 static char* adev_get_parameters(UNUSED_ATTR const struct audio_hw_device* dev, in adev_get_parameters()
1747 static int adev_init_check(UNUSED_ATTR const struct audio_hw_device* dev) { in adev_init_check()
1753 static int adev_set_voice_volume(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_voice_volume()
1760 static int adev_set_master_volume(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_master_volume()
1767 static int adev_set_mode(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_mode()
1774 static int adev_set_mic_mute(UNUSED_ATTR struct audio_hw_device* dev, in adev_set_mic_mute()
1781 static int adev_get_mic_mute(UNUSED_ATTR const struct audio_hw_device* dev, in adev_get_mic_mute()
[all …]
/packages/modules/Virtualization/apkdmverity/src/
Dloopdevice.rs180 let dev = attach(a_file, 0, a_size, /*direct_io*/ true).unwrap(); in attach_loop_device_with_dio() localVariable
193 let dev = attach(a_file, 0, a_size, /*direct_io*/ false).unwrap(); in attach_loop_device_without_dio() localVariable
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pPeer.java43 public WifiP2pPeer(Context context, WifiP2pDevice dev) { in WifiP2pPeer()
/packages/modules/Bluetooth/system/bta/sys/
Dutl.cc161 uint8_t* dev; in utl_set_device_class() local
/packages/modules/Bluetooth/system/bta/vc/
Dvc.cc375 auto dev = volume_control_devices_.FindByAddress(*it); in HandleAutonomusVolumeChange() local
858 VolumeControlDevice* dev = volume_control_devices_.FindByAddress( in MuteUnmute() local
881 auto dev = volume_control_devices_.FindByAddress(*it); in MuteUnmute() local
921 VolumeControlDevice* dev = volume_control_devices_.FindByAddress( in SetVolume() local
946 auto dev = volume_control_devices_.FindByAddress(*it); in SetVolume() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DAccessoriesFragment.java180 static @DrawableRes int getImageIdForDevice( in getImageIdForDevice()
/packages/modules/adb/
Dfile_sync_protocol.h56 uint64_t dev; member
79 uint64_t dev; member
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pGroup.java156 WifiP2pDevice dev = new WifiP2pDevice(); in WifiP2pGroup() local
/packages/modules/Virtualization/apkdmverity/src/dm/
Dsys.rs57 pub dev: u64, field
/packages/modules/Bluetooth/system/bta/le_audio/
Dstate_machine_test.cc225 for (auto& dev : le_audio_devices_) { in SetUp() local
309 [&conn_handle](auto& dev) { in ConfigureIsoManagerMock()
334 [&conn_handle](auto& dev) { in ConfigureIsoManagerMock()
361 [&pair](auto& dev) { in ConfigureIsoManagerMock()
408 [&cis_handle](auto& dev) { in ConfigureIsoManagerMock()
1973 [&conn_handle](auto& dev) { in TEST_F()
Ddevices.cc887 for (auto const dev : leAudioDevices_) { in HaveAllCisesDisconnected() local
2836 LeAudioDevice* dev; in FindByCisConnHdl() local
2866 LeAudioDevice* dev; in SetInitialGroupAutoconnectState() local
2881 for (auto dev : leAudioDevices_) { in SetInitialGroupAutoconnectState() local
/packages/modules/adb/client/
Dusb_osx.cpp141 IOUSBDeviceInterface500 **dev = NULL; in AndroidInterfaceAdded() local
/packages/modules/Bluetooth/system/bta/groups/
Dgroups.cc246 g.ForEachDevice([&](auto& dev) { in AddCallbacks()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java2617 WifiP2pDevice dev = in processMessage() local
3249 WifiP2pDevice dev = fetchCurrentDeviceDetails(mSavedPeerConfig); in processMessage() local
5029 WifiP2pDevice dev = fetchCurrentDeviceDetails(config); in p2pConnectWithPinDisplay() local
5066 WifiP2pDevice dev = fetchCurrentDeviceDetails(config); in reinvokePersistentGroup() local

12