/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | CurrentXmlHandler.java | 61 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 …]
|
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 | 52 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()
|
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 | 148 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLoss() local 149 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN, attributes, false /*no handler*/); in testAudioFocusRequestGainLoss() 153 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLossHandler() local 154 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN, attributes, true /*with handler*/); in testAudioFocusRequestGainLossHandler() 159 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLossTransient() local 160 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN_TRANSIENT, attributes, in testAudioFocusRequestGainLossTransient() 165 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLossTransientHandler() local 166 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN_TRANSIENT, attributes, in testAudioFocusRequestGainLossTransientHandler() 171 final AudioAttributes[] attributes = { ATTR_DRIVE_DIR, ATTR_MEDIA }; in testAudioFocusRequestGainLossTransientDuck() local 172 doTestTwoPlayersGainLoss(AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK, attributes, in testAudioFocusRequestGainLossTransientDuck() [all …]
|
D | MockPlayer.java | 187 public void setAudioAttributes(AudioAttributes attributes) { in setAudioAttributes() argument 188 mAudioAttributes = attributes; in setAudioAttributes()
|
D | MediaPlayer2Test.java | 253 AudioAttributes attributes = new AudioAttributes.Builder() in testPlayAudioFromDataURI() local 256 mp.setAudioAttributes(attributes); in testPlayAudioFromDataURI() 352 AudioAttributes attributes = new AudioAttributes.Builder() 355 mp.setAudioAttributes(attributes); 445 AudioAttributes attributes = new AudioAttributes.Builder() local 448 mp.setAudioAttributes(attributes); 487 AudioAttributes attributes = new AudioAttributes.Builder() in testPlayAudioLooping() local 490 mp.setAudioAttributes(attributes); in testPlayAudioLooping() 574 AudioAttributes attributes = new AudioAttributes.Builder() in testPlayMidi() local 577 mp.setAudioAttributes(attributes); in testPlayMidi() [all …]
|
D | AudioTrackLatencyTest.java | 284 AudioAttributes attributes = attributesBuilder.build(); in createCustomAudioTrack() local 292 .setAudioAttributes(attributes) in createCustomAudioTrack()
|
D | AudioTrackTest.java | 397 for (AudioAttributes attributes : testAttributes) { in testBuilderAttributesPerformanceMode() 400 .setAudioAttributes(attributes) in testBuilderAttributesPerformanceMode() 406 final String result = "Attribute flags: " + attributes.getAllFlags() in testBuilderAttributesPerformanceMode() 2065 AudioAttributes attributes = (fast ? new AudioAttributes.Builder() in doTestTimestamp() local 2077 .setAudioAttributes(attributes) in doTestTimestamp()
|
/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/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/tests/app/src/android/app/cts/ |
D | NotificationChannelTest.java | 130 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/ |
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 | 155 # 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/printTestUtilLib/src/android/print/test/ |
D | BasePrintTest.java | 334 final PrintAttributes attributes) { in print() argument 340 printJob[0] = printManager.print("Print job", adapter, attributes); in print() 361 @Nullable PrintAttributes attributes) { in print() argument 365 attributes)); in print()
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | WindowManagerState.java | 507 if (proto.attributes != null) { in WindowState() 508 mType = proto.attributes.type; in WindowState()
|
/cts/tests/framework/base/activitymanager/util/src/android/server/am/ |
D | WindowManagerState.java | 790 if (proto.attributes != null) { in WindowState() 791 mType = proto.attributes.type; in WindowState()
|
/cts/tools/dasm/src/dasm/ |
D | parser.cup | 113 // used for Annotation attributes : 399 /* ========== Generic attributes specification ========== */
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 2548 PrintAttributes attributes = new PrintAttributes.Builder() 2563 printDocumentLayout(adapter, null, attributes, 2600 PrintAttributes attributes = new PrintAttributes.Builder() 2615 printDocumentLayout(adapter, null, attributes,
|