Home
last modified time | relevance | path

Searched refs:optString (Results 1 – 11 of 11) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java147 .setOrigin(jsonObject.optString(ERROR_ORIGIN_KEY)); in TestRunFailedEventInfo()
150 if (!Strings.isNullOrEmpty(jsonObject.optString(FAILURE_STATUS_KEY))) { in TestRunFailedEventInfo()
152 status = FailureStatus.valueOf(jsonObject.optString(FAILURE_STATUS_KEY)); in TestRunFailedEventInfo()
160 if (!Strings.isNullOrEmpty(jsonObject.optString(ACTION_IN_PROGRESS_KEY))) { in TestRunFailedEventInfo()
162 action = ActionInProgress.valueOf(jsonObject.optString(ACTION_IN_PROGRESS_KEY)); in TestRunFailedEventInfo()
169 String errorName = jsonObject.optString(ERROR_NAME_KEY); in TestRunFailedEventInfo()
283 if (!Strings.isNullOrEmpty(jsonObject.optString(REASON_KEY))) { in InvocationFailedEventInfo()
285 FailureDescription.create(jsonObject.optString(REASON_KEY)) in InvocationFailedEventInfo()
286 .setOrigin(jsonObject.optString(ERROR_ORIGIN_KEY)) in InvocationFailedEventInfo()
290 if (!Strings.isNullOrEmpty(jsonObject.optString(FAILURE_STATUS_KEY))) { in InvocationFailedEventInfo()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestEnvironment.java258 final String url = json.optString("output_file_upload_url"); in fromJson()
266 obj.mContextFilePattern = json.optString("context_file_pattern"); in fromJson()
275 obj.mRetryCommandLine = json.optString("retry_command_line"); in fromJson()
276 obj.mLogLevel = json.optString("log_level"); in fromJson()
DTestResource.java51 return new TestResource(json.optString("name"), json.optString("url")); in fromJson()
DClusterCommand.java219 json.optString("attempt_id", null), in fromJson()
221 json.optString("request_type", RequestType.UNMANAGED.name())), in fromJson()
DTradefedConfigObject.java89 Type type = Type.valueOf(json.optString("type", Type.UNKNOWN.name())); in fromJson()
DTestContext.java66 obj.mCommandLine = json.optString("command_line"); in fromJson()
DClusterClient.java233 String cancelReason = jsonContent.optString("cancel_reason", ""); in getCommandStatus()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceAvdInfo.java236 String fetch_artifact_time = json.optString("fetch_artifact_time"); in addCfStartTimeMetrics()
242 String gce_create_time = json.optString("gce_create_time"); in addCfStartTimeMetrics()
248 String launch_cvd_time = json.optString("launch_cvd_time"); in addCfStartTimeMetrics()
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DGetLastCommandResultOp.java90 String errorDetails = json.optString(INVOCATION_ERROR, null); in unpackResponseFromJson()
91 String freeDeviceString = json.optString(FREE_DEVICE_STATE, null); in unpackResponseFromJson()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java73 public MountPointInfo(String filesystem, String mountpoint, String type, String optString) { in MountPointInfo() argument
74 this(filesystem, mountpoint, type, splitMountOptions(optString)); in MountPointInfo()
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/
DTestMappingsValidation.java417 String suite = compatibilitySuites.optString(i); in validateSuiteSetting()