Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 22 of 22) sorted by relevance

/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCurrentXmlHandler.java61 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument
63 super.startElement(uri, localName, name, attributes); in startElement()
65 mCurrentPackageName = getValue(attributes, "name"); in startElement()
71 if (isEnum(attributes)) { in startElement()
76 mCurrentClassName = getValue(attributes, "name"); in startElement()
77 mDeprecated = isDeprecated(attributes); in startElement()
78 String superClass = attributes.getValue("extends"); in startElement()
80 mCurrentClassName, mDeprecated, is(attributes, "abstract"), superClass); in startElement()
87 mDeprecated = isDeprecated(attributes); in startElement()
90 mDeprecated = isDeprecated(attributes); in startElement()
[all …]
DDexDepsXmlHandler.java52 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument
54 super.startElement(uri, localName, name, attributes); in startElement()
56 mCurrentPackageName = CurrentXmlHandler.getValue(attributes, "name"); in startElement()
59 mCurrentClassName = CurrentXmlHandler.getValue(attributes, "name"); in startElement()
63 mCurrentMethodName = CurrentXmlHandler.getValue(attributes, "name"); in startElement()
64 mCurrentMethodReturnType = CurrentXmlHandler.getValue(attributes, "return"); in startElement()
67 mCurrentParameterTypes.add(CurrentXmlHandler.getValue(attributes, "type")); in startElement()
/cts/tests/tests/drm/src/android/drm/cts/
DDrmEventTest.java30 HashMap<String, Object> attributes = new HashMap<String, Object>(3); in testGetAttribute() local
31 attributes.put("Hello World", attributes); in testGetAttribute()
32 attributes.put("Hello", "World"); in testGetAttribute()
33 attributes.put("World", ""); in testGetAttribute()
38 checkGetAttributeWithEventType(attributes, null, true); in testGetAttribute()
39 checkGetAttributeWithEventType(attributes, "", true); in testGetAttribute()
40 checkGetAttributeWithEventType(attributes, "Hello", true); in testGetAttribute()
41 checkGetAttributeWithEventType(attributes, "World", true); in testGetAttribute()
42 checkGetAttributeWithEventType(attributes, "Hello World", true); in testGetAttribute()
47 checkGetAttributeWithEventType(attributes, null, false); in testGetAttribute()
[all …]
DDrmInfoRequestTest.java66 HashMap<String, Object> attributes = new HashMap<String, Object>(3); in testPutAndGetKeys() local
67 attributes.put("Hello", ""); in testPutAndGetKeys()
68 attributes.put("World", null); in testPutAndGetKeys()
69 attributes.put("Hello World", "Hello World"); in testPutAndGetKeys()
73 Iterator<String> keys = attributes.keySet().iterator(); in testPutAndGetKeys()
76 request.put(key, attributes.get(key)); in testPutAndGetKeys()
83 assertEquals(request.get(key), attributes.get(key)); in testPutAndGetKeys()
89 assertEquals(request.get(key), attributes.get(key)); in testPutAndGetKeys()
94 Collection<Object> vals = attributes.values(); in testPutAndGetKeys()
DDrmInfoTest.java76 HashMap<String, Object> attributes = new HashMap<String, Object>(3); in testPutAndGetKeys() local
77 attributes.put("Hello", ""); in testPutAndGetKeys()
78 attributes.put("World", null); in testPutAndGetKeys()
79 attributes.put("Hello World", "Hello World"); in testPutAndGetKeys()
83 Iterator<String> keys = attributes.keySet().iterator(); in testPutAndGetKeys()
86 info.put(key, attributes.get(key)); in testPutAndGetKeys()
93 assertEquals(info.get(key), attributes.get(key)); in testPutAndGetKeys()
99 assertEquals(info.get(key), attributes.get(key)); in testPutAndGetKeys()
104 Collection<Object> vals = attributes.values(); in testPutAndGetKeys()
/cts/tests/tests/media/src/android/media/cts/
DAudioFocusTest.java144 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLoss() local
145 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN, attributes, false /*no handler*/); in testAudioFocusRequestGainLoss()
149 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLossHandler() local
150 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN, attributes, true /*with handler*/); in testAudioFocusRequestGainLossHandler()
155 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLossTransient() local
156 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN_TRANSIENT, attributes, in testAudioFocusRequestGainLossTransient()
161 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLossTransientHandler() local
162 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN_TRANSIENT, attributes, in testAudioFocusRequestGainLossTransientHandler()
167 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLossTransientDuck() local
168 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK, attributes, in testAudioFocusRequestGainLossTransientDuck()
[all …]
DAudioTrackLatencyTest.java277 AudioAttributes attributes = attributesBuilder.build(); in createCustomAudioTrack() local
285 .setAudioAttributes(attributes) in createCustomAudioTrack()
DAudioTrackTest.java392 for (AudioAttributes attributes : testAttributes) { in testBuilderAttributesPerformanceMode()
395 .setAudioAttributes(attributes) in testBuilderAttributesPerformanceMode()
401 final String result = "Attribute flags: " + attributes.getAllFlags() in testBuilderAttributesPerformanceMode()
1995 AudioAttributes attributes = (fast ? new AudioAttributes.Builder() in doTestTimestamp() local
2007 .setAudioAttributes(attributes) in doTestTimestamp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DShaderHelper.java177 …kProgram(final int vertexShaderHandle, final int fragmentShaderHandle, final String[] attributes) { in createAndLinkProgram() argument
188 if (attributes != null) { in createAndLinkProgram()
189 final int size = attributes.length; in createAndLinkProgram()
191 GLES20.glBindAttribLocation(programHandle, i, attributes[i]); in createAndLinkProgram()
/cts/tests/tests/sax/src/android/sax/cts/
DElementTest.java84 public void start(Attributes attributes) { in testParse()
85 assertEquals(Y2009, attributes.getValue(0)); in testParse()
96 public void start(Attributes attributes) { in testParse()
97 assertEquals(Y2000, attributes.getValue(0)); in testParse()
107 public void start(Attributes attributes) { in testParse()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DSubPlan.java151 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument
154 String includeString = attributes.getValue(INCLUDE_ATTR); in startElement()
155 String excludeString = attributes.getValue(EXCLUDE_ATTR); in startElement()
160 String abiString = attributes.getValue(ABI_ATTR); in startElement()
161 String nameString = attributes.getValue(NAME_ATTR); in startElement()
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DSubPlanTest.java134 Set<String> attributes = new HashSet<String>(); in generateEntryXml() local
136 attributes.add(String.format(XML_ATTR, filterType, filter)); in generateEntryXml()
139 attributes.add(String.format(XML_ATTR, "name", name)); in generateEntryXml()
142 attributes.add(String.format(XML_ATTR, "abi", abi)); in generateEntryXml()
144 return String.format(XML_ENTRY, String.join(" ", attributes)); in generateEntryXml()
/cts/tests/app/src/android/app/cts/
DNotificationChannelTest.java130 AudioAttributes attributes = new AudioAttributes.Builder() in testSound() local
137 channel.setSound(expected, attributes); in testSound()
139 assertEquals(attributes, channel.getAudioAttributes()); in testSound()
/cts/tools/utils/cts/
Dtools.py72 self.attributes = {'name': package_name, 'AndroidFramework': 'Android 1.0',
91 self.attributes[name] = value
97 for (attr, value) in self.attributes.iteritems():
/cts/hostsidetests/sustainedperf/shadertoy_android/src/
DGLtestView.java233 int[] attributes = { in printConfig() local
304 for (int i = 0; i < attributes.length; i++) { in printConfig()
305 int attribute = attributes[i]; in printConfig()
/cts/tests/tests/opengl/src/android/opengl/cts/
DEglConfigGLSurfaceView.java245 int[] attributes = { in printConfig() local
316 for (int i = 0; i < attributes.length; i++) { in printConfig()
317 int attribute = attributes[i]; in printConfig()
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile155 # Required attributes for module, separated by a comma
156 required-attributes=
164 # List of method names used to declare (i.e. assign) instance attributes.
187 # Maximum number of attributes for a class (see R0902).
188 max-attributes=7
368 # List of classes names for which member attributes should not be checked
369 # (useful for classes with attributes dynamically set).
372 # When zope mode is activated, add a predefined set of Zope acquired attributes
/cts/tests/tests/print/src/android/print/cts/
DBasePrintTest.java336 protected void print(final PrintDocumentAdapter adapter, final PrintAttributes attributes) { in print() argument
337 print(adapter, "Print job", attributes); in print()
355 @Nullable PrintAttributes attributes) { in print() argument
359 attributes)); in print()
/cts/tools/dasm/src/dasm/
Dparser.cup113 // used for Annotation attributes :
399 /* ========== Generic attributes specification ========== */
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java2533 PrintAttributes attributes = new PrintAttributes.Builder()
2548 printDocumentLayout(adapter, null, attributes,
/cts/tools/dex-tools/dex/
Dclasses0.out.dex33330 private java.util.Map attributes
55326 private java.util.jar.Attributes attributes
75418 private java.util.List attributes
75822 private java.util.List attributes
81127 private final org.apache.harmony.xml.ExpatAttributes attributes
81951 final org.xml.sax.Attributes attributes
83371 private java.util.List attributes
89226 private java.util.Hashtable attributes
91516 org.bouncycastle.asn1.ASN1Set attributes
92154 private org.bouncycastle.asn1.ASN1Set attributes
[all …]
Dclasses.out.dex143531 protected java.util.Hashtable attributes