Searched refs:newDevice (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DCachedBluetoothDeviceManager.java89 CachedBluetoothDevice newDevice = new CachedBluetoothDevice(mContext, adapter,
92 mCachedDevices.add(newDevice);
93 mBtManager.getEventManager().dispatchDeviceAdded(newDevice);
95 return newDevice;
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp197 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/); local
198 updateCallRouting(newDevice);
203 audio_devices_t newDevice = getNewOutputDevice(desc, true /*fromCache*/); local
211 setOutputDevice(desc, newDevice, force, 0);
294 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, false /*fromCache*/); local
295 updateCallRouting(newDevice);
666 audio_devices_t newDevice = getNewOutputDevice(mPrimaryOutput, true /*fromCache*/); local
667 waitMs = updateCallRouting(newDevice, delayMs);
671 audio_devices_t newDevice = getNewOutputDevice(outputDesc, true /*fromCache*/); local
673 waitMs = setOutputDevice(outputDesc, newDevice, (newDevic
684 audio_devices_t newDevice = getNewInputDevice(activeDesc); local
1182 audio_devices_t newDevice; local
1387 audio_devices_t newDevice = getNewOutputDevice(outputDesc, false /*fromCache*/); local
3130 audio_devices_t newDevice = getNewOutputDevice(outputDesc, false /*fromCache*/); local
4461 audio_devices_t newDevice = getDeviceForStrategy(strategy, false /*fromCache*/); local
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DWifiDisplayController.java694 final WifiP2pDevice newDevice = mDesiredDevice;
701 Slog.i(TAG, "Initiated connection to Wifi display: " + newDevice.deviceName);
708 if (mConnectingDevice == newDevice) {
710 + newDevice.deviceName + ", reason=" + reason);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiControlService.java1019 HdmiMhlLocalDeviceStub newDevice = new HdmiMhlLocalDeviceStub(this, portId);
1020 HdmiMhlLocalDeviceStub oldDevice = mMhlController.addLocalDevice(newDevice);
1025 invokeDeviceEventListeners(newDevice.getInfo(), DEVICE_EVENT_ADD_DEVICE);
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java3986 private void onAccessoryPlugMediaUnmute(int newDevice) { argument
3988 Log.i(TAG, String.format("onAccessoryPlugMediaUnmute newDevice=%d [%s]",
3989 newDevice, AudioSystem.getOutputDeviceName(newDevice)));
3992 if ((newDevice & DEVICE_MEDIA_UNMUTED_ON_PLUG) != 0
3994 && mStreamStates[AudioSystem.STREAM_MUSIC].getIndex(newDevice) != 0
3995 && (newDevice & AudioSystem.getDevicesForStream(AudioSystem.STREAM_MUSIC)) != 0)
3999 newDevice, AudioSystem.getOutputDeviceName(newDevice)));
/frameworks/av/services/audioflinger/
H A DThreads.cpp713 const audio_devices_t newDevice = getDevice(); local
716 (unsigned)newDevice, devicesToString(newDevice).c_str());
723 const audio_devices_t newDevice = getDevice(); local
726 (unsigned)newDevice, devicesToString(newDevice).c_str());
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp980 InputDevice* newDevice(int32_t deviceId, int32_t controllerNumber, const String8& name, function in class:android::InstrumentedInputReader
1045 InputDevice* device = mReader->newDevice(deviceId, controllerNumber, name, classes);

Completed in 277 milliseconds