/aosp12/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiDeviceInfo.java | 110 private final int mDeviceType; field in HdmiDeviceInfo 181 mDeviceType = deviceType; in HdmiDeviceInfo() 241 mDeviceType = DEVICE_RESERVED; in HdmiDeviceInfo() 267 mDeviceType = DEVICE_RESERVED; in HdmiDeviceInfo() 289 mDeviceType = DEVICE_INACTIVE; in HdmiDeviceInfo() 365 return mDeviceType; in getDeviceType() 411 return mDeviceType == DEVICE_PLAYBACK in isSourceType() 413 || mDeviceType == DEVICE_TUNER; in isSourceType() 484 dest.writeInt(mDeviceType); in writeToParcel() 548 && mDeviceType == other.mDeviceType in equals() [all …]
|
/aosp12/frameworks/base/core/java/android/service/controls/ |
H A D | Control.java | 162 mDeviceType = DeviceTypes.TYPE_UNKNOWN; in Control() 164 mDeviceType = deviceType; in Control() 191 mDeviceType = in.readInt(); in Control() 239 return mDeviceType; in getDeviceType() 347 dest.writeInt(mDeviceType); in writeToParcel() 447 mDeviceType = control.mDeviceType; in StatelessBuilder() 479 mDeviceType = deviceType; in setDeviceType() 578 mDeviceType, in build() 647 mDeviceType = control.mDeviceType; in StatefulBuilder() 682 mDeviceType = deviceType; in setDeviceType() [all …]
|
/aosp12/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()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/model/ |
H A D | DeviceGridState.java | 48 private final @DeviceType int mDeviceType; field in DeviceGridState 53 mDeviceType = idp.deviceType; in DeviceGridState() 60 mDeviceType = prefs.getInt(KEY_DEVICE_TYPE, TYPE_PHONE); in DeviceGridState() 67 return mDeviceType; in getDeviceType() 77 .putInt(KEY_DEVICE_TYPE, mDeviceType) in writeToPrefs() 105 + ", mDeviceType=" + mDeviceType in toString()
|
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
H A D | HdHomeRunDevice.java | 31 private int mDeviceType; field in HdHomeRunDevice 43 mDeviceType = parcel.readInt(); in HdHomeRunDevice() 61 mDeviceType = deviceType; in HdHomeRunDevice() 82 return mDeviceType; in getDeviceType() 134 out.writeInt(mDeviceType); in writeToParcel()
|
H A D | HdHomeRunDiscover.java | 90 && deviceType != result.mDeviceType) { in findDevices() 275 int mDeviceType; field in HdHomeRunDiscover.HdHomeRunDiscoverDevice 287 && mDeviceType == o.mDeviceType in equals() 296 result = 31 * result + mDeviceType; in hashCode() 392 result.mDeviceType = ByteBuffer.wrap(tagAndValue.second).getInt(); in receive() 393 if (DEBUG) Log.d(TAG, "Get Device Type: " + result.mDeviceType); in receive()
|
H A D | HdHomeRunInterface.java | 85 discoveredDevice.mDeviceType, in scanDevices()
|
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioPolicyMix.cpp | 43 dst->appendFormat("%*s- device type: %s\n", spaces, "", toString(mDeviceType).c_str()); in dump() 85 if (mix.mDeviceType == registeredMix->mDeviceType in registerMix() 88 mix.mDeviceType, mix.mDeviceAddress.string()); in registerMix() 95 policyMix->mDeviceType, policyMix->mDeviceAddress.string()); in registerMix() 108 if (mix.mDeviceType == registeredMix->mDeviceType in unregisterMix() 111 mix.mDeviceType, mix.mDeviceAddress.string()); in unregisterMix() 118 mix.mDeviceType, mix.mDeviceAddress.string()); in unregisterMix() 381 audio_devices_t deviceType = itemAt(i)->mDeviceType; in getDeviceAndMixForOutput() 451 registeredMix->mDeviceAddress.string(), registeredMix->mDeviceType); in getInputMixForAttr() 500 const AudioDeviceTypeAddr mixDevice(mix->mDeviceType, mix->mDeviceAddress.string()); in setUidDeviceAffinities() [all …]
|
/aosp12/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | NewDeviceAction.java | 51 private final int mDeviceType; field in NewDeviceAction 70 mDeviceType = deviceType; in NewDeviceAction() 180 mDeviceType, mVendorId, mDisplayName); in addDeviceInfo()
|
H A D | DeviceDiscoveryAction.java | 83 private int mDeviceType = HdmiDeviceInfo.DEVICE_INACTIVE; field in DeviceDiscoveryAction.DeviceInfo 90 return new HdmiDeviceInfo(mLogicalAddress, mPhysicalAddress, mPortId, mDeviceType, in toHdmiDeviceInfo() 336 current.mDeviceType = params[2] & 0xFF; in handleReportPhysicalAddress() 343 current.mDeviceType, in handleReportPhysicalAddress()
|
H A D | HdmiCecLocalDevice.java | 70 protected final int mDeviceType; field in HdmiCecLocalDevice 189 mDeviceType = deviceType; in HdmiCecLocalDevice() 389 mAddress, physicalAddress, mDeviceType); in handleGivePhysicalAddress() 617 localDeviceTypes.add(localDevice.mDeviceType); in reportFeatures() 810 mDeviceType, in handleVendorCommand() 828 mDeviceType, message.getSource(), message.getDestination(), params, true)) { in handleVendorCommandWithId() 889 return mDeviceType; in getType() 1293 pw.println("mDeviceType: " + mDeviceType); in dump()
|
H A D | HdmiCecLocalDevicePlayback.java | 79 mAddress, mService.getPhysicalAddress(), mDeviceType)); in onAddressAllocated()
|
H A D | HdmiControlService.java | 1579 private final int mDeviceType; field in HdmiControlService.VendorCommandListenerRecord 1583 mDeviceType = deviceType; in VendorCommandListenerRecord() 3125 Slog.v(TAG, "On standby-action cleared:" + device.mDeviceType); in onStandby() 3229 if (record.mDeviceType != deviceType) { in invokeVendorCommandListenersOnReceived()
|
H A D | HdmiCecLocalDeviceAudioSystem.java | 256 mAddress, mService.getPhysicalAddress(), mDeviceType)); in onAddressAllocated()
|
/aosp12/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioDeviceInventory.java | 186 final int mDeviceType; field in AudioDeviceInventory.DeviceInfo 192 mDeviceType = deviceType; in DeviceInfo() 200 return "[DeviceInfo: type:0x" + Integer.toHexString(mDeviceType) in toString() 201 + " (" + AudioSystem.getDeviceName(mDeviceType) in toString() 208 return makeDeviceListKey(mDeviceType, mDeviceAddress); in getKey() 274 di.mDeviceType, in onRestoreDevices() 821 if (deviceInfo.mDeviceType == AudioSystem.DEVICE_IN_BLUETOOTH_A2DP) { in disconnectA2dpSink() 836 if (deviceInfo.mDeviceType == AudioSystem.DEVICE_OUT_HEARING_AID) { in disconnectHearingAid() 1187 if (((di.mDeviceType & AudioSystem.DEVICE_BIT_IN) == 0) in checkSendBecomingNoisyIntentInt() 1188 && BECOMING_NOISY_INTENT_DEVICES_SET.contains(di.mDeviceType)) { in checkSendBecomingNoisyIntentInt() [all …]
|
/aosp12/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyEffects.h | 207 mDeviceType(device), mDeviceAddress(address) {} in DeviceEffects() 211 audio_devices_t getDeviceType() const { return mDeviceType; } in getDeviceType() 216 const audio_devices_t mDeviceType;
|
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
H A D | BondStateMachineTest.java | 318 mDeviceProperties.mDeviceType = BluetoothDevice.DEVICE_TYPE_CLASSIC; in testSendIntentPendingDevice() 325 mDeviceProperties.mDeviceType = BluetoothDevice.DEVICE_TYPE_DUAL; in testSendIntentPendingDevice() 335 mDeviceProperties.mDeviceType = BluetoothDevice.DEVICE_TYPE_CLASSIC; in testSendIntentNoPendingDevice() 341 mDeviceProperties.mDeviceType = BluetoothDevice.DEVICE_TYPE_DUAL; in testSendIntentNoPendingDevice() 349 mDeviceProperties.mDeviceType = BluetoothDevice.DEVICE_TYPE_LE; in testSendIntentBle()
|
/aosp12/frameworks/av/media/libaudioclient/ |
H A D | AudioPolicy.cpp | 85 mDeviceType = (audio_devices_t) parcel->readInt32(); in readFromParcel() 110 parcel->writeInt32(mDeviceType); in writeToParcel()
|
H A D | PolicyAidlConversion.cpp | 238 legacy.mDeviceType = VALUE_OR_RETURN(aidl2legacy_int32_t_audio_devices_t(aidl.device.type)); in aidl2legacy_AudioMix() 257 aidl.device.type = VALUE_OR_RETURN(legacy2aidl_audio_devices_t_int32_t(legacy.mDeviceType)); in legacy2aidl_AudioMix()
|
/aosp12/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioPolicy.h | 119 audio_devices_t mDeviceType; variable
|
/aosp12/frameworks/base/media/java/android/media/ |
H A D | MediaRouter.java | 248 info.mDeviceType = RouteInfo.DEVICE_TYPE_BLUETOOTH; in updateAudioRoutes() 552 route.mDeviceType = globalRoute.deviceType; in makeGlobalRoute() 1601 newRoute.mDeviceType = RouteInfo.DEVICE_TYPE_TV; in makeWifiDisplayRoute() 1662 int mDeviceType; field in MediaRouter.RouteInfo 1793 mDeviceType = DEVICE_TYPE_UNKNOWN; in RouteInfo() 1942 return mDeviceType; in getDeviceType() 2251 return mDeviceType == RouteInfo.DEVICE_TYPE_BLUETOOTH; in isBluetooth()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | RemoteDevices.java | 247 @VisibleForTesting int mDeviceType; field in RemoteDevices.DeviceProperties 312 return mDeviceType; in getDeviceType() 602 device.mDeviceType = Utils.byteArrayToInt(val); in devicePropertyChangedCallback()
|
/aosp12/frameworks/base/media/java/android/mtp/ |
H A D | MtpDatabase.java | 103 private int mDeviceType; field in MtpDatabase 313 mDeviceType = SystemProperties.getInt("sys.usb.mtp.device_type", 0); in MtpDatabase() 716 outIntValue[0] = mDeviceType; in getDeviceProperty()
|
/aosp12/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 1057 mAvailableOutputDevices.getDevice(primaryMix->mDeviceType, in getOutputForAttrInt() 1854 newDeviceType = policyMix->mDeviceType; in startSource() 3132 mix.mDeviceType = AUDIO_DEVICE_OUT_REMOTE_SUBMIX; in registerPolicyMixes() 3135 mix.mDeviceType = AUDIO_DEVICE_IN_REMOTE_SUBMIX; in registerPolicyMixes() 3159 mix.mDeviceType, address.string()); in registerPolicyMixes() 3164 audio_devices_t type = mix.mDeviceType; in registerPolicyMixes() 3169 mix.mDeviceType, mix.mDeviceAddress, in registerPolicyMixes() 6212 AudioDeviceTypeAddr device(policyMix->mDeviceType, policyMix->mDeviceAddress.c_str()); in getDevicesForAttributes()
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 139 jfieldID mDeviceType; member 2047 nAudioMix->mDeviceType = (audio_devices_t) in convertAudioMixToNative() 2048 env->GetIntField(jAudioMix, gAudioMixFields.mDeviceType); in convertAudioMixToNative() 3071 gAudioMixFields.mDeviceType = GetFieldIDOrDie(env, audioMixClass, "mDeviceSystemType", "I"); in register_android_media_AudioSystem()
|