Home
last modified time | relevance | path

Searched defs:expectedResult (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/aosp_15_r20/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utiltests/
DTimeUtilsTest.kt64 val expectedResult = Instant.parse("2021-09-19T00:00:00.000Z") in getPeriodStartDate_periodDay_startTimeSameDateAsLocal() constant
78 val expectedResult = Instant.parse("2021-09-19T15:00:00.000Z") in getPeriodStartDate_periodDay_startTimeDiffDateToLocal() constant
90 val expectedResult = Instant.parse("2021-09-13T00:00:00.000Z") in getPeriodStartDate_periodWeek_startTimeSameDateAsLocal() constant
104 val expectedResult = Instant.parse("2021-09-19T15:00:00.000Z") in getPeriodStartDate_periodWeek_startTimeDiffDateToLocal() constant
116 val expectedResult = Instant.parse("2021-09-01T00:00:00.000Z") in getPeriodStartDate_periodMonth_startTimeSameDateAsLocal() constant
130 val expectedResult = Instant.parse("2021-09-30T15:00:00.000Z") in getPeriodStartDate_periodMonth_startTimeDiffDateToLocal() constant
143 val expectedResult = "Sun, Sep 19, 2021" in formatDateTimeForTimePeriod_periodDay_withWeekday_pastYear_startTimeSameDateAsLocal() constant
158 val expectedResult = "Mon, Sep 19" in formatDateTimeForTimePeriod_periodDay_withWeekday_sameYear_startTimeSameDateAsLocal() constant
173 val expectedResult = "Sep 19, 2021" in formatDateTimeForTimePeriod_periodDay_withoutWeekday_pastYear_startTimeSameDateAsLocal() constant
188 val expectedResult = "Sep 19" in formatDateTimeForTimePeriod_periodDay_withoutWeekday_sameYear_startTimeSameDateAsLocal() constant
[all …]
/aosp_15_r20/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/util/
DProcfsParsingUtilsTest.kt34 val expectedResult = 25 in testParseNdTrafficClass() constant
51 val expectedResult = listOf( in testParseAnycast6Address() constant
83 val expectedResult = listOf( in testParseEtherMulticastAddress() constant
117 val expectedResult = listOf( in testParseIpv6MulticastAddress() constant
160 val expectedResult = listOf( in testParseIpv4MulticastAddressLittleEndian() constant
210 val expectedResult = listOf( in testParseIpv4MulticastAddressBigEndian() constant
261 val expectedResult = listOf( in testParseIpv4MulticastAddressError() constant
/aosp_15_r20/development/tools/winscope/src/parsers/surface_flinger/operations/
H A Dadd_verbose_flags_test.ts48 const expectedResult = TreeNodeUtils.makeCalculatedPropertyNode( constant
63 const expectedResult = TreeNodeUtils.makeCalculatedPropertyNode( constant
77 const expectedResult = TreeNodeUtils.makeCalculatedPropertyNode( constant
95 const expectedResult = TreeNodeUtils.makeCalculatedPropertyNode( constant
113 const expectedResult = TreeNodeUtils.makeCalculatedPropertyNode( constant
131 const expectedResult = TreeNodeUtils.makeCalculatedPropertyNode( constant
149 const expectedResult = TreeNodeUtils.makeCalculatedPropertyNode( constant
167 const expectedResult = TreeNodeUtils.makeCalculatedPropertyNode( constant
185 const expectedResult = TreeNodeUtils.makeCalculatedPropertyNode( constant
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/concurrency/
DAdServicesExecutorTest.java47 ExecutorResult expectedResult = in testCreateLightWeightThreadSuccess() local
53 runTaskAndAssertResult(AdServicesExecutors.getLightWeightExecutor(), expectedResult); in testCreateLightWeightThreadSuccess() local
58 ExecutorResult expectedResult = in testCreateBackgroundThreadSuccess() local
63 runTaskAndAssertResult(AdServicesExecutors.getBackgroundExecutor(), expectedResult); in testCreateBackgroundThreadSuccess() local
68 ExecutorResult expectedResult = in testCreateBlockingThreadSuccess() local
73 runTaskAndAssertResult(AdServicesExecutors.getBlockingExecutor(), expectedResult); in testCreateBlockingThreadSuccess() local
78 ExecutorResult expectedResult = in testCreateScheduledThreadSuccess() local
83 runTaskAndAssertResult(AdServicesExecutors.getScheduler(), expectedResult); in testCreateScheduledThreadSuccess() local
87 ExecutorService executorService, ExecutorResult expectedResult) throws Exception { in runTaskAndAssertResult()
/aosp_15_r20/external/icu/icu4j/main/translit/src/test/java/com/ibm/icu/dev/test/translit/
H A DCompoundTransliteratorTest.java145 String expectedResult=s; in TestTransliterate() local
149 …placeableString, index(0,0,0,0)", s + "->" + rsource2, result.equals(expectedResult), expectedResu… in TestTransliterate() local
156 …D() + ":String, index2(1,2,2,3)", s + "->" + rsource3, result.equals(expectedResult), expectedResu… in TestTransliterate() local
220 private void expect(Transliterator t, String source, String expectedResult) { in expect()
222 expectAux(t.getID() + ":String", source, result, expectedResult); in expect() local
227 expectAux(t.getID() + ":Replaceable", source, result, expectedResult); in expect() local
258 expectedResult); in expect() local
262 String result, String expectedResult) { in expectAux()
268 private void expectAux(String tag, String summary, boolean pass, String expectedResult) { in expectAux()
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
H A DCompoundTransliteratorTest.java148 String expectedResult=s; in TestTransliterate() local
152 …placeableString, index(0,0,0,0)", s + "->" + rsource2, result.equals(expectedResult), expectedResu… in TestTransliterate() local
159 …D() + ":String, index2(1,2,2,3)", s + "->" + rsource3, result.equals(expectedResult), expectedResu… in TestTransliterate() local
223 private void expect(Transliterator t, String source, String expectedResult) { in expect()
225 expectAux(t.getID() + ":String", source, result, expectedResult); in expect() local
230 expectAux(t.getID() + ":Replaceable", source, result, expectedResult); in expect() local
261 expectedResult); in expect() local
265 String result, String expectedResult) { in expectAux()
271 private void expectAux(String tag, String summary, boolean pass, String expectedResult) { in expectAux()
/aosp_15_r20/external/armnn/delegate/test/
H A DDelegateOptionsTest.cpp26 std::vector<float> expectedResult = { 1, 2, 2, 2 }; variable
55 std::vector<float> expectedResult = { 1, 2, 2, 2 }; variable
83 std::vector<float> expectedResult = { 1, 2, 2, 2 }; variable
122 std::vector<uint8_t> expectedResult = { 1, 2, 2, 2 }; variable
145 std::vector<float> expectedResult = { 1.0f, -2.0f, 3.0f, -4.0f }; variable
180 … std::vector<float> expectedResult = { 0.995004177f, -0.504846036f, -0.989992499f, -0.112152621f }; variable
218 std::vector<float> expectedResult = { 1, 2, 2, 2 }; variable
258 std::vector<float> expectedResult = { 1, 2, 2, 2 }; variable
290 std::vector<float> expectedResult = { 1, 2, 2, 2 }; in CreateFp16StringParsingTestRun() local
/aosp_15_r20/external/tink/java_src/src/test/java/com/google/crypto/tink/internal/
H A DField25519Test.java63 BigInteger expectedResult = x[i].add(y[i]).mod(P); in testBasicSum() local
77 BigInteger expectedResult = x[i].subtract(y[i]).mod(P); in testBasicSub() local
91 BigInteger expectedResult = x[i].multiply(y[i]).mod(P); in testBasicProduct() local
106 BigInteger expectedResult = x[i].multiply(y[i]).mod(P); in testBasicMult() local
120 BigInteger expectedResult = x[i].multiply(BigInteger.valueOf(scalar)).mod(P); in testBasicScalarProduct() local
134 BigInteger expectedResult = x[i].multiply(x[i]).mod(P); in testBasicSquare() local
148 BigInteger expectedResult = x[i].modInverse(P); in testBasicInverse() local
/aosp_15_r20/frameworks/native/services/gpuservice/tests/unittests/
H A DGpuStatsTest.cpp155 std::string expectedResult = "driverPackageName = " + std::string(BUILTIN_DRIVER_PKG_NAME); in TEST_F() local
179 std::string expectedResult = "driverPackageName = " + std::string(UPDATED_DRIVER_PKG_NAME); in TEST_F() local
205 std::string expectedResult = "angleDriverLoadingTime: " + std::to_string(DRIVER_LOADING_TIME_3); in TEST_F() local
215 std::string expectedResult = "vulkanVersion = " + std::to_string(VULKAN_VERSION); in TEST_F() local
298 std::stringstream expectedResult; in TEST_F() local
328 std::stringstream wrongResult, expectedResult; in TEST_F() local
346 std::stringstream expectedResult; in TEST_F() local
365 std::stringstream expectedResult; in TEST_F() local
429 std::stringstream expectedResult; in TEST_F() local
/aosp_15_r20/external/apache-velocity-engine/velocity-engine-core/src/test/java/org/apache/velocity/test/
H A DArithmeticTestCase.java64 private void addHelper (Number n1, Number n2, double expectedResult, Class expectedResultType) in addHelper()
86 …private void subtractHelper (Number n1, Number n2, double expectedResult, Class expectedResultType) in subtractHelper()
109 …private void multiplyHelper (Number n1, Number n2, double expectedResult, Class expectedResultType) in multiplyHelper()
127 … private void divideHelper (Number n1, Number n2, double expectedResult, Class expectedResultType) in divideHelper()
152 … private void moduloHelper (Number n1, Number n2, double expectedResult, Class expectedResultType) in moduloHelper()
169 private void compareHelper (Number n1, Number n2, int expectedResult) in compareHelper()
186 private void negateHelper(Number n, double expectedResult, Class expectedResultType) in negateHelper()
/aosp_15_r20/external/armnn/samples/common/test/Audio/
H A DMathUtilsTest.cpp22 float expectedResult = 0; variable
31 std::vector<float> expectedResult(32, 0); variable
53 float expectedResult[] = { 0.0, 0.5, 2 }; variable
70 std::vector<float> expectedResult = { 0, -25.328436 }; variable
88 float expectedResult = 0.100; variable
108 float expectedResult = 0.300; variable
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAppManifestConfigParserTest.java622 private void assertResult(String method, int actualResult, int expectedResult) { in assertResult()
635 AppManifestConfig appManifestConfig, int expectedResult) { in assertAttributionConfigIsAllowed()
641 AppManifestConfig appManifestConfig, int expectedResult) { in assertCustomAudienceConfigIsAllowed()
647 AppManifestConfig appManifestConfig, int expectedResult) { in assertProtectedSignalsConfigIsAllowed()
653 AppManifestConfig appManifestConfig, int expectedResult) { in assertAdSelectionConfigIsAllowed()
659 AppManifestConfig appManifestConfig, int expectedResult) { in assertTopicsConfigIsAllowed()
665 AppManifestConfig appManifestConfig, int expectedResult) { in assertAdIdConfigIsAllowed()
671 AppManifestConfig appManifestConfig, int expectedResult) { in assertAppSetIdConfigIsAllowed()
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DTimeZoneLookupHelperTest.java242 OffsetResult expectedResult = in testLookupByNitzCountry_dstKnownAndUnknown() local
270 OffsetResult expectedResult = in testLookupByNitzCountry_dstKnownAndUnknown() local
297 OffsetResult expectedResult = in testLookupByNitzCountry_dstKnownAndUnknown() local
314 OffsetResult expectedResult = in testLookupByNitzCountry_dstKnownAndUnknown() local
325 CountryResult expectedResult = in testLookupByCountry_oneZone() local
345 CountryResult expectedResult = new CountryResult( in testLookupByCountry_oneEffectiveZone() local
375 CountryResult expectedResult = new CountryResult( in testDefaultBoostBehavior() local
417 CountryResult expectedResult = new CountryResult( in testNoDefaultBoostBehavior() local
443 CountryResult expectedResult = new CountryResult( in testLookupByCountry_multipleZones() local
/aosp_15_r20/external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/functionaltests/
H A DVersionedRecordWithSpecialCharactersTest.java133 Record expectedResult = new Record().setId("id").set_attribute("one").set_version(1); in putNewRecordSetsInitialVersion() local
142 Record expectedResult = new Record().setId("id").set_attribute("one").set_version(1); in updateNewRecordSetsInitialVersion() local
154 Record expectedResult = new Record().setId("id").set_attribute("one").set_version(2); in putExistingRecordVersionMatches() local
174 Record expectedResult = new Record().setId("id").set_attribute("one").set_version(2); in putExistingRecordVersionMatchesConditionExpressionMatches() local
228 Record expectedResult = new Record().setId("id").set_attribute("one").set_version(2); in updateExistingRecordVersionMatchesConditionExpressionMatches() local
273 Record expectedResult = new Record().setId("id").set_attribute("one").set_version(2); in updateExistingRecordVersionMatches() local
H A DVersionedRecordTest.java133 Record expectedResult = new Record().setId("id").setAttribute("one").setVersion(1); in putNewRecordSetsInitialVersion() local
142 Record expectedResult = new Record().setId("id").setAttribute("one").setVersion(1); in updateNewRecordSetsInitialVersion() local
154 Record expectedResult = new Record().setId("id").setAttribute("one").setVersion(2); in putExistingRecordVersionMatches() local
174 Record expectedResult = new Record().setId("id").setAttribute("one").setVersion(2); in putExistingRecordVersionMatchesConditionExpressionMatches() local
228 Record expectedResult = new Record().setId("id").setAttribute("one").setVersion(2); in updateExistingRecordVersionMatchesConditionExpressionMatches() local
273 Record expectedResult = new Record().setId("id").setAttribute("one").setVersion(2); in updateExistingRecordVersionMatches() local
/aosp_15_r20/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/model/
DFirstScreenBroadcastHelperTest.kt104 val expectedResult = in Broadcast Models are created with Pending Items from first screen() constant
139 val expectedResult = in Broadcast Models are created with Installed Items from first screen() constant
185 val expectedResult = in Broadcast Models are created with Installed Widgets from every screen() constant
232 val expectedResult = in Broadcast Models are created with Pending Items in Collections from the first screen() constant
/aosp_15_r20/external/icu/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/
H A DPersonNameFormatterTest.java84 String expectedResult = testCase[6]; in executeTestCases() local
508 String expectedResult = testCase[1]; in TestLiteralTextElision2() local
535 String expectedResult = testCase[1]; in TestPatternSelection() local
558 String expectedResult = testCase[1]; in TestCapitalization() local
645 String expectedResult = testCase[1]; in TestNameOrderFromLocale() local
685 String expectedResult = testCase[1]; in TestRetainPunctuation() local
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DPersonNameFormatterTest.java87 String expectedResult = testCase[6]; in executeTestCases() local
511 String expectedResult = testCase[1]; in TestLiteralTextElision2() local
538 String expectedResult = testCase[1]; in TestPatternSelection() local
561 String expectedResult = testCase[1]; in TestCapitalization() local
648 String expectedResult = testCase[1]; in TestNameOrderFromLocale() local
688 String expectedResult = testCase[1]; in TestRetainPunctuation() local
/aosp_15_r20/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/backuprestore/
DBackupAndRestoreSettingsFragmentTest.kt529 val expectedResult = in <lambda>() constant
561 val expectedResult = in <lambda>() constant
593 val expectedResult = in <lambda>() constant
617 val expectedResult = ActivityResult(Activity.RESULT_OK, Intent()) in <lambda>() constant
657 val expectedResult = ActivityResult(Activity.RESULT_OK, Intent()) in <lambda>() constant
/aosp_15_r20/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
H A DOpTestCase.java285 …xtends Iterable<U>> ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(I expectedResult) { in expectedResult() method in OpTestCase.ExerciseDataStreamBuilder
292 public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(int[] expectedResult) { in expectedResult() argument
301 public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(long[] expectedResult) { in expectedResult() method in OpTestCase.ExerciseDataStreamBuilder
310 … public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(double[] expectedResult) { in expectedResult() argument
527 public ExerciseDataTerminalBuilder<T, U, R, S_IN, S_OUT> expectedResult(R expectedResult) { in expectedResult() method in OpTestCase.ExerciseDataTerminalBuilder
/aosp_15_r20/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
H A DOpTestCase.java284 …xtends Iterable<U>> ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(I expectedResult) { in expectedResult() method in OpTestCase.ExerciseDataStreamBuilder
291 public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(int[] expectedResult) { in expectedResult() method in OpTestCase.ExerciseDataStreamBuilder
300 public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(long[] expectedResult) { in expectedResult() argument
309 … public ExerciseDataStreamBuilder<T, U, S_IN, S_OUT> expectedResult(double[] expectedResult) { in expectedResult() method in OpTestCase.ExerciseDataStreamBuilder
526 public ExerciseDataTerminalBuilder<T, U, R, S_IN, S_OUT> expectedResult(R expectedResult) { in expectedResult() method in OpTestCase.ExerciseDataTerminalBuilder
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/math/
H A DIntMathTest.java58 BigInteger expectedResult = BigIntegerMath.ceilingPowerOfTwo(BigInteger.valueOf(x)); in testCeilingPowerOfTwo() local
73 BigInteger expectedResult = BigIntegerMath.floorPowerOfTwo(BigInteger.valueOf(x)); in testFloorPowerOfTwo() local
493 BigInteger expectedResult = valueOf(a).add(valueOf(b)); in testCheckedAdd() local
509 BigInteger expectedResult = valueOf(a).subtract(valueOf(b)); in testCheckedSubtract() local
525 BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); in testCheckedMultiply() local
540 BigInteger expectedResult = valueOf(b).pow(k); in testCheckedPow() local
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/math/
H A DIntMathTest.java58 BigInteger expectedResult = BigIntegerMath.ceilingPowerOfTwo(BigInteger.valueOf(x)); in testCeilingPowerOfTwo() local
73 BigInteger expectedResult = BigIntegerMath.floorPowerOfTwo(BigInteger.valueOf(x)); in testFloorPowerOfTwo() local
493 BigInteger expectedResult = valueOf(a).add(valueOf(b)); in testCheckedAdd() local
509 BigInteger expectedResult = valueOf(a).subtract(valueOf(b)); in testCheckedSubtract() local
525 BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); in testCheckedMultiply() local
540 BigInteger expectedResult = valueOf(b).pow(k); in testCheckedPow() local
/aosp_15_r20/external/TestParameterInjector/junit4/src/test/java/com/google/testing/junit/testparameterinjector/
H A DParameterValueParsingTest.java170 final Object expectedResult; field in ParameterValueParsingTest.ParseYamlValueToJavaTypeCases
172 ParseYamlValueToJavaTypeCases(String yamlString, Class<?> javaClass, Object expectedResult) { in ParseYamlValueToJavaTypeCases()
260 private static TestParametersValues testCase(String yamlString, Duration expectedResult) { in testCase()
271 public void parseYamlStringToJavaType_duration_success(String yamlString, Duration expectedResult) in parseYamlStringToJavaType_duration_success()
349 final String expectedResult; field in ParameterValueParsingTest.FormatTestNameStringTestCases
351 FormatTestNameStringTestCases(@Nullable Object value, String expectedResult) { in FormatTestNameStringTestCases()
/aosp_15_r20/external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/test/java/software/amazon/awssdk/enhanced/dynamodb/
H A DKeyTest.java38 Map<String, AttributeValue> expectedResult = new HashMap<>(); in getKeyMap() local
46 Map<String, AttributeValue> expectedResult = new HashMap<>(); in getPrimaryKeyMap() local
65 Map<String, AttributeValue> expectedResult = new HashMap<>(); in getKeyMap_partitionOnly() local
72 Map<String, AttributeValue> expectedResult = new HashMap<>(); in getPrimaryKeyMap_partitionOnly() local

12345678910>>...18