Home
last modified time | relevance | path

Searched refs:mDeviceType (Results 1 – 19 of 19) 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()
211 deviceRecord.mDeviceType == AlsaDeviceRecord.kDeviceType_Audio && in hasPlaybackDevices()
228 deviceRecord.mDeviceType == AlsaDeviceRecord.kDeviceType_Audio && in hasCaptureDevices()
245 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()
167 bool curIsOutput = audio_is_output_devices(itemAt(i)->mDeviceType); in getDevicesFromType()
168 audio_devices_t curType = itemAt(i)->mDeviceType & ~AUDIO_DEVICE_BIT_IN; in getDevicesFromType()
242 dstConfig->role = audio_is_output_device(mDeviceType) ? in toAudioPortConfig()
245 dstConfig->ext.device.type = mDeviceType; in toAudioPortConfig()
257 ALOGV("DeviceDescriptor::toAudioPort() handle %d type %x", mId, mDeviceType); in toAudioPort()
261 port->ext.device.type = mDeviceType; in toAudioPort()
288 if (deviceToString(mDeviceType, deviceLiteral)) { in dump()
305 deviceToString(mDeviceType, device); in log()
[all …]
DAudioPolicyMix.cpp75 deviceToString(mMix.mDeviceType, deviceLiteral); in dump()
/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()
940 pw.println("mDeviceType: " + mDeviceType); in dump()
DHdmiCecLocalDevicePlayback.java80 mAddress, mService.getPhysicalAddress(), mDeviceType)); in onAddressAllocated()
DHdmiControlService.java1175 private final int mDeviceType; field in HdmiControlService.VendorCommandListenerRecord
1179 mDeviceType = deviceType; in VendorCommandListenerRecord()
2075 Slog.v(TAG, "On standby-action cleared:" + device.mDeviceType); in onStandby()
2168 if (record.mDeviceType != deviceType) { in invokeVendorCommandListenersOnReceived()
DHdmiCecLocalDeviceTv.java209 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/libaudioclient/
DAudioPolicy.cpp70 mDeviceType = (audio_devices_t) parcel->readInt32(); in readFromParcel()
93 parcel->writeInt32(mDeviceType); in writeToParcel()
/frameworks/av/media/libaudioclient/include/media/
DAudioPolicy.h94 audio_devices_t mDeviceType; variable
/frameworks/av/include/media/
DAudioPolicy.h94 audio_devices_t mDeviceType; variable
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouter.java810 private int mDeviceType; field in MediaRouter.RouteInfo
1278 return mDeviceType; in getDeviceType()
1287 if (isDefault() || mDeviceType == DEVICE_TYPE_BLUETOOTH) { in isDefaultOrBluetooth()
1459 + ", deviceType=" + mDeviceType in toString()
1519 if (mDeviceType != descriptor.getDeviceType()) { in updateDescriptor()
1520 mDeviceType = descriptor.getDeviceType(); in updateDescriptor()
/frameworks/base/media/java/android/media/
DMediaRouter.java216 info.mDeviceType = RouteInfo.DEVICE_TYPE_BLUETOOTH; in updateAudioRoutes()
500 route.mDeviceType = globalRoute.deviceType; in makeGlobalRoute()
1436 newRoute.mDeviceType = RouteInfo.DEVICE_TYPE_TV; in makeWifiDisplayRoute()
1496 int mDeviceType; field in MediaRouter.RouteInfo
1608 mDeviceType = DEVICE_TYPE_UNKNOWN; in RouteInfo()
1755 return mDeviceType; in getDeviceType()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java137 private int mDeviceType; field in MtpDatabase
201 mDeviceType = SystemProperties.getInt("sys.usb.mtp.device_type", 0); in MtpDatabase()
878 outIntValue[0] = mDeviceType; in getDeviceProperty()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp113 jfieldID mDeviceType; member
1633 nAudioMix->mDeviceType = (audio_devices_t) in convertAudioMixToNative()
1634 env->GetIntField(jAudioMix, gAudioMixFields.mDeviceType); in convertAudioMixToNative()
1933 gAudioMixFields.mDeviceType = GetFieldIDOrDie(env, audioMixClass, "mDeviceSystemType", "I"); in register_android_media_AudioSystem()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1189 newDevice = policyMix->mDeviceType; in startOutput()
2395 audio_devices_t device = mixes[i].mDeviceType; in registerPolicyMixes()