/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardImporterTests.java | 486 ContentValuesVerifierElem elem = mVerifier.addContentValuesVerifierElem(); in testOrgBeforTitle() local 487 elem.addExpected(StructuredName.CONTENT_ITEM_TYPE) in testOrgBeforTitle() 489 elem.addExpected(Organization.CONTENT_ITEM_TYPE) in testOrgBeforTitle() 498 ContentValuesVerifierElem elem = mVerifier.addContentValuesVerifierElem(); in testTitleBeforOrg() local 499 elem.addExpected(StructuredName.CONTENT_ITEM_TYPE) in testTitleBeforOrg() 501 elem.addExpected(Organization.CONTENT_ITEM_TYPE) in testTitleBeforOrg() 514 ContentValuesVerifierElem elem = mVerifier.addContentValuesVerifierElem(); in testV21PrefToIsPrimary() local 515 elem.addExpected(StructuredName.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary() 518 elem.addExpected(Phone.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary() 521 elem.addExpected(Phone.CONTENT_ITEM_TYPE) in testV21PrefToIsPrimary() [all …]
|
D | VCardEntryTests.java | 151 public void addExpectedElement(EntryElement elem) { in addExpectedElement() argument 152 mExpectedElements.put(elem.getEntryLabel(), elem); in addExpectedElement() local 190 public boolean onElement(EntryElement elem) { in onElement() argument 191 EntryElement expectedElem = mExpectedElements.remove(elem.getEntryLabel()); in onElement() 192 assertNotNull("Unexpected elem: " + elem.toString(), expectedElem); in onElement() 193 assertEquals(expectedElem, elem); in onElement()
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleThread.java | 151 for (StackTraceElement elem : trace) { in createStackChunk() 152 bufferSize += 4 + elem.getClassName().length() * 2; in createStackChunk() 153 bufferSize += 4 + elem.getMethodName().length() * 2; in createStackChunk() 155 if (elem.getFileName() != null) in createStackChunk() 156 bufferSize += elem.getFileName().length() * 2; in createStackChunk() 164 for (StackTraceElement elem : trace) { in createStackChunk() 165 out.putInt(elem.getClassName().length()); in createStackChunk() 166 putString(out, elem.getClassName()); in createStackChunk() 167 out.putInt(elem.getMethodName().length()); in createStackChunk() 168 putString(out, elem.getMethodName()); in createStackChunk() [all …]
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ContentValuesVerifier.java | 32 ContentValuesVerifierElem elem = new ContentValuesVerifierElem(androidTestCase); in addElem() local 33 mContentValuesVerifierElemList.add(elem); in addElem() 34 return elem; in addElem() 39 for (ContentValuesVerifierElem elem : mContentValuesVerifierElemList) { in onStart() 40 elem.onParsingStart(); in onStart() 53 for (ContentValuesVerifierElem elem : mContentValuesVerifierElemList) { 54 elem.onParsingEnd(); 55 elem.verifyResolver();
|
D | VCardVerifier.java | 175 final PropertyNodesVerifierElem elem = addPropertyNodesVerifierElemWithoutVersion(); in addPropertyNodesVerifierElem() local 186 elem.addExpectedNodeWithOrder("VERSION", versionString); in addPropertyNodesVerifierElem() 188 return elem; in addPropertyNodesVerifierElem() 195 final PropertyNodesVerifierElem elem = addPropertyNodesVerifierElem(); in addPropertyNodesVerifierElemWithEmptyName() local 197 elem.addExpectedNodeWithOrder("FN", ""); in addPropertyNodesVerifierElemWithEmptyName() 199 elem.addExpectedNodeWithOrder("N", ""); in addPropertyNodesVerifierElemWithEmptyName() 200 elem.addExpectedNodeWithOrder("FN", ""); in addPropertyNodesVerifierElemWithEmptyName() 202 elem.addExpectedNodeWithOrder("N", ""); in addPropertyNodesVerifierElemWithEmptyName() 204 return elem; in addPropertyNodesVerifierElemWithEmptyName()
|
D | PropertyNodesVerifier.java | 41 PropertyNodesVerifierElem elem = new PropertyNodesVerifierElem(mAndroidTestCase); in addPropertyNodesVerifierElem() local 42 mPropertyNodesVerifierElemList.add(elem); in addPropertyNodesVerifierElem() 43 return elem; in addPropertyNodesVerifierElem()
|
D | PropertyNode.java | 166 for (String elem : paramMap_TYPE) { in toString() 173 builder.append(elem); in toString() 180 for (String elem : propGroupSet) { in toString() 187 builder.append(elem); in toString()
|
/frameworks/native/opengl/tools/glgen2/registry/ |
D | reg.py | 70 def matchAPIProfile(api, profile, elem): argument 74 if ('api' in elem.attrib): 77 elem.get('api') + "'") 78 elif (api != elem.get('api')): 81 if ('profile' in elem.attrib): 84 elem.get('profile') + "'") 85 elif (profile != elem.get('profile')): 100 def __init__(self, elem): argument 103 self.elem = elem 112 def __init__(self, elem): argument [all …]
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_HardwareRendererObserver.cpp | 54 FrameMetricsNotification& elem = mRingBuffer[mNextInQueue]; in getNextBuffer() local 55 if (elem.hasData.load()) { in getNextBuffer() 56 env->SetLongArrayRegion(metrics, 0, kBufferSize, elem.buffer); in getNextBuffer() 57 *dropCount = elem.dropCount; in getNextBuffer() 59 elem.hasData = false; in getNextBuffer() 67 FrameMetricsNotification& elem = mRingBuffer[mNextFree]; in notify() local 69 if (!elem.hasData.load()) { in notify() 70 memcpy(elem.buffer, stats, kBufferSize * sizeof(stats[0])); in notify() 72 elem.dropCount = mDroppedReports; in notify() 75 elem.hasData = true; in notify()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | ArrayUtils.java | 40 for (T elem : array) { in getArrayIndex() 41 if (Objects.equals(elem, needle)) { in getArrayIndex() 151 for (int elem : list) { in toIntArray() 152 arr[i] = elem; in toIntArray() 166 public static boolean contains(int[] array, int elem) { in contains() argument 167 return getArrayIndex(array, elem) != -1; in contains() 177 public static <T> boolean contains(T[] array, T elem) { in contains() argument 178 return getArrayIndex(array, elem) != -1; in contains()
|
D | ListUtils.java | 63 for (T elem : list) { in listToString() 64 sb.append(elem); in listToString()
|
/frameworks/native/opengl/tools/glgen2/ |
D | glgen.py | 59 def parseProto(elem): argument 60 type = nonestr(elem.text) 62 for subelem in elem: 71 def parseParam(elem): argument 72 name = elem.find('name').text 73 declaration = ''.join(elem.itertext()) 124 rtype, fname = parseProto(cmd.elem.find('proto')) 125 params = [parseParam(p) for p in cmd.elem.findall('param')] 150 rtype, fname = parseProto(cmd.elem.find('proto')) 151 params = [parseParam(p) for p in cmd.elem.findall('param')] [all …]
|
/frameworks/rs/driver/ |
D | rsdMeshObj.cpp | 56 bool RsdMeshObj::isValidGLComponent(const Element *elem, uint32_t fieldIdx) { in isValidGLComponent() argument 59 RsDataType dt = elem->mHal.state.fields[fieldIdx]->mHal.state.dataType; in isValidGLComponent() 67 uint32_t arraySize = elem->mHal.state.fieldArraySizes[fieldIdx]; in isValidGLComponent() 82 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); in init() local 83 for (uint32_t ct=0; ct < elem->mHal.state.fieldsCount; ct++) { in init() 84 if (isValidGLComponent(elem, ct)) { in init() 105 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); in init() local 106 uint32_t stride = elem->mHal.state.elementSizeBytes; in init() 107 for (uint32_t fieldI=0; fieldI < elem->mHal.state.fieldsCount; fieldI++) { in init() 108 const Element *f = elem->mHal.state.fields[fieldI]; in init() [all …]
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | ALookup.h | 50 for (auto elem : mTable) { in lookup() local 51 if (elem.first == from) { in lookup() 52 *to = elem.second; in lookup() 61 for (auto elem : mTable) { in rlookup() local 62 if (elem.second == from) { in rlookup() 63 *to = elem.first; in rlookup()
|
/frameworks/rs/ |
D | rsApiElement.cpp | 22 extern "C" void rsaElementGetNativeData(RsContext con, RsElement elem, in rsaElementGetNativeData() argument 26 Element *e = static_cast<Element *>(elem); in rsaElementGetNativeData() 35 extern "C" void rsaElementGetSubElements(RsContext con, RsElement elem, uintptr_t *ids, in rsaElementGetSubElements() argument 37 Element *e = static_cast<Element *>(elem); in rsaElementGetSubElements()
|
D | rsElement.h | 121 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); in create() local 122 elem->incUserRef(); in create() 123 return elem.get(); in create() 130 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin); variable 131 elem->incUserRef(); 132 return elem.get();
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableArray.java | 93 Object elem = mComponentMarshaler.unmarshal(buffer); in unmarshal() local 94 Array.set(array, i, elem); in unmarshal() 102 Object elem = mComponentMarshaler.unmarshal(buffer); in unmarshal() local 103 arrayList.add(elem); in unmarshal() 160 Object elem = Array.get(array, index); in calculateElementMarshalSize() local 162 return marshaler.calculateMarshalSize((TElem) elem); in calculateElementMarshalSize()
|
/frameworks/av/services/mediametrics/ |
D | AnalyticsActions.h | 113 const auto& [key, elem] = trigger; in isMatch() 117 return item->hasPropElem(propName, elem); in isMatch() 122 const auto& [key, elem] = trigger; in isWildcardMatch() 123 return item->recursiveWildcardCheckElem(key.c_str(), elem); in isWildcardMatch()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
D | UT_apitest.java | 36 Element elem = Element.I8(pRS); in run() local 37 Type.Builder typeBuilder = new Type.Builder(pRS, elem); in run() 50 s.set_elemNonNull(elem); in run()
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | UT_apitest.java | 38 Element elem = Element.I8(pRS); in run() local 39 Type.Builder typeBuilder = new Type.Builder(pRS, elem); in run() 52 s.set_elemNonNull(elem); in run()
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | UT_apitest.java | 35 Element elem = Element.I8(pRS); in run() local 36 Type.Builder typeBuilder = new Type.Builder(pRS, elem); in run() 49 s.set_elemNonNull(elem); in run()
|
/frameworks/av/media/libstagefright/ |
D | ACodecBufferChannel.cpp | 506 for (const BufferInfo &elem : *inputBuffers) { in getInputBufferArray() 507 array->push_back(elem.mClientBuffer); in getInputBufferArray() 515 for (const BufferInfo &elem : *outputBuffers) { in getOutputBufferArray() 516 array->push_back(elem.mClientBuffer); in getOutputBufferArray() 553 (size_t sum, const BufferAndId& elem) { in setInputBufferArray() argument 554 return sum + align(elem.mBuffer->capacity(), alignment); in setInputBufferArray() 559 (size_t max, const BufferAndId& elem) { in setInputBufferArray() argument 560 return std::max(max, align(elem.mBuffer->capacity(), alignment)); in setInputBufferArray() 570 for (const BufferAndId &elem : array) { in setInputBufferArray() local 573 sharedEncryptedBuffer = mDealer->allocate(elem.mBuffer->capacity()); in setInputBufferArray() [all …]
|
D | Utils.cpp | 784 for (auto elem : stringMappings) { in convertMessageToMetaDataFromMappings() local 786 if (msg->findString(elem.first, &value)) { in convertMessageToMetaDataFromMappings() 787 meta->setCString(elem.second, value.c_str()); in convertMessageToMetaDataFromMappings() 791 for (auto elem : floatMappings) { in convertMessageToMetaDataFromMappings() local 793 if (msg->findFloat(elem.first, &value)) { in convertMessageToMetaDataFromMappings() 794 meta->setFloat(elem.second, value); in convertMessageToMetaDataFromMappings() 798 for (auto elem : int64Mappings) { in convertMessageToMetaDataFromMappings() local 800 if (msg->findInt64(elem.first, &value)) { in convertMessageToMetaDataFromMappings() 801 meta->setInt64(elem.second, value); in convertMessageToMetaDataFromMappings() 805 for (auto elem : int32Mappings) { in convertMessageToMetaDataFromMappings() local [all …]
|
/frameworks/base/core/java/android/hardware/radio/ |
D | Utils.java | 88 set.stream().forEach(elem -> dest.writeTypedObject(elem, 0)); in writeSet() 106 set.stream().forEach(elem -> dest.writeInt(Objects.requireNonNull(elem))); in writeIntSet()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | InMatcher.java | 52 for (T elem : mValues) { in matches() 53 if (Objects.equals(o, elem)) { in matches()
|