/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/data/repository/ |
D | OneHandedModeRepositoryImplTest.kt | 57 val actualValue by collectLastValue(underTest.isEnabled(testUser1)) in isEnabled_settingNotInitialized_returnsFalseByDefault() constant 61 assertThat(actualValue).isFalse() in isEnabled_settingNotInitialized_returnsFalseByDefault() 67 val actualValue by collectLastValue(underTest.isEnabled(testUser1)) in isEnabled_initiallyGetsSettingsValue() constant 72 assertThat(actualValue).isTrue() in isEnabled_initiallyGetsSettingsValue() 78 val actualValue by collectLastValue(underTest.isEnabled(testUser1)) in isEnabled_settingUpdated_valueUpdated() constant 80 assertThat(actualValue).isFalse() in isEnabled_settingUpdated_valueUpdated() 85 assertThat(actualValue).isTrue() in isEnabled_settingUpdated_valueUpdated() 90 assertThat(actualValue).isFalse() in isEnabled_settingUpdated_valueUpdated() 118 val actualValue = settings.getIntForUser(SETTING_NAME, testUser1.identifier) in setEnabled() constant 119 assertThat(actualValue).isEqualTo(ENABLED) in setEnabled() [all …]
|
D | ColorInversionRepositoryImplTest.kt | 64 val actualValue by collectLastValue(underTest.isEnabled(testUser1)) in isEnabled_settingNotInitialized_returnsFalseByDefault() constant 68 assertThat(actualValue).isFalse() in isEnabled_settingNotInitialized_returnsFalseByDefault() 74 val actualValue by collectLastValue(underTest.isEnabled(testUser1)) in isEnabled_initiallyGetsSettingsValue() constant 79 assertThat(actualValue).isTrue() in isEnabled_initiallyGetsSettingsValue() 123 val actualValue = settings.getIntForUser(SETTING_NAME, testUser1.identifier) in setEnabled() constant 124 assertThat(actualValue).isEqualTo(ENABLED) in setEnabled() 134 val actualValue = settings.getIntForUser(SETTING_NAME, testUser1.identifier) in setDisabled() constant 135 assertThat(actualValue).isEqualTo(DISABLED) in setDisabled()
|
D | ColorCorrectionRepositoryImplTest.kt | 64 val actualValue by collectLastValue(underTest.isEnabled(testUser1)) in isEnabled_settingNotInitialized_returnsFalseByDefault() constant 68 Truth.assertThat(actualValue).isFalse() in isEnabled_settingNotInitialized_returnsFalseByDefault() 74 val actualValue by collectLastValue(underTest.isEnabled(testUser1)) in isEnabled_initiallyGetsSettingsValue() constant 79 Truth.assertThat(actualValue).isTrue() in isEnabled_initiallyGetsSettingsValue() 127 val actualValue = settings.getIntForUser(SETTING_NAME, testUser1.identifier) in setEnabled() constant 128 Truth.assertThat(actualValue).isEqualTo(ENABLED) in setEnabled() 138 val actualValue = settings.getIntForUser(SETTING_NAME, testUser1.identifier) in setDisabled() constant 139 Truth.assertThat(actualValue).isEqualTo(DISABLED) in setDisabled()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/homecontrols/ |
D | HomeControlsComponentInteractorTest.kt | 85 val actualValue by collectLastValue(underTest.panelComponent) in testPanelComponentReturnsComponentNameForSelectedItemByUser() constant 86 assertThat(actualValue).isNull() in testPanelComponentReturnsComponentNameForSelectedItemByUser() 88 assertThat(actualValue).isEqualTo(TEST_COMPONENT) in testPanelComponentReturnsComponentNameForSelectedItemByUser() 103 val actualValue by collectLastValue(underTest.panelComponent) in testPanelComponentReturnsComponentNameAsInitialValueWithoutServiceUpdate() constant 104 assertThat(actualValue).isEqualTo(TEST_COMPONENT) in testPanelComponentReturnsComponentNameAsInitialValueWithoutServiceUpdate() 115 val actualValue by collectLastValue(underTest.panelComponent) in testPanelComponentReturnsNullForHomeControlsThatDoesNotSupportPanel() constant 116 assertThat(actualValue).isNull() in testPanelComponentReturnsNullForHomeControlsThatDoesNotSupportPanel() 118 assertThat(actualValue).isNull() in testPanelComponentReturnsNullForHomeControlsThatDoesNotSupportPanel() 129 val actualValue by collectLastValue(underTest.panelComponent) in testPanelComponentReturnsNullWhenPanelIsUnauthorized() constant 130 assertThat(actualValue).isNull() in testPanelComponentReturnsNullWhenPanelIsUnauthorized() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/ |
D | BluetoothAutoOnRepositoryTest.kt | 68 val actualValue by collectLastValue(bluetoothAutoOnRepository.isAutoOn) in testIsAutoOn_returnFalse() constant 72 assertThat(actualValue).isEqualTo(false) in testIsAutoOn_returnFalse() 80 val actualValue by collectLastValue(bluetoothAutoOnRepository.isAutoOn) in testIsAutoOn_returnTrue() constant 84 assertThat(actualValue).isEqualTo(true) in testIsAutoOn_returnTrue() 92 val actualValue = bluetoothAutoOnRepository.isAutoOnSupported() in testIsAutoOnSupported_returnTrue() constant 96 assertThat(actualValue).isEqualTo(true) in testIsAutoOnSupported_returnTrue()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | SettingsHelper.java | 108 String actualValue = get(namespace, key); in assertNewValue() local 109 if (!Objects.equals(actualValue, expectedValue)) { in assertNewValue() 111 + actualValue + "' , got '" + expectedValue + "'"); in assertNewValue()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/interactor/ |
D | AlarmTileDataInteractorTest.kt | 97 val actualValue = (model as AlarmTileModel.NextAlarmSet).is24HourFormat in <lambda>() constant 98 assertThat(actualValue).isEqualTo(expectedValue) in <lambda>() 116 val actualValue = (model as AlarmTileModel.NextAlarmSet).is24HourFormat in <lambda>() constant 117 assertThat(actualValue).isEqualTo(expectedValue) in <lambda>()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ImportTestProvider.java | 227 final Object actualValue = actual.get(key); in equalsForContentValues() local 229 if (!Arrays.equals((byte[])value, (byte[])actualValue)) { in equalsForContentValues() 231 byte[] a = (byte[])actualValue; in equalsForContentValues() 234 } else if (!value.equals(actualValue) && in equalsForContentValues() 235 !value.toString().equals(actualValue.toString())) { in equalsForContentValues()
|
/frameworks/base/core/tests/timetests/src/android/app/time/ |
D | UnixEpochTimeTest.java | 61 UnixEpochTime actualValue = UnixEpochTime.parseCommandLineArgs(testShellCommand); in testParseCommandLineArg_validSuggestion() local 62 assertEquals(expectedValue, actualValue); in testParseCommandLineArg_validSuggestion()
|
D | TimeZoneStateTest.java | 85 TimeZoneState actualValue = TimeZoneState.parseCommandLineArgs(testShellCommand); in testParseCommandLineArg_validSuggestion() local 86 assertEquals(expectedValue, actualValue); in testParseCommandLineArg_validSuggestion()
|
D | TimeStateTest.java | 93 TimeState actualValue = TimeState.parseCommandLineArgs(testShellCommand); in testParseCommandLineArg_validSuggestion() local 94 assertEquals(expectedValue, actualValue); in testParseCommandLineArg_validSuggestion()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/ |
D | AccessibilityButtonTargetsObserverTest.java | 99 final String actualValue = in getCurrentAccessibilityButtonTargets_expectedValue() local 102 assertThat(actualValue).isEqualTo(TEST_A11Y_BTN_TARGETS); in getCurrentAccessibilityButtonTargets_expectedValue()
|
D | AccessibilityButtonModeObserverTest.java | 103 final int actualValue = in getCurrentAccessibilityButtonMode_expectedValue() local 106 assertThat(actualValue).isEqualTo(TEST_A11Y_BTN_MODE_VALUE); in getCurrentAccessibilityButtonMode_expectedValue()
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | BNNMTest.java | 134 byte actualValue = c_byte_output[i]; in testWithTolerance() 135 int delta = (expectedValue - actualValue); in testWithTolerance() 146 ", got " + (actualValue & 0xff)); in testWithTolerance()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/credentials/ |
D | CredentialManagerServiceTest.java | 166 private void assertCredentialPropertyEquals(String actualValue, String newValue) { in assertCredentialPropertyEquals() argument 168 for (String rawComponentName : actualValue.split(":")) { in assertCredentialPropertyEquals()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraErrorCollector.java | 586 String formattedMsg, String tooSmall, String tooLarge, int actualValue, in expectSimilarValues() argument 590 actualValue <= (expectedValue * (1.0f + errorPercent))) && succ; in expectSimilarValues() 592 actualValue >= (expectedValue * (1.0f - errorPercent))) && succ; in expectSimilarValues()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BroadcastQueueModernImplTest.java | 1837 final Object actualValue = actual.get(key); in assertBundleEquals() local 1838 if (expectedValue == actualValue) { in assertBundleEquals() 1840 } else if (expectedValue == null || actualValue == null) { in assertBundleEquals() 1843 assertEquals(errMsg, expectedValue.getClass(), actualValue.getClass()); in assertBundleEquals() 1845 assertEquals(errMsg, Array.getLength(expectedValue), Array.getLength(actualValue)); in assertBundleEquals() 1847 assertEquals(errMsg, Array.get(expectedValue, i), Array.get(actualValue, i)); in assertBundleEquals() 1851 final ArrayList<?> actualList = (ArrayList<?>) actualValue; in assertBundleEquals() 1857 assertEquals(errMsg, expectedValue, actualValue); in assertBundleEquals()
|