Searched refs:defaultDevice (Results 1 – 4 of 4) sorted by relevance
257 String defaultDevice, Logger logger) { in chooseDevice() argument272 if (defaultDevice != null) { in chooseDevice()273 if (connectedDevices.contains(defaultDevice)) { in chooseDevice()274 return defaultDevice; in chooseDevice()276 logger.severe("ANDROID_SERIAL device is not connected: " + defaultDevice); in chooseDevice()
253 auto defaultDevice = getApmObserver()->getDefaultOutputDevice(); in getDevicesForProductStrategy() local254 ALOG_ASSERT(defaultDevice != nullptr, "no valid default device defined"); in getDevicesForProductStrategy()255 return DeviceVector(defaultDevice); in getDevicesForProductStrategy()270 auto defaultDevice = getApmObserver()->getDefaultOutputDevice(); in getDevicesForProductStrategy() local271 ALOG_ASSERT(defaultDevice != nullptr, "Default Output Device NOT available"); in getDevicesForProductStrategy()272 return DeviceVector(defaultDevice); in getDevicesForProductStrategy()
119 void setDefaultOutputDevice(const sp<DeviceDescriptor> &defaultDevice) in setDefaultOutputDevice() argument121 mDefaultOutputDevice = defaultDevice; in setDefaultOutputDevice()
104 String defaultDevice) { in processArgs() argument133 mDeviceSerial = Utils.chooseDevice(mDeviceSerial, connectedDevices, defaultDevice, LOGGER); in processArgs()