Home
last modified time | relevance | path

Searched defs:cameraId (Results 1 – 25 of 80) 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.cpp205 for (auto& cameraId : deviceIds) { in enumerateProviders() local
238 void CameraService::broadcastTorchModeStatus(const String8& cameraId, TorchModeStatus status) { in broadcastTorchModeStatus()
264 std::string cameraId(id.c_str()); in addStates() local
382 void CameraService::onTorchStatusChanged(const String8& cameraId, in onTorchStatusChanged()
388 void CameraService::onTorchStatusChangedLocked(const String8& cameraId, in onTorchStatusChangedLocked()
461 Status CameraService::getCameraInfo(int cameraId, in getCameraInfo()
503 Status CameraService::getCameraCharacteristics(const String16& cameraId, in getCameraCharacteristics()
596 int CameraService::getDeviceVersion(const String8& cameraId, int* facing) { in getDeviceVersion()
636 const sp<IInterface>& cameraCb, const String16& packageName, const String8& cameraId, in makeClient()
781 Status CameraService::initializeShimMetadata(int cameraId) { in initializeShimMetadata()
[all …]
/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl66 CameraInfo getCameraInfo(int cameraId); in getCameraInfo()
79 int cameraId, in connect()
88 String cameraId, in connectDevice()
101 int cameraId, in connectLegacy()
124 CameraMetadataNative getCameraCharacteristics(String cameraId); in getCameraCharacteristics()
144 String getLegacyParameters(int cameraId); in getLegacyParameters()
153 boolean supportsCameraApi(String cameraId, int apiVersion); in supportsCameraApi()
155 boolean isHiddenPhysicalCamera(String cameraId); in isHiddenPhysicalCamera()
157 void setTorchMode(String cameraId, boolean enabled, IBinder clientBinder); in setTorchMode()
DICameraServiceListener.aidl54 oneway void onStatusChanged(int status, String cameraId); in onStatusChanged()
78 oneway void onTorchStatusChanged(int status, String cameraId); in onTorchStatusChanged()
/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.java457 public static CamcorderProfile get(int cameraId, int quality) { in get()
529 public static boolean hasProfile(int cameraId, int quality) { in hasProfile()
571 int cameraId, int quality); in native_get_camcorder_profile()
573 int cameraId, int quality); in native_has_camcorder_profile()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java282 public CameraCharacteristics getCameraCharacteristics(@NonNull String cameraId) in getCameraCharacteristics()
360 private CameraDevice openCameraDeviceUserAsync(String cameraId, in openCameraDeviceUserAsync()
512 public void openCamera(@NonNull String cameraId, in openCamera()
549 public void openCamera(@NonNull String cameraId, in openCamera()
574 public void openCameraForUid(@NonNull String cameraId, in openCameraForUid()
630 public void setTorchMode(@NonNull String cameraId, boolean enabled) in setTorchMode()
661 public void onCameraAvailable(@NonNull String cameraId) { in onCameraAvailable()
676 public void onCameraUnavailable(@NonNull String cameraId) { in onCameraUnavailable()
741 public void onTorchModeUnavailable(@NonNull String cameraId) { in onTorchModeUnavailable()
758 public void onTorchModeChanged(@NonNull String cameraId, boolean enabled) { in onTorchModeChanged()
[all …]
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp187 const String8 &cameraId = pair.first; in binderDied() local
218 const String8& cameraId = pair.first; in registerAvailabilityCallback() local
287 AString cameraId; in onMessageReceived() local
310 AString cameraId; in onMessageReceived() local
341 int32_t status, const String16& cameraId) { in onStatusChanged()
365 int32_t status, const String8& cameraId) { in onStatusChanged()
371 int32_t status, const String8& cameraId) { in onStatusChangedLocked()
494 const char* cameraId, in openCamera()
/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/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
159 String16 cameraId; in readFromParcel() local
DCameraBase.cpp139 sp<TCam> CameraBase<TCam, TCamTraits>::connect(int cameraId, in connect()
178 CameraBase<TCam, TCamTraits>::CameraBase(int cameraId) : in CameraBase()
252 status_t CameraBase<TCam, TCamTraits>::getCameraInfo(int cameraId, in getCameraInfo()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp324 static bool isCameraIdFound(int cameraId, const Vector<int>& cameraIds) { in isCameraIdFound()
334 MediaProfiles::createCamcorderProfile(int cameraId, const char **atts, Vector<int>& cameraIds) in createCamcorderProfile()
373 void MediaProfiles::addImageEncodingQualityLevel(int cameraId, const char** atts) in addImageEncodingQualityLevel()
397 void MediaProfiles::addStartTimeOffset(int cameraId, const char** atts) in addStartTimeOffset()
475 int MediaProfiles::getRequiredProfileRefIndex(int cameraId) { in getRequiredProfileRefIndex()
496 int cameraId = mCamcorderProfiles[i]->mCameraId; in checkAndAddRequiredProfilesIfNecessary() local
554 for (size_t cameraId = 0; cameraId < mCameraIds.size(); ++cameraId) { in checkAndAddRequiredProfilesIfNecessary() local
1016 int MediaProfiles::getCamcorderProfileIndex(int cameraId, camcorder_quality quality) const in getCamcorderProfileIndex()
1030 int cameraId, in getCamcorderProfileParamByName()
1059 bool MediaProfiles::hasCamcorderProfile(int cameraId, camcorder_quality quality) const in hasCamcorderProfile()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkIntegrationTestRunner.java60 String cameraId = (String) icicle.get("camera_id"); in onCreate() local
/frameworks/base/telephony/java/android/telephony/ims/
DImsVideoCallProvider.java127 public void setCamera(String cameraId, int uid) { in setCamera()
189 public abstract void onSetCamera(String cameraId); in onSetCamera()
200 public void onSetCamera(String cameraId, int uid) { in onSetCamera()
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraManager.cpp312 const hidl_string& cameraId = pair.first; in registerAvailabilityCallback() local
375 AString cameraId; in onMessageReceived() local
419 hidl_string cameraId = statusAndId.cameraId; in onStatusChangedLocked() local
542 const char* cameraId, in openCamera()
593 ACameraManager::getTagFromName(const char *cameraId, const char *name, uint32_t *tag) { in getTagFromName()
/frameworks/base/core/java/android/hardware/
DCameraStatus.java31 public String cameraId; field in CameraStatus
/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/hidl/
DAidlCameraServiceListener.cpp29 binder::Status H2BCameraServiceListener::onStatusChanged( in onStatusChanged()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp242 int cameraId = client->getCameraId(); in process3aState() local
356 T* value, int32_t frameNumber, int cameraId) { in updatePendingState()
/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()

1234