Home
last modified time | relevance | path

Searched refs:setResult (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/service/management/
DDeviceManagementGrpcServer.java126 .setResult(ReleaseReservationResponse.Result.RESERVATION_NOT_EXIST) in releaseReservation()
133 .setResult(ReleaseReservationResponse.Result.DEVICE_IN_USE) in releaseReservation()
140 responseBuilder.setResult(ReleaseReservationResponse.Result.SUCCEED); in releaseReservation()
155 .setResult(Result.UNKNOWN) in reserveDevice()
164 .setResult(Result.UNKNOWN) in reserveDevice()
175 .setResult(Result.UNKNOWN) in reserveDevice()
186 responseBuilder.setResult(result).setMessage("device is currently in allocated state."); in reserveDevice()
189 .setResult(Result.UNAVAILABLE) in reserveDevice()
206 .setResult(Result.UNKNOWN) in reserveDevice()
213 responseBuilder.setResult(Result.SUCCEED).setReservationId(reservationId); in reserveDevice()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DClangProfileIndexerTest.java62 mCommandArgumentCaptor.setResult(CommandStatus.SUCCESS); in testProfileFiles_includesFiles()
82 mCommandArgumentCaptor.setResult(CommandStatus.SUCCESS); in testLargeProfileCount_usesFile()
99 mCommandArgumentCaptor.setResult(CommandStatus.FAILED).setResult(CommandStatus.SUCCESS); in testSingleFailure_usesFailureMode()
111 mCommandArgumentCaptor.setResult(CommandStatus.FAILED).setResult(CommandStatus.FAILED); in testMultipleFailures_throwsException()
133 CommandArgumentCaptor setResult(CommandStatus status) { in setResult() method in ClangProfileIndexerTest.CommandArgumentCaptor
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultRecordHandler.java36 builder.setResult(RecordResult.valueOf((String) docMap.get(RESULT))); in handle()
119 public Builder setResult(RecordResult result) { in setResult() method in MoblyYamlResultRecordHandler.Record.Builder
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/
DContentProviderHandler.java146 CommandResult setResult = in setUp() local
150 if (!CommandStatus.SUCCESS.equals(setResult.getStatus())) { in setUp()
153 setResult.getStdout(), setResult.getStderr()); in setUp()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/mobly/
DMoblyYamlResultParserTest.java178 .setResult(MoblyYamlResultRecordHandler.RecordResult.PASS) in testReportToListenersPassRecord()
201 .setResult(MoblyYamlResultRecordHandler.RecordResult.FAIL) in testReportToListenersFailRecord()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java264 .setResult(result) in parseSigners()
704 public Builder setResult(ApkSigningBlockUtils.Result result) { in setResult() method in V3SchemeVerifier.Builder
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DClangCodeCoverageCollectorTest.java595 mCommandArgumentCaptor.setResult(CommandStatus.FAILED); in testProfileToolFailed_noLog()
652 void setResult(CommandStatus status) { in setResult() method in ClangCodeCoverageCollectorTest.CommandArgumentCaptor