Home
last modified time | relevance | path

Searched refs:devAddress (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_UsbHostManager.cpp53 static int usb_device_added(const char *devAddress, void* clientData) { in usb_device_added() argument
54 struct usb_device *device = usb_device_open(devAddress); in usb_device_added()
69 jstring deviceAddress = env->NewStringUTF(devAddress); in usb_device_added()
92 static int usb_device_removed(const char *devAddress, void* clientData) { in usb_device_removed() argument
96 jstring deviceAddress = env->NewStringUTF(devAddress); in usb_device_removed()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp350 String8 devAddress = (address == nullptr || !matchAddress) ? String8("") : String8(address); in getDeviceDescriptor() local
352 if (audio_is_remote_submix_device(deviceType) && (devAddress.length() == 0)) { in getDeviceDescriptor()
353 devAddress = String8("0"); in getDeviceDescriptor()
359 auto dynamicDevice = dynamicDevices.getDevice(deviceType, devAddress, encodedFormat); in getDeviceDescriptor()
365 auto moduleDevice = moduleDevices.getDevice(deviceType, devAddress, encodedFormat); in getDeviceDescriptor()
371 (moduleDevice->address().compare(devAddress.c_str()) != 0))) { in getDeviceDescriptor()
381 moduleDevice->setAddress(devAddress.c_str()); in getDeviceDescriptor()