Home
last modified time | relevance | path

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

12

/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp92 ALOGV("%s: Initializing client for camera %d", __FUNCTION__, mCameraId); in initializeImpl()
106 __FUNCTION__, mCameraId, strerror(-res), res); in initializeImpl()
117 mCameraId); in initializeImpl()
121 mCameraId); in initializeImpl()
126 mCameraId); in initializeImpl()
131 mCameraId); in initializeImpl()
137 mCameraId); in initializeImpl()
142 mCameraId); in initializeImpl()
148 mCameraId); in initializeImpl()
163 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/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.h269 : mCameraId(0), in CamcorderProfile()
277 mCameraId = copy.mCameraId; in CamcorderProfile()
290 int mCameraId; member
359 int mCameraId; member
484 int mCameraId; member
/frameworks/av/include/media/
DMediaProfiles.h269 : mCameraId(0), in CamcorderProfile()
277 mCameraId = copy.mCameraId; in CamcorderProfile()
290 int mCameraId; member
359 int mCameraId; member
484 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()
244 mCameraUser = mUtils.getCameraService().connectDevice(mMockCb, mCameraId, in setUp()
246 assertNotNull(String.format("Camera %s was null", mCameraId), mCameraUser); in setUp()
252 Log.v(TAG, String.format("Camera %s connected", mCameraId)); in setUp()
417 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/base/core/java/android/hardware/camera2/params/
DMandatoryStreamCombination.java663 private int mHwLevel, mCameraId; field in MandatoryStreamCombination.Builder
680 mCameraId = cameraId; in Builder()
686 CameraManager.isHiddenPhysicalCamera(Integer.toString(mCameraId)); in Builder()
703 if ((mCameraId < 0) && !isExternalCamera()) { in getAvailableMandatoryStreamCombinations()
1107 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_2160P) ? in getMaxRecordingSize()
1109 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_1080P) ? in getMaxRecordingSize()
1111 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_720P) ? in getMaxRecordingSize()
1113 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_480P) ? in getMaxRecordingSize()
1115 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_QVGA) ? in getMaxRecordingSize()
1117 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_CIF) ? in getMaxRecordingSize()
[all …]
/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/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp645 mCameraId = cameraId; in setParamVideoCameraId()
1353 "vid.fps", mCameraId, CAMCORDER_QUALITY_LOW); in clipVideoFrameRate()
1427 "duration", mCameraId, quality) * 1000000LL; in setDefaultProfileIfNecessary()
1430 "file.format", mCameraId, quality); in setDefaultProfileIfNecessary()
1433 "vid.codec", mCameraId, quality); in setDefaultProfileIfNecessary()
1436 "vid.bps", mCameraId, quality); in setDefaultProfileIfNecessary()
1439 "vid.fps", mCameraId, quality); in setDefaultProfileIfNecessary()
1442 "vid.width", mCameraId, quality); in setDefaultProfileIfNecessary()
1445 "vid.height", mCameraId, quality); in setDefaultProfileIfNecessary()
1448 "aud.codec", mCameraId, quality); in setDefaultProfileIfNecessary()
[all …]
/frameworks/av/media/libmedia/
DMediaProfiles.cpp350 profile->mCameraId = cameraId; in createCamcorderProfile()
366 if (levels->mCameraId == cameraId) { in findImageEncodingQualityLevels()
382 levels->mCameraId = cameraId; in addImageEncodingQualityLevel()
462 mRequiredProfileRefs[i].mCameraId = cameraIds[i]; in initRequiredProfileRefs()
496 int cameraId = mCamcorderProfiles[i]->mCameraId; in checkAndAddRequiredProfilesIfNecessary()
667 profile->mCameraId = 0; in createDefaultCamcorderTimeLapseQcifProfile()
684 profile->mCameraId = 0; in createDefaultCamcorderTimeLapse480pProfile()
723 profile->mCameraId = 0; in createDefaultCamcorderQcifProfile()
740 profile->mCameraId = 0; in createDefaultCamcorderCifProfile()
841 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/
DCameraBase.h151 const int mCameraId; variable
/frameworks/av/camera/ndk/impl/
DACameraDevice.h68 inline const char* getId() const { return mCameraId.string(); } in getId()
181 const String8 mCameraId; // Camera ID variable
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceUserShim.java113 private final int mCameraId; field in CameraDeviceUserShim.CameraLooper
130 mCameraId = cameraId; in CameraLooper()
148 mInitErrors = mCamera.cameraInitUnspecified(mCameraId); in run()
DLegacyCameraDevice.java65 private final int mCameraId; field in LegacyCameraDevice
321 mCameraId = cameraId; in LegacyCameraDevice()
323 TAG = String.format("CameraDevice-%d-LE", mCameraId); in LegacyCameraDevice()
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp56 mImgReaderAnw(nullptr), mCameraId(id), mCameraManager(manager) {} in CameraHelper()
78 ret = ACameraManager_openCamera(mCameraManager, mCameraId, &mDeviceCb, &mDevice); in initCamera()
274 const char* mCameraId; member in __anon8dd8b5b30111::CameraHelper
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.h91 inline const char* getId() const { return mCameraId.c_str(); } in getId()
208 const hidl_string mCameraId; // Camera ID variable

12