Home | History | Annotate | Download | only in testingcamera2

Lines Matching refs:ApiFailureException

100     private CameraOps(Context ctx) throws ApiFailureException {
103 throw new ApiFailureException("Can't connect to camera manager!");
115 static public CameraOps create(Context ctx) throws ApiFailureException {
119 public String[] getDevices() throws ApiFailureException{
124 throw new ApiFailureException("Can't query device set", e);
129 throws ApiFailureException {
143 throws ApiFailureException {
152 throw new ApiFailureException("can't close device!", e);
158 private void minimalOpenCamera() throws ApiFailureException {
163 throw new ApiFailureException("no devices");
169 throw new ApiFailureException("open failure", e);
171 throw new ApiFailureException("open async failure", e);
189 public void minimalPreviewConfig(SurfaceHolder previewHolder) throws ApiFailureException {
211 throw new ApiFailureException("Error setting up minimal preview", e);
233 public void minimalPreview(SurfaceHolder previewHolder) throws ApiFailureException {
238 throw new ApiFailureException("Preview surface is not created");
253 throw new ApiFailureException("Error setting up minimal preview", e);
258 Handler h, CameraControls cameraControl) throws ApiFailureException {
317 throw new ApiFailureException("Error in minimal JPEG capture", e);
321 public void startRecording(boolean useMediaCodec) throws ApiFailureException {
343 throw new ApiFailureException("Error start recording", e);
347 public void stopRecording() throws ApiFailureException {
371 throw new ApiFailureException("Error stop recording", e);
375 private Size getRecordingSize() throws ApiFailureException {
409 throw new ApiFailureException("Error setting up video recording", e);