Home
last modified time | relevance | path

Searched refs:newDevice (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDeviceManager.java89 CachedBluetoothDevice newDevice = new CachedBluetoothDevice(mContext, adapter, in addDevice() local
92 mCachedDevices.add(newDevice); in addDevice()
93 mBtManager.getEventManager().dispatchDeviceAdded(newDevice); in addDevice()
95 return newDevice; in addDevice()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp197 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/); in setDeviceConnectionStateInt() local
198 updateCallRouting(newDevice); in setDeviceConnectionStateInt()
203 audio_devices_t newDevice = getNewOutputDevice(desc, true /*fromCache*/); in setDeviceConnectionStateInt() local
211 setOutputDevice(desc, newDevice, force, 0); in setDeviceConnectionStateInt()
294 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/); in setDeviceConnectionStateInt() local
295 updateCallRouting(newDevice); in setDeviceConnectionStateInt()
666 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, true /*fromCache*/); in setForceUse() local
667 waitMs = updateCallRouting(newDevice, delayMs); in setForceUse()
671 audio_devices_t newDevice = getNewOutputDevice(outputDesc, true /*fromCache*/); in setForceUse() local
673 waitMs = setOutputDevice(outputDesc, newDevice, (newDevice != AUDIO_DEVICE_NONE), in setForceUse()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java694 final WifiP2pDevice newDevice = mDesiredDevice; in updateConnection() local
701 Slog.i(TAG, "Initiated connection to Wifi display: " + newDevice.deviceName); in updateConnection()
708 if (mConnectingDevice == newDevice) { in updateConnection()
710 + newDevice.deviceName + ", reason=" + reason); in updateConnection()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java1019 HdmiMhlLocalDeviceStub newDevice = new HdmiMhlLocalDeviceStub(this, portId); in handleMhlHotplugEvent() local
1020 HdmiMhlLocalDeviceStub oldDevice = mMhlController.addLocalDevice(newDevice); in handleMhlHotplugEvent()
1025 invokeDeviceEventListeners(newDevice.getInfo(), DEVICE_EVENT_ADD_DEVICE); in handleMhlHotplugEvent()
/frameworks/av/services/audioflinger/
DThreads.cpp713 const audio_devices_t newDevice = getDevice(); in processConfigEvents_l() local
716 (unsigned)newDevice, devicesToString(newDevice).c_str()); in processConfigEvents_l()
723 const audio_devices_t newDevice = getDevice(); in processConfigEvents_l() local
726 (unsigned)newDevice, devicesToString(newDevice).c_str()); in processConfigEvents_l()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp980 InputDevice* newDevice(int32_t deviceId, int32_t controllerNumber, const String8& name, in newDevice() function in android::InstrumentedInputReader
1045 InputDevice* device = mReader->newDevice(deviceId, controllerNumber, name, classes); in addDeviceWithFakeInputMapper()