Searched refs:jsonData (Results 1 – 3 of 3) sorted by relevance
58 JSONObject jsonData = new JSONObject(data); in createRemoteOpFromString() local59 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 …]
44 static AddCommandOp createFromJson(JSONObject jsonData) throws JSONException { in createFromJson() argument45 long totalTime = jsonData.getLong(TIME); in createFromJson()46 JSONArray jsonArgs = jsonData.getJSONArray(COMMAND_ARGS); in createFromJson()
47 static AddCommandFileOp createFromJson(JSONObject jsonData) throws JSONException { in createFromJson() argument48 String cmdFile = jsonData.getString(COMMAND_FILE); in createFromJson()49 JSONArray argArray = jsonData.getJSONArray(EXTRA_ARGS); in createFromJson()