Home
last modified time | relevance | path

Searched refs:rawData (Results 1 – 18 of 18) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DImageDescriptor.java56 static ImageDescriptor parse(byte[] rawData, int valueIndex) { in parse() argument
59 d.mWidth = rawData[valueIndex++] & 0xff; in parse()
60 d.mHeight = rawData[valueIndex++] & 0xff; in parse()
61 d.mCodingScheme = rawData[valueIndex++] & 0xff; in parse()
64 d.mImageId = (rawData[valueIndex++] & 0xff) << 8; in parse()
65 d.mImageId |= rawData[valueIndex++] & 0xff; in parse()
67 d.mHighOffset = (rawData[valueIndex++] & 0xff); // high byte offset in parse()
68 d.mLowOffset = rawData[valueIndex++] & 0xff; // low byte offset in parse()
70 d.mLength = ((rawData[valueIndex++] & 0xff) << 8 | (rawData[valueIndex++] & 0xff)); in parse()
DIconLoader.java150 byte[] rawData = ((byte[]) ar.result); in handleMessage()
152 mCurrentIcon = parseToBnW(rawData, rawData.length); in handleMessage()
156 mIconData = rawData; in handleMessage()
186 private boolean handleImageDescriptor(byte[] rawData) { in handleImageDescriptor() argument
187 mId = ImageDescriptor.parse(rawData, 1); in handleImageDescriptor()
DRilMessageDecoder.java192 byte[] rawData = null; in decodeMessageParams()
194 rawData = IccUtils.hexStringToBytes((String) rilMsg.mData); in decodeMessageParams()
206 mCmdParamsFactory.make(BerTlv.decode(rawData)); in decodeMessageParams()
DCatService.java77 RilMessage(int msgId, String rawData) { in RilMessage() argument
79 mData = rawData; in RilMessage()
794 byte[] rawData = buf.toByteArray(); in sendTerminalResponse()
795 String hexString = IccUtils.bytesToHexString(rawData); in sendTerminalResponse()
887 byte[] rawData = buf.toByteArray(); in sendMenuSelection()
890 int len = rawData.length - 2; // minus (tag + length) in sendMenuSelection()
891 rawData[1] = (byte) len; in sendMenuSelection()
893 String hexString = IccUtils.bytesToHexString(rawData); in sendMenuSelection()
959 byte[] rawData = buf.toByteArray(); in eventDownload()
962 int len = rawData.length - 2; // minus (tag + length) in eventDownload()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCameraTest.java122 public void onPreviewFrame(byte [] rawData, Camera camera) { in onPreviewFrame() argument
125 if (rawData != null) { in onPreviewFrame()
126 rawDataLength = rawData.length; in onPreviewFrame()
148 public void onPictureTaken(byte [] rawData, Camera camera) { in onPictureTaken() argument
157 public void onPictureTaken(byte [] rawData, Camera camera) { in onPictureTaken() argument
159 if (rawData != null) { in onPictureTaken()
160 int rawDataLength = rawData.length; in onPictureTaken()
164 outstream.write(rawData); in onPictureTaken()
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/
DReportCanvas.java161 public void dumpHexArray(byte[] rawData, StringBuilder builder) { in dumpHexArray() argument
162 if (rawData != null) { in dumpHexArray()
165 for (int index = 0; index < rawData.length; index++) { in dumpHexArray()
166 builder.append(getHexString(rawData[index]) + " "); in dumpHexArray()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAnswerToReset.java106 byte[] rawData = new byte[length]; in parseHistoricalBytes()
107 System.arraycopy(originalData, startIndex, rawData, 0, length); in parseHistoricalBytes()
108 return new HistoricalBytes(rawData, nodes, rawData[0]); in parseHistoricalBytes()
111 private HistoricalBytes(byte[] rawData, ArrayMap<Integer, byte[]> nodes, byte category) { in HistoricalBytes() argument
112 mRawData = rawData; in HistoricalBytes()
/frameworks/av/services/camera/libcameraservice/tests/
DNV12Compressor.cpp200 unsigned char* rawData = nullptr; in attachExifData() local
202 exif_data_save_data(exifData, &rawData, &size); in attachExifData()
203 if (rawData == nullptr) { in attachExifData()
208 jpeg_write_marker(&mCompressInfo, JPEG_APP0 + 1, rawData, size); in attachExifData()
209 free(rawData); in attachExifData()
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DEvent.java317 byte[] rawData = new byte[data.size()]; in readData()
323 rawData[i] = (byte)d; in readData()
325 return rawData; in readData()
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
DIccUtils.java680 private static int[] getCLUT(byte[] rawData, int offset, int number) { in getCLUT() argument
681 if (null == rawData) { in getCLUT()
692 | ((rawData[valueIndex++] & 0xFF) << 16) in getCLUT()
693 | ((rawData[valueIndex++] & 0xFF) << 8) in getCLUT()
694 | ((rawData[valueIndex++] & 0xFF)); in getCLUT()
/frameworks/base/core/java/com/android/internal/telephony/
DIPhoneStateListener.aidl59 void onOemHookRawEvent(in byte[] rawData); in onOemHookRawEvent() argument
DITelephonyRegistry.aidl79 void notifyOemHookRawEventForSubscriber(in int phoneId, in int subId, in byte[] rawData); in notifyOemHookRawEventForSubscriber() argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1465 private static void validateRaw16Data(byte[] rawData, int width, int height, int format, in validateRaw16Data() argument
1469 assertEquals("Raw data doesn't match", expectedSize, rawData.length); in validateRaw16Data()
1476 dumpFile(fileName, rawData); in validateRaw16Data()
1482 private static void validateRawPrivateData(byte[] rawData, int width, int height, in validateRawPrivateData() argument
1489 assertTrue("Opaque RAW size " + rawData.length + "out of normal bound [" + in validateRawPrivateData()
1491 expectedSizeMin <= rawData.length && rawData.length <= expectedSizeMax); in validateRawPrivateData()
1496 dumpFile(fileName, rawData); in validateRawPrivateData()
/frameworks/base/core/java/android/telephony/
DPhoneStateListener.java1155 public void onOemHookRawEvent(byte[] rawData) { in onOemHookRawEvent() argument
1510 public void onOemHookRawEvent(byte[] rawData) { in onOemHookRawEvent() argument
1515 () -> mExecutor.execute(() -> psl.onOemHookRawEvent(rawData))); in onOemHookRawEvent()
DTelephonyCallback.java1917 public void onOemHookRawEvent(byte[] rawData) { in onOemHookRawEvent() argument
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java872 byte[] rawData = new byte[dataBytes]; in encodeDtmfSmsAddress()
881 rawData[i / 2] |= val << (4 - ((i % 2) * 4)); in encodeDtmfSmsAddress()
883 return rawData; in encodeDtmfSmsAddress()
1520 private static String decodeDtmfSmsAddress(byte[] rawData, int numFields) in decodeDtmfSmsAddress() argument
1527 int val = 0x0F & (rawData[i / 2] >>> (4 - ((i % 2) * 4))); in decodeDtmfSmsAddress()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java170 public void onPreviewFrame(byte[] rawData, Camera camera) { in onPreviewFrame() argument
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java2602 public void notifyOemHookRawEventForSubscriber(int phoneId, int subId, byte[] rawData) { in notifyOemHookRawEventForSubscriber() argument
2617 r.callback.onOemHookRawEvent(rawData); in notifyOemHookRawEventForSubscriber()