Home
last modified time | relevance | path

Searched defs:cameraId (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/core/java/android/hardware/
DICameraService.aidl42 int getCameraInfo(int cameraId, out CameraInfo info); in getCameraInfo()
44 int connect(ICameraClient client, int cameraId, in connect()
50 int connectDevice(ICameraDeviceCallbacks callbacks, int cameraId, in connectDevice()
59 int getCameraCharacteristics(int cameraId, out CameraMetadataNative info); in getCameraCharacteristics()
70 int getLegacyParameters(int cameraId, out String[] parameters); in getLegacyParameters()
72 int supportsCameraApi(int cameraId, int apiVersion); in supportsCameraApi()
74 int connectLegacy(ICameraClient client, int cameraId, in connectLegacy()
DICameraServiceListener.aidl25 void onStatusChanged(int status, int cameraId); in onStatusChanged()
27 void onTorchStatusChanged(int status, String cameraId); in onTorchStatusChanged()
/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp49 status_t CameraFlashlight::createFlashlightControl(const String8& cameraId) { in createFlashlightControl()
100 status_t CameraFlashlight::setTorchMode(const String8& cameraId, bool enabled) { in setTorchMode()
194 bool CameraFlashlight::hasFlashUnit(const String8& cameraId) { in hasFlashUnit()
201 bool CameraFlashlight::hasFlashUnitLocked(const String8& cameraId) { in hasFlashUnitLocked()
217 status_t CameraFlashlight::prepareDeviceOpen(const String8& cameraId) { in prepareDeviceOpen()
254 status_t CameraFlashlight::deviceClosed(const String8& cameraId) { in deviceClosed()
307 status_t ModuleFlashControl::hasFlashUnit(const String8& cameraId, bool *hasFlash) { in hasFlashUnit()
333 status_t ModuleFlashControl::setTorchMode(const String8& cameraId, bool enabled) { in setTorchMode()
467 const String8& cameraId) { in connectCameraDevice()
515 status_t CameraDeviceClientFlashControl::hasFlashUnit(const String8& cameraId, in hasFlashUnit()
[all …]
DCameraService.cpp185 String8 cameraId = String8::format("%d", i); in onFirstRef() local
272 void CameraService::onDeviceStatusChanged(camera_device_status_t cameraId, in onDeviceStatusChanged()
336 void CameraService::onTorchStatusChanged(const String8& cameraId, in onTorchStatusChanged()
342 void CameraService::onTorchStatusChangedLocked(const String8& cameraId, in onTorchStatusChangedLocked()
417 status_t CameraService::getCameraInfo(int cameraId, in getCameraInfo()
435 int CameraService::cameraIdToInt(const String8& cameraId) { in cameraIdToInt()
445 status_t CameraService::generateShimMetadata(int cameraId, /*out*/CameraMetadata* cameraInfo) { in generateShimMetadata()
530 status_t CameraService::getCameraCharacteristics(int cameraId, in getCameraCharacteristics()
613 int CameraService::getDeviceVersion(int cameraId, int* facing) { in getDeviceVersion()
683 const sp<IInterface>& cameraCb, const String16& packageName, const String8& cameraId, in makeClient()
[all …]
DCameraDeviceFactory.cpp31 sp<CameraDeviceBase> CameraDeviceFactory::createDevice(int cameraId) { in createDevice()
/frameworks/av/camera/
DICameraService.cpp116 virtual status_t getCameraInfo(int cameraId, in getCameraInfo()
133 virtual status_t getCameraCharacteristics(int cameraId, in getCameraCharacteristics()
174 virtual status_t connect(const sp<ICameraClient>& cameraClient, int cameraId, in connect()
199 virtual status_t connectLegacy(const sp<ICameraClient>& cameraClient, int cameraId, in connectLegacy()
224 virtual status_t setTorchMode(const String16& cameraId, bool enabled, in setTorchMode()
241 int cameraId, in connectDevice()
288 virtual status_t getLegacyParameters(int cameraId, String16* parameters) { in getLegacyParameters()
312 virtual status_t supportsCameraApi(int cameraId, int apiVersion) { in supportsCameraApi()
396 int32_t cameraId = data.readInt32(); in onTransact() local
416 int32_t cameraId = data.readInt32(); in onTransact() local
[all …]
DICameraServiceListener.cpp45 virtual void onStatusChanged(Status status, int32_t cameraId) in onStatusChanged()
59 virtual void onTorchStatusChanged(TorchStatus status, const String16 &cameraId) in onTorchStatusChanged()
85 int32_t cameraId = data.readInt32(); in onTransact() local
95 String16 cameraId = data.readString16(); in onTransact() local
DCameraBase.cpp93 sp<TCam> CameraBase<TCam, TCamTraits>::connect(int cameraId, in connect()
131 CameraBase<TCam, TCamTraits>::CameraBase(int cameraId) : in CameraBase()
196 status_t CameraBase<TCam, TCamTraits>::getCameraInfo(int cameraId, in getCameraInfo()
DCamera.cpp37 Camera::Camera(int cameraId) in Camera()
74 sp<Camera> Camera::connect(int cameraId, const String16& clientPackageName, in connect()
80 status_t Camera::connectLegacy(int cameraId, int halVersion, in connectLegacy()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java217 public CameraCharacteristics getCameraCharacteristics(@NonNull String cameraId) in getCameraCharacteristics()
290 private CameraDevice openCameraDeviceUserAsync(String cameraId, in openCameraDeviceUserAsync()
440 public void openCamera(@NonNull String cameraId, in openCamera()
499 public void setTorchMode(@NonNull String cameraId, boolean enabled) in setTorchMode()
527 public void onCameraAvailable(@NonNull String cameraId) { in onCameraAvailable()
542 public void onCameraUnavailable(@NonNull String cameraId) { in onCameraUnavailable()
582 public void onTorchModeUnavailable(@NonNull String cameraId) { in onTorchModeUnavailable()
599 public void onTorchModeChanged(@NonNull String cameraId, boolean enabled) { in onTorchModeChanged()
675 private boolean supportsCamera2ApiLocked(String cameraId) { in supportsCamera2ApiLocked()
686 private boolean supportsCameraApiLocked(String cameraId, int apiVersion) { in supportsCameraApiLocked()
[all …]
/frameworks/base/media/java/android/media/
DCameraProfile.java77 public static int getJpegEncodingQualityParameter(int cameraId, int quality) { in getJpegEncodingQualityParameter()
96 private static int[] getImageEncodingQualityLevels(int cameraId) { in getImageEncodingQualityLevels()
112 private static native final int native_get_num_image_encoding_quality_levels(int cameraId); in native_get_num_image_encoding_quality_levels()
113 … private static native final int native_get_image_encoding_quality_level(int cameraId, int index); in native_get_image_encoding_quality_level()
DCamcorderProfile.java388 public static CamcorderProfile get(int cameraId, int quality) { in get()
460 public static boolean hasProfile(int cameraId, int quality) { in hasProfile()
500 int cameraId, int quality); in native_get_camcorder_profile()
502 int cameraId, int quality); in native_has_camcorder_profile()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp307 static bool isCameraIdFound(int cameraId, const Vector<int>& cameraIds) { in isCameraIdFound()
317 MediaProfiles::createCamcorderProfile(int cameraId, const char **atts, Vector<int>& cameraIds) in createCamcorderProfile()
356 void MediaProfiles::addImageEncodingQualityLevel(int cameraId, const char** atts) in addImageEncodingQualityLevel()
380 void MediaProfiles::addStartTimeOffset(int cameraId, const char** atts) in addStartTimeOffset()
458 int MediaProfiles::getRequiredProfileRefIndex(int cameraId) { in getRequiredProfileRefIndex()
479 int cameraId = mCamcorderProfiles[i]->mCameraId; in checkAndAddRequiredProfilesIfNecessary() local
537 for (size_t cameraId = 0; cameraId < mCameraIds.size(); ++cameraId) { in checkAndAddRequiredProfilesIfNecessary() local
988 int MediaProfiles::getCamcorderProfileIndex(int cameraId, camcorder_quality quality) const in getCamcorderProfileIndex()
1002 int cameraId, in getCamcorderProfileParamByName()
1031 bool MediaProfiles::hasCamcorderProfile(int cameraId, camcorder_quality quality) const in hasCamcorderProfile()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraAgent.java121 public void onCameraDisabled(final int cameraId) { in onCameraDisabled()
130 public void onDeviceOpenFailure(final int cameraId, final String info) { in onDeviceOpenFailure()
139 public void onDeviceOpenedAlready(final int cameraId, final String info) { in onDeviceOpenedAlready()
247 public void onCameraDisabled(int cameraId); in onCameraDisabled()
256 public void onDeviceOpenFailure(int cameraId, String info); in onDeviceOpenFailure()
263 public void onDeviceOpenedAlready(int cameraId, String info); in onDeviceOpenedAlready()
286 public void openCamera(final Handler handler, final int cameraId, in openCamera()
DHistoryHandler.java42 String generateHistoryString(int cameraId) { in generateHistoryString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSecureCameraLaunchManager.java96 public void onCameraUnavailable(String cameraId) { in onCameraUnavailable()
102 public void onCameraAvailable(String cameraId) { in onCameraAvailable()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkIntegrationTestRunner.java60 String cameraId = (String) icicle.get("camera_id"); in onCreate() local
/frameworks/av/media/libstagefright/
DCameraSource.cpp150 int32_t cameraId, in CreateFromCamera()
167 int32_t cameraId, in CameraSource()
205 int32_t cameraId, const String16& clientName, uid_t clientUid) { in isCameraAvailable()
489 int32_t cameraId, in init()
509 int32_t cameraId, in initWithCameraAccess()
DCameraSourceTimeLapse.cpp40 int32_t cameraId, in CreateFromCamera()
68 int32_t cameraId, in CameraSourceTimeLapse()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingCameraManager.java145 public CameraDevice openCamera(String cameraId, CameraDevice.StateCallback listener, in openCamera()
189 OpenListener(CameraManager manager, String cameraId, in OpenListener()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp247 int cameraId = client->getCameraId(); in process3aState() local
330 T* value, int32_t frameNumber, int cameraId) { in get3aResult()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java302 public void onStatusChanged(int status, int cameraId) in onStatusChanged()
306 public void onTorchStatusChanged(int status, String cameraId) in onTorchStatusChanged()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCamera2Source.java78 public void onCameraAvailable(String cameraId) { in onCameraAvailable()
84 public void onCameraUnavailable(String cameraId) { in onCameraUnavailable()
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsVideoCallProvider.aidl46 void setCamera(String cameraId); in setCamera()
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
DImsVideoCallProvider.java111 public void setCamera(String cameraId) { in setCamera()
168 public abstract void onSetCamera(String cameraId); in onSetCamera()

123