/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ImageDescriptor.java | 56 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()
|
D | IconLoader.java | 149 byte[] rawData = ((byte[]) ar.result); in handleMessage() 151 mCurrentIcon = parseToBnW(rawData, rawData.length); in handleMessage() 155 mIconData = rawData; in handleMessage() 185 private boolean handleImageDescriptor(byte[] rawData) { in handleImageDescriptor() argument 186 mId = ImageDescriptor.parse(rawData, 1); in handleImageDescriptor()
|
D | RilMessageDecoder.java | 179 byte[] rawData = null; in decodeMessageParams() 181 rawData = IccUtils.hexStringToBytes((String) rilMsg.mData); in decodeMessageParams() 190 mCmdParamsFactory.make(BerTlv.decode(rawData)); in decodeMessageParams()
|
D | CatService.java | 66 RilMessage(int msgId, String rawData) { in RilMessage() argument 68 mData = rawData; in RilMessage() 627 byte[] rawData = buf.toByteArray(); in sendTerminalResponse() 628 String hexString = IccUtils.bytesToHexString(rawData); in sendTerminalResponse() 720 byte[] rawData = buf.toByteArray(); in sendMenuSelection() 723 int len = rawData.length - 2; // minus (tag + length) in sendMenuSelection() 724 rawData[1] = (byte) len; in sendMenuSelection() 726 String hexString = IccUtils.bytesToHexString(rawData); in sendMenuSelection() 792 byte[] rawData = buf.toByteArray(); in eventDownload() 795 int len = rawData.length - 2; // minus (tag + length) in eventDownload() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | CameraTest.java | 121 public void onPreviewFrame(byte [] rawData, Camera camera) { in onPreviewFrame() argument 124 if (rawData != null) { in onPreviewFrame() 125 rawDataLength = rawData.length; in onPreviewFrame() 147 public void onPictureTaken(byte [] rawData, Camera camera) { in onPictureTaken() argument 156 public void onPictureTaken(byte [] rawData, Camera camera) { in onPictureTaken() argument 158 if (rawData != null) { in onPictureTaken() 159 int rawDataLength = rawData.length; in onPictureTaken() 163 outstream.write(rawData); in onPictureTaken()
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/ |
D | ReportCanvas.java | 161 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/ |
D | AnswerToReset.java | 104 byte[] rawData = new byte[length]; in parseHistoricalBytes() 105 System.arraycopy(originalData, startIndex, rawData, 0, length); in parseHistoricalBytes() 106 return new HistoricalBytes(rawData, nodes, rawData[0]); in parseHistoricalBytes() 109 private HistoricalBytes(byte[] rawData, ArrayMap<Integer, byte[]> nodes, byte category) { in HistoricalBytes() argument 110 mRawData = rawData; in HistoricalBytes()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | NV12Compressor.cpp | 200 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/wifi/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pDnsSdServiceInfo.java | 161 byte[] rawData = txtRecord.getRawData(); in createTxtServiceQuery() 162 if (rawData.length == 0) { in createTxtServiceQuery() 165 sb.append(bin2HexStr(rawData)); in createTxtServiceQuery()
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
D | Event.java | 235 byte[] rawData = new byte[data.size()]; in readData() 241 rawData[i] = (byte)d; in readData() 243 return rawData; in readData()
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/ |
D | IccUtils.java | 637 private static int[] getCLUT(byte[] rawData, int offset, int number) { in getCLUT() argument 638 if (null == rawData) { in getCLUT() 649 | ((rawData[valueIndex++] & 0xFF) << 16) in getCLUT() 650 | ((rawData[valueIndex++] & 0xFF) << 8) in getCLUT() 651 | ((rawData[valueIndex++] & 0xFF)); in getCLUT()
|
/frameworks/base/core/java/com/android/internal/telephony/ |
D | IPhoneStateListener.aidl | 55 void onOemHookRawEvent(in byte[] rawData); in onOemHookRawEvent() argument
|
D | ITelephonyRegistry.aidl | 87 void notifyOemHookRawEventForSubscriber(in int phoneId, in int subId, in byte[] rawData); in notifyOemHookRawEventForSubscriber() argument
|
/frameworks/base/core/java/android/telephony/ |
D | PhoneStateListener.java | 969 public void onOemHookRawEvent(byte[] rawData) { in onOemHookRawEvent() argument 1296 public void onOemHookRawEvent(byte[] rawData) { in onOemHookRawEvent() argument 1301 () -> mExecutor.execute(() -> psl.onOemHookRawEvent(rawData))); in onOemHookRawEvent()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 1465 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/telephony/java/com/android/internal/telephony/cdma/sms/ |
D | BearerData.java | 871 byte[] rawData = new byte[dataBytes]; in encodeDtmfSmsAddress() 880 rawData[i / 2] |= val << (4 - ((i % 2) * 4)); in encodeDtmfSmsAddress() 882 return rawData; in encodeDtmfSmsAddress() 1519 private static String decodeDtmfSmsAddress(byte[] rawData, int numFields) in decodeDtmfSmsAddress() argument 1526 int val = 0x0F & (rawData[i / 2] >>> (4 - ((i % 2) * 4))); in decodeDtmfSmsAddress()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
D | MediaPlayerPerformance.java | 173 public void onPreviewFrame(byte[] rawData, Camera camera) { in onPreviewFrame() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | TelephonyRegistry.java | 2035 public void notifyOemHookRawEventForSubscriber(int phoneId, int subId, byte[] rawData) { in notifyOemHookRawEventForSubscriber() argument 2050 r.callback.onOemHookRawEvent(rawData); in notifyOemHookRawEventForSubscriber()
|