Searched refs:optString (Results 1 – 11 of 11) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | SubprocessEventHelper.java | 147 .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/ |
D | TestEnvironment.java | 258 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()
|
D | TestResource.java | 51 return new TestResource(json.optString("name"), json.optString("url")); in fromJson()
|
D | ClusterCommand.java | 219 json.optString("attempt_id", null), in fromJson() 221 json.optString("request_type", RequestType.UNMANAGED.name())), in fromJson()
|
D | TradefedConfigObject.java | 89 Type type = Type.valueOf(json.optString("type", Type.UNKNOWN.name())); in fromJson()
|
D | TestContext.java | 66 obj.mCommandLine = json.optString("command_line"); in fromJson()
|
D | ClusterClient.java | 233 String cancelReason = jsonContent.optString("cancel_reason", ""); in getCommandStatus()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | GceAvdInfo.java | 236 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/ |
D | GetLastCommandResultOp.java | 90 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/ |
D | ITestDevice.java | 73 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/ |
D | TestMappingsValidation.java | 417 String suite = compatibilitySuites.optString(i); in validateSuiteSetting()
|