Home
last modified time | relevance | path

Searched refs:actualResult (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/GeoTZ/validation/geonames/known_diffs/
Dknown_diffs1000.prototxt8 actualResult {
23 actualResult {
38 actualResult {
53 actualResult {
68 actualResult {
83 actualResult {
98 actualResult {
113 actualResult {
128 actualResult {
143 actualResult {
[all …]
Dknown_diffs15000.prototxt8 actualResult {
21 actualResult {
36 actualResult {
51 actualResult {
66 actualResult {
81 actualResult {
98 actualResult {
113 actualResult {
128 actualResult {
143 actualResult {
[all …]
Dknown_diffs5000.prototxt8 actualResult {
23 actualResult {
38 actualResult {
53 actualResult {
68 actualResult {
83 actualResult {
98 actualResult {
115 actualResult {
130 actualResult {
145 actualResult {
[all …]
Dknown_diffs500.prototxt8 actualResult {
23 actualResult {
38 actualResult {
53 actualResult {
68 actualResult {
83 actualResult {
98 actualResult {
113 actualResult {
128 actualResult {
145 actualResult {
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/customaudience/
DCustomAudienceListCommandTest.java81 Result actualResult = runCommandAndGetResult(); in testRun_simpleCase_returnsSuccess() local
83 expectSuccess(actualResult, EXPECTED_COMMAND); in testRun_simpleCase_returnsSuccess()
84 JSONArray jsonArray = new JSONObject(actualResult.mOut).getJSONArray("custom_audiences"); in testRun_simpleCase_returnsSuccess()
103 Result actualResult = runCommandAndGetResult(); in testRun_missingBackgroundFetchData_returnsEmpty() local
105 expectSuccess(actualResult, EXPECTED_COMMAND); in testRun_missingBackgroundFetchData_returnsEmpty()
106 JSONArray jsonArray = new JSONObject(actualResult.mOut).getJSONArray("custom_audiences"); in testRun_missingBackgroundFetchData_returnsEmpty()
134 Result actualResult = runCommandAndGetResult(); in testRun_noCustomAudiences_returnsEmpty() local
136 expectSuccess(actualResult, EXPECTED_COMMAND); in testRun_noCustomAudiences_returnsEmpty()
137 JSONArray jsonArray = new JSONObject(actualResult.mOut).getJSONArray("custom_audiences"); in testRun_noCustomAudiences_returnsEmpty()
155 Result actualResult = runCommandAndGetResult(); in testRun_complexCase_returnsSuccess() local
[all …]
DCustomAudienceViewCommandTest.java90 Result actualResult = runCommandAndGetResult(); in testRun_happyPath_returnsSuccess() local
92 expectSuccess(actualResult, EXPECTED_COMMAND); in testRun_happyPath_returnsSuccess()
93 assertThat(getCustomAudienceFromJson(new JSONObject(actualResult.mOut))) in testRun_happyPath_returnsSuccess()
95 assertThat(getCustomAudienceBackgroundFetchDataFromJson(new JSONObject(actualResult.mOut))) in testRun_happyPath_returnsSuccess()
110 Result actualResult = runCommandAndGetResult(); in testRun_notPresent_returnsEmpty() local
112 expectSuccess(actualResult, "{}", EXPECTED_COMMAND); in testRun_notPresent_returnsEmpty()
127 Result actualResult = runCommandAndGetResult(); in testRun_presentButNotDebuggable_returnsEmpty() local
129 expectSuccess(actualResult, "{}", EXPECTED_COMMAND); in testRun_presentButNotDebuggable_returnsEmpty()
147 Result actualResult = runCommandAndGetResult(); in testRun_presentButBackgroundFetchDataNotDebuggable_returnsEmpty() local
149 expectSuccess(actualResult, "{}", EXPECTED_COMMAND); in testRun_presentButBackgroundFetchDataNotDebuggable_returnsEmpty()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DAppManifestConfigParserTest.java569 private void assertResult(String method, int actualResult, int expectedResult) { in assertResult() argument
573 actualResult, in assertResult()
574 resultToString(actualResult), in assertResult()
577 .that(actualResult) in assertResult()
583 int actualResult = appManifestConfig.isAllowedAttributionAccess("not actually there"); in assertAttributionConfigIsAllowed() local
584 assertResult("getAttributionConfig()", actualResult, expectedResult); in assertAttributionConfigIsAllowed()
589 int actualResult = appManifestConfig.isAllowedCustomAudiencesAccess("not actually there"); in assertCustomAudienceConfigIsAllowed() local
590 assertResult("getCustomAudiencesConfig()", actualResult, expectedResult); in assertCustomAudienceConfigIsAllowed()
595 int actualResult = appManifestConfig.isAllowedProtectedSignalsAccess("not actually there"); in assertProtectedSignalsConfigIsAllowed() local
596 assertResult("getProtectedSignalsConfig()", actualResult, expectedResult); in assertProtectedSignalsConfigIsAllowed()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/signals/
DGenerateInputForEncodingCommandTest.java99 Result actualResult = runCommandAndGetResult(BUYER); in testRun_happyPath_returnsSuccess() local
100 expectSuccess(actualResult, EXPECTED_COMMAND); in testRun_happyPath_returnsSuccess()
101 String jsScript = actualResult.mOut; in testRun_happyPath_returnsSuccess()
130 Result actualResult = runCommandAndGetResult(BUYER); in testRun_withEmptyDb_returnsEmpty() local
132 expectFailure(actualResult, "no signals found.", EXPECTED_COMMAND, RESULT_GENERIC_ERROR); in testRun_withEmptyDb_returnsEmpty()
137 Result actualResult = in testRun_withoutBuyerParam_throwsException() local
144 actualResult, in testRun_withoutBuyerParam_throwsException()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/concurrency/
DAdServicesExecutorTest.java98 ExecutorResult actualResult = executorService.submit(task).get(); in runTaskAndAssertResult() local
101 .that(actualResult.mPriority) in runTaskAndAssertResult()
104 .that(actualResult.mThreadName) in runTaskAndAssertResult()
106 assertThat(actualResult.mThreadPolicy.toString()) in runTaskAndAssertResult()
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DFirstScreenBroadcastHelperTest.kt89 val actualResult = in Broadcast Models are created with Pending Items from first screen() constant
108 assertEquals(expectedResult, actualResult) in Broadcast Models are created with Pending Items from first screen()
118 val actualResult = in Broadcast Models are created with Installed Items from first screen() constant
142 assertEquals(expectedResult, actualResult) in Broadcast Models are created with Installed Items from first screen()
156 val actualResult = in Broadcast Models are created with Installed Widgets from every screen() constant
189 assertEquals(expectedResult, actualResult) in Broadcast Models are created with Installed Widgets from every screen()
215 val actualResult = in Broadcast Models are created with Pending Items in Collections from the first screen() constant
231 assertEquals(expectedResult, actualResult) in Broadcast Models are created with Pending Items in Collections from the first screen()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/
DNoOpShellCommandTest.java33 Result actualResult = run(command, commandName); in test_success() local
35 actualResult, in test_success()
DShellCommandTestCase.java85 Result actualResult = run(cmd, args); in runAndExpectInvalidArgument() local
89 expectFailure(actualResult, expectedErr, expectedCommand, RESULT_INVALID_ARGS); in runAndExpectInvalidArgument()
DAdServicesShellCommandHandlerTest.java266 String actualResult = cmd.runInvalid(args); in expectInvalidArgument() local
269 .that(actualResult) in expectInvalidArgument()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/shell/common/
DEchoCommandTest.java55 Result actualResult = run(new EchoCommand(), CMD_ECHO, "108"); in testRun_valid() local
57 expectSuccess(actualResult, "108\n", ShellCommandStats.COMMAND_ECHO); in testRun_valid()
DIsAllowedCustomAudiencesAccessCommandTest.java64 Result actualResult = in testRun_valid() local
68 actualResult, in testRun_valid()
DIsAllowedAdSelectionAccessCommandTest.java64 Result actualResult = run(cmd, CMD_IS_ALLOWED_AD_SELECTION_ACCESS, PKG_NAME, ENROLLMENT_ID); in testRun_valid() local
67 actualResult, "true\n", ShellCommandStats.COMMAND_IS_ALLOWED_AD_SELECTION_ACCESS); in testRun_valid()
DIsAllowedAttributionAccessCommandTest.java64 Result actualResult = run(cmd, CMD_IS_ALLOWED_ATTRIBUTION_ACCESS, PKG_NAME, ENROLLMENT_ID); in testRun_valid() local
67 actualResult, "true\n", ShellCommandStats.COMMAND_IS_ALLOWED_ATTRIBUTION_ACCESS); in testRun_valid()
DIsAllowedProtectedSignalsAccessCommandTest.java64 Result actualResult = in testRun_valid() local
68 actualResult, in testRun_valid()
DIsAllowedTopicsAccessCommandTest.java84 Result actualResult = in testRun_valid() local
87 expectSuccess(actualResult, "true\n", ShellCommandStats.COMMAND_IS_ALLOWED_TOPICS_ACCESS); in testRun_valid()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DAdSelectionEntryDaoTest.java1844 DBAdSelectionResult actualResult = in test_persistAdSelectionResultForCustomAudienceAllFields_success() local
1849 actualResult); in test_persistAdSelectionResultForCustomAudienceAllFields_success() local
1866 DBAdSelectionResult actualResult = in test_persistAdSelectionResultForCAOnlyName_success() local
1871 actualResult); in test_persistAdSelectionResultForCAOnlyName_success() local
1920 ReportingData actualResult = in test_getReportingDataForId_idSupportsUris_successUnifiedTablesDisabled() local
1924 assertEquals(DataHandlersFixture.REPORTING_DATA_WITH_URIS, actualResult); in test_getReportingDataForId_idSupportsUris_successUnifiedTablesDisabled()
1936 ReportingData actualResult = in test_getReportingDataForId_idSupportsUris_successUnifiedTablesEnabled() local
1940 assertEquals(DataHandlersFixture.REPORTING_DATA_WITH_URIS, actualResult); in test_getReportingDataForId_idSupportsUris_successUnifiedTablesEnabled()
1949 ReportingData actualResult = in test_getReportingDataForId_idSupportsComputationData_successShouldUseUnifiedTablesDisabled() local
1953 assertNull(actualResult.getBuyerWinReportingUri()); in test_getReportingDataForId_idSupportsComputationData_successShouldUseUnifiedTablesDisabled()
[all …]
/packages/modules/GeoTZ/validation/geonames/src/main/java/com/android/timezone/location/validation/
DTypes.java167 Result referenceDataResult, Result actualResult) { in KnownDifferenceMismatch() argument
170 this.mActualResult = Objects.requireNonNull(actualResult); in KnownDifferenceMismatch()
242 Result actualResult, Type type, String comment, URI bugUri) { in KnownDifference() argument
245 this.mActualResult = Objects.requireNonNull(actualResult); in KnownDifference()
DGeonamesComparison.java131 Result actualResult = createResult(androidTimeZoneIds, cityTimeZoneIds); in main() local
139 testCaseId, city, adjustedGeonamesResult, actualResult); in main()
178 TestCaseId testCaseId, Result referenceDataResult, Result actualResult) { in createNewKnownDifference() argument
180 testCaseId, referenceDataResult, actualResult, Types.KnownDifference.Type.UNKNOWN, in createNewKnownDifference()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/
DOutcomeReceiverForTestsTest.java181 String actualResult = receiver.assertSuccess(); in assertSuccess() local
182 expect.withMessage("assertSuccess()").that(actualResult).isEqualTo(expectedResult); in assertSuccess()
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DHealthPermissionsTest.java220 Set<Integer> actualResult = in testGetDataCategoriesWithWritePermissionsForPackage_returnsCorrectSet() local
223 assertThat(actualResult).isEqualTo(expectedResult); in testGetDataCategoriesWithWritePermissionsForPackage_returnsCorrectSet()
/packages/modules/GeoTZ/validation/geonames/src/main/proto/
Dvalidation_protos.proto34 required Result actualResult = 4; field

12