Home
last modified time | relevance | path

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

1234

/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp52 status_t CameraFlashlight::createFlashlightControl(const String8& cameraId) { in createFlashlightControl()
70 status_t CameraFlashlight::setTorchMode(const String8& cameraId, bool enabled) { in setTorchMode()
171 bool CameraFlashlight::hasFlashUnit(const String8& cameraId) { in hasFlashUnit()
176 bool CameraFlashlight::hasFlashUnitLocked(const String8& cameraId) { in hasFlashUnitLocked()
194 bool CameraFlashlight::isBackwardCompatibleMode(const String8& cameraId) { in isBackwardCompatibleMode()
203 status_t CameraFlashlight::prepareDeviceOpen(const String8& cameraId) { in prepareDeviceOpen()
242 status_t CameraFlashlight::deviceClosed(const String8& cameraId) { in deviceClosed()
296 status_t ProviderFlashControl::hasFlashUnit(const String8& cameraId, bool *hasFlash) { in hasFlashUnit()
304 status_t ProviderFlashControl::setTorchMode(const String8& cameraId, bool enabled) { in setTorchMode()
343 const String8& cameraId, bool enabled) { in setTorchMode()
[all …]
DCameraService.cpp222 for (auto& cameraId : deviceIds) { in enumerateProviders() local
255 void CameraService::broadcastTorchModeStatus(const String8& cameraId, TorchModeStatus status, in broadcastTorchModeStatus()
299 status_t CameraService::getSystemCameraKind(const String8& cameraId, SystemCameraKind *kind) const { in getSystemCameraKind() argument
322 std::string cameraId(id.c_str()); in addStates() local
509 void CameraService::onTorchStatusChanged(const String8& cameraId, in onTorchStatusChanged()
522 void CameraService::onTorchStatusChangedLocked(const String8& cameraId, in onTorchStatusChangedLocked()
610 Status CameraService::getCameraInfo(int cameraId, in getCameraInfo()
670 Status CameraService::getCameraCharacteristics(const String16& cameraId, in getCameraCharacteristics()
776 int CameraService::getDeviceVersion(const String8& cameraId, int* facing) { in getDeviceVersion()
817 const std::unique_ptr<String16>& featureId, const String8& cameraId, int api1CameraId, in makeClient()
[all …]
/frameworks/av/camera/aidl/android/hardware/
DICameraServiceListener.aidl54 oneway void onStatusChanged(int status, String cameraId); in onStatusChanged()
60 oneway void onPhysicalCameraStatusChanged(int status, String cameraId, String physicalCameraId); in onPhysicalCameraStatusChanged()
84 oneway void onTorchStatusChanged(int status, String cameraId); in onTorchStatusChanged()
98 oneway void onCameraOpened(String cameraId, String clientPackageId); in onCameraOpened()
99 oneway void onCameraClosed(String cameraId); in onCameraClosed()
DICameraService.aidl68 CameraInfo getCameraInfo(int cameraId); in getCameraInfo()
81 int cameraId, in connect()
90 String cameraId, in connectDevice()
104 int cameraId, in connectLegacy()
146 CameraMetadataNative getCameraCharacteristics(String cameraId); in getCameraCharacteristics()
166 String getLegacyParameters(int cameraId); in getLegacyParameters()
175 boolean supportsCameraApi(String cameraId, int apiVersion); in supportsCameraApi()
177 boolean isHiddenPhysicalCamera(String cameraId); in isHiddenPhysicalCamera()
179 void setTorchMode(String cameraId, boolean enabled, IBinder clientBinder); in setTorchMode()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java401 public CameraCharacteristics getCameraCharacteristics(@NonNull String cameraId) in getCameraCharacteristics()
482 private CameraDevice openCameraDeviceUserAsync(String cameraId, in openCameraDeviceUserAsync()
649 public void openCamera(@NonNull String cameraId, in openCamera()
686 public void openCamera(@NonNull String cameraId, in openCamera()
711 public void openCameraForUid(@NonNull String cameraId, in openCameraForUid()
767 public void setTorchMode(@NonNull String cameraId, boolean enabled) in setTorchMode()
798 public void onCameraAvailable(@NonNull String cameraId) { in onCameraAvailable()
813 public void onCameraUnavailable(@NonNull String cameraId) { in onCameraUnavailable()
860 public void onPhysicalCameraAvailable(@NonNull String cameraId, in onPhysicalCameraAvailable()
883 public void onPhysicalCameraUnavailable(@NonNull String cameraId, in onPhysicalCameraUnavailable()
[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.java446 public static CamcorderProfile get(int cameraId, int quality) { in get()
518 public static boolean hasProfile(int cameraId, int quality) { in hasProfile()
560 int cameraId, int quality); in native_get_camcorder_profile()
562 int cameraId, int quality); in native_has_camcorder_profile()
/frameworks/av/camera/ndk/ndk_vendor/tests/
DACameraManagerTest.cpp36 static void onAvailable(void* obj, const char* cameraId) { in onAvailable()
48 static void onUnavailable(void* obj, const char* cameraId) { in onUnavailable()
64 static void onPhysicalCameraAvailable(void* obj, const char* cameraId, in onPhysicalCameraAvailable()
76 static void onPhysicalCameraUnavailable(void* obj, const char* cameraId, in onPhysicalCameraUnavailable()
117 bool isAvailable(const char* cameraId) { in isAvailable()
201 const char* cameraId = mCameraIdList->cameraIds[i]; in TEST_F() local
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp193 const String8 &cameraId = pair.first; in binderDied() local
259 const String8& cameraId = pair.first; in registerAvailCallback() local
295 bool CameraManagerGlobal::supportsCamera2ApiLocked(const String8 &cameraId) { in supportsCamera2ApiLocked()
365 AString cameraId; in onMessageReceivedInternal() local
388 AString cameraId; in onMessageReceivedInternal() local
406 AString cameraId; in onMessageReceivedInternal() local
459 int32_t status, const String16& cameraId) { in onStatusChanged()
470 int32_t status, const String16& cameraId, const String16& physicalCameraId) { in onPhysicalCameraStatusChanged()
495 int32_t status, const String8& cameraId) { in onStatusChanged()
501 int32_t status, const String8& cameraId) { in onStatusChangedLocked()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java304 public void onStatusChanged(int status, String cameraId) in onStatusChanged()
308 public void onTorchStatusChanged(int status, String cameraId) in onTorchStatusChanged()
314 public void onPhysicalCameraStatusChanged(int status, String cameraId, in onPhysicalCameraStatusChanged()
324 public void onCameraOpened(String cameraId, String clientPackageName) { in onCameraOpened()
329 public void onCameraClosed(String cameraId) { in onCameraClosed()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2ReprocessCaptureTest.java209 private void testBasicReprocessing(String cameraId, int inputFormat, in testBasicReprocessing()
225 private void testReprocessingMaxSizes(String cameraId, int inputFormat, in testReprocessingMaxSizes()
260 private void testReprocessingAllCombinations(String cameraId, Size previewSize, in testReprocessingAllCombinations()
308 private void testReprocessMixedBurst(String cameraId, Size inputSize, int inputFormat, in testReprocessMixedBurst()
380 private void testReprocessBurst(String cameraId, Size inputSize, int inputFormat, in testReprocessBurst()
439 private void testReprocess(String cameraId, Size inputSize, int inputFormat, in testReprocess()
503 private void testReprocessAbort(String cameraId, Size inputSize, int inputFormat, in testReprocessAbort()
593 private void testReprocessTimestamps(String cameraId, Size inputSize, int inputFormat, in testReprocessTimestamps()
667 private void testReprocessJpegExif(String cameraId, Size inputSize, int inputFormat, in testReprocessJpegExif()
733 private void testReprocessRequestKeys(String cameraId, Size inputSize, int inputFormat, in testReprocessRequestKeys()
[all …]
/frameworks/base/core/java/android/hardware/camera2/impl/
DPhysicalCaptureResultInfo.java27 private String cameraId; field in PhysicalCaptureResultInfo
47 public PhysicalCaptureResultInfo(String cameraId, CameraMetadataNative cameraMetadata) { in PhysicalCaptureResultInfo()
/frameworks/av/camera/ndk/
DNdkCameraManager.cpp163 ACameraManager* mgr, const char* cameraId, ACameraMetadata** chars){ in ACameraManager_getCameraCharacteristics()
182 ACameraManager* mgr, const char* cameraId, in ACameraManager_openCamera()
196 camera_status_t ACameraManager_getTagFromName(ACameraManager *mgr, const char* cameraId, in ACameraManager_getTagFromName()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestResultPrinter.java60 public void printStatus(int numAttempts, int iteration, String cameraId) throws Exception { in printStatus()
81 private void sendInstrumentationStatus(int numAttempts, int iteration, String cameraId) in sendInstrumentationStatus()
92 private void writeToFile(final int numAttempts, final int iteration, String cameraId) { in writeToFile()
/frameworks/av/services/camera/libcameraservice/hidl/
DAidlCameraServiceListener.cpp30 binder::Status H2BCameraServiceListener::onStatusChanged( in onStatusChanged()
44 binder::Status H2BCameraServiceListener::onPhysicalCameraStatusChanged( in onPhysicalCameraStatusChanged()
/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/av/camera/
DCaptureResult.cpp44 String16 cameraId; in readFromParcel() local
171 String16 cameraId; in readFromParcel() local
DCameraBase.cpp153 sp<TCam> CameraBase<TCam, TCamTraits>::connect(int cameraId, in connect()
192 CameraBase<TCam, TCamTraits>::CameraBase(int cameraId) : in CameraBase()
266 status_t CameraBase<TCam, TCamTraits>::getCameraInfo(int cameraId, in getCameraInfo()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp370 static bool isCameraIdFound(int cameraId, const Vector<int>& cameraIds) { in isCameraIdFound()
380 MediaProfiles::createCamcorderProfile(int cameraId, const char **atts, Vector<int>& cameraIds) in createCamcorderProfile()
419 void MediaProfiles::addImageEncodingQualityLevel(int cameraId, const char** atts) in addImageEncodingQualityLevel()
443 void MediaProfiles::addStartTimeOffset(int cameraId, const char** atts) in addStartTimeOffset()
521 int MediaProfiles::getRequiredProfileRefIndex(int cameraId) { in getRequiredProfileRefIndex()
542 int cameraId = mCamcorderProfiles[i]->mCameraId; in checkAndAddRequiredProfilesIfNecessary() local
600 for (size_t cameraId = 0; cameraId < mCameraIds.size(); ++cameraId) { in checkAndAddRequiredProfilesIfNecessary() local
1062 int MediaProfiles::getCamcorderProfileIndex(int cameraId, camcorder_quality quality) const in getCamcorderProfileIndex()
1076 int cameraId, in getCamcorderProfileParamByName()
1105 bool MediaProfiles::hasCamcorderProfile(int cameraId, camcorder_quality quality) const in hasCamcorderProfile()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputUtils.h72 const String8& cameraId; member
120 const String8& cameraId; member
134 const String8& cameraId; member
144 const String8& cameraId; member
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkIntegrationTestRunner.java60 String cameraId = (String) icicle.get("camera_id"); in onCreate() local
/frameworks/base/core/java/android/hardware/
DCameraStatus.java31 public String cameraId; field in CameraStatus
/frameworks/base/telephony/java/android/telephony/ims/
DImsVideoCallProvider.java129 public void setCamera(String cameraId, int uid) { in setCamera()
191 public abstract void onSetCamera(String cameraId); in onSetCamera()
202 public void onSetCamera(String cameraId, int uid) { in onSetCamera()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp366 const hidl_string& cameraId = pair.first; in registerAvailCallback() local
448 AString cameraId; in onMessageReceivedInternal() local
471 AString cameraId; in onMessageReceivedInternal() local
528 hidl_string cameraId = statusAndId.cameraId; in onStatusChangedLocked() local
582 hidl_string cameraId = statusAndId.cameraId; in onStatusChangedLocked() local
745 const char* cameraId, in openCamera()
795 ACameraManager::getTagFromName(const char *cameraId, const char *name, uint32_t *tag) { in getTagFromName()

1234