Home
last modified time | relevance | path

Searched refs:jsonData (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DRemoteOperation.java58 JSONObject jsonData = new JSONObject(data); in createRemoteOpFromString() local
59 int protocolVersion = jsonData.getInt(VERSION); in createRemoteOpFromString()
66 OperationType op = OperationType.valueOf(jsonData.getString(TYPE)); in createRemoteOpFromString()
70 rc = AllocateDeviceOp.createFromJson(jsonData); in createRemoteOpFromString()
73 rc = FreeDeviceOp.createFromJson(jsonData); in createRemoteOpFromString()
76 rc = CloseOp.createFromJson(jsonData); in createRemoteOpFromString()
79 rc = AddCommandOp.createFromJson(jsonData); in createRemoteOpFromString()
82 rc = StartHandoverOp.createFromJson(jsonData); in createRemoteOpFromString()
85 rc = ListDevicesOp.createFromJson(jsonData); in createRemoteOpFromString()
88 rc = ExecCommandOp.createFromJson(jsonData); in createRemoteOpFromString()
[all …]
DAddCommandOp.java44 static AddCommandOp createFromJson(JSONObject jsonData) throws JSONException { in createFromJson() argument
45 long totalTime = jsonData.getLong(TIME); in createFromJson()
46 JSONArray jsonArgs = jsonData.getJSONArray(COMMAND_ARGS); in createFromJson()
DAddCommandFileOp.java47 static AddCommandFileOp createFromJson(JSONObject jsonData) throws JSONException { in createFromJson() argument
48 String cmdFile = jsonData.getString(COMMAND_FILE); in createFromJson()
49 JSONArray argArray = jsonData.getJSONArray(EXTRA_ARGS); in createFromJson()