/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()
|
D | VCardExporterTests.java | 199 final PropertyNodesVerifierElem elem = mVerifier.addPropertyNodesVerifierElem(); in testStructuredNameUseSuperPrimaryCommon() local 200 elem.addExpectedNodeWithOrder("N", in testStructuredNameUseSuperPrimaryCommon() 206 elem.addExpectedNodeWithOrder("FN", "AppropriateDisplayName"); in testStructuredNameUseSuperPrimaryCommon() 243 final PropertyNodesVerifierElem elem = mVerifier.addPropertyNodesVerifierElem(); in testStructuredNamePhoneticNameCommon() local 250 elem.addExpectedNodeWithOrder("N", in testStructuredNamePhoneticNameCommon() 257 elem.addExpectedNodeWithOrder("N", in testStructuredNamePhoneticNameCommon() 263 elem.addExpectedNode("SORT-STRING", in testStructuredNamePhoneticNameCommon() 269 elem.addExpectedNodeWithOrder("FN", "AppropriateDisplayName") in testStructuredNamePhoneticNameCommon() 342 final PropertyNodesVerifierElem elem = mVerifier.addPropertyNodesVerifierElem(); in testStructuredNameComplicatedCommon() local 349 elem.addExpectedNodeWithOrder("N", in testStructuredNameComplicatedCommon() [all …]
|
D | VCardJapanizationTests.java | 124 PropertyNodesVerifierElem elem = mVerifier.addPropertyNodesVerifierElemWithEmptyName(); in testPhoneticNameCommon() local 125 elem.addExpectedNode("X-PHONETIC-LAST-NAME", "\u3084\u307E\u3060", in testPhoneticNameCommon() 133 elem.addExpectedNode("SORT-STRING", in testPhoneticNameCommon() 226 PropertyNodesVerifierElem elem = mVerifier.addPropertyNodesVerifierElemWithEmptyName(); in testPostalAddressWithJapaneseCommon() local 229 elem.addExpectedNode("ADR", Arrays.asList("\u79C1\u66F8\u7BB107", in testPostalAddressWithJapaneseCommon()
|
/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/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/rs/driver/ |
D | rsdMeshObj.cpp | 52 bool RsdMeshObj::isValidGLComponent(const Element *elem, uint32_t fieldIdx) { in isValidGLComponent() argument 55 RsDataType dt = elem->mHal.state.fields[fieldIdx]->mHal.state.dataType; in isValidGLComponent() 63 uint32_t arraySize = elem->mHal.state.fieldArraySizes[fieldIdx]; in isValidGLComponent() 78 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); in init() local 79 for (uint32_t ct=0; ct < elem->mHal.state.fieldsCount; ct++) { in init() 80 if (isValidGLComponent(elem, ct)) { in init() 101 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); in init() local 102 uint32_t stride = elem->mHal.state.elementSizeBytes; in init() 103 for (uint32_t fieldI=0; fieldI < elem->mHal.state.fieldsCount; fieldI++) { in init() 104 const Element *f = elem->mHal.state.fields[fieldI]; in init() [all …]
|
/frameworks/native/opengl/tools/glgen2/ |
D | glgen.py | 60 def parseTypedName(elem): argument 61 type = [nonestr(elem.text)] 63 for subelem in elem: 111 rtype, fname = parseTypedName(cmd.elem.find('proto')) 112 params = [parseTypedName(p) for p in cmd.elem.findall('param')] 136 rtype, fname = parseTypedName(cmd.elem.find('proto')) 137 params = [parseTypedName(p) for p in cmd.elem.findall('param')] 142 value = enuminfo.elem.get('value') 165 type = enuminfo.elem.get('type') 221 rtype, fname = parseTypedName(cmd.elem.find('proto')) [all …]
|
/frameworks/opt/net/wifi/service/jni/ |
D | jni_helper.cpp | 141 jlong *elem = (env)->GetLongArrayElements(array, 0); in getLongArrayField() local 142 if (elem == NULL) { in getLongArrayField() 147 jlong value = elem[index]; in getLongArrayField() 148 (env)->ReleaseLongArrayElements(array, elem, 0); in getLongArrayField() 173 jlong *elem = (env)->GetLongArrayElements(array, 0); in getStaticLongArrayField() local 174 if (elem == NULL) { in getStaticLongArrayField() 179 jlong value = elem[index]; in getStaticLongArrayField() 180 (env)->ReleaseLongArrayElements(array, elem, 0); in getStaticLongArrayField() 196 jobject elem = (env)->GetObjectArrayElement(array, index); in getObjectArrayField() local 197 if (elem == NULL) { in getObjectArrayField() [all …]
|
/frameworks/rs/ |
D | rsElement.h | 119 ObjectBaseRef<const Element> elem = createRef(rsc, dt, dk, isNorm, vecSize); in create() local 120 elem->incUserRef(); in create() 121 return elem.get(); in create() 128 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin); variable 129 elem->incUserRef(); 130 return elem.get();
|
D | rsElement.cpp | 157 const Element *elem = Element::create(rsc, fieldCount, subElems, subElemNames, in createFromStream() local 169 return (Element *)elem; in createFromStream() 439 extern "C" void rsaElementGetNativeData(RsContext con, RsElement elem, in rsaElementGetNativeData() argument 443 Element *e = static_cast<Element *>(elem); in rsaElementGetNativeData() 452 extern "C" void rsaElementGetSubElements(RsContext con, RsElement elem, uintptr_t *ids, in rsaElementGetSubElements() argument 454 Element *e = static_cast<Element *>(elem); in rsaElementGetSubElements()
|
D | rsType.cpp | 186 Element *elem = Element::createFromStream(rsc, stream); in createFromStream() local 187 if (!elem) { in createFromStream() 196 Type *type = Type::getType(rsc, elem, x, y, z, lod != 0, faces !=0, 0); in createFromStream() 197 elem->decUserRef(); in createFromStream()
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
D | ColladaParser.java | 500 private String getString(Element elem, String name) { in getString() argument 502 NodeList nl = elem.getElementsByTagName(name); in getString() 509 private String getString(Element elem) { in getString() argument 511 text = elem.getFirstChild().getNodeValue(); in getString() 515 private int getInt(Element elem, String name) { in getInt() argument 516 return Integer.parseInt(getString(elem, name)); in getInt() 519 private float getFloat(Element elem, String name) { in getFloat() argument 520 return Float.parseFloat(getString(elem, name)); in getFloat() 523 private float getFloat(Element elem) { in getFloat() argument 524 return Float.parseFloat(getString(elem)); in getFloat() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableArray.java | 96 Object elem = mComponentMarshaler.unmarshal(buffer); in unmarshal() local 97 Array.set(array, i, elem); in unmarshal() 105 Object elem = mComponentMarshaler.unmarshal(buffer); in unmarshal() local 106 arrayList.add(elem); in unmarshal() 163 Object elem = Array.get(array, index); in calculateElementMarshalSize() local 165 return marshaler.calculateMarshalSize((TElem) elem); in calculateElementMarshalSize()
|
/frameworks/rs/java/tests/RSTest_CompatLib/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/base/core/java/com/android/internal/util/ |
D | Preconditions.java | 257 for (T elem : value) { in checkCollectionElementsNotNull() 258 if (elem == null) { in checkCollectionElementsNotNull()
|
/frameworks/base/core/jni/android/opengl/ |
D | poly_clip.cpp | 41 #define CLIP_AND_SWAP(elem, sign, k, p, q, r) { \ argument 42 poly_clip_to_halfspace(p, q, &v->elem-(float *)v, sign, sign*k); \
|
/frameworks/compile/slang/tests/P_kernel_cpp/ |
D | kernel_cpp.rs | 14 rs_element elem;
|
/frameworks/rs/driver/runtime/ |
D | rs_sample.c | 539 const Element_t *elem = type->mHal.state.element; in rsSample() local 540 rs_data_kind dk = elem->mHal.state.dataKind; in rsSample() 541 rs_data_type dt = elem->mHal.state.dataType; in rsSample() 591 const Element_t *elem = type->mHal.state.element; in rsSample() local 592 rs_data_kind dk = elem->mHal.state.dataKind; in rsSample() 593 rs_data_type dt = elem->mHal.state.dataType; in rsSample() 638 const Element_t *elem = type->mHal.state.element; in rsSample() local 639 rs_data_kind dk = elem->mHal.state.dataKind; in rsSample() 640 rs_data_type dt = elem->mHal.state.dataType; in rsSample()
|