Home
last modified time | relevance | path

Searched defs:cameraId (Results 1 – 25 of 81) 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.cpp210 for (auto& cameraId : deviceIds) { in enumerateProviders() local
243 void CameraService::broadcastTorchModeStatus(const String8& cameraId, TorchModeStatus status) { in broadcastTorchModeStatus()
261 bool CameraService::isPublicallyHiddenSecureCamera(const String8& cameraId) { in isPublicallyHiddenSecureCamera()
278 std::string cameraId(id.c_str()); in addStates() local
396 void CameraService::onTorchStatusChanged(const String8& cameraId, in onTorchStatusChanged()
402 void CameraService::onTorchStatusChangedLocked(const String8& cameraId, in onTorchStatusChangedLocked()
475 Status CameraService::getCameraInfo(int cameraId, in getCameraInfo()
517 Status CameraService::getCameraCharacteristics(const String16& cameraId, in getCameraCharacteristics()
618 int CameraService::getDeviceVersion(const String8& cameraId, int* facing) { in getDeviceVersion()
658 const sp<IInterface>& cameraCb, const String16& packageName, const String8& cameraId, in makeClient()
[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()
92 oneway void onCameraOpened(String cameraId, String clientPackageId); in onCameraOpened()
93 oneway void onCameraClosed(String cameraId); in onCameraClosed()
/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()
716 public void onCameraOpened(@NonNull String cameraId, @NonNull String packageId) { in onCameraOpened()
728 public void onCameraClosed(@NonNull String cameraId) { in onCameraClosed()
[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.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/av/camera/ndk/impl/
DACameraManager.cpp191 const String8 &cameraId = pair.first; in binderDied() local
222 const String8& cameraId = pair.first; in registerAvailabilityCallback() local
247 bool CameraManagerGlobal::supportsCamera2ApiLocked(const String8 &cameraId) { in supportsCamera2ApiLocked()
307 AString cameraId; in onMessageReceived() local
330 AString cameraId; in onMessageReceived() local
361 int32_t status, const String16& cameraId) { in onStatusChanged()
385 int32_t status, const String8& cameraId) { in onStatusChanged()
391 int32_t status, const String8& cameraId) { in onStatusChangedLocked()
517 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()
DCameraUtils.java43 public static boolean isLegacyHAL(Context context, int cameraId) throws Exception { in isLegacyHAL()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java303 public void onStatusChanged(int status, String cameraId) in onStatusChanged()
307 public void onTorchStatusChanged(int status, String cameraId) in onTorchStatusChanged()
317 public void onCameraOpened(String cameraId, String clientPackageName) { in onCameraOpened()
322 public void onCameraClosed(String cameraId) { in onCameraClosed()
/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/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.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/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.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()
592 ACameraManager::getTagFromName(const char *cameraId, const char *name, uint32_t *tag) { in getTagFromName()
/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()

1234