Home
last modified time | relevance | path

Searched refs:mCardNum (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaDevice.java36 private final int mCardNum; field in UsbAlsaDevice
58 mCardNum = card; in UsbAlsaDevice()
71 return mCardNum; in getCardNum()
92 if (mCardNum < 0 || mDeviceNum < 0) { in getAlsaCardDeviceString()
93 Slog.e(TAG, "Invalid alsa card or device alsaCard: " + mCardNum in getAlsaCardDeviceString()
97 return AudioService.makeAlsaAddressString(mCardNum, mDeviceNum); in getAlsaCardDeviceString()
237 return "UsbAlsaDevice: [card: " + mCardNum in toString()
250 dump.write("card", UsbAlsaDeviceProto.CARD, mCardNum); in dump()
262 return "[card:" + mCardNum + " device:" + mDeviceNum + " " + mDeviceName + "]"; in toShortString()
283 return (mCardNum == other.mCardNum in equals()
[all …]
/frameworks/base/core/java/com/android/internal/alsa/
DAlsaDevicesParser.java68 int mCardNum = -1; field in AlsaDevicesParser.AlsaDeviceRecord
110 mCardNum = Integer.parseInt(token); in parse()
163 sb.append("[" + mCardNum + ":" + mDeviceNum + "]"); in textFormat()
215 if (deviceRecord.mCardNum == card && in hasPlaybackDevices()
226 if (deviceRecord.mCardNum == card && in hasCaptureDevices()
237 if (deviceRecord.mCardNum == card && in hasMIDIDevices()
DAlsaCardsParser.java52 int mCardNum = -1; field in AlsaCardsParser.AlsaCardRecord
62 return mCardNum; in getCardNum()
88 mCardNum = Integer.parseInt(line.substring(tokenIndex, delimIndex)); in parse()
129 " [" + mCardNum + " " + mCardName + " : " + mCardDescription + in log()
165 int cardNum = cardRecord.mCardNum; in scan()