Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiDeviceInfo.java121 private final int mDeviceType; field in HdmiDeviceInfo
196 mDeviceType = DEVICE_INACTIVE; in HdmiDeviceInfo()
222 this.mDeviceType = builder.mDeviceType; in HdmiDeviceInfo()
367 return mDeviceType; in getDeviceType()
413 return mDeviceType == DEVICE_PLAYBACK in isSourceType()
486 dest.writeInt(mDeviceType); in writeToParcel()
555 && mDeviceType == other.mDeviceType in equals()
571 mDeviceType, in hashCode()
595 private int mDeviceType = DEVICE_RESERVED; field in HdmiDeviceInfo.Builder
621 mDeviceType = hdmiDeviceInfo.mDeviceType; in Builder()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DAdiDeviceState.java44 private final int mDeviceType; field in AdiDeviceState
73 mDeviceType = deviceType; in AdiDeviceState()
92 return mDeviceType; in getDeviceType()
151 return mDeviceType == sads.mDeviceType in equals()
162 return Objects.hash(mDeviceType, mInternalDeviceType, mDeviceAddress, mSAEnabled, in hashCode()
168 return "type: " + mDeviceType in toString()
177 return (new StringBuilder().append(mDeviceType) in toPersistableString()
238 mDeviceType, mDeviceAddress); in getAudioDeviceAttributes()
H A DAudioDeviceInventory.java344 final int mDeviceType; field in AudioDeviceInventory.DeviceInfo
357 mDeviceType = deviceType; in DeviceInfo()
392 + " (" + AudioSystem.getDeviceName(mDeviceType) in toString()
401 return makeDeviceListKey(mDeviceType, mDeviceAddress); in getKey()
1554 if (deviceInfo.mDeviceType == device) {
1777 if (!isBluetoothDevice(di.mDeviceType)) {
1822 if (AudioSystem.isBluetoothInDevice(di.mDeviceType)) {
1891 if (!isBluetoothDevice(di.mDeviceType)
1901 if (!isBluetoothDevice(di2.mDeviceType)
2099 if (internalTypes.contains(di.mDeviceType)) {
[all …]
/aosp14/frameworks/base/wifi/java/src/android/net/wifi/sharedconnectivity/app/
H A DNetworkProviderInfo.java94 private final int mDeviceType; field in NetworkProviderInfo
105 private int mDeviceType; field in NetworkProviderInfo.Builder
127 mDeviceType = deviceType; in setDeviceType()
200 return new NetworkProviderInfo(mDeviceType, mDeviceName, mModelName, mBatteryPercentage, in build()
224 mDeviceType = deviceType; in NetworkProviderInfo()
239 return mDeviceType; in getDeviceType()
296 return mDeviceType == other.getDeviceType() in equals()
305 return Objects.hash(mDeviceType, mDeviceName, mModelName, mBatteryPercentage, in hashCode()
311 dest.writeInt(mDeviceType); in writeToParcel()
351 .append("deviceType=").append(mDeviceType) in toString()
/aosp14/frameworks/base/core/java/android/service/controls/
H A DControl.java166 mDeviceType = DeviceTypes.TYPE_UNKNOWN; in Control()
168 mDeviceType = deviceType; in Control()
196 mDeviceType = in.readInt(); in Control()
245 return mDeviceType; in getDeviceType()
360 dest.writeInt(mDeviceType); in writeToParcel()
462 mDeviceType = control.mDeviceType; in StatelessBuilder()
494 mDeviceType = deviceType; in setDeviceType()
593 mDeviceType, in build()
665 mDeviceType = control.mDeviceType; in StatefulBuilder()
701 mDeviceType = deviceType; in setDeviceType()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/alsa/
H A 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()
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbAlsaDevice.java53 private final int[] mDeviceType = new int[NUM_DIRECTIONS]; field in UsbAlsaDevice
250 mDeviceType[INPUT] = mHasDevice[INPUT] in initDeviceType()
254 mDeviceType[OUTPUT] = mHasDevice[OUTPUT] in initDeviceType()
267 return mDeviceType[OUTPUT]; in getOutputDeviceType()
276 return mDeviceType[INPUT]; in getInputDeviceType()
284 if (mDeviceType[direction] == AudioSystem.DEVICE_NONE) { in updateWiredDeviceConnectionState()
296 Slog.d(TAG, "pre-call device:0x" + Integer.toHexString(mDeviceType[direction]) in updateWiredDeviceConnectionState()
306 mDeviceType[direction], mAlsaCardDeviceString, mDeviceName); in updateWiredDeviceConnectionState()
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiLocalDevice.java28 protected final int mDeviceType; field in HdmiLocalDevice
34 mDeviceType = deviceType; in HdmiLocalDevice()
H A DNewDeviceAction.java51 private final int mDeviceType; field in NewDeviceAction
70 mDeviceType = deviceType; in NewDeviceAction()
181 .setDeviceType(mDeviceType) in addDeviceInfo()
H A DDeviceDiscoveryAction.java83 private int mDeviceType = HdmiDeviceInfo.DEVICE_INACTIVE; field in DeviceDiscoveryAction.DeviceInfo
95 .setDeviceType(mDeviceType) in toHdmiDeviceInfo()
343 current.mDeviceType = params[2] & 0xFF; in handleReportPhysicalAddress()
350 current.mDeviceType, in handleReportPhysicalAddress()
H A DHdmiCecLocalDevice.java427 mDeviceInfo.getLogicalAddress(), physicalAddress, mDeviceType); in handleGivePhysicalAddress()
697 localDeviceTypes.add(localDevice.mDeviceType); in reportFeatures()
905 mDeviceType, in handleVendorCommand()
925 mDeviceType, message.getSource(), message.getDestination(), params, true)) { in handleVendorCommandWithId()
982 return mDeviceType; in getType()
1440 pw.println("mDeviceType: " + mDeviceType); in dump()
H A DHdmiCecLocalDevicePlayback.java95 mDeviceType)); in onAddressAllocated() local
H A DHdmiCecLocalDeviceAudioSystem.java267 mDeviceType)); in onAddressAllocated() local
H A DHdmiCecLocalDeviceTv.java180 mDeviceType)); in onAddressAllocated() local
H A DHdmiControlService.java3677 Slog.v(TAG, "On standby-action cleared:" + device.mDeviceType); in onStandby()
/aosp14/frameworks/base/media/java/android/media/
H A DMediaRouter.java250 info.mDeviceType = RouteInfo.DEVICE_TYPE_BLUETOOTH; in updateAudioRoutes()
560 route.mDeviceType = globalRoute.deviceType; in makeGlobalRoute()
1586 newRoute.mDeviceType = RouteInfo.DEVICE_TYPE_TV; in makeWifiDisplayRoute()
1647 int mDeviceType; field in MediaRouter.RouteInfo
1778 mDeviceType = DEVICE_TYPE_UNKNOWN; in RouteInfo()
1927 return mDeviceType; in getDeviceType()
2236 return mDeviceType == RouteInfo.DEVICE_TYPE_BLUETOOTH; in isBluetooth()
/aosp14/frameworks/base/media/java/android/mtp/
H A DMtpDatabase.java103 private int mDeviceType; field in MtpDatabase
314 mDeviceType = SystemProperties.getInt("sys.usb.mtp.device_type", 0); in MtpDatabase()
718 outIntValue[0] = mDeviceType; in getDeviceProperty()
/aosp14/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp144 jfieldID mDeviceType; member
2207 nAudioMix->mDeviceType = (audio_devices_t) in convertAudioMixToNative()
2208 env->GetIntField(jAudioMix, gAudioMixFields.mDeviceType); in convertAudioMixToNative()
3554 gAudioMixFields.mDeviceType = GetFieldIDOrDie(env, audioMixClass, "mDeviceSystemType", "I"); in register_android_media_AudioSystem()
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt20266 Landroid/hardware/hdmi/HdmiDeviceInfo;->mDeviceType:I
28425 Landroid/media/MediaRouter$RouteInfo;->mDeviceType:I
32185 Landroid/mtp/MtpDatabase;->mDeviceType:I