Home
last modified time | relevance | path

Searched refs:mEncoding (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageFormat.java71 private final BipEncoding mEncoding; field in BipImageFormat
111 mEncoding = Objects.requireNonNull(encoding, "Encoding cannot be null"); in BipImageFormat()
126 mEncoding = new BipEncoding(encoding); in BipImageFormat()
148 return mEncoding; in getEncoding()
183 if (mEncoding == null in toString()
184 || mEncoding.getType() == BipEncoding.UNKNOWN in toString()
189 + (mEncoding == null ? "encoding " : "") in toString()
198 sb.append(" encoding=\"" + mEncoding.toString() + "\""); in toString()
207 sb.append(" encoding=\"" + mEncoding.toString() + "\""); in toString()
DBipImageDescriptor.java66 mImageDescriptor.mEncoding = encoding; in setEncoding()
77 mImageDescriptor.mEncoding = new BipEncoding(encoding, null); in setEncoding()
89 mImageDescriptor.mEncoding = new BipEncoding(BipEncoding.USR_XXX, encoding); in setPropietaryEncoding()
149 private BipEncoding mEncoding = null; field in BipImageDescriptor
186 mEncoding = new BipEncoding(xpp.getAttributeValue(null, "encoding")); in parse()
222 return mEncoding; in getEncoding()
270 if (mEncoding == null || mPixel == null) { in toString()
273 + (mEncoding == null ? "encoding " : "") in toString()
286 xmlMsgElement.attribute(null, "encoding", mEncoding.toString()); in toString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java72 private int mEncoding; field in BluetoothMapSmsPdu.SmsPdu
83 this.mEncoding = INVALID_VALUE; in SmsPdu()
93 this.mEncoding = encoding; in SmsPdu()
107 this.mEncoding = encoding; in setEncoding()
111 return mEncoding; in getEncoding()
341 if (mEncoding == SmsConstants.ENCODING_7BIT) { in gsmDecodeUserDataHeader()
373 Log.v(TAG, "encoding:" + mEncoding); in gsmDecodeUserDataHeader()
485 switch (mEncoding) { in getEncodingString()
501 switch (mEncoding) { in getEncodingString()
DBluetoothMapbMessageSms.java35 this.mEncoding = smsBodyPdus.get(0).getEncodingString(); in setSmsBodyPdus()
46 this.mEncoding = null; in setSmsBody()
DBluetoothMapbMessage.java51 protected String mEncoding = null; field in BluetoothMapbMessage
681 mEncoding = arg[1].trim(); in parseBody()
791 this.mEncoding = encoding; in setEncoding()
974 if (mEncoding != null && !mEncoding.isEmpty()) { in encodeGeneric()
975 sb.append("ENCODING:").append(mEncoding).append("\r\n"); in encodeGeneric()
DBluetoothMapbMessageEmail.java35 this.mEncoding = "8bit"; in setEmailBody()
DBluetoothMapbMessageMime.java530 mEncoding = "8BIT"; // The encoding used in encodeMime()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapbMessageSmsTest.java66 assertThat(messageSms.mEncoding).isEqualTo(TEST_SMS_BODY_PDUS.get(0).getEncodingString()); in settersAndGetters()