Home
last modified time | relevance | path

Searched refs:actualValue (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/data/repository/
DOneHandedModeRepositoryImplTest.kt57 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 …]
DColorInversionRepositoryImplTest.kt64 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()
DColorCorrectionRepositoryImplTest.kt64 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/
DHomeControlsComponentInteractorTest.kt85 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/
DBluetoothAutoOnRepositoryTest.kt68 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/
DSettingsHelper.java108 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/
DAlarmTileDataInteractorTest.kt97 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/
DImportTestProvider.java227 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/
DUnixEpochTimeTest.java61 UnixEpochTime actualValue = UnixEpochTime.parseCommandLineArgs(testShellCommand); in testParseCommandLineArg_validSuggestion() local
62 assertEquals(expectedValue, actualValue); in testParseCommandLineArg_validSuggestion()
DTimeZoneStateTest.java85 TimeZoneState actualValue = TimeZoneState.parseCommandLineArgs(testShellCommand); in testParseCommandLineArg_validSuggestion() local
86 assertEquals(expectedValue, actualValue); in testParseCommandLineArg_validSuggestion()
DTimeStateTest.java93 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/
DAccessibilityButtonTargetsObserverTest.java99 final String actualValue = in getCurrentAccessibilityButtonTargets_expectedValue() local
102 assertThat(actualValue).isEqualTo(TEST_A11Y_BTN_TARGETS); in getCurrentAccessibilityButtonTargets_expectedValue()
DAccessibilityButtonModeObserverTest.java103 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/
DBNNMTest.java134 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/
DCredentialManagerServiceTest.java166 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/
DCameraErrorCollector.java586 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/
DBroadcastQueueModernImplTest.java1837 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()