/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyStoreTest.java | 169 String type = service.getType(); in keyStores() 176 assertEquals(algorithm, ks.getType()); in keyStores() 187 return (!(ks.getType().equals("JKS") in isSecretKeyEnabled() 188 || ks.getType().equals("CaseExactJKS") in isSecretKeyEnabled() 189 || (ks.getType().equals("PKCS12")) in isSecretKeyEnabled() 190 || (ks.getType().equals("AndroidKeyStore")))); in isSecretKeyEnabled() 195 return (!(ks.getType().equals("PKCS12") && ks.getProvider().getName().equals("SunJSSE"))); in isCertificateEnabled() 199 return (ks.getType().equals("CaseExactJKS") in isCaseSensitive() 200 || ks.getType().equals("BKS") in isCaseSensitive() 201 || ks.getType().equals("BouncyCastle") in isCaseSensitive() [all …]
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | TtsSpanTest.java | 60 assertEquals("test.type.two", t.getType()); in testGetType() 85 assertEquals("test.type.five", t.getType()); in testWriteAndReadParcel() 104 assertEquals("test.type.builder", t.getType()); in testBuilder() 120 assertEquals("test.type.semioticClassBuilder", t.getType()); in testSemioticClassBuilder() 135 assertEquals(TtsSpan.TYPE_TEXT, t.getType()); in testTextBuilder() 142 assertEquals(TtsSpan.TYPE_TEXT, t.getType()); in testTextBuilder() 155 assertEquals(TtsSpan.TYPE_CARDINAL, t.getType()); in testCardinalBuilder() 164 assertEquals(TtsSpan.TYPE_CARDINAL, t.getType()); in testCardinalBuilder() 171 assertEquals(TtsSpan.TYPE_CARDINAL, t.getType()); in testCardinalBuilder() 178 assertEquals(TtsSpan.TYPE_CARDINAL, t.getType()); in testCardinalBuilder() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ImageProcessingTest.java | 91 a1_copy = Allocation.createTyped(mRS, a1.getType()); in testBlur() 92 a2_copy = Allocation.createTyped(mRS, a2.getType()); in testBlur() 96 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testBlur() 669 a1_copy = Allocation.createTyped(mRS, a1.getType()); in testColorMatrix() 670 a2_copy = Allocation.createTyped(mRS, a2.getType()); in testColorMatrix() 680 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testColorMatrix() 681 a2_copy.copy2DRangeFrom(0, 0, a2.getType().getX(), a2.getType().getY(), a2, 0, 0); in testColorMatrix() 691 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testColorMatrix() 692 a2_copy.copy2DRangeFrom(0, 0, a2.getType().getX(), a2.getType().getY(), a2, 0, 0); in testColorMatrix() 706 a1_copy = Allocation.createTyped(mRS, a1.getType()); in testConvolve3x3() [all …]
|
D | IntrinsicBlur.java | 77 if (mAllocSrc.getType().getElement().isCompatible(Element.U8(mRS))) { in copyInput() 81 if (mAllocSrc.getType().getElement().isCompatible(Element.U8_4(mRS))) { in copyInput() 89 if (mAllocSrc.getType().getElement().isCompatible(Element.U8(mRS))) { in copyOutput() 93 if (mAllocSrc.getType().getElement().isCompatible(Element.U8_4(mRS))) { in copyOutput()
|
D | AllocationTest.java | 108 assertEquals(A.getType().getElement(), e); in createSizedHelper() 109 assertEquals(A.getType().getX(), i); in createSizedHelper() 845 assertTrue(a.getType().getX() == 100); in testDimReturnsZero() 846 assertTrue(a.getType().getY() == 0); in testDimReturnsZero() 847 assertTrue(a.getType().getZ() == 0); in testDimReturnsZero() 854 assertTrue(a.getType().getX() == 1); in testDimReturnsZero() 855 assertTrue(a.getType().getY() == 0); in testDimReturnsZero() 856 assertTrue(a.getType().getZ() == 0); in testDimReturnsZero() 863 assertTrue(a.getType().getX() == 102); in testDimReturnsZero() 864 assertTrue(a.getType().getY() == 0); in testDimReturnsZero() [all …]
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | TypedArrayTest.java | 116 assertEquals(TypedValue.TYPE_INT_BOOLEAN, t.getType(R.styleable.style1_type1)); in testGetType() 117 assertEquals(TypedValue.TYPE_INT_BOOLEAN, t.getType(R.styleable.style1_type2)); in testGetType() 118 assertEquals(TypedValue.TYPE_INT_COLOR_ARGB8, t.getType(R.styleable.style1_type3)); in testGetType() 119 assertEquals(TypedValue.TYPE_INT_COLOR_ARGB8, t.getType(R.styleable.style1_type4)); in testGetType() 120 assertEquals(TypedValue.TYPE_DIMENSION, t.getType(R.styleable.style1_type5)); in testGetType() 121 assertEquals(TypedValue.TYPE_DIMENSION, t.getType(R.styleable.style1_type6)); in testGetType() 122 assertEquals(TypedValue.TYPE_DIMENSION, t.getType(R.styleable.style1_type7)); in testGetType() 123 assertEquals(TypedValue.TYPE_STRING, t.getType(R.styleable.style1_type8)); in testGetType() 124 assertEquals(TypedValue.TYPE_FLOAT, t.getType(R.styleable.style1_type9)); in testGetType() 125 assertEquals(TypedValue.TYPE_FRACTION, t.getType(R.styleable.style1_type10)); in testGetType() [all …]
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvTrackInfoTest.java | 40 assertEquals(TvTrackInfo.TYPE_AUDIO, info.getType()); in testAudioTrackInfoOp() 53 assertEquals(TvTrackInfo.TYPE_AUDIO, infoFromParcel.getType()); in testAudioTrackInfoOp() 78 assertEquals(TvTrackInfo.TYPE_VIDEO, info.getType()); in testVideoTrackInfoOp() 94 assertEquals(TvTrackInfo.TYPE_VIDEO, infoFromParcel.getType()); in testVideoTrackInfoOp() 117 assertEquals(TvTrackInfo.TYPE_SUBTITLE, info.getType()); in testSubtitleTrackInfoOp() 128 assertEquals(TvTrackInfo.TYPE_SUBTITLE, infoFromParcel.getType()); in testSubtitleTrackInfoOp()
|
D | TvInputInfoTest.java | 47 && info1.getType() == info2.getType() in compareTvInputInfos() 107 assertEquals(mStubInfo.getType(), infoFromParcel.getType()); in testTvInputInfoOp() 140 assertEquals(mStubInfo.getType(), TvInputInfo.TYPE_TUNER); in testGetTypeForTuner()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | DexParser.java | 65 public Entry.EntryType getType() { in getType() method in DexParser 110 mInternalApiClassBuilderMap, classDef.getType()); in parse() 129 fieldBuilder.setType(ClassUtils.getCanonicalName(dxField.getType())); in parse() 189 apiAnnotationBuilder.setType(ClassUtils.getCanonicalName(annotation.getType())); in getAnnotationList() 251 fieldBuilder.setType(ClassUtils.getCanonicalName(f.getType())); in processField() 270 if (t.getType().length() == 1) { in isInternal() 273 } else if (t.getType().charAt(0) == ClassUtils.TYPE_ARRAY) { in isInternal() 280 return f.getType(); in getSignature() 298 + f.getType(); in getSignature() 302 return ClassUtils.getCanonicalName(f.getType()); in getCanonicalName() [all …]
|
D | TestSuiteParser.java | 136 if (Entry.EntryType.TEST_MODULE_CONFIG == entry.getType()) { in praseTestSuite() 218 String className = classDef.getType().replace('/', '.'); in parseApkTestCase() 351 if (annotation.getType().equals(tag)) { in hasAnnotation() 360 if (annotation.getType().endsWith(tag)) { in hasAnnotationSuffix() 374 if (annotation.getType().equals(DEPRECATED_ANNOTATION_TAG)) { in chkTestClassType() 377 if (annotation.getType().equals(RUN_WITH_ANNOTATION_TAG)) { in chkTestClassType() 388 System.err.printf("Unknown test class type: %s\n", classDef.getType()); in chkTestClassType() 393 if (classDef.getType().endsWith(TEST_TAG) || classDef.getType().endsWith(TESTS_TAG)) { in chkTestClassType()
|
/cts/tests/tests/rsblas/src/android/renderscript/cts/ |
D | IntrinsicBLAS.java | 131 Element e = ref.getType().getElement(); in verifyMatrix() 198 if (X.getType().getY() > 2) { in validateVecInput() 209 int M = A.getType().getY(); in validateGEMV() 210 int N = A.getType().getX(); in validateGEMV() 211 if (!A.getType().getElement().isCompatible(e) || in validateGEMV() 212 !X.getType().getElement().isCompatible(e) || in validateGEMV() 213 !Y.getType().getElement().isCompatible(e)) { in validateGEMV() 216 if (X.getType().getY() > 1 || Y.getType().getY() > 1) { in validateGEMV() 231 if (X.getType().getX() != expectedXDim || in validateGEMV() 232 Y.getType().getX() != expectedYDim) { in validateGEMV() [all …]
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfo_RangeInfoTest.java | 39 assertEquals(RangeInfo.RANGE_TYPE_INT, r.getType()); in testObtain() 45 assertEquals(RangeInfo.RANGE_TYPE_FLOAT, r.getType()); in testObtain() 51 assertEquals(RangeInfo.RANGE_TYPE_PERCENT, r.getType()); in testObtain()
|
D | AccessibilityWindowInfoTest.java | 59 assertEquals(-1, w.getType()); in testDefaultValues() 100 equality &= w1.getType() == w2.getType(); in areWindowsEqual()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | IconTest.java | 140 assertEquals(Icon.TYPE_BITMAP, icon.getType()); in testBitmapIcon_getType() 148 assertEquals(Icon.TYPE_DATA, icon.getType()); in testDataIcon_getType() 160 assertEquals(Icon.TYPE_URI, icon.getType()); in testFileIcon_getType() 164 assertEquals(Icon.TYPE_URI, icon.getType()); in testFileIcon_getType() 168 assertEquals(Icon.TYPE_URI, icon.getType()); in testFileIcon_getType() 178 assertEquals(Icon.TYPE_RESOURCE, icon.getType()); in testResourceIcon_getType()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorTest.java | 96 if (s.getType() < Sensor.TYPE_DEVICE_PRIVATE_BASE) { in setUp() 134 assertEquals(Sensor.TYPE_ACCELEROMETER, sensor.getType()); in testSensorOperations() 145 assertEquals(Sensor.TYPE_STEP_COUNTER, sensor.getType()); in testSensorOperations() 156 assertEquals(Sensor.TYPE_STEP_DETECTOR, sensor.getType()); in testSensorOperations() 167 assertEquals(Sensor.TYPE_MAGNETIC_FIELD, sensor.getType()); in testSensorOperations() 178 assertEquals(Sensor.TYPE_GYROSCOPE, sensor.getType()); in testSensorOperations() 189 assertEquals(Sensor.TYPE_PRESSURE, sensor.getType()); in testSensorOperations() 198 assertEquals(Sensor.TYPE_ORIENTATION, sensor.getType()); in testSensorOperations() 205 assertEquals(Sensor.TYPE_TEMPERATURE, sensor.getType()); in testSensorOperations() 217 assertEquals(Sensor.TYPE_HEART_RATE, sensor.getType()); in testBodySensorOperations() [all …]
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskProcess.cpp | 86 if ((paramTypes != NULL) && paramTypes[i] && (list[i].getType() != EId)) { in prepareParams() 87 LOGE("mismatching types %d %d", paramTypes[i], list[i].getType()); in prepareParams() 90 if ((paramTypes != NULL) && !paramTypes[i] && (list[i].getType() == EId)) { in prepareParams() 91 LOGE("mismatching types %d %d", paramTypes[i], list[i].getType()); in prepareParams() 94 switch(list[i].getType()) { in prepareParams() 132 if (list[i].getValue().getType() == TaskCase::Value::ETypeDouble) { in prepareParams() 291 LOGV("TaskProcess::parseParams %d-th type %d", i, list[i].getType()); in parseParams() 344 TaskProcess::ParamType TaskProcess::Param::getType() in getType() function in TaskProcess::Param
|
D | TaskGeneric.cpp | 70 if (task->getType() == ETaskCase) { in getTestCase() 91 LOGE("child type %d returned %d", child->getType(), *result); in runChild() 109 name.string(), value.string(), getType()); in parseAttribute()
|
D | TaskBatch.cpp | 40 if (child->getType() != TaskGeneric::ETaskCase) { in addChild() 41 LOGE("TaskBatch::addChild wrong child type %d", child->getType()); in addChild()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityActionModeTest.java | 63 assertEquals(ActionMode.TYPE_PRIMARY, mode.getType()); in testStartPrimaryActionMode() 77 assertEquals(ActionMode.TYPE_FLOATING, mode.getType()); in testStartFloatingActionMode() 90 assertEquals(ActionMode.TYPE_PRIMARY, mode.getType()); in testStartTypelessActionMode()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverTest.java | 156 client.getType(REMOTE_TABLE1_URI); in testCrashOnLaunch() 165 String type1 = mContentResolver.getType(REMOTE_TABLE1_URI); in testCrashOnLaunch() 178 String type1 = mContentResolver.getType(REMOTE_TABLE1_URI); in testUnstableToStableRefs() 185 type1 = mContentResolver.getType(REMOTE_TABLE1_URI); in testUnstableToStableRefs() 191 type1 = mContentResolver.getType(REMOTE_TABLE1_URI); in testUnstableToStableRefs() 207 sClient.getType(REMOTE_TABLE1_URI); in testUnstableToStableRefs() 221 String type1 = mContentResolver.getType(REMOTE_TABLE1_URI); in testStableToUnstableRefs() 228 type1 = mContentResolver.getType(REMOTE_TABLE1_URI); in testStableToUnstableRefs() 245 uClient.getType(REMOTE_TABLE1_URI); in testStableToUnstableRefs() 258 String type1 = mContentResolver.getType(TABLE1_URI); in testGetType() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | PatternMatcherTest.java | 53 assertEquals(PatternMatcher.PATTERN_LITERAL, mPatternMatcher.getType()); in testGetType() 56 assertEquals(PatternMatcher.PATTERN_PREFIX, mPatternMatcher.getType()); in testGetType() 59 assertEquals(PatternMatcher.PATTERN_SIMPLE_GLOB, mPatternMatcher.getType()); in testGetType()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | TestCaseReport.java | 143 if (annotation.getType().equals(tag)) { in hasAnnotation() 152 if (annotation.getType().endsWith(tag)) { in hasAnnotationSuffix() 166 if (annotation.getType().equals(DEPRECATED_ANNOTATION_TAG)) { in chkTestType() 169 if (annotation.getType().equals(RUN_WITH_ANNOTATION_TAG)) { in chkTestType() 182 if (classDef.getType().endsWith(TEST_TAG) || classDef.getType().endsWith(TESTS_TAG)) { in chkTestType() 220 String className = classDef.getType().replace('/','.'); in parseApkTestCase() 404 if (Entry.EntryType.CONFIG == entry.getType()) { in listTestCases() 545 "%s,%s,%d,%s,%d\n", pkg.getName(), methodCnt, i++, pkg.getType(), classCnt); in printTestSuiteSummary()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | ProAudioActivity.java | 325 if (devInfo.getType() == AudioDeviceInfo.TYPE_USB_DEVICE || // USB Peripheral in scanPeripheralList() 326 devInfo.getType() == AudioDeviceInfo.TYPE_USB_HEADSET || // USB dongle+LBPlug in scanPeripheralList() 327 devInfo.getType() == AudioDeviceInfo.TYPE_WIRED_HEADSET || // Loopback Plug? in scanPeripheralList() 328 devInfo.getType() == AudioDeviceInfo.TYPE_AUX_LINE) { // Aux-cable loopback? in scanPeripheralList() 335 } else if (devInfo.isSink() && devInfo.getType() == AudioDeviceInfo.TYPE_HDMI) { in scanPeripheralList()
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceSpecTest.java | 60 assertEquals(s.getType(), s2.getType()); in verify()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | SensorSynchronizationTestActivity.java | 75 if (event.sensor.getType() == Sensor.TYPE_ACCELEROMETER) { in analyzeData() 83 } else if (event.sensor.getType() == Sensor.TYPE_MAGNETIC_FIELD) { in analyzeData() 92 if (event.sensor.getType() == Sensor.TYPE_GYROSCOPE) { in analyzeData()
|