Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java626 public void openCameraDevice(String cameraId, JSONObject cmdObj) throws ItsException { in openCameraDevice() argument
660 if (cmdObj.has("overrideToPortrait")) { in openCameraDevice()
662 cmdObj.getBoolean("overrideToPortrait"), mCameraListener, mCameraHandler); in openCameraDevice()
971 JSONObject cmdObj = new JSONObject(cmd); in processSocketCommand() local
972 Logt.i(TAG, "Start processing command: " + cmdObj.getString("cmdName")); in processSocketCommand()
973 if ("open".equals(cmdObj.getString("cmdName"))) { in processSocketCommand()
974 String cameraId = cmdObj.getString("cameraId"); in processSocketCommand()
975 openCameraDevice(cameraId, cmdObj); in processSocketCommand()
976 } else if ("close".equals(cmdObj.getString("cmdName"))) { in processSocketCommand()
978 } else if ("getCameraProperties".equals(cmdObj.getString("cmdName"))) { in processSocketCommand()
[all …]