Home
last modified time | relevance | path

Searched refs:dataArray (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DNalUnitUtil.java31 public static int findNalUnit(byte[] dataArray, int pos, int limit) { in findNalUnit() argument
36 if (dataArray[pos] == 0 && dataArray[pos + 1] == 0 && dataArray[pos + 2] == 1) { in findNalUnit()
39 if (dataArray[pos] == 0 && dataArray[pos + 1] == 0 && dataArray[pos + 2] == 0 && in findNalUnit()
40 dataArray[pos + 3] == 1) { in findNalUnit()
47 private static int getAVCNalUnitType(byte[] dataArray, int nalUnitOffset) { in getAVCNalUnitType() argument
48 return dataArray[nalUnitOffset] & 0x1F; in getAVCNalUnitType()
51 private static int parseAVCNALUnitData(byte[] dataArray, int offset, int limit) { in parseAVCNALUnitData() argument
52 ParsableBitArray bitArray = new ParsableBitArray(dataArray); in parseAVCNALUnitData()
53 bitArray.reset(dataArray, offset, limit); in parseAVCNALUnitData()
76 private static int getHEVCNalUnitType(byte[] dataArray, int nalUnitOffset) { in getHEVCNalUnitType() argument
[all …]
DParsableBitArray.java25 public ParsableBitArray(byte[] dataArray) { in ParsableBitArray() argument
26 this(dataArray, dataArray.length); in ParsableBitArray()
29 public ParsableBitArray(byte[] dataArray, int limit) { in ParsableBitArray() argument
30 this.data = dataArray; in ParsableBitArray()
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp275 ScopedLocalRef<jbyteArray> dataArray(env, env->NewByteArray(strlen(value))); in android_drm_DrmManagerClient_getConstraintsFromContent() local
277 env->SetByteArrayRegion(dataArray.get(), 0, strlen(value), (jbyte*)value); in android_drm_DrmManagerClient_getConstraintsFromContent()
279 keyString.get(), dataArray.get()); in android_drm_DrmManagerClient_getConstraintsFromContent()
477 jbyteArray dataArray = NULL; in android_drm_DrmManagerClient_processDrmInfo() local
480 dataArray = env->NewByteArray(length); in android_drm_DrmManagerClient_processDrmInfo()
482 dataArray, 0, length, (jbyte*) pDrmInfoStatus->drmBuffer->data); in android_drm_DrmManagerClient_processDrmInfo()
490 jobject processedData = env->NewObject(clazz, constructorId, dataArray, in android_drm_DrmManagerClient_processDrmInfo()
551 jbyteArray dataArray = env->NewByteArray(length); in android_drm_DrmManagerClient_acquireDrmInfo() local
552 env->SetByteArrayRegion(dataArray, 0, length, (jbyte*)pDrmInfo->getData().data); in android_drm_DrmManagerClient_acquireDrmInfo()
557 mInfoType, dataArray, env->NewStringUTF(pDrmInfo->getMimeType().string())); in android_drm_DrmManagerClient_acquireDrmInfo()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DMatrix2f.java48 public Matrix2f(float[] dataArray) { in Matrix2f() argument
50 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix2f()
DMatrix3f.java48 public Matrix3f(float[] dataArray) { in Matrix3f() argument
50 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix3f()
DMatrix4f.java48 public Matrix4f(float[] dataArray) { in Matrix4f() argument
50 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix4f()
/frameworks/base/rs/java/android/renderscript/
DMatrix2f.java45 public Matrix2f(float[] dataArray) { in Matrix2f() argument
47 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix2f()
DMatrix3f.java45 public Matrix3f(float[] dataArray) { in Matrix3f() argument
47 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix3f()
DMatrix4f.java47 public Matrix4f(float[] dataArray) { in Matrix4f() argument
49 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix4f()
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DDevice.java209 JSONArray dataArray = new JSONArray(); in sendReportOutput() local
211 dataArray.put(data[i] & 0xFF); in sendReportOutput()
213 json.put("reportData", dataArray); in sendReportOutput()
/frameworks/av/media/utils/include/mediautils/
DMethodStatistics.h66 FloatType dataArray[1] = { executeMs }; in event() local
67 mStatisticsMap.emplace_hint(it, std::forward<C>(code), dataArray); in event()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java538 final String[] dataArray = new String[ADDR_MAX_DATA_SIZE]; in constructPostalData() local
552 dataArray[i] = addressElement; in constructPostalData()
558 dataArray[i++] = null; in constructPostalData()
561 return new PostalData(dataArray[0], dataArray[1], dataArray[2], dataArray[3], in constructPostalData()
562 dataArray[4], dataArray[5], dataArray[6], type, label, isPrimary, vcardType); in constructPostalData()
609 final String[] dataArray = new String[] { in getFormattedAddress() local
615 String addressPart = dataArray[i]; in getFormattedAddress()
627 String addressPart = dataArray[i]; in getFormattedAddress()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DSIMRecords.java1917 private void parseEfPnn(ArrayList<byte[]> dataArray) { in parseEfPnn() argument
1918 if (dataArray == null) return; in parseEfPnn()
1920 final int count = dataArray.size(); in parseEfPnn()
1923 byte[] data = dataArray.get(i); in parseEfPnn()
1960 private void parseEfOpl(ArrayList<byte[]> dataArray) { in parseEfOpl() argument
1961 if (dataArray == null) return; in parseEfOpl()
1963 final int count = dataArray.size(); in parseEfOpl()
1966 byte[] data = dataArray.get(i); in parseEfOpl()