Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java109 private final int mDeviceType; field in HdmiDeviceInfo
177 mDeviceType = deviceType; in HdmiDeviceInfo()
217 mDeviceType = DEVICE_RESERVED; in HdmiDeviceInfo()
242 mDeviceType = DEVICE_RESERVED; in HdmiDeviceInfo()
263 mDeviceType = DEVICE_INACTIVE; in HdmiDeviceInfo()
338 return mDeviceType; in getDeviceType()
374 return mDeviceType == DEVICE_PLAYBACK in isSourceType()
375 || mDeviceType == DEVICE_RECORDER in isSourceType()
376 || mDeviceType == DEVICE_TUNER; in isSourceType()
447 dest.writeInt(mDeviceType); in writeToParcel()
[all …]
/frameworks/base/core/java/com/android/internal/alsa/
DAlsaDevicesParser.java70 int mDeviceType = kDeviceType_Unknown; field in AlsaDevicesParser.AlsaDeviceRecord
124 mDeviceType = kDeviceType_Control; in parse()
132 mDeviceType = kDeviceType_Audio; in parse()
134 mDeviceType = kDeviceType_MIDI; in parse()
165 switch (mDeviceType) { in textFormat()
216 deviceRecord.mDeviceType == AlsaDeviceRecord.kDeviceType_Audio && in hasPlaybackDevices()
227 deviceRecord.mDeviceType == AlsaDeviceRecord.kDeviceType_Audio && in hasCaptureDevices()
238 deviceRecord.mDeviceType == AlsaDeviceRecord.kDeviceType_MIDI) { in hasMIDIDevices()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp43 dst->appendFormat("%*s- device type: %s\n", spaces, "", toString(mDeviceType).c_str()); in dump()
79 if (mix.mDeviceType == registeredMix->mDeviceType in registerMix()
82 mix.mDeviceType, mix.mDeviceAddress.string()); in registerMix()
89 policyMix->mDeviceType, policyMix->mDeviceAddress.string()); in registerMix()
102 if (mix.mDeviceType == registeredMix->mDeviceType in unregisterMix()
105 mix.mDeviceType, mix.mDeviceAddress.string()); in unregisterMix()
112 mix.mDeviceType, mix.mDeviceAddress.string()); in unregisterMix()
344 audio_devices_t deviceType = itemAt(i)->mDeviceType; in getDeviceAndMixForOutput()
409 registeredMix->mDeviceAddress.string(), registeredMix->mDeviceType); in getInputMixForAttr()
458 const AudioDeviceTypeAddr mixDevice(mix->mDeviceType, mix->mDeviceAddress.string()); in setUidDeviceAffinities()
[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.java82 private int mDeviceType = HdmiDeviceInfo.DEVICE_INACTIVE; field in DeviceDiscoveryAction.DeviceInfo
89 return new HdmiDeviceInfo(mLogicalAddress, mPhysicalAddress, mPortId, mDeviceType, in toHdmiDeviceInfo()
335 current.mDeviceType = params[2] & 0xFF; in handleReportPhysicalAddress()
336 current.mDisplayName = HdmiUtils.getDefaultDeviceName(current.mDeviceType); in handleReportPhysicalAddress()
340 tv().updateCecSwitchInfo(current.mLogicalAddress, current.mDeviceType, in handleReportPhysicalAddress()
DHdmiCecLocalDevice.java61 protected final int mDeviceType; field in HdmiCecLocalDevice
175 mDeviceType = deviceType; in HdmiCecLocalDevice()
367 mAddress, physicalAddress, mDeviceType); in handleGivePhysicalAddress()
642 mDeviceType, in handleVendorCommand()
659 mDeviceType, message.getSource(), message.getDestination(), params, true)) { in handleVendorCommandWithId()
713 return mDeviceType; in getType()
1096 pw.println("mDeviceType: " + mDeviceType); in dump()
DHdmiCecLocalDevicePlayback.java87 mAddress, mService.getPhysicalAddress(), mDeviceType)); in onAddressAllocated()
DHdmiControlService.java1415 private final int mDeviceType; field in HdmiControlService.VendorCommandListenerRecord
1419 mDeviceType = deviceType; in VendorCommandListenerRecord()
2645 Slog.v(TAG, "On standby-action cleared:" + device.mDeviceType); in onStandby()
2740 if (record.mDeviceType != deviceType) { in invokeVendorCommandListenersOnReceived()
DHdmiCecLocalDeviceAudioSystem.java352 mAddress, mService.getPhysicalAddress(), mDeviceType)); in onAddressAllocated()
DHdmiCecLocalDeviceTv.java205 mAddress, mService.getPhysicalAddress(), mDeviceType)); in onAddressAllocated()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java90 final int mDeviceType; field in AudioDeviceInventory.DeviceInfo
96 mDeviceType = deviceType; in DeviceInfo()
104 return "[DeviceInfo: type:0x" + Integer.toHexString(mDeviceType) in toString()
150 di.mDeviceType, in onRestoreDevices()
469 if (deviceInfo.mDeviceType == AudioSystem.DEVICE_OUT_BLUETOOTH_A2DP) { in disconnectA2dp()
489 if (deviceInfo.mDeviceType == AudioSystem.DEVICE_IN_BLUETOOTH_A2DP) { in disconnectA2dpSink()
502 if (deviceInfo.mDeviceType == AudioSystem.DEVICE_OUT_HEARING_AID) { in disconnectHearingAid()
773 if (((di.mDeviceType & AudioSystem.DEVICE_BIT_IN) == 0) in checkSendBecomingNoisyIntentInt()
774 && BECOMING_NOISY_INTENT_DEVICES_SET.contains(di.mDeviceType)) { in checkSendBecomingNoisyIntentInt()
775 devices.add(di.mDeviceType); in checkSendBecomingNoisyIntentInt()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.h207 mDeviceType(device), mDeviceAddress(address) {} in DeviceEffects()
211 audio_devices_t getDeviceType() const { return mDeviceType; } in getDeviceType()
216 const audio_devices_t mDeviceType;
/frameworks/av/media/libaudioclient/
DAudioPolicy.cpp81 mDeviceType = (audio_devices_t) parcel->readInt32(); in readFromParcel()
105 parcel->writeInt32(mDeviceType); in writeToParcel()
/frameworks/av/media/libaudioclient/include/media/
DAudioPolicy.h108 audio_devices_t mDeviceType; variable
/frameworks/base/media/java/android/media/
DMediaRouter.java228 info.mDeviceType = RouteInfo.DEVICE_TYPE_BLUETOOTH; in updateAudioRoutes()
514 route.mDeviceType = globalRoute.deviceType; in makeGlobalRoute()
1539 newRoute.mDeviceType = RouteInfo.DEVICE_TYPE_TV; in makeWifiDisplayRoute()
1600 int mDeviceType; field in MediaRouter.RouteInfo
1714 mDeviceType = DEVICE_TYPE_UNKNOWN; in RouteInfo()
1863 return mDeviceType; in getDeviceType()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java93 private int mDeviceType; field in MtpDatabase
301 mDeviceType = SystemProperties.getInt("sys.usb.mtp.device_type", 0); in MtpDatabase()
732 outIntValue[0] = mDeviceType; in getDeviceProperty()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp132 jfieldID mDeviceType; member
1860 nAudioMix->mDeviceType = (audio_devices_t) in convertAudioMixToNative()
1861 env->GetIntField(jAudioMix, gAudioMixFields.mDeviceType); in convertAudioMixToNative()
2485 gAudioMixFields.mDeviceType = GetFieldIDOrDie(env, audioMixClass, "mDeviceSystemType", "I"); in register_android_media_AudioSystem()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp954 mAvailableOutputDevices.getDevice(mix->mDeviceType, in getOutputForAttrInt()
1621 newDeviceType = policyMix->mDeviceType; in startSource()
2872 mix.mDeviceType = AUDIO_DEVICE_OUT_REMOTE_SUBMIX; in registerPolicyMixes()
2875 mix.mDeviceType = AUDIO_DEVICE_IN_REMOTE_SUBMIX; in registerPolicyMixes()
2899 mix.mDeviceType, address.string()); in registerPolicyMixes()
2904 audio_devices_t type = mix.mDeviceType; in registerPolicyMixes()
2909 mix.mDeviceType, mix.mDeviceAddress, in registerPolicyMixes()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp529 myAudioMix.mDeviceType = deviceType; in addPolicyMix()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt23153 Landroid/hardware/hdmi/HdmiDeviceInfo;->mDeviceType:I
38554 Landroid/media/MediaRouter$RouteInfo;->mDeviceType:I
42320 Landroid/mtp/MtpDatabase;->mDeviceType:I