Home
last modified time | relevance | path

Searched refs:mDeviceType (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java107 private final int mDeviceType; field in HdmiDeviceInfo
175 mDeviceType = deviceType; in HdmiDeviceInfo()
215 mDeviceType = DEVICE_RESERVED; in HdmiDeviceInfo()
240 mDeviceType = DEVICE_RESERVED; in HdmiDeviceInfo()
261 mDeviceType = DEVICE_INACTIVE; in HdmiDeviceInfo()
336 return mDeviceType; in getDeviceType()
372 return mDeviceType == DEVICE_PLAYBACK in isSourceType()
373 || mDeviceType == DEVICE_RECORDER in isSourceType()
374 || mDeviceType == DEVICE_TUNER; in isSourceType()
445 dest.writeInt(mDeviceType); in writeToParcel()
[all …]
/frameworks/base/core/java/com/android/internal/alsa/
DAlsaDevicesParser.java61 int mDeviceType = kDeviceType_Unknown; field in AlsaDevicesParser.AlsaDeviceRecord
115 mDeviceType = kDeviceType_Control; in parse()
123 mDeviceType = kDeviceType_Audio; in parse()
125 mDeviceType = kDeviceType_MIDI; in parse()
156 switch (mDeviceType) { in textFormat()
209 deviceRecord.mDeviceType == AlsaDeviceRecord.kDeviceType_Audio && in hasPlaybackDevices()
224 deviceRecord.mDeviceType == AlsaDeviceRecord.kDeviceType_Audio && in hasCaptureDevices()
239 deviceRecord.mDeviceType == AlsaDeviceRecord.kDeviceType_MIDI) { in hasMIDIDevices()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp31 mTag(""), mAddress(""), mDeviceType(type), mId(0) in DeviceDescriptor()
56 return (mDeviceType == other->mDeviceType) && in equals()
211 bool curIsOutput = audio_is_output_devices(itemAt(i)->mDeviceType); in getDevicesFromType()
212 audio_devices_t curType = itemAt(i)->mDeviceType & ~AUDIO_DEVICE_BIT_IN; in getDevicesFromType()
280 dstConfig->role = audio_is_output_device(mDeviceType) ? in toAudioPortConfig()
283 dstConfig->ext.device.type = mDeviceType; in toAudioPortConfig()
295 ALOGV("DeviceDescriptor::toAudioPort() handle %d type %x", mId, mDeviceType); in toAudioPort()
299 port->ext.device.type = mDeviceType; in toAudioPort()
326 mDeviceType)); in dump()
342 mDeviceType, in log()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DNewDeviceAction.java50 private final int mDeviceType; field in NewDeviceAction
69 mDeviceType = deviceType; in NewDeviceAction()
178 mDeviceType, mVendorId, mDisplayName); in addDeviceInfo()
DDeviceDiscoveryAction.java76 private int mDeviceType = HdmiDeviceInfo.DEVICE_INACTIVE; field in DeviceDiscoveryAction.DeviceInfo
83 return new HdmiDeviceInfo(mLogicalAddress, mPhysicalAddress, mPortId, mDeviceType, in toHdmiDeviceInfo()
259 current.mDeviceType = params[2] & 0xFF; in handleReportPhysicalAddress()
261 tv().updateCecSwitchInfo(current.mLogicalAddress, current.mDeviceType, in handleReportPhysicalAddress()
DHdmiCecLocalDevice.java56 protected final int mDeviceType; field in HdmiCecLocalDevice
158 mDeviceType = deviceType; in HdmiCecLocalDevice()
333 mAddress, physicalAddress, mDeviceType); in handleGivePhysicalAddress()
552 if (!mService.invokeVendorCommandListenersOnReceived(mDeviceType, message.getSource(), in handleVendorCommand()
565 if (!mService.invokeVendorCommandListenersOnReceived(mDeviceType, message.getSource(), in handleVendorCommandWithId()
620 return mDeviceType; in getType()
911 pw.println("mDeviceType: " + mDeviceType); in dump()
DHdmiCecLocalDevicePlayback.java75 mAddress, mService.getPhysicalAddress(), mDeviceType)); in onAddressAllocated()
DHdmiControlService.java1151 private final int mDeviceType; field in HdmiControlService.VendorCommandListenerRecord
1155 mDeviceType = deviceType; in VendorCommandListenerRecord()
2016 Slog.v(TAG, "On standby-action cleared:" + device.mDeviceType); in onStandby()
2110 if (record.mDeviceType != deviceType) { in invokeVendorCommandListenersOnReceived()
DHdmiCecLocalDeviceTv.java199 mAddress, mService.getPhysicalAddress(), mDeviceType)); in onAddressAllocated()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DDeviceDescriptor.h50 audio_devices_t type() const { return mDeviceType; } in type()
58 audio_devices_t mDeviceType;
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java403 int mDeviceType; field in AudioService.DeviceListSpec
408 mDeviceType = deviceType; in DeviceListSpec()
414 return "[type:0x" + Integer.toHexString(mDeviceType) + " name:" + mDeviceName in toString()
779 spec.mDeviceType, in onMediaServerDied()
3069 if (deviceSpec.mDeviceType == AudioSystem.DEVICE_OUT_BLUETOOTH_A2DP) {
3091 if (deviceSpec.mDeviceType == AudioSystem.DEVICE_IN_BLUETOOTH_A2DP) {
4769 int dev = mConnectedDevices.valueAt(i).mDeviceType; in checkSendBecomingNoisyIntent()