Home
last modified time | relevance | path

Searched refs:Element (Results 1 – 25 of 33) sorted by relevance

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DPointerTrackerQueueTests.java32 public static class Element implements PointerTrackerQueue.Element { class in PointerTrackerQueueTests
41 public Element(int id) { in Element() method in PointerTrackerQueueTests.Element
70 private final Element mElement1 = new Element(1);
71 private final Element mElement2 = new Element(2);
72 private final Element mElement3 = new Element(3);
73 private final Element mElement4 = new Element(4);
100 Element.sPhantomUpCount = 0; in testRemove()
126 assertEquals(0, Element.sPhantomUpCount); in testRemove()
127 assertEquals(Element.NOT_HAPPENED, mElement1.mPhantomUpEventTime); in testRemove()
128 assertEquals(Element.NOT_HAPPENED, mElement2.mPhantomUpEventTime); in testRemove()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DPointerTrackerQueue.java27 public interface Element { interface in PointerTrackerQueue
37 private final ArrayList<Element> mExpandableArrayOfActivePointers =
47 public void add(final Element pointer) { in add()
52 final ArrayList<Element> expandableArray = mExpandableArrayOfActivePointers; in add()
63 public void remove(final Element pointer) { in remove()
68 final ArrayList<Element> expandableArray = mExpandableArrayOfActivePointers; in remove()
72 final Element element = expandableArray.get(index); in remove()
89 public Element getOldestElement() { in getOldestElement()
95 public void releaseAllPointersOlderThan(final Element pointer, final long eventTime) { in releaseAllPointersOlderThan()
100 final ArrayList<Element> expandableArray = mExpandableArrayOfActivePointers; in releaseAllPointersOlderThan()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DMoSerializer.java23 import org.w3c.dom.Element;
94 Element createMgmtTree(@NonNull Document doc) { in createMgmtTree()
96 Element rootElement = doc.createElement(TAG_MGMT_TREE); in createMgmtTree()
108 Element writeVersion(@NonNull Document doc) { in writeVersion()
109 Element dtdElement = doc.createElement(TAG_VERSION); in writeVersion()
122 Element createNode(@NonNull Document doc, @NonNull String nodeName) { in createNode()
123 Element node = doc.createElement(TAG_NODE); in createNode()
124 Element nameNode = doc.createElement(TAG_NODENAME); in createNode()
140 Element createNodeForUrn(@NonNull Document doc, @NonNull String urn) { in createNodeForUrn()
141 Element node = doc.createElement(TAG_RTPROPERTIES); in createNodeForUrn()
[all …]
DDevDetailMo.java32 import org.w3c.dom.Element;
165 Element rootElement = moSerializer.createMgmtTree(doc); in serializeToXml()
168 Element moNode = moSerializer.createNode(doc, MO_NAME); in serializeToXml()
173 Element extNode = moSerializer.createNode(doc, TAG_EXT); in serializeToXml()
175 Element orgNode = moSerializer.createNode(doc, TAG_ORG_WIFI); in serializeToXml()
178 Element wifiNode = moSerializer.createNode(doc, TAG_WIFI); in serializeToXml()
180 Element eapMethodListNode = moSerializer.createNode(doc, TAG_EAP_METHOD_LIST); in serializeToXml()
183 Element eapMethodNode; in serializeToXml()
218 Element opsNode = moSerializer.createNode(doc, TAG_OPS); in serializeToXml()
227 Element uriNode = moSerializer.createNode(doc, TAG_URI); in serializeToXml()
DDevInfoMo.java24 import org.w3c.dom.Element;
66 Element rootElement = moSerializer.createMgmtTree(doc); in serializeToXml()
68 Element moNode = moSerializer.createNode(doc, MO_NAME); in serializeToXml()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DMoSerializerTest.java30 import org.w3c.dom.Element;
60 Element element = mMoSerializer.createMgmtTree(mDocument); in testShouldReturnValidElementForCreateMgmtTree()
73 Element element = mMoSerializer.writeVersion(mDocument); in testShouldReturnValidElementForWriteVersion()
88 Element element = mMoSerializer.createNodeForUrn(mDocument, TEST_URN); in testShouldReturnValidElementForCreateNodeForUrn()
93 assertTrue(childNode instanceof Element); in testShouldReturnValidElementForCreateNodeForUrn()
94 assertEquals(((Element)childNode).getTagName(), MoSerializer.TAG_TYPE); in testShouldReturnValidElementForCreateNodeForUrn()
97 assertTrue(childNode2 instanceof Element); in testShouldReturnValidElementForCreateNodeForUrn()
98 assertEquals(((Element)childNode2).getTagName(), MoSerializer.TAG_DDF_NAME); in testShouldReturnValidElementForCreateNodeForUrn()
111 Element element = mMoSerializer.createNode(mDocument, TEST_NODE); in testShouldReturnValidElementForCreateNode()
116 assertTrue(childNode instanceof Element); in testShouldReturnValidElementForCreateNode()
[all …]
/packages/apps/Dialer/java/com/android/dialer/rootcomponentgenerator/
DMetadataGeneratingStep.java34 import javax.lang.model.element.Element;
58 public Set<? extends Element> process( in process()
59 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) { in process()
61 for (Element element : elementsByAnnotation.get(IncludeInDialerRoot.class)) { in process()
64 for (Element element : elementsByAnnotation.get(InstallIn.class)) { in process()
DRootComponentGeneratingStep.java49 import javax.lang.model.element.Element;
93 public Set<? extends Element> process( in process()
94 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) { in process()
95 for (Element element : elementsByAnnotation.get(DialerRootComponent.class)) { in process()
109 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) { in shouldDeferRootComponent()
183 for (Element element : cachePackage.getEnclosedElements()) { in extractInfoFromMetadata()
DComponentGeneratingStep.java48 import javax.lang.model.element.Element;
96 public Set<? extends Element> process( in process()
97 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) { in process()
184 private void addElement(TypeSpec.Builder builder, Element element) { in addElement()
253 for (Element enclosedElement : element.getEnclosedElements()) { in cloneType()
/packages/services/Telephony/utils/satellite/configdatagenerator/src/main/java/com/android/telephony/tools/configdatagenerate/
DConfigDataGenerator.java24 import org.w3c.dom.Element;
140 Element carrierServiceElement = (Element) carrierServiceNode; in createStarlinkConfigProto()
152 Element providerCapabilityElement = (Element) providerCapabilityNode; in createStarlinkConfigProto()
204 Element satelliteRegionElement = (Element) satelliteRegionNode; in createSkyloConfigProto()
/packages/services/Telephony/utils/satellite/configdatagenerator/src/test/java/com/android/telephony/tools/configdatagenerate/
DConfigDataGeneratorTest.java35 import org.w3c.dom.Element;
355 Element rootElement = doc.createElement(ConfigDataGenerator.TAG_SATELLITE_CONFIG); in createInputXml()
359 Element versionElement = doc.createElement(ConfigDataGenerator.TAG_VERSION); in createInputXml()
368 Element satelliteRegion = doc.createElement(ConfigDataGenerator.TAG_SATELLITE_REGION); in createInputXml()
396 private static Element createCarrierSupportedServices(Document doc, int carrierId, in createCarrierSupportedServices()
398 Element carrierSupportedServices = doc.createElement( in createCarrierSupportedServices()
403 Element providerCapability = doc.createElement(ConfigDataGenerator.TAG_PROVIDER_CAPABILITY); in createCarrierSupportedServices()
415 private static Element createElementWithText(Document doc, String tagName, String textContent) { in createElementWithText()
416 Element element = doc.createElement(tagName); in createElementWithText()
/packages/modules/Permission/tests/lint/checks/src/main/java/com/android/permissioncontroller/lint/permissionpolicy/
DPlatformPermissionWithoutFlagDetector.kt29 import org.w3c.dom.Element
35 override fun visitElement(context: XmlContext, element: Element) { in getApplicableElements()
/packages/modules/AdServices/adservices/scripts/
Dgenerate_test_ota.py56 strings_xml = ET.Element('resources')
58 public_xml = ET.Element('resources')
Dgenerate_ota_public_xml.py113 public_xml = ET.Element('resources')
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/utils/
DXmlDoc.java40 import org.w3c.dom.Element;
152 Element element = (Element) nodeList.item(i); in parseXmlResponse()
/packages/modules/Permission/SafetyCenter/ConfigLintChecker/java/android/safetycenter/lint/
DParserExceptionDetector.kt39 import org.w3c.dom.Element
86 override fun visitElement(context: XmlContext, element: Element) { in visitElement()
/packages/apps/SecureElement/
DAndroid.bp11 package_name: "Android Secure Element",
/packages/apps/Car/systemlibs/tools/rro/
Dgenerate-overlays.py65 root = etree.Element('overlay')
Dgenerate-overlayable.py62 root = etree.Element('resources')
/packages/modules/Bluetooth/system/blueberry/utils/ui_pages/
Dui_node.py27 def __init__(self, node: minidom.Element, argument
/packages/modules/AppSearch/safeparcel-processor/src/android/app/appsearch/safeparcel/
DSafeParcelProcessor.java50 import javax.lang.model.element.Element;
235 Element e = mElements.getTypeElement(qualified); in loadTypeOrFail()
275 Set<? extends Element> annotatedElements = env.getElementsAnnotatedWith(e); in process()
276 for (Element annotatedElement : annotatedElements) { in process()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DVideoCallFragment.java30 import android.renderscript.Element;
1310 ScriptIntrinsicBlur.create(renderScript, Element.U8_4(renderScript)); in blur()
/packages/apps/TvSettings/
Dtwo-panel-baseline-profile.txt2497 …Context;-><init>(Lkotlin/coroutines/CoroutineContext;Lkotlin/coroutines/CoroutineContext$Element;)V
2499 …Context;->get(Lkotlin/coroutines/CoroutineContext$Key;)Lkotlin/coroutines/CoroutineContext$Element;
2502 …onInterceptor;Lkotlin/coroutines/CoroutineContext$Key;)Lkotlin/coroutines/CoroutineContext$Element;
2508 PLkotlin/coroutines/CoroutineContext$Element$DefaultImpls;->fold(Lkotlin/coroutines/CoroutineContex…
2509Element$DefaultImpls;->get(Lkotlin/coroutines/CoroutineContext$Element;Lkotlin/coroutines/Coroutin…
2510 PLkotlin/coroutines/CoroutineContext$Element$DefaultImpls;->minusKey(Lkotlin/coroutines/CoroutineCo…
2511 PLkotlin/coroutines/CoroutineContext$Element$DefaultImpls;->plus(Lkotlin/coroutines/CoroutineContex…
2515 …(Lkotlin/coroutines/CoroutineContext;Lkotlin/coroutines/CoroutineContext$Element;)Lkotlin/coroutin…
2682 …xtKt$hasCopyableElements$1;->invoke(ZLkotlin/coroutines/CoroutineContext$Element;)Ljava/lang/Boole…
2693 …patcher;->get(Lkotlin/coroutines/CoroutineContext$Key;)Lkotlin/coroutines/CoroutineContext$Element;
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java49 public final class PointerTracker implements PointerTrackerQueue.Element,
/packages/providers/TelephonyProvider/assets/latest_carrier_id/
Dcarrier_list.textpb9690 carrier_name: "Element Mobile"

12