Home
last modified time | relevance | path

Searched refs:mDeviceType (Results 1 – 17 of 17) 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 mAddress(""), mTagName(tagName), mDeviceType(type), mId(0) in DeviceDescriptor()
57 return (mDeviceType == other->mDeviceType) && (mAddress == other->mAddress); in equals()
168 bool curIsOutput = audio_is_output_devices(itemAt(i)->mDeviceType); in getDevicesFromType()
169 audio_devices_t curType = itemAt(i)->mDeviceType & ~AUDIO_DEVICE_BIT_IN; in getDevicesFromType()
243 dstConfig->role = audio_is_output_device(mDeviceType) ? in toAudioPortConfig()
246 dstConfig->ext.device.type = mDeviceType; in toAudioPortConfig()
258 ALOGV("DeviceDescriptor::toAudioPort() handle %d type %x", mId, mDeviceType); in toAudioPort()
262 port->ext.device.type = mDeviceType; in toAudioPort()
289 if (DeviceConverter::toString(mDeviceType, deviceLiteral)) { in dump()
306 DeviceConverter::toString(mDeviceType, device); 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.java80 mAddress, mService.getPhysicalAddress(), mDeviceType)); in onAddressAllocated()
DHdmiControlService.java1171 private final int mDeviceType; field in HdmiControlService.VendorCommandListenerRecord
1175 mDeviceType = deviceType; in VendorCommandListenerRecord()
2050 Slog.v(TAG, "On standby-action cleared:" + device.mDeviceType); in onStandby()
2144 if (record.mDeviceType != deviceType) { in invokeVendorCommandListenersOnReceived()
DHdmiCecLocalDeviceTv.java202 mAddress, mService.getPhysicalAddress(), mDeviceType)); in onAddressAllocated()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DDeviceDescriptor.h39 audio_devices_t type() const { return mDeviceType; } in type()
61 audio_devices_t mDeviceType; variable
/frameworks/av/media/libmedia/
DAudioPolicy.cpp70 mDeviceType = (audio_devices_t) parcel->readInt32(); in readFromParcel()
93 parcel->writeInt32(mDeviceType); in writeToParcel()
/frameworks/av/include/media/
DAudioPolicy.h94 audio_devices_t mDeviceType; variable
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouter.java798 private int mDeviceType; field in MediaRouter.RouteInfo
1243 return mDeviceType; in getDeviceType()
1251 if (isDefault() || mDeviceType == DEVICE_TYPE_BLUETOOTH) { in isDefaultOrBluetooth()
1422 + ", deviceType=" + mDeviceType in toString()
1482 if (mDeviceType != descriptor.getDeviceType()) { in updateDescriptor()
1483 mDeviceType = descriptor.getDeviceType(); in updateDescriptor()
/frameworks/base/media/java/android/media/
DMediaRouter.java208 info.mDeviceType = RouteInfo.DEVICE_TYPE_BLUETOOTH; in updateAudioRoutes()
488 route.mDeviceType = globalRoute.deviceType; in makeGlobalRoute()
1424 newRoute.mDeviceType = RouteInfo.DEVICE_TYPE_TV; in makeWifiDisplayRoute()
1484 int mDeviceType; field in MediaRouter.RouteInfo
1596 mDeviceType = DEVICE_TYPE_UNKNOWN; in RouteInfo()
1743 return mDeviceType; in getDeviceType()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp112 jfieldID mDeviceType; member
1576 nAudioMix->mDeviceType = (audio_devices_t) in convertAudioMixToNative()
1577 env->GetIntField(jAudioMix, gAudioMixFields.mDeviceType); in convertAudioMixToNative()
1874 gAudioMixFields.mDeviceType = GetFieldIDOrDie(env, audioMixClass, "mDeviceSystemType", "I"); in register_android_media_AudioSystem()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java410 int mDeviceType; field in AudioService.DeviceListSpec
415 mDeviceType = deviceType; in DeviceListSpec()
421 return "[type:0x" + Integer.toHexString(mDeviceType) + " name:" + mDeviceName in toString()
804 spec.mDeviceType, in onAudioServerDied()
3250 if (deviceSpec.mDeviceType == AudioSystem.DEVICE_OUT_BLUETOOTH_A2DP) { in disconnectA2dp()
3273 if (deviceSpec.mDeviceType == AudioSystem.DEVICE_IN_BLUETOOTH_A2DP) { in disconnectA2dpSink()
5005 int dev = mConnectedDevices.valueAt(i).mDeviceType; in checkSendBecomingNoisyIntent()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1099 newDevice = policyMix->mDeviceType; in startOutput()
2107 audio_devices_t device = mixes[i].mDeviceType; in registerPolicyMixes()