1/* 2 * Copyright (C) 2021 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17package android.hardware.camera.device@3.7; 18 19import android.hardware.camera.common@1.0::Status; 20import @3.6::ICameraDevice; 21 22/** 23 * Camera device interface 24 * 25 * Supports the android.hardware.Camera API, and the android.hardware.camera2 26 * API at LIMITED or better hardware level. 27 * 28 * ICameraDevice.open() must return @3.2::ICameraDeviceSession, 29 * @3.5::ICameraDeviceSession, @3.6::ICameraDeviceSession, or 30 * @3.7::ICameraDeviceSession. 31 */ 32interface ICameraDevice extends @3.6::ICameraDevice { 33 /** 34 * isStreamCombinationSupported_3_7: 35 * 36 * Identical to @3.5::ICameraDevice.isStreamCombinationSupported, except 37 * that it takes a @3.7::StreamConfiguration parameter, which could contain 38 * information about multi-resolution input and output streams. 39 * 40 */ 41 isStreamCombinationSupported_3_7(StreamConfiguration streams) 42 generates (Status status, bool queryStatus); 43}; 44