/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | CurrentXmlHandler.java | 63 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 65 super.startElement(uri, localName, name, attributes); in startElement() 67 mCurrentPackageName = getValue(attributes, "name"); in startElement() 74 if (isEnum(attributes)) { in startElement() 79 mCurrentClassName = getValue(attributes, "name"); in startElement() 80 mDeprecated = isDeprecated(attributes); in startElement() 81 String superClass = attributes.getValue("extends"); in startElement() 83 mCurrentClassName, mDeprecated, is(attributes, "abstract"), superClass); in startElement() 87 mCurrentInterfaceName = attributes.getValue("name"); in startElement() 89 mDeprecated = isDeprecated(attributes); in startElement() [all …]
|
D | CtsReportHandler.java | 51 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 53 super.startElement(uri, localName, name, attributes); in startElement() 59 mTestSuiteBld.setName(attributes.getValue(NAME_TAG)); in startElement() 60 mTestPackageBld.setName(attributes.getValue(NAME_TAG)); in startElement() 62 if (null != attributes.getValue(NAME_TAG)) { in startElement() 63 mTestPackageBld.setAbi(attributes.getValue(ABI_TAG)); in startElement() 67 mTestCaseBld.setName(attributes.getValue(NAME_TAG)); in startElement() 71 testBld.setName(attributes.getValue(NAME_TAG)); in startElement() 72 testBld.setResult(attributes.getValue(RESULT_TAG)); in startElement()
|
D | TestModuleConfigHandler.java | 58 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 60 super.startElement(uri, localName, name, attributes); in startElement() 63 if (null != attributes.getValue(DESCRIPTION_TAG)) { in startElement() 64 mFileMetadata.setDescription(attributes.getValue(DESCRIPTION_TAG)); in startElement() 70 mTestCase.setTestClass(attributes.getValue(CLASS_TAG)); in startElement() 73 mTargetPreparer.setTestClass(attributes.getValue(CLASS_TAG)); in startElement() 76 option.setName(attributes.getValue(NAME_TAG)); in startElement() 77 option.setValue(attributes.getValue(VALUE_TAG)); in startElement() 78 String keyStr = attributes.getValue(KEY_TAG); in startElement()
|
D | DexDepsXmlHandler.java | 50 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 52 super.startElement(uri, localName, name, attributes); in startElement() 54 mCurrentPackageName = CurrentXmlHandler.getValue(attributes, "name"); in startElement() 57 mCurrentClassName = CurrentXmlHandler.getValue(attributes, "name"); in startElement() 61 mCurrentMethodName = CurrentXmlHandler.getValue(attributes, "name"); in startElement() 64 mCurrentParameterTypes.add(CurrentXmlHandler.getValue(attributes, "type")); in startElement()
|
D | TestSuiteContentReport.java | 168 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 170 super.startElement(uri, localName, name, attributes); in startElement() 174 localName, attributes.getValue(NAME_TAG), attributes.getValue(VALUE_TAG)); in startElement() 175 if (EXCLUDE_FILTER_TAG.equals(attributes.getValue(NAME_TAG))) { in startElement() 176 String kfFilter = attributes.getValue(VALUE_TAG).replace(' ', '.'); in startElement()
|
/cts/tests/tests/drm/src/android/drm/cts/ |
D | DrmEventTest.java | 30 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 …]
|
D | DrmInfoRequestTest.java | 66 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()
|
D | DrmInfoTest.java | 77 HashMap<String, Object> attributes = new HashMap<String, Object>(3); in testPutAndGetKeys() local 78 attributes.put("Hello", ""); in testPutAndGetKeys() 79 attributes.put("World", null); in testPutAndGetKeys() 80 attributes.put("Hello World", "Hello World"); in testPutAndGetKeys() 84 Iterator<String> keys = attributes.keySet().iterator(); in testPutAndGetKeys() 87 info.put(key, attributes.get(key)); in testPutAndGetKeys() 94 assertEquals(info.get(key), attributes.get(key)); in testPutAndGetKeys() 100 assertEquals(info.get(key), attributes.get(key)); in testPutAndGetKeys() 105 Collection<Object> vals = attributes.values(); in testPutAndGetKeys()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioFocusTest.java | 152 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLoss() local 153 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN, attributes, false /*no handler*/); in testAudioFocusRequestGainLoss() 157 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLossHandler() local 158 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN, attributes, true /*with handler*/); in testAudioFocusRequestGainLossHandler() 163 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLossTransient() local 164 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN_TRANSIENT, attributes, in testAudioFocusRequestGainLossTransient() 169 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLossTransientHandler() local 170 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN_TRANSIENT, attributes, in testAudioFocusRequestGainLossTransientHandler() 181 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLossTransientDuck() local 182 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK, attributes, in testAudioFocusRequestGainLossTransientDuck() [all …]
|
D | AudioTrackTest.java | 386 final AudioAttributes attributes = new AudioAttributes.Builder() in testBuilderAttributesStream() local 392 .setAudioAttributes(attributes) in testBuilderAttributesStream() 404 attributes, observedAttributes); in testBuilderAttributesStream() 408 attributes.getContentType()); in testBuilderAttributesStream() 428 for (AudioAttributes attributes : testAttributes) { in testBuilderAttributesPerformanceMode() 431 .setAudioAttributes(attributes) in testBuilderAttributesPerformanceMode() 437 final String result = "Attribute flags: " + attributes.getAllFlags() in testBuilderAttributesPerformanceMode() 2145 AudioAttributes attributes = (fast ? new AudioAttributes.Builder() in doTestTimestamp() local 2157 .setAudioAttributes(attributes) in doTestTimestamp() 2610 final AudioAttributes attributes = new AudioAttributes.Builder() in testMediaMetrics() local [all …]
|
D | AudioTrackLatencyTest.java | 285 AudioAttributes attributes = attributesBuilder.build(); in createCustomAudioTrack() local 293 .setAudioAttributes(attributes) in createCustomAudioTrack()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | XmlHandler.java | 82 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 84 super.startElement(uri, localName, name, attributes); in startElement() 92 mPermissionsBuilder.setName(attributes.getValue(NAME_TAG)); in startElement() 98 eleBuilder.setValue(attributes.getValue(GID_TAG)); in startElement() 104 mPermissionsBuilder.setName(attributes.getValue(NAME_TAG)); in startElement() 105 String uid = attributes.getValue(UID_TAG); in startElement() 115 mPermissionsBuilder.setName(attributes.getValue(NAME_TAG)); in startElement() 116 String file = attributes.getValue(FILE_TAG); in startElement() 126 mPermissionsBuilder.setName(attributes.getValue(PACKAGE_TAG)); in startElement() 130 mPermissionsBuilder.setName(attributes.getValue(PACKAGE_TAG)); in startElement() [all …]
|
D | TestModuleConfigHandler.java | 60 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 62 super.startElement(uri, localName, name, attributes); in startElement() 66 if (null != attributes.getValue(DESCRIPTION_TAG)) { in startElement() 67 mTestModuleConfig.setDescription(attributes.getValue(DESCRIPTION_TAG)); in startElement() 74 mTestCase.setTestClass(attributes.getValue(CLASS_TAG)); in startElement() 78 mTargetPreparer.setTestClass(attributes.getValue(CLASS_TAG)); in startElement() 82 option.setName(attributes.getValue(NAME_TAG)); in startElement() 83 option.setValue(attributes.getValue(VALUE_TAG)); in startElement() 84 String keyStr = attributes.getValue(KEY_TAG); in startElement()
|
D | TestSuiteTradefedParser.java | 137 public void startElement(String uri, String localName, String name, Attributes attributes) in startElement() argument 139 super.startElement(uri, localName, name, attributes); in startElement() 140 if (EXCLUDE_FILTER_TAG.equals(attributes.getValue(NAME_TAG))) { in startElement() 141 String kfFilter = attributes.getValue(VALUE_TAG).replace(' ', '.'); in startElement()
|
/cts/tests/tests/sax/src/android/sax/cts/ |
D | ElementTest.java | 84 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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/ |
D | ShaderHelper.java | 177 …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/app/src/android/app/cts/ |
D | NotificationChannelTest.java | 132 AudioAttributes attributes = new AudioAttributes.Builder() in testSound() local 139 channel.setSound(expected, attributes); in testSound() 141 assertEquals(attributes, channel.getAudioAttributes()); in testSound()
|
/cts/tools/utils/cts/ |
D | tools.py | 72 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/ |
D | GLtestView.java | 233 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/ |
D | EglConfigGLSurfaceView.java | 245 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/ |
D | gpylint_rcfile | 158 # Required attributes for module, separated by a comma 159 required-attributes= 167 # List of method names used to declare (i.e. assign) instance attributes. 190 # Maximum number of attributes for a class (see R0902). 191 max-attributes=7 371 # List of classes names for which member attributes should not be checked 372 # (useful for classes with attributes dynamically set). 375 # When zope mode is activated, add a predefined set of Zope acquired attributes
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | BasePrintTest.java | 359 final PrintAttributes attributes) { in print() argument 365 printJob[0] = printManager.print("Print job", adapter, attributes); in print() 386 @Nullable PrintAttributes attributes) { in print() argument 390 attributes)); in print()
|
/cts/tests/media/ |
D | README.md | 13 All tests accepts attributes that offer selective run of tests. Media codec tests parses the value …
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | WindowManagerState.java | 501 if (proto.attributes != null) { in WindowState() 502 mType = proto.attributes.type; in WindowState()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerState.java | 856 if (proto.attributes != null) { in WindowState() 857 mType = proto.attributes.type; in WindowState()
|