Home
last modified time | relevance | path

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

123

/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp50 status_t CameraFlashlight::createFlashlightControl(const String8& cameraId) { in createFlashlightControl()
68 status_t CameraFlashlight::setTorchMode(const String8& cameraId, bool enabled) { in setTorchMode()
173 bool CameraFlashlight::hasFlashUnit(const String8& cameraId) { in hasFlashUnit()
178 bool CameraFlashlight::hasFlashUnitLocked(const String8& cameraId) { in hasFlashUnitLocked()
195 bool CameraFlashlight::isBackwardCompatibleMode(const String8& cameraId) { in isBackwardCompatibleMode()
204 status_t CameraFlashlight::prepareDeviceOpen(const String8& cameraId) { in prepareDeviceOpen()
242 status_t CameraFlashlight::deviceClosed(const String8& cameraId) { in deviceClosed()
295 status_t ProviderFlashControl::hasFlashUnit(const String8& cameraId, bool *hasFlash) { in hasFlashUnit()
303 status_t ProviderFlashControl::setTorchMode(const String8& cameraId, bool enabled) { in setTorchMode()
343 const String8& cameraId, bool enabled) { in setTorchMode()
[all …]
DCameraService.cpp233 for (auto& cameraId : mCameraProviderManager->getCameraDeviceIds()) { in enumerateProviders() local
372 void CameraService::onTorchStatusChanged(const String8& cameraId, in onTorchStatusChanged()
378 void CameraService::onTorchStatusChangedLocked(const String8& cameraId, in onTorchStatusChangedLocked()
456 Status CameraService::getCameraInfo(int cameraId, in getCameraInfo()
482 int CameraService::cameraIdToInt(const String8& cameraId) { in cameraIdToInt()
491 Status CameraService::getCameraCharacteristics(const String16& cameraId, in getCameraCharacteristics()
564 int CameraService::getDeviceVersion(const String8& cameraId, int* facing) { in getDeviceVersion()
604 const sp<IInterface>& cameraCb, const String16& packageName, const String8& cameraId, in makeClient()
744 Status CameraService::initializeShimMetadata(int cameraId) { in initializeShimMetadata()
762 Status CameraService::getLegacyParametersLazy(int cameraId, in getLegacyParametersLazy()
[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 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()
DICameraServiceProxy.aidl51 oneway void notifyCameraState(String cameraId, int facing, int newCameraState, in notifyCameraState()
/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/base/core/java/android/hardware/camera2/
DCameraManager.java211 public CameraCharacteristics getCameraCharacteristics(@NonNull String cameraId) in getCameraCharacteristics()
278 private CameraDevice openCameraDeviceUserAsync(String cameraId, in openCameraDeviceUserAsync()
429 public void openCamera(@NonNull String cameraId, in openCamera()
451 public void openCameraForUid(@NonNull String cameraId, in openCameraForUid()
514 public void setTorchMode(@NonNull String cameraId, boolean enabled) in setTorchMode()
545 public void onCameraAvailable(@NonNull String cameraId) { in onCameraAvailable()
560 public void onCameraUnavailable(@NonNull String cameraId) { in onCameraUnavailable()
600 public void onTorchModeUnavailable(@NonNull String cameraId) { in onTorchModeUnavailable()
617 public void onTorchModeChanged(@NonNull String cameraId, boolean enabled) { in onTorchModeChanged()
678 private boolean supportsCamera2ApiLocked(String cameraId) { in supportsCamera2ApiLocked()
[all …]
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp186 const String8 &cameraId = pair.first; in binderDied() local
203 const String8& cameraId = pair.first; in registerAvailabilityCallback() local
272 AString cameraId; in onMessageReceived() local
298 int32_t status, const String16& cameraId) { in onStatusChanged()
309 int32_t status, const String8& cameraId) { in onStatusChanged()
315 int32_t status, const String8& cameraId) { in onStatusChangedLocked()
434 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 …]
DCamera2RecordingTest.java381 int cameraId = Integer.parseInt(mCamera.getId()); in basicRecordingTestByCamera() local
455 private void initSupportedVideoSize(String cameraId) throws Exception { in initSupportedVideoSize()
507 private boolean allowedUnsupported(int cameraId, int profileId) { in allowedUnsupported()
542 int cameraId = Integer.parseInt(mCamera.getId()); in videoSnapshotTestByCamera() local
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestResultPrinter.java58 public void printStatus(int numAttempts, int iteration, String cameraId) throws Exception { in printStatus()
79 private void sendInstrumentationStatus(int numAttempts, int iteration, String cameraId) in sendInstrumentationStatus()
90 private void writeToFile(final int numAttempts, final int iteration, String cameraId) { in writeToFile()
DCameraUtils.java43 public static boolean isLegacyHAL(Context context, int cameraId) throws Exception { in isLegacyHAL()
/frameworks/av/camera/ndk/
DNdkCameraManager.cpp103 ACameraManager* mgr, const char* cameraId, ACameraMetadata** chars){ in ACameraManager_getCameraCharacteristics()
115 ACameraManager* mgr, const char* cameraId, in ACameraManager_openCamera()
/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/media/libmedia/
DMediaProfiles.cpp310 static bool isCameraIdFound(int cameraId, const Vector<int>& cameraIds) { in isCameraIdFound()
320 MediaProfiles::createCamcorderProfile(int cameraId, const char **atts, Vector<int>& cameraIds) in createCamcorderProfile()
359 void MediaProfiles::addImageEncodingQualityLevel(int cameraId, const char** atts) in addImageEncodingQualityLevel()
383 void MediaProfiles::addStartTimeOffset(int cameraId, const char** atts) in addStartTimeOffset()
461 int MediaProfiles::getRequiredProfileRefIndex(int cameraId) { in getRequiredProfileRefIndex()
482 int cameraId = mCamcorderProfiles[i]->mCameraId; in checkAndAddRequiredProfilesIfNecessary() local
540 for (size_t cameraId = 0; cameraId < mCameraIds.size(); ++cameraId) { in checkAndAddRequiredProfilesIfNecessary() local
1002 int MediaProfiles::getCamcorderProfileIndex(int cameraId, camcorder_quality quality) const in getCamcorderProfileIndex()
1016 int cameraId, in getCamcorderProfileParamByName()
1045 bool MediaProfiles::hasCamcorderProfile(int cameraId, camcorder_quality quality) const in hasCamcorderProfile()
/frameworks/av/camera/
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/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/com/android/ims/internal/
DImsVideoCallProvider.java122 public void setCamera(String cameraId, int uid) { in setCamera()
182 public abstract void onSetCamera(String cameraId); in onSetCamera()
193 public void onSetCamera(String cameraId, int uid) { in onSetCamera()
/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.cpp240 int cameraId = client->getCameraId(); in process3aState() local
334 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()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java302 public void onStatusChanged(int status, String cameraId) in onStatusChanged()
306 public void onTorchStatusChanged(int status, String cameraId) in onTorchStatusChanged()

123