Home
last modified time | relevance | path

Searched refs:newDevice (Results 1 – 5 of 5) 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.cpp175 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/); in setDeviceConnectionStateInt() local
176 updateCallRouting(newDevice); in setDeviceConnectionStateInt()
181 audio_devices_t newDevice = getNewOutputDevice(desc, true /*fromCache*/); in setDeviceConnectionStateInt() local
189 setOutputDevice(desc, newDevice, force, 0); in setDeviceConnectionStateInt()
265 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/); in setDeviceConnectionStateInt() local
266 updateCallRouting(newDevice); in setDeviceConnectionStateInt()
553 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, true /*fromCache*/); in setForceUse() local
554 updateCallRouting(newDevice); in setForceUse()
558 audio_devices_t newDevice = getNewOutputDevice(outputDesc, true /*fromCache*/); in setForceUse() local
560 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.java995 HdmiMhlLocalDeviceStub newDevice = new HdmiMhlLocalDeviceStub(this, portId); in handleMhlHotplugEvent() local
996 HdmiMhlLocalDeviceStub oldDevice = mMhlController.addLocalDevice(newDevice); in handleMhlHotplugEvent()
1001 invokeDeviceEventListeners(newDevice.getInfo(), DEVICE_EVENT_ADD_DEVICE); in handleMhlHotplugEvent()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp949 InputDevice* newDevice(int32_t deviceId, int32_t controllerNumber, const String8& name, in newDevice() function in android::InstrumentedInputReader
1014 InputDevice* device = mReader->newDevice(deviceId, controllerNumber, name, classes); in addDeviceWithFakeInputMapper()