/aosp14/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiDeviceInfo.java | 121 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 D | AdiDeviceState.java | 44 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 D | AudioDeviceInventory.java | 344 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 D | NetworkProviderInfo.java | 94 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 D | Control.java | 166 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 D | AlsaDevicesParser.java | 70 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 D | UsbAlsaDevice.java | 53 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 D | HdmiLocalDevice.java | 28 protected final int mDeviceType; field in HdmiLocalDevice 34 mDeviceType = deviceType; in HdmiLocalDevice()
|
H A D | NewDeviceAction.java | 51 private final int mDeviceType; field in NewDeviceAction 70 mDeviceType = deviceType; in NewDeviceAction() 181 .setDeviceType(mDeviceType) in addDeviceInfo()
|
H A D | DeviceDiscoveryAction.java | 83 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 D | HdmiCecLocalDevice.java | 427 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 D | HdmiCecLocalDevicePlayback.java | 95 mDeviceType)); in onAddressAllocated() local
|
H A D | HdmiCecLocalDeviceAudioSystem.java | 267 mDeviceType)); in onAddressAllocated() local
|
H A D | HdmiCecLocalDeviceTv.java | 180 mDeviceType)); in onAddressAllocated() local
|
H A D | HdmiControlService.java | 3677 Slog.v(TAG, "On standby-action cleared:" + device.mDeviceType); in onStandby()
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | MediaRouter.java | 250 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 D | MtpDatabase.java | 103 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 D | android_media_AudioSystem.cpp | 144 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 D | hiddenapi-max-target-o.txt | 20266 Landroid/hardware/hdmi/HdmiDeviceInfo;->mDeviceType:I 28425 Landroid/media/MediaRouter$RouteInfo;->mDeviceType:I 32185 Landroid/mtp/MtpDatabase;->mDeviceType:I
|