Home
last modified time | relevance | path

Searched refs:mCameraId (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp93 ALOGV("%s: Initializing client for camera %d", __FUNCTION__, mCameraId); in initializeImpl()
107 __FUNCTION__, mCameraId, strerror(-res), res); in initializeImpl()
118 mCameraId); in initializeImpl()
122 mCameraId); in initializeImpl()
127 mCameraId); in initializeImpl()
132 mCameraId); in initializeImpl()
138 mCameraId); in initializeImpl()
143 mCameraId); in initializeImpl()
149 mCameraId); in initializeImpl()
164 ALOGI("Camera %d: Closed", mCameraId); in ~Camera2Client()
[all …]
DCameraClient.cpp66 LOG1("CameraClient::initialize E (pid %d, id %d)", callingPid, mCameraId); in initialize()
75 snprintf(camera_device_name, sizeof(camera_device_name), "%d", mCameraId); in initialize()
81 __FUNCTION__, mCameraId, strerror(-res), res); in initialize()
90 (void *)(uintptr_t)mCameraId); in initialize()
96 LOG1("CameraClient::initialize X (pid %d, id %d)", callingPid, mCameraId); in initialize()
120 mCameraId, in dumpClient()
/frameworks/base/core/java/android/hardware/camera2/utils/
DCameraIdAndSessionConfiguration.java32 private String mCameraId; field in CameraIdAndSessionConfiguration
37 mCameraId = cameraId; in CameraIdAndSessionConfiguration()
66 dest.writeString(mCameraId); in writeToParcel()
74 mCameraId = in.readString(); in readFromParcel()
79 return mCameraId; in getCameraId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightControllerImpl.java68 private String mCameraId; field in FlashlightControllerImpl
81 mCameraId = getCameraId(); in tryInitCamera()
87 if (mCameraId != null) { in tryInitCamera()
96 if (mCameraId == null) return; in setFlashlight()
100 mCameraManager.setTorchMode(mCameraId, enabled); in setFlashlight()
128 if (mCameraId == null) { in addCallback()
216 if (TextUtils.equals(cameraId, mCameraId)) {
226 if (TextUtils.equals(cameraId, mCameraId)) {
266 pw.println(mCameraId); in dump()
/frameworks/av/media/libmedia/include/media/
DMediaProfiles.h252 : mCameraId(0), in CamcorderProfile()
260 mCameraId = copy.mCameraId; in CamcorderProfile()
273 int mCameraId; member
342 int mCameraId; member
467 int mCameraId; member
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java75 private String mCameraId; field in CameraDeviceBinderTest
201 CameraCaptureSession.SESSION_ID_NONE, mCameraId, /*physicalCameraIdSet*/null); in createDefaultBuilder()
236 mCameraId = MediaFrameworkIntegrationTestRunner.mCameraId; in setUp()
245 mCameraUser = mUtils.getCameraService().connectDevice(mMockCb, mCameraId, in setUp()
247 assertNotNull(String.format("Camera %s was null", mCameraId), mCameraUser); in setUp()
253 Log.v(TAG, String.format("Camera %s connected", mCameraId)); in setUp()
418 CameraMetadataNative info = mUtils.getCameraService().getCameraCharacteristics(mCameraId); in testCameraCharacteristics()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaFrameworkIntegrationTestRunner.java41 public static String mCameraId = "0"; field in MediaFrameworkIntegrationTestRunner
65 mCameraId = cameraId; in onCreate()
DMediaRecorderStressTestRunner.java34 public static int mCameraId = 0; field in MediaRecorderStressTestRunner
36 public static CamcorderProfile profile = CamcorderProfile.get(mCameraId, mProfileQuality);
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingCameraManager.java174 private final String mCameraId; field in BlockingCameraManager.OpenListener
192 mCameraId = cameraId; in OpenListener()
295 OPEN_TIME_OUT_MS, mCameraId)); in blockUntilOpen()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java211 private String mCameraId;
220 mCameraId = null;
234 if (mCameraId == null) {
272 mCameraId = cameraId;
293 mCameraManager.openCamera(mCameraId, mCameraStateCallback,
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/java/android/media/filterfw/samples/
DCameraEffectsRecordingSample.java41 private int mCameraId = 0; field in CameraEffectsRecordingSample
75 graphEnvironment.addReferences("cameraId", mCameraId); in createGraph()
/frameworks/base/core/java/android/hardware/camera2/params/
DMandatoryStreamCombination.java701 private int mHwLevel, mCameraId; field in MandatoryStreamCombination.Builder
718 mCameraId = cameraId; in Builder()
724 CameraManager.isHiddenPhysicalCamera(Integer.toString(mCameraId)); in Builder()
813 if ((mCameraId < 0) && !isExternalCamera()) { in getAvailableMandatoryStreamCombinations()
1229 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_2160P) ? in getMaxRecordingSize()
1231 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_1080P) ? in getMaxRecordingSize()
1233 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_720P) ? in getMaxRecordingSize()
1235 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_480P) ? in getMaxRecordingSize()
1237 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_QVGA) ? in getMaxRecordingSize()
1239 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_CIF) ? in getMaxRecordingSize()
[all …]
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp665 mCameraId = cameraId; in setParamVideoCameraId()
1399 "vid.fps", mCameraId, CAMCORDER_QUALITY_LOW); in clipVideoFrameRate()
1473 "duration", mCameraId, quality) * 1000000LL; in setDefaultProfileIfNecessary()
1476 "file.format", mCameraId, quality); in setDefaultProfileIfNecessary()
1479 "vid.codec", mCameraId, quality); in setDefaultProfileIfNecessary()
1482 "vid.bps", mCameraId, quality); in setDefaultProfileIfNecessary()
1485 "vid.fps", mCameraId, quality); in setDefaultProfileIfNecessary()
1488 "vid.width", mCameraId, quality); in setDefaultProfileIfNecessary()
1491 "vid.height", mCameraId, quality); in setDefaultProfileIfNecessary()
1494 "aud.codec", mCameraId, quality); in setDefaultProfileIfNecessary()
[all …]
/frameworks/av/camera/camera2/
DConcurrentCamera.cpp102 mCameraId = std::string(String8(id).string()); in readFromParcel()
114 if ((err = parcel->writeString16(String16(mCameraId.c_str()))) != OK) { in writeToParcel()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp396 profile->mCameraId = cameraId; in createCamcorderProfile()
412 if (levels->mCameraId == cameraId) { in findImageEncodingQualityLevels()
428 levels->mCameraId = cameraId; in addImageEncodingQualityLevel()
508 mRequiredProfileRefs[i].mCameraId = cameraIds[i]; in initRequiredProfileRefs()
542 int cameraId = mCamcorderProfiles[i]->mCameraId; in checkAndAddRequiredProfilesIfNecessary()
713 profile->mCameraId = 0; in createDefaultCamcorderTimeLapseQcifProfile()
730 profile->mCameraId = 0; in createDefaultCamcorderTimeLapse480pProfile()
769 profile->mCameraId = 0; in createDefaultCamcorderQcifProfile()
786 profile->mCameraId = 0; in createDefaultCamcorderCifProfile()
887 levels->mCameraId = 0; in createDefaultImageEncodingQualityLevels()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp337 mCallbacks->onTorchStatusChanged(mCameraId, TorchModeStatus::AVAILABLE_OFF); in ~CameraHardwareInterfaceFlashControl()
364 } else if (mDevice == NULL || cameraId != mCameraId) { in setTorchMode()
412 if (cameraId != mCameraId) { in hasFlashUnitLocked()
547 mCameraId = cameraId; in connectCameraDevice()
DCameraFlashlight.h168 String8 mCameraId; variable
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DCameraSource.java48 private int mCameraId = 0; field in CameraSource
136 mCamera = Camera.open(mCameraId); in open()
243 mCamera = Camera.open(mCameraId); in getCameraParameters()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCameraAgentImpl.java263 private int mCameraId = -1; field in AndroidCameraAgentImpl.CameraHandler
338 generateHistoryString(mCameraId), in onError()
372 mCameraId = cameraId; in handleMessage()
401 mCameraId = -1; in handleMessage()
416 … cbForward.onReconnectionFailure(mAgent, generateHistoryString(mCameraId)); in handleMessage()
644 ex, generateHistoryString(mCameraId), cameraAction, cameraState); in handleMessage()
759 private final int mCameraId; field in AndroidCameraAgentImpl.AndroidCameraProxyImpl
773 mCameraId = cameraId; in AndroidCameraProxyImpl()
789 return mCameraId; in getCameraId()
DAndroidCamera2AgentImpl.java182 private String mCameraId; field in AndroidCamera2AgentImpl.Camera2Handler
241 mCameraId = mCameraDevices.get(mCameraIndex); in handleMessage()
243 cameraIndex, mCameraId)); in handleMessage()
245 if (mCameraId == null) { in handleMessage()
249 mCameraManager.openCamera(mCameraId, mCameraDeviceStateCallback, this); in handleMessage()
283 mCameraId = null; in handleMessage()
661 String commandHistory = generateHistoryString(Integer.parseInt(mCameraId)); in handleMessage()
784 mCameraManager.getCameraCharacteristics(mCameraId);
/frameworks/av/camera/include/camera/camera2/
DConcurrentCamera.h41 std::string mCameraId; member
/frameworks/av/camera/include/camera/
DCameraBase.h157 const int mCameraId; variable
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp58 mImgReaderAnw(nullptr), mCameraId(id), mCameraManager(manager) {} in CameraHelper()
83 ret = ACameraManager_openCamera(mCameraManager, mCameraId, &mDeviceCb, &mDevice); in initCamera()
124 ret, mCameraId); in initCamera()
276 const char* mCameraId; member in __anon511359ea0111::CameraHelper
/frameworks/av/camera/ndk/impl/
DACameraDevice.h69 inline const char* getId() const { return mCameraId.string(); } in getId()
182 const String8 mCameraId; // Camera ID variable
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyCameraDevice.java65 private final int mCameraId; field in LegacyCameraDevice
322 mCameraId = cameraId; in LegacyCameraDevice()
324 TAG = String.format("CameraDevice-%d-LE", mCameraId); in LegacyCameraDevice()

12