/cts/tests/tests/view/src/android/view/inspector/cts/ |
D | IntFlagMappingTest.java | 50 assertEmpty(mapping.get(0)); in testNonExclusiveFlags() 51 assertEquals(setOf("ONE"), mapping.get(1)); in testNonExclusiveFlags() 52 assertEquals(setOf("TWO"), mapping.get(2)); in testNonExclusiveFlags() 53 assertEquals(setOf("ONE", "TWO"), mapping.get(3)); in testNonExclusiveFlags() 54 assertEmpty(mapping.get(4)); in testNonExclusiveFlags() 63 assertEmpty(mapping.get(0)); in testMutuallyExclusiveFlags() 64 assertEquals(setOf("ONE"), mapping.get(1)); in testMutuallyExclusiveFlags() 65 assertEquals(setOf("TWO"), mapping.get(2)); in testMutuallyExclusiveFlags() 66 assertEmpty(mapping.get(3)); in testMutuallyExclusiveFlags() 67 assertEmpty(mapping.get(4)); in testMutuallyExclusiveFlags() [all …]
|
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/ |
D | SettingsProviderSettingChangedStatsTests.java | 61 assertEquals("test_setting1", reports.get(0).getName()); in testSettingsChanged() 62 assertEquals(2, reports.get(0).getType()); in testSettingsChanged() 63 assertEquals(0, reports.get(0).getChangeType()); in testSettingsChanged() 64 assertEquals("test_setting2", reports.get(1).getName()); in testSettingsChanged() 65 assertEquals(1, reports.get(1).getType()); in testSettingsChanged() 66 assertEquals(0, reports.get(1).getChangeType()); in testSettingsChanged() 67 assertEquals("test_setting3", reports.get(2).getName()); in testSettingsChanged() 68 assertEquals(0, reports.get(2).getType()); in testSettingsChanged() 69 assertEquals(0, reports.get(2).getChangeType()); in testSettingsChanged() 70 assertEquals("test_setting1", reports.get(3).getName()); in testSettingsChanged() [all …]
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | SELinuxNeverallowRulesParserTest.java | 47 assertEquals("neverallow d1 d2:c1 p;", rules.get(0).mText); in testParsingWithoutConditions() 48 assertEquals(false, rules.get(0).fullTrebleOnly); in testParsingWithoutConditions() 49 assertEquals(false, rules.get(0).launchingWithROnly); in testParsingWithoutConditions() 50 assertEquals(false, rules.get(0).launchingWithSOnly); in testParsingWithoutConditions() 51 assertEquals(false, rules.get(0).compatiblePropertyOnly); in testParsingWithoutConditions() 52 assertEquals("neverallow d2 d3:c2 p2;", rules.get(1).mText); in testParsingWithoutConditions() 53 assertEquals(false, rules.get(1).fullTrebleOnly); in testParsingWithoutConditions() 54 assertEquals(false, rules.get(1).launchingWithROnly); in testParsingWithoutConditions() 55 assertEquals(false, rules.get(1).launchingWithSOnly); in testParsingWithoutConditions() 56 assertEquals(false, rules.get(1).compatiblePropertyOnly); in testParsingWithoutConditions() [all …]
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/voiceinteraction/ |
D | HotwordDetectorEventsStatsTest.java | 120 assertHotwordDetectorType(filteredData.get(0), in testLogHotwordDetectorEventsForDspDetection() 122 assertHotwordDetectorType(filteredData.get(1), in testLogHotwordDetectorEventsForDspDetection() 124 assertHotwordDetectorType(filteredData.get(2), in testLogHotwordDetectorEventsForDspDetection() 126 assertHotwordDetectorType(filteredData.get(3), in testLogHotwordDetectorEventsForDspDetection() 149 assertHotwordDetectorType(filteredData.get(0), in testLogHotwordDetectorEventsConnectedAppUpdateState() 151 assertHotwordDetectorType(filteredData.get(1), in testLogHotwordDetectorEventsConnectedAppUpdateState() 153 assertHotwordDetectorType(filteredData.get(2), in testLogHotwordDetectorEventsConnectedAppUpdateState() 155 assertHotwordDetectorType(filteredData.get(3), in testLogHotwordDetectorEventsConnectedAppUpdateState() 175 assertHotwordDetectorType(filteredData.get(0), in testLogHotwordDetectorEventsForExternalDetection() 177 assertHotwordDetectorType(filteredData.get(1), in testLogHotwordDetectorEventsForExternalDetection() [all …]
|
/cts/tests/tests/hardware/src/android/hardware/lights/cts/ |
D | LightsManagerTest.java | 95 .addLight(mLights.get(0), STATE_RED) in testControlSingleLight() 99 assertThat(mManager.getLightState(mLights.get(0)).getColor()).isEqualTo(ON_RED); in testControlSingleLight() 109 initialColors[i] = mManager.getLightState(mLights.get(i)).getColor(); in testControlMultipleLights() 115 .addLight(mLights.get(0), new LightState(0xffaaaaff)) in testControlMultipleLights() 116 .addLight(mLights.get(1), new LightState(0xffbbbbff)) in testControlMultipleLights() 120 assertThat(mManager.getLightState(mLights.get(0)).getColor()).isEqualTo(0xffaaaaff); in testControlMultipleLights() 121 assertThat(mManager.getLightState(mLights.get(1)).getColor()).isEqualTo(0xffbbbbff); in testControlMultipleLights() 125 assertThat(mManager.getLightState(mLights.get(i)).getColor()).isEqualTo( in testControlMultipleLights() 135 int initialColor = mManager.getLightState(mLights.get(0)).getColor(); in testControlLights_onlyEffectiveForLifetimeOfClient() 139 session.requestLights(new Builder().addLight(mLights.get(0), STATE_TAN).build()); in testControlLights_onlyEffectiveForLifetimeOfClient() [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | EventLogTest.java | 64 assertEquals(ANSWER_TAG, events.get(0).getTag()); in testWriteEvent() 65 assertEquals(12345, events.get(0).getData()); in testWriteEvent() 66 assertEquals(23456L, events.get(1).getData()); in testWriteEvent() 67 assertEquals(42.4242f, events.get(2).getData()); in testWriteEvent() 68 assertEquals("Test", events.get(3).getData()); in testWriteEvent() 70 Object[] arr = (Object[]) events.get(4).getData(); in testWriteEvent() 102 String val0 = (String) events.get(0).getData(); in testWriteEventWithOversizeValueLimitElision() 103 assertNull("getData on object 0 raised a WTF", events.get(0).getLastError()); in testWriteEventWithOversizeValueLimitElision() 107 Object[] arr1 = (Object[]) events.get(1).getData(); in testWriteEventWithOversizeValueLimitElision() 108 assertNull("getData on object 1 raised a WTF", events.get(1).getLastError()); in testWriteEventWithOversizeValueLimitElision() [all …]
|
D | PropertyTest.java | 46 assertEquals(getFloatProp(), RAW_FLOAT_PROP.get(this), 0f); in testProperty() 47 assertEquals(getPointProp(), RAW_POINT_PROP.get(this)); in testProperty() 50 assertEquals(mFloatValue, RAW_FLOAT_PROP.get(this), 0f); in testProperty() 53 assertEquals(testPointValue, RAW_POINT_PROP.get(this)); in testProperty() 59 assertEquals(getFloatProp(), FLOAT_PROP.get(this), 0f); in testFloatProperty() 62 assertEquals(5f, FLOAT_PROP.get(this), 0f); in testFloatProperty() 65 assertEquals(10f, FLOAT_PROP.get(this), 0f); in testFloatProperty() 71 assertEquals(getIntProp(), INT_PROP.get(this).intValue()); in testIntProperty() 74 assertEquals(5, INT_PROP.get(this).intValue()); in testIntProperty() 77 assertEquals(10, INT_PROP.get(this).intValue()); in testIntProperty() [all …]
|
D | SparseLongArrayTest.java | 55 assertEquals(i, sparseArray.get(KEYS[i])); in testSparseArrayWithDefaultCapacity() 66 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity() 69 assertEquals(newValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity() 73 sparseArray.get(NON_EXISTED_KEY, VALUE_FOR_NON_EXISTED_KEY)); in testSparseArrayWithDefaultCapacity() 74 assertEquals(0L, sparseArray.get(NON_EXISTED_KEY)); // the default value is 0 in testSparseArrayWithDefaultCapacity() 85 assertEquals(VALUES[1], sparseArray.get(KEYS[1])); in testSparseArrayWithDefaultCapacity() 89 sparseArray.get(KEYS[1], VALUE_FOR_NON_EXISTED_KEY)); in testSparseArrayWithDefaultCapacity() 93 assertEquals(VALUES[2], sparseArray.get(KEYS[2])); in testSparseArrayWithDefaultCapacity() 97 sparseArray.get(KEYS[2], VALUE_FOR_NON_EXISTED_KEY)); in testSparseArrayWithDefaultCapacity() 117 assertEquals(VALUES[i], sparseArray.get(KEYS[i])); in testSparseArrayWithSpecifiedCapacity() [all …]
|
D | SparseIntArrayTest.java | 49 assertEquals(VALUES[i], sparseIntArray.get(KEYS[i])); in testSparseIntArrayWithDefaultCapacity() 60 assertEquals(oldValue, sparseIntArray.get(existKey)); in testSparseIntArrayWithDefaultCapacity() 63 assertEquals(newValue, sparseIntArray.get(existKey)); in testSparseIntArrayWithDefaultCapacity() 67 sparseIntArray.get(NON_EXISTED_KEY, VALUE_FOR_NON_EXISTED_KEY)); in testSparseIntArrayWithDefaultCapacity() 68 assertEquals(0, sparseIntArray.get(NON_EXISTED_KEY)); // the default value is 0 in testSparseIntArrayWithDefaultCapacity() 78 assertEquals(VALUES[1], sparseIntArray.get(KEYS[1])); in testSparseIntArrayWithDefaultCapacity() 82 sparseIntArray.get(KEYS[1], VALUE_FOR_NON_EXISTED_KEY)); in testSparseIntArrayWithDefaultCapacity() 99 assertEquals(VALUES[i], sparseIntArray.get(KEYS[i])); in testSparseIntArrayWithSpecifiedCapacity() 109 assertEquals(oldValue, sparseIntArray.get(existKey)); in testSparseIntArrayWithSpecifiedCapacity() 112 assertEquals(newValue, sparseIntArray.get(existKey)); in testSparseIntArrayWithSpecifiedCapacity() [all …]
|
/cts/hostsidetests/jvmti/tagging/app/src/android/jvmti/cts/ |
D | JvmtiTaggingTest.java | 75 if (weak.get() != null) { in testTaggingGC() 100 exp2.add(l.get(1), 1).add(l.get(11), 1).add(l.get(2), 2).add(l.get(12), 2).add(l.get(3), 3) in testGetTaggedObjects() 101 .add(l.get(13), 3).add(l.get(4), 4).add(l.get(14), 4).add(l.get(5), 5) in testGetTaggedObjects() 102 .add(l.get(15), 5).add(l.get(6), 6).add(l.get(16), 6).add(l.get(7), 7) in testGetTaggedObjects() 103 .add(l.get(17), 7).add(l.get(8), 8).add(l.get(18), 8).add(l.get(9), 9) in testGetTaggedObjects() 104 .add(l.get(19), 9); in testGetTaggedObjects() 108 exp3.add(l.get(2), 2).add(l.get(12), 2).add(l.get(5), 5).add(l.get(15), 5); in testGetTaggedObjects() 120 exp5.add(l.get(i), 0); in testGetTaggedObjects() 169 Pair p1 = expectations.get(i); in check() 170 Pair p2 = tmp.get(i); in check()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | OverrideApnTest.java | 129 assertEquals("", apnList.get(0).getOperatorNumeric()); in testOverrideApnDefaultValues() 130 assertEquals(TEST_ENTRY_NAME, apnList.get(0).getEntryName()); in testOverrideApnDefaultValues() 131 assertEquals(TEST_APN_NAME, apnList.get(0).getApnName()); in testOverrideApnDefaultValues() 132 assertEquals(null, apnList.get(0).getProxyAddress()); in testOverrideApnDefaultValues() 133 assertEquals("", apnList.get(0).getProxyAddressAsString()); in testOverrideApnDefaultValues() 134 assertEquals(-1, apnList.get(0).getProxyPort()); in testOverrideApnDefaultValues() 135 assertEquals(null, apnList.get(0).getMmsc()); in testOverrideApnDefaultValues() 136 assertEquals(null, apnList.get(0).getMmsProxyAddress()); in testOverrideApnDefaultValues() 137 assertEquals("", apnList.get(0).getMmsProxyAddressAsString()); in testOverrideApnDefaultValues() 138 assertEquals(-1, apnList.get(0).getMmsProxyPort()); in testOverrideApnDefaultValues() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | FillEventHistoryTest.java | 115 FillEventHistory.Event event = events.get(0); in textContextCommitted_withoutDatasets() 117 assertFillEventForSaveShown(events.get(1), NULL_DATASET_ID); in textContextCommitted_withoutDatasets() 151 assertFillEventForDatasetShown(events.get(0), UI_TYPE_MENU); in testContextCommitted_idlessDatasets() 152 assertFillEventForDatasetSelected(events.get(1), NULL_DATASET_ID, UI_TYPE_MENU); in testContextCommitted_idlessDatasets() 167 assertFillEventForDatasetShown(events.get(0), UI_TYPE_MENU); in testContextCommitted_idlessDatasets() 168 assertFillEventForDatasetSelected(events.get(1), NULL_DATASET_ID, UI_TYPE_MENU); in testContextCommitted_idlessDatasets() 169 assertFillEventForDatasetShown(events.get(2), UI_TYPE_MENU); in testContextCommitted_idlessDatasets() 170 FillEventHistory.Event event = events.get(3); in testContextCommitted_idlessDatasets() 207 assertFillEventForDatasetShown(events.get(0), UI_TYPE_MENU); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() 208 assertFillEventForDatasetSelected(events.get(1), NULL_DATASET_ID, UI_TYPE_MENU); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored() [all …]
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | PutDocumentsRequestCtsTest.java | 45 assertThat(request.getGenericDocuments().get(0).getId()).isEqualTo("test1"); in addGenericDocument_byCollection() 46 assertThat(request.getGenericDocuments().get(1).getId()).isEqualTo("test2"); in addGenericDocument_byCollection() 106 assertThat(request.getTakenActionGenericDocuments().get(0).getId()).isEqualTo("search1"); in addTakenActionGenericDocuments() 107 assertThat(request.getTakenActionGenericDocuments().get(1).getId()).isEqualTo("click1"); in addTakenActionGenericDocuments() 108 assertThat(request.getTakenActionGenericDocuments().get(2).getId()).isEqualTo("click2"); in addTakenActionGenericDocuments() 109 assertThat(request.getTakenActionGenericDocuments().get(3).getId()).isEqualTo("search2"); in addTakenActionGenericDocuments() 110 assertThat(request.getTakenActionGenericDocuments().get(4).getId()).isEqualTo("click3"); in addTakenActionGenericDocuments() 111 assertThat(request.getTakenActionGenericDocuments().get(5).getId()).isEqualTo("click4"); in addTakenActionGenericDocuments() 112 assertThat(request.getTakenActionGenericDocuments().get(6).getId()).isEqualTo("click5"); in addTakenActionGenericDocuments() 146 assertThat(request.getTakenActionGenericDocuments().get(0).getId()).isEqualTo("search1"); in addTakenActionGenericDocuments_byCollection() [all …]
|
D | AppSearchSessionCtsTestBase.java | 120 mDb1 = createSearchSessionAsync(DB_NAME_1).get(); in setUp() 121 mDb2 = createSearchSessionAsync(DB_NAME_2).get(); in setUp() 135 mDb1.setSchemaAsync(new SetSchemaRequest.Builder().setForceOverride(true).build()).get(); in cleanup() 136 mDb2.setSchemaAsync(new SetSchemaRequest.Builder().setForceOverride(true).build()).get(); in cleanup() 158 mDb1.setSchemaAsync(new SetSchemaRequest.Builder().addSchemas(emailSchema).build()).get(); in testSetSchema() 165 .get(); in testSetSchema_Failure() 174 () -> mDb1.setSchemaAsync(setSchemaRequest1).get()); in testSetSchema_Failure() 185 () -> mDb1.setSchemaAsync(setSchemaRequest2).get()); in testSetSchema_Failure() 214 () -> mDb1.setSchemaAsync(request).get()); in testSetSchema_schemaDescription_notSupported() 243 () -> mDb1.setSchemaAsync(request).get()); in testSetSchema_propertyDescription_notSupported() [all …]
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/ |
D | PollTest.java | 51 assertThat(Poll.forValue("tester value", valueTester::get) in await_toBeEqualTo_alreadyEqual_returns() 60 assertThat(Poll.forValue("tester value", valueTester::get) in await_toBeEqualTo_becomesEqual_returns() 69 assertThat(Poll.forValue("tester value", valueTester::get) in await_toBeEqualTo_doesNotBecomeEqual_returnIncorrectValue() 80 Poll.forValue("tester value", valueTester::get) in await_toBeEqualTo_errorOnFailure_doesNotBecomeEqual_throwsException() 94 Poll.forValue("tester value", valueTester::get) in await_toBeEqualTo_errorOnFailure_doesNotBecomeEqual_customError_throwsException() 107 assertThat(Poll.forValue("tester value", valueTester::get) in await_toNotBeEqualTo_alreadyNotEqual_returns() 116 assertThat(Poll.forValue("tester value", valueTester::get) in await_toNotBeEqualTo_becomesNotEqual_returns() 125 assertThat(Poll.forValue("tester value", valueTester::get) in await_toNotBeEqualTo_doesNotBecomeNotEqual_returnIncorrectValue() 136 Poll.forValue("tester value", valueTester::get) in await_toNotBeEqualTo_errorOnFailure_doesNotBecomeNotEqual_throwsException() 150 Poll.forValue("tester value", valueTester::get) in await_toNotBeEqualTo_errorOnFailure_doesNotBecomeNotEqual_customError_throwsException() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/OrderedActivityApp/src/android/appsecurity/cts/orderedactivity/ |
D | PackageResolutionTest.java | 48 resolve.get(0).activityInfo.name); in queryActivityOrdered() 50 resolve.get(1).activityInfo.name); in queryActivityOrdered() 52 resolve.get(2).activityInfo.name); in queryActivityOrdered() 54 resolve.get(3).activityInfo.name); in queryActivityOrdered() 68 resolve.get(0).serviceInfo.name); in queryServiceOrdered() 70 resolve.get(1).serviceInfo.name); in queryServiceOrdered() 72 resolve.get(2).serviceInfo.name); in queryServiceOrdered() 74 resolve.get(3).serviceInfo.name); in queryServiceOrdered() 88 resolve.get(0).activityInfo.name); in queryReceiverOrdered() 90 resolve.get(1).activityInfo.name); in queryReceiverOrdered() [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | MockConnection.java | 73 if (mInvokeCounterMap.get(ON_ANSWER_CALLED) != null) { in onAnswer() 74 mInvokeCounterMap.get(ON_ANSWER_CALLED).invoke(); in onAnswer() 86 if (mInvokeCounterMap.get(ON_ANSWER_VIDEO_CALLED) != null) { in onAnswer() 87 mInvokeCounterMap.get(ON_ANSWER_VIDEO_CALLED).invoke(videoState); in onAnswer() 209 if (mInvokeCounterMap.get(ON_POST_DIAL_WAIT) != null) { in onPostDialContinue() 210 mInvokeCounterMap.get(ON_POST_DIAL_WAIT).invoke(proceed); in onPostDialContinue() 217 if (mInvokeCounterMap.get(ON_CALL_EVENT) != null) { in onCallEvent() 218 mInvokeCounterMap.get(ON_CALL_EVENT).invoke(event, extras); in onCallEvent() 225 if (mInvokeCounterMap.get(ON_PULL_EXTERNAL_CALL) != null) { in onPullExternalCall() 226 mInvokeCounterMap.get(ON_PULL_EXTERNAL_CALL).invoke(); in onPullExternalCall() [all …]
|
/cts/apps/CameraITS/utils/ |
D | camera_properties_utils.py | 74 return props.get('android.info.supportedHardwareLevel') == 2 86 return props.get('android.info.supportedHardwareLevel') == 0 98 return (props.get('android.info.supportedHardwareLevel') >= 1 and 99 props.get('android.info.supportedHardwareLevel') != 2) 111 return props.get('android.info.supportedHardwareLevel') == 3 123 return 1 in props.get('android.request.availableCapabilities', []) 135 return 2 in props.get('android.request.availableCapabilities', []) 147 return 3 in props.get('android.request.availableCapabilities', []) 162 return props.get('android.sensor.info.timestampSource') == 1 174 return 6 in props.get('android.request.availableCapabilities', []) [all …]
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | JitterVerificationTest.java | 78 assertEquals(1, deltaValues.get(0).longValue()); in testCalculateDelta() 79 assertEquals(1, deltaValues.get(1).longValue()); in testCalculateDelta() 80 assertEquals(1, deltaValues.get(2).longValue()); in testCalculateDelta() 81 assertEquals(1, deltaValues.get(3).longValue()); in testCalculateDelta() 87 assertEquals(0, deltaValues.get(0).longValue()); in testCalculateDelta() 88 assertEquals(2, deltaValues.get(1).longValue()); in testCalculateDelta() 89 assertEquals(2, deltaValues.get(2).longValue()); in testCalculateDelta() 90 assertEquals(0, deltaValues.get(3).longValue()); in testCalculateDelta() 96 assertEquals(1, deltaValues.get(0).longValue()); in testCalculateDelta() 97 assertEquals(3, deltaValues.get(1).longValue()); in testCalculateDelta() [all …]
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_attributes.cpp | 194 AAudioStream_read(aaudioStream, buffer.get(), kNumFrames, kNanosPerSecond)); in checkAttributes() 197 AAudioStream_write(aaudioStream, buffer.get(), kNumFrames, kNanosPerSecond)); in checkAttributes() 215 printPerformanceModeToTestName(std::get<0>(info.param), ss); in getTestName() 217 printStrToTestName(std::get<1>(info.param), ss); in getTestName() 226 mPerfMode = std::get<0>(GetParam()); in SetUp() 227 mPackageName = std::get<1>(GetParam()); in SetUp() 252 printPerformanceModeToTestName(std::get<0>(info.param), ss); in getTestName() 254 printStrToTestName(std::get<1>(info.param), ss); in getTestName() 263 mPerfMode = std::get<0>(GetParam()); in SetUp() 264 mAttributionTag = std::get<1>(GetParam()); in SetUp() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ColorSpaceTest.java | 99 ColorSpace colorSpace = ColorSpace.get(named); in testNamedColorSpaces() 169 ColorSpace cs = ColorSpace.get(ColorSpace.Named.SRGB); in testRanges() 187 cs = ColorSpace.get(ColorSpace.Named.CIE_LAB); in testRanges() 205 cs = ColorSpace.get(ColorSpace.Named.CIE_XYZ); in testRanges() 224 cs = ColorSpace.get(ColorSpace.Named.OK_LAB); in testRanges() 350 assertEquals(3, ColorSpace.get(ColorSpace.Named.SRGB).getComponentCount()); in testGetComponentCount() 351 assertEquals(3, ColorSpace.get(ColorSpace.Named.LINEAR_SRGB).getComponentCount()); in testGetComponentCount() 352 assertEquals(3, ColorSpace.get(ColorSpace.Named.EXTENDED_SRGB).getComponentCount()); in testGetComponentCount() 353 assertEquals(3, ColorSpace.get(ColorSpace.Named.LINEAR_EXTENDED_SRGB).getComponentCount()); in testGetComponentCount() 354 assertEquals(3, ColorSpace.get(ColorSpace.Named.DISPLAY_P3).getComponentCount()); in testGetComponentCount() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/ |
D | MockSatelliteService.java | 184 if (mShouldRespondTelephony.get()) { in requestSatelliteListeningEnabled() 190 if (mShouldRespondTelephony.get()) { in requestSatelliteListeningEnabled() 207 + ", mShouldRespondTelephony=" + mShouldRespondTelephony.get()); in requestSatelliteEnabled() 209 if (mShouldRespondTelephony.get()) { in requestSatelliteEnabled() 230 if (mShouldRespondTelephony.get()) { in enableSatellite() 241 if (mShouldRespondTelephony.get()) { in disableSatellite() 256 if (mShouldRespondTelephony.get()) { in requestIsSatelliteEnabled() 261 if (mShouldRespondTelephony.get()) { in requestIsSatelliteEnabled() 271 if (mShouldRespondTelephony.get()) { in requestIsSatelliteSupported() 276 if (mShouldRespondTelephony.get()) { in requestIsSatelliteSupported() [all …]
|
/cts/hostsidetests/angle/src/android/angle/cts/ |
D | CtsAngleDeveloperOptionHostTest.java | 71 setAndValidateAngleDevOptionPkgDriver(pkgName, sDriverGlobalSettingMap.get(driver)); in setAndValidatePkgDriver() 74 driver + ") with method '" + sDriverTestMethodMap.get(driver) + "'"); in setAndValidatePkgDriver() 77 sDriverTestMethodMap.get(driver)); in setAndValidatePkgDriver() 101 sDriverGlobalSettingMap.get(OpenGlDriverChoice.NATIVE)); in checkNativeDriver() 106 final TestResult testResult = testRunResult.getTestResults().get( in checkNativeDriver() 108 final String glRenderer = testResult.getMetrics().get(NATIVE_GL_RENDERER); in checkNativeDriver() 146 sDriverGlobalSettingMap.get(OpenGlDriverChoice.DEFAULT)); in testEnableAngleForAll() 148 sDriverGlobalSettingMap.get(OpenGlDriverChoice.DEFAULT)); in testEnableAngleForAll() 172 sDriverGlobalSettingMap.get(OpenGlDriverChoice.DEFAULT)); in testUseDefaultDriver() 188 sDriverGlobalSettingMap.get(OpenGlDriverChoice.ANGLE)); in testUseAngleDriver() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyboardShortcutGroupTest.java | 109 assertEquals("Additional item", group.getItems().get(newSize - 1).getLabel()); in testAddItem() 123 assertEquals(TEST_ITEMS.get(0).getLabel(), result.getItems().get(0).getLabel()); in testWriteToParcelAndRead() 124 assertEquals(TEST_ITEMS.get(1).getLabel(), result.getItems().get(1).getLabel()); in testWriteToParcelAndRead() 125 assertEquals(TEST_ITEMS.get(0).getKeycode(), result.getItems().get(0).getKeycode()); in testWriteToParcelAndRead() 126 assertEquals(TEST_ITEMS.get(1).getKeycode(), result.getItems().get(1).getKeycode()); in testWriteToParcelAndRead() 127 assertEquals(TEST_ITEMS.get(0).getModifiers(), result.getItems().get(0).getModifiers()); in testWriteToParcelAndRead() 128 assertEquals(TEST_ITEMS.get(1).getModifiers(), result.getItems().get(1).getModifiers()); in testWriteToParcelAndRead()
|
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/ |
D | PlatformInspectableProcessorTest.java | 102 assertEquals(node.getValue(), mPropertyReader.get("value")); in testMapAndReadInt() 135 assertEquals(node.getValue(), mPropertyReader.get("myNamedValue")); in testNamedProperty() 195 assertEquals(node.getValueA(), mPropertyReader.get("valueA")); in testInferredPropertyName() 196 assertEquals(node.isValueB(), mPropertyReader.get("isValueB")); in testInferredPropertyName() 197 assertEquals(node.obtainValueC(), mPropertyReader.get("obtainValueC")); in testInferredPropertyName() 231 assertEquals(node.getValueA(), mPropertyReader.get("valueA")); in testInferredBooleanName() 232 assertEquals(node.isValueB(), mPropertyReader.get("valueB")); in testInferredBooleanName() 233 assertEquals(node.obtainValueC(), mPropertyReader.get("obtainValueC")); in testInferredBooleanName() 270 assertEquals(node.getColorInt(), mPropertyReader.get("colorInt")); in testColorTypeInference() 271 assertEquals(node.getColorLong(), mPropertyReader.get("colorLong")); in testColorTypeInference() [all …]
|