/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyStoreTest.java | 167 String type = service.getType(); in keyStores() 174 assertEquals(algorithm, ks.getType()); in keyStores() 185 return (!(ks.getType().equals("JKS") in isSecretKeyEnabled() 186 || ks.getType().equals("CaseExactJKS") in isSecretKeyEnabled() 187 || (ks.getType().equals("PKCS12")) in isSecretKeyEnabled() 188 || (ks.getType().equals("AndroidKeyStore")))); in isSecretKeyEnabled() 193 return (!(ks.getType().equals("PKCS12") && ks.getProvider().getName().equals("SunJSSE"))); in isCertificateEnabled() 197 return (ks.getType().equals("CaseExactJKS") in isCaseSensitive() 198 || ks.getType().equals("BKS") in isCaseSensitive() 199 || ks.getType().equals("BouncyCastle") in isCaseSensitive() [all …]
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | TtsSpanTest.java | 52 assertEquals("test.type.two", t.getType()); in testGetType() 77 assertEquals("test.type.five", t.getType()); in testWriteAndReadParcel() 96 assertEquals("test.type.builder", t.getType()); in testBuilder() 112 assertEquals("test.type.semioticClassBuilder", t.getType()); in testSemioticClassBuilder() 127 assertEquals(TtsSpan.TYPE_TEXT, t.getType()); in testTextBuilder() 134 assertEquals(TtsSpan.TYPE_TEXT, t.getType()); in testTextBuilder() 147 assertEquals(TtsSpan.TYPE_CARDINAL, t.getType()); in testCardinalBuilder() 156 assertEquals(TtsSpan.TYPE_CARDINAL, t.getType()); in testCardinalBuilder() 163 assertEquals(TtsSpan.TYPE_CARDINAL, t.getType()); in testCardinalBuilder() 170 assertEquals(TtsSpan.TYPE_CARDINAL, t.getType()); in testCardinalBuilder() [all …]
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | TypedArrayTest.java | 77 assertEquals(TypedValue.TYPE_INT_BOOLEAN, t.getType(R.styleable.style1_type1)); in testGetType() 78 assertEquals(TypedValue.TYPE_INT_BOOLEAN, t.getType(R.styleable.style1_type2)); in testGetType() 79 assertEquals(TypedValue.TYPE_INT_COLOR_ARGB8, t.getType(R.styleable.style1_type3)); in testGetType() 80 assertEquals(TypedValue.TYPE_INT_COLOR_ARGB8, t.getType(R.styleable.style1_type4)); in testGetType() 81 assertEquals(TypedValue.TYPE_DIMENSION, t.getType(R.styleable.style1_type5)); in testGetType() 82 assertEquals(TypedValue.TYPE_DIMENSION, t.getType(R.styleable.style1_type6)); in testGetType() 83 assertEquals(TypedValue.TYPE_DIMENSION, t.getType(R.styleable.style1_type7)); in testGetType() 84 assertEquals(TypedValue.TYPE_STRING, t.getType(R.styleable.style1_type8)); in testGetType() 85 assertEquals(TypedValue.TYPE_FLOAT, t.getType(R.styleable.style1_type9)); in testGetType() 86 assertEquals(TypedValue.TYPE_FRACTION, t.getType(R.styleable.style1_type10)); in testGetType() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ImageProcessingTest.java | 84 a1_copy = Allocation.createTyped(mRS, a1.getType()); in testBlur() 85 a2_copy = Allocation.createTyped(mRS, a2.getType()); in testBlur() 89 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testBlur() 655 a1_copy = Allocation.createTyped(mRS, a1.getType()); in testColorMatrix() 656 a2_copy = Allocation.createTyped(mRS, a2.getType()); in testColorMatrix() 666 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testColorMatrix() 667 a2_copy.copy2DRangeFrom(0, 0, a2.getType().getX(), a2.getType().getY(), a2, 0, 0); in testColorMatrix() 677 a1_copy.copy2DRangeFrom(0, 0, a1.getType().getX(), a1.getType().getY(), a1, 0, 0); in testColorMatrix() 678 a2_copy.copy2DRangeFrom(0, 0, a2.getType().getX(), a2.getType().getY(), a2, 0, 0); in testColorMatrix() 692 a1_copy = Allocation.createTyped(mRS, a1.getType()); in testConvolve3x3() [all …]
|
D | IntrinsicBlur.java | 62 if (mAllocSrc.getType().getElement().isCompatible(Element.U8(mRS))) { in copyInput() 66 if (mAllocSrc.getType().getElement().isCompatible(Element.U8_4(mRS))) { in copyInput() 74 if (mAllocSrc.getType().getElement().isCompatible(Element.U8(mRS))) { in copyOutput() 78 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() 798 assertTrue(a.getType().getX() == 100); in testDimReturnsZero() 799 assertTrue(a.getType().getY() == 0); in testDimReturnsZero() 800 assertTrue(a.getType().getZ() == 0); in testDimReturnsZero() 807 assertTrue(a.getType().getX() == 1); in testDimReturnsZero() 808 assertTrue(a.getType().getY() == 0); in testDimReturnsZero() 809 assertTrue(a.getType().getZ() == 0); in testDimReturnsZero() 816 assertTrue(a.getType().getX() == 102); in testDimReturnsZero() 817 assertTrue(a.getType().getY() == 0); in testDimReturnsZero() [all …]
|
D | GetElementAt.java | 61 mOut = Allocation.createTyped(mRS, gIn.getType()); in testX() 82 mOut = Allocation.createTyped(mRS, gIn.getType()); in testXY()
|
/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() 109 assertEquals(mStubInfo.getType(), infoFromParcel.getType()); in testTvInputInfoOp() 154 assertEquals(mStubInfo.getType(), TvInputInfo.TYPE_TUNER); in testGetTypeForTuner()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfo_RangeInfoTest.java | 37 assertEquals(RangeInfo.RANGE_TYPE_INT, r.getType()); in testObtain() 43 assertEquals(RangeInfo.RANGE_TYPE_FLOAT, r.getType()); in testObtain() 49 assertEquals(RangeInfo.RANGE_TYPE_PERCENT, r.getType()); in testObtain()
|
D | AccessibilityWindowInfoTest.java | 56 assertEquals(-1, w.getType()); in testDefaultValues() 97 equality &= w1.getType() == w2.getType(); in areWindowsEqual()
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskBatch.cpp | 40 if (child->getType() != TaskGeneric::ETaskCase) { in addChild() 41 LOGE("TaskBatch::addChild wrong child type %d", child->getType()); in addChild()
|
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 | TaskProcess.cpp | 85 if ((paramTypes != NULL) && paramTypes[i] && (list[i].getType() != EId)) { in prepareParams() 86 LOGE("mismatching types %d %d", paramTypes[i], list[i].getType()); in prepareParams() 89 if ((paramTypes != NULL) && !paramTypes[i] && (list[i].getType() == EId)) { in prepareParams() 90 LOGE("mismatching types %d %d", paramTypes[i], list[i].getType()); in prepareParams() 93 switch(list[i].getType()) { in prepareParams() 131 if (list[i].getValue().getType() == TaskCase::Value::ETypeDouble) { in prepareParams() 289 LOGV("TaskProcess::parseParams %d-th type %d", i, list[i].getType()); in parseParams() 342 TaskProcess::ParamType TaskProcess::Param::getType() in getType() function in TaskProcess::Param
|
/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/tests/hardware/src/android/hardware/cts/ |
D | SensorTest.java | 119 assertEquals(Sensor.TYPE_ACCELEROMETER, sensor.getType()); in testSensorOperations() 130 assertEquals(Sensor.TYPE_STEP_COUNTER, sensor.getType()); in testSensorOperations() 141 assertEquals(Sensor.TYPE_STEP_DETECTOR, sensor.getType()); in testSensorOperations() 152 assertEquals(Sensor.TYPE_HEART_RATE, sensor.getType()); in testSensorOperations() 163 assertEquals(Sensor.TYPE_MAGNETIC_FIELD, sensor.getType()); in testSensorOperations() 172 assertEquals(Sensor.TYPE_ORIENTATION, sensor.getType()); in testSensorOperations() 179 assertEquals(Sensor.TYPE_TEMPERATURE, sensor.getType()); in testSensorOperations() 228 Sensor curr_sensor = mSensorManager.getDefaultSensor(sensor.getType(), false); in testGetDefaultSensorWithWakeUpFlag() 235 curr_sensor = mSensorManager.getDefaultSensor(sensor.getType(), true); in testGetDefaultSensorWithWakeUpFlag() 247 if (sensor.getType() < MAX_OFFICIAL_ANDROID_SENSOR_TYPE && in testSensorStringTypes() [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/tests/tests/view/src/android/view/cts/ |
D | ActionModeTest.java | 36 assertEquals(ActionMode.TYPE_PRIMARY, actionMode.getType()); in testSetType() 39 assertEquals(ActionMode.TYPE_FLOATING, actionMode.getType()); in testSetType() 42 assertEquals(ActionMode.TYPE_PRIMARY, actionMode.getType()); in testSetType()
|
/cts/tools/dex-tools/src/dex/structure/ |
D | DexEncodedValue.java | 30 DexEncodedValueType getType(); in getType() method
|
D | DexField.java | 30 String getType(); in getType() method
|
/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()
|
D | RotationVectorTestActivity.java | 214 if (event.sensor.getType() == Sensor.TYPE_ROTATION_VECTOR) { in onSensorChanged() 217 if (event.sensor.getType() == Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR) { in onSensorChanged() 220 if (event.sensor.getType() == Sensor.TYPE_GAME_ROTATION_VECTOR) { in onSensorChanged()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverTest.java | 151 client.getType(REMOTE_TABLE1_URI); in testCrashOnLaunch() 160 String type1 = mContentResolver.getType(REMOTE_TABLE1_URI); in testCrashOnLaunch() 173 String type1 = mContentResolver.getType(REMOTE_TABLE1_URI); in testUnstableToStableRefs() 180 type1 = mContentResolver.getType(REMOTE_TABLE1_URI); in testUnstableToStableRefs() 186 type1 = mContentResolver.getType(REMOTE_TABLE1_URI); in testUnstableToStableRefs() 202 sClient.getType(REMOTE_TABLE1_URI); in testUnstableToStableRefs() 216 String type1 = mContentResolver.getType(REMOTE_TABLE1_URI); in testStableToUnstableRefs() 223 type1 = mContentResolver.getType(REMOTE_TABLE1_URI); in testStableToUnstableRefs() 240 uClient.getType(REMOTE_TABLE1_URI); in testStableToUnstableRefs() 253 String type1 = mContentResolver.getType(TABLE1_URI); in testGetType() [all …]
|
/cts/tools/dex-tools/src/dex/reader/ |
D | DexFieldImpl.java | 73 public String getType() { in getType() method in DexFieldImpl 99 builder.append(formatter.format(getType())); in toString()
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | AllocationInfo.java | 66 new Size(allocation.getType().getX(), allocation.getType().getY()), in newInstance() 251 public Type getType() { in getType() method in AllocationInfo
|