/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/ |
D | NalUnitUtil.java | 31 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 …]
|
D | ParsableBitArray.java | 25 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/ |
D | android_drm_DrmManagerClient.cpp | 275 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/ |
D | Matrix2f.java | 48 public Matrix2f(float[] dataArray) { in Matrix2f() argument 50 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix2f()
|
D | Matrix3f.java | 48 public Matrix3f(float[] dataArray) { in Matrix3f() argument 50 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix3f()
|
D | Matrix4f.java | 48 public Matrix4f(float[] dataArray) { in Matrix4f() argument 50 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix4f()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Matrix2f.java | 45 public Matrix2f(float[] dataArray) { in Matrix2f() argument 47 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix2f()
|
D | Matrix3f.java | 45 public Matrix3f(float[] dataArray) { in Matrix3f() argument 47 System.arraycopy(dataArray, 0, mMat, 0, mMat.length); in Matrix3f()
|
D | Matrix4f.java | 47 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/ |
D | Device.java | 209 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/ |
D | MethodStatistics.h | 66 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/ |
D | VCardEntry.java | 538 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/ |
D | SIMRecords.java | 1917 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()
|