/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | OneTouchPlayAction.java | 232 HdmiDeviceInfo targetDevice = localDevice.mService.getHdmiCecNetwork().getCecDeviceInfo( in getTargetCecVersion() local 234 if (targetDevice != null) { in getTargetCecVersion() 235 return targetDevice.getCecVersion(); in getTargetCecVersion() 242 HdmiDeviceInfo targetDevice = localDevice.mService.getHdmiCecNetwork().getCecDeviceInfo( in getTargetDevicePowerStatus() local 244 if (targetDevice != null) { in getTargetDevicePowerStatus() 245 return targetDevice.getDevicePowerStatus(); in getTargetDevicePowerStatus()
|
D | DeviceSelectActionFromTv.java | 108 HdmiDeviceInfo targetDevice = localDevice().mService.getHdmiCecNetwork() in start() local 110 if (targetDevice != null) { in start() 111 targetPowerStatus = targetDevice.getDevicePowerStatus(); in start()
|
D | DeviceSelectActionFromPlayback.java | 122 HdmiDeviceInfo targetDevice = localDevice().mService.getHdmiCecNetwork() in start() local 124 if (targetDevice != null) { in start() 125 targetPowerStatus = targetDevice.getDevicePowerStatus(); in start()
|
D | HdmiCecLocalDevicePlayback.java | 208 HdmiDeviceInfo targetDevice = mService.getHdmiCecNetwork().getDeviceInfo(id); in deviceSelect() local 209 if (targetDevice == null) { in deviceSelect() 213 int targetAddress = targetDevice.getLogicalAddress(); in deviceSelect() 214 if (isAlreadyActiveSource(targetDevice, targetAddress, callback)) { in deviceSelect() 218 setActiveSource(targetDevice, "HdmiCecLocalDevicePlayback#deviceSelect()"); in deviceSelect() 223 addAndStartAction(new DeviceSelectActionFromPlayback(this, targetDevice, callback)); in deviceSelect()
|
D | HdmiCecLocalDeviceTv.java | 274 HdmiDeviceInfo targetDevice = mService.getHdmiCecNetwork().getDeviceInfo(id); in deviceSelect() local 275 if (targetDevice == null) { in deviceSelect() 279 int targetAddress = targetDevice.getLogicalAddress(); in deviceSelect() 280 if (isAlreadyActiveSource(targetDevice, targetAddress, callback)) { in deviceSelect() 294 setActiveSource(targetDevice, "HdmiCecLocalDeviceTv#deviceSelect()"); in deviceSelect() 299 addAndStartAction(new DeviceSelectActionFromTv(this, targetDevice, callback)); in deviceSelect() 1705 HdmiDeviceInfo targetDevice = mService.getHdmiCecNetwork().getDeviceInfo(deviceId); in sendStandby() local 1706 if (targetDevice == null) { in sendStandby() 1709 int targetAddress = targetDevice.getLogicalAddress(); in sendStandby()
|
D | HdmiCecLocalDevice.java | 282 protected boolean isAlreadyActiveSource(HdmiDeviceInfo targetDevice, int targetAddress, in isAlreadyActiveSource() argument 285 if (targetDevice.getDevicePowerStatus() == HdmiControlManager.POWER_STATUS_ON in isAlreadyActiveSource()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothEventManager.java | 260 CachedBluetoothDevice targetDevice = activeDevice; in dispatchActiveDeviceChanged() local 264 CachedBluetoothDevice finalTargetDevice = targetDevice; in dispatchActiveDeviceChanged() 265 if (targetDevice != null in dispatchActiveDeviceChanged() 266 && ((subDevice != null && subDevice.equals(targetDevice)) in dispatchActiveDeviceChanged() 271 + targetDevice.getDevice().getAnonymizedAddress() in dispatchActiveDeviceChanged() 274 targetDevice = cachedDevice; in dispatchActiveDeviceChanged() 276 boolean isActiveDevice = cachedDevice.equals(targetDevice); in dispatchActiveDeviceChanged() 282 callback.onActiveDeviceChanged(targetDevice, bluetoothProfile); in dispatchActiveDeviceChanged()
|
D | LocalBluetoothLeBroadcast.java | 1153 BluetoothDevice targetDevice = null; in updateFallbackActiveDeviceIfNeeded() local 1161 targetDevice = device; in updateFallbackActiveDeviceIfNeeded() 1165 if (targetDevice == null) { in updateFallbackActiveDeviceIfNeeded() 1172 + targetDevice.getAnonymizedAddress()); in updateFallbackActiveDeviceIfNeeded() 1173 CachedBluetoothDevice targetCachedDevice = mDeviceManager.findDevice(targetDevice); in updateFallbackActiveDeviceIfNeeded()
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiControlManager.java | 1642 public boolean isDeviceConnected(@NonNull HdmiDeviceInfo targetDevice) { in isDeviceConnected() argument 1643 Objects.requireNonNull(targetDevice); in isDeviceConnected() 1648 int targetPhysicalAddress = targetDevice.getPhysicalAddress(); in isDeviceConnected() 1661 public boolean isRemoteDeviceConnected(@NonNull HdmiDeviceInfo targetDevice) { in isRemoteDeviceConnected() argument 1662 Objects.requireNonNull(targetDevice); in isRemoteDeviceConnected() 1667 int targetPhysicalAddress = targetDevice.getPhysicalAddress(); in isRemoteDeviceConnected()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaOutputBaseAdapter.java | 113 boolean isDeviceIncluded(List<MediaDevice> deviceList, MediaDevice targetDevice) { in isDeviceIncluded() argument 115 if (TextUtils.equals(device.getId(), targetDevice.getId())) { in isDeviceIncluded()
|
D | MediaOutputController.java | 1028 protected void setTemporaryAllowListExceptionIfNeeded(MediaDevice targetDevice) { in setTemporaryAllowListExceptionIfNeeded() argument
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | KeyboardLayoutManager.java | 888 @NonNull String intentContent, @Nullable InputDevice targetDevice) { in showKeyboardLayoutNotification() argument 897 if (targetDevice != null) { in showKeyboardLayoutNotification() 898 intent.putExtra(Settings.EXTRA_INPUT_DEVICE_IDENTIFIER, targetDevice.getIdentifier()); in showKeyboardLayoutNotification()
|