Home
last modified time | relevance | path

Searched refs:setResultCode (Results 1 – 25 of 52) sorted by relevance

123

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/stats/
DApiCallStatsTest.java48 .setResultCode(STATUS_INVALID_ARGUMENT) in testBuilderCreateSuccess()
111 .setResultCode(STATUS_INVALID_ARGUMENT) in testToString()
145 .setResultCode(resultCode) in testEqualsHashCode()
156 .setResultCode(resultCode) in testEqualsHashCode()
167 .setResultCode(resultCode) in testEqualsHashCode()
178 .setResultCode(resultCode) in testEqualsHashCode()
189 .setResultCode(resultCode) in testEqualsHashCode()
200 .setResultCode(resultCode) in testEqualsHashCode()
211 .setResultCode(resultCode) in testEqualsHashCode()
222 .setResultCode(resultCode) in testEqualsHashCode()
[all …]
DBackgroundFetchProcessReportedStatsTest.java37 .setResultCode(RESULT_CODE) in testBuilderCreateSuccess()
DMeasurementReportsStatsTest.java38 .setResultCode(RESULT_OK) in testBuilderCreateSucceed()
DUpdateCustomAudienceProcessReportedStatsTest.java43 .setResultCode(RESULT_CODE) in testBuilderCreateSuccess()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/
DSapRilReceiverHidl.java236 sapMessage.setResultCode(SapMessage.INVALID_VALUE); in connectResponse()
245 sapMessage.setResultCode(SapMessage.INVALID_VALUE); in disconnectResponse()
265 sapMessage.setResultCode(resultCode); in apduResponse()
277 sapMessage.setResultCode(resultCode); in transferAtrResponse()
301 sapMessage.setResultCode(resultCode); in powerResponse()
310 sapMessage.setResultCode(resultCode); in resetSimResponse()
336 sapMessage.setResultCode(resultCode); in transferCardReaderStatusResponse()
358 sapMessage.setResultCode(resultCode); in transferProtocolResponse()
DSapRilReceiver.java214 sapMessage.setResultCode(SapMessage.INVALID_VALUE); in connectResponse()
223 sapMessage.setResultCode(SapMessage.INVALID_VALUE); in disconnectResponse()
243 sapMessage.setResultCode(resultCode); in apduResponse()
255 sapMessage.setResultCode(resultCode); in transferAtrResponse()
279 sapMessage.setResultCode(resultCode); in powerResponse()
288 sapMessage.setResultCode(resultCode); in resetSimResponse()
314 sapMessage.setResultCode(resultCode); in transferCardReaderStatusResponse()
336 sapMessage.setResultCode(resultCode); in transferProtocolResponse()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DTestUtils.java46 .setResultCode(RemoteLockscreenValidationResult.RESULT_GUESS_VALID)
50 .setResultCode(RemoteLockscreenValidationResult.RESULT_GUESS_INVALID)
54 .setResultCode(RemoteLockscreenValidationResult.RESULT_LOCKOUT)
59 .setResultCode(RemoteLockscreenValidationResult.RESULT_NO_REMAINING_ATTEMPTS)
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProviderBroadcastReceiver.java41 setResultCode(Activity.RESULT_CANCELED); in onReceive()
54 setResultCode(Activity.RESULT_OK); in onReceive()
60 setResultCode(Activity.RESULT_OK); in onReceive()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/
DTopicsWorkerTest.java178 .setResultCode(STATUS_SUCCESS) in testGetTopics()
251 .setResultCode(STATUS_SUCCESS) in testGetTopics_enableEncryption_disablePlaintextTopics()
348 .setResultCode(STATUS_SUCCESS) in testGetTopics_enableEncryption_featureOn()
448 .setResultCode(STATUS_SUCCESS) in testGetTopics_enableEncryption_featureOff()
495 .setResultCode(STATUS_SUCCESS) in testGetTopics_emptyCache()
537 .setResultCode(STATUS_SUCCESS) in testGetTopics_appNotInCache()
571 .setResultCode(STATUS_SUCCESS) in testGetTopics_sdkNotInCache()
617 .setResultCode(STATUS_SUCCESS) in testGetTopics_handleSdkTopicAssignment()
679 .setResultCode(STATUS_SUCCESS) in testGetTopics_handleSdkTopicAssignment_existingTopicsForSdk()
958 .setResultCode(STATUS_SUCCESS) in testClearAllTopicsData()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesShellCommandTest.java199 .setResultCode(-1) in testExec_invalidCommand()
351 new ShellCommandResult.Builder().setOut(out).setResultCode(0).build(); in testExec_validAdServicesShellCommand_noArgs()
368 new ShellCommandResult.Builder().setOut(out).setResultCode(0).build(); in testExec_validAdServicesShellCommand_withArgs()
384 new ShellCommandResult.Builder().setOut(out).setResultCode(0).build(); in testExec_validAdServicesShellCommandWithTimeout()
401 new ShellCommandResult.Builder().setOut(out).setResultCode(0).build(); in testExec_validAdServicesShellCommandWithTimeoutInAnyOrder()
437 new ShellCommandResult.Builder().setOut(out).setResultCode(0).build(); in testExec_validAdServicesShellCommand_secondaryUser_noArgs()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java891 resMsg.setResultCode(ResultCode.TERMINAL_CRNTLY_UNABLE_TO_PROCESS); in sendScreenBusyResponse()
1319 resMsg.setResultCode(ResultCode.HELP_INFO_REQUIRED); in handleCmdResponse()
1321 resMsg.setResultCode(mStkContext[slotId].mCurrentCmd.hasIconLoadFailed() ? in handleCmdResponse()
1338 resMsg.setResultCode(ResultCode.HELP_INFO_REQUIRED); in handleCmdResponse()
1340 resMsg.setResultCode(mStkContext[slotId].mCurrentCmd.hasIconLoadFailed() ? in handleCmdResponse()
1352 resMsg.setResultCode(mStkContext[slotId].mCurrentCmd.hasIconLoadFailed() ? in handleCmdResponse()
1355 resMsg.setResultCode(ResultCode.UICC_SESSION_TERM_BY_USER); in handleCmdResponse()
1359 resMsg.setResultCode(confirmed ? ResultCode.OK in handleCmdResponse()
1368 resMsg.setResultCode(ResultCode.OK); in handleCmdResponse()
1378 resMsg.setResultCode(ResultCode.OK); in handleCmdResponse()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/shell/
DShellCommandServiceImpl.java107 .setResultCode(resultCode) in runShellCommand()
127 .setResultCode(resultCode) in runShellCommand()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/
DSapMessageTest.java90 mMessage.setResultCode(resultCode); in settersAndGetters()
126 mMessage.setResultCode(RESULT_OK); in getParamCount()
158 mMessage.setResultCode(resultCode); in writeAndRead()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DBackgroundFetchProcessReportedStats.java46 abstract Builder setResultCode(int value); in setResultCode() method in BackgroundFetchProcessReportedStats.Builder
DUpdateCustomAudienceProcessReportedStats.java46 abstract Builder setResultCode(int value); in setResultCode() method in UpdateCustomAudienceProcessReportedStats.Builder
DUpdateCustomAudienceExecutionLogger.java72 .setResultCode(resultCode) in close()
DBackgroundFetchExecutionLogger.java81 .setResultCode(resultCode) in close()
DMeasurementReportsStats.java128 public @NonNull MeasurementReportsStats.Builder setResultCode(int resultCode) { in setResultCode() method in MeasurementReportsStats.Builder
DApiCallStats.java159 public Builder setResultCode(@StatusCode int resultCode) { in setResultCode() method in ApiCallStats.Builder
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/kanon/
DKAnonGetChallengeStatusStats.java43 public abstract Builder setResultCode(int resultCode); in setResultCode() method in KAnonGetChallengeStatusStats.Builder
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/logging/
DSchedulingReportedStats.java54 public abstract Builder setResultCode(int value); in setResultCode() method in SchedulingReportedStats.Builder
DJobSchedulingLogger.java105 .setResultCode(resultCode) in logSchedulingStatsHelper()
/packages/modules/Connectivity/tests/cts/net/appForApi23/src/android/net/cts/appForApi23/
DConnectivityReceiver.java38 setResultCode(sWifiConnectivityActionCount); in onReceive()
/packages/modules/AdServices/adservices/framework/java/android/adservices/shell/
DShellCommandResult.java114 public Builder setResultCode(int resultCode) { in setResultCode() method in ShellCommandResult.Builder
/packages/modules/AdServices/adservices/tests/unittest/service-core/common/src/com/android/adservices/spe/
DAdServicesStatsdJobServiceLoggerTest.java99 .setResultCode(resultCode) in testLogSchedulingReportedStats()

123