Home
last modified time | relevance | path

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

12

/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp97 ALOGV("%s: Initializing client for camera %d", __FUNCTION__, mCameraId); in initializeImpl()
111 __FUNCTION__, mCameraId, strerror(-res), res); in initializeImpl()
122 mCameraId); in initializeImpl()
126 mCameraId); in initializeImpl()
131 mCameraId); in initializeImpl()
136 mCameraId); in initializeImpl()
142 mCameraId); in initializeImpl()
147 mCameraId); in initializeImpl()
153 mCameraId); in initializeImpl()
168 ALOGI("Camera %d: Closed", mCameraId); in ~Camera2Client()
[all …]
/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.java71 private String mCameraId; field in FlashlightControllerImpl
84 mCameraId = getCameraId(); in tryInitCamera()
90 if (mCameraId != null) { in tryInitCamera()
99 if (mCameraId == null) return; in setFlashlight()
103 mCameraManager.setTorchMode(mCameraId, enabled); in setFlashlight()
132 if (mCameraId == null) { in addCallback()
221 if (TextUtils.equals(cameraId, mCameraId)) {
231 if (TextUtils.equals(cameraId, mCameraId)) {
271 pw.println(mCameraId); in dump()
/frameworks/base/core/java/android/hardware/camera2/
DCameraExtensionCharacteristics.java154 private final String mCameraId; field in CameraExtensionCharacteristics
163 mCameraId = cameraId; in CameraExtensionCharacteristics()
553 if (isExtensionSupported(mCameraId, extensionType, mChars)) { in getSupportedExtensions()
597 if (!isExtensionSupported(mCameraId, extension, mChars)) { in getExtensionSupportedSizes()
605 extender.init(mCameraId); in getExtensionSupportedSizes()
607 extender.getSupportedPreviewOutputResolutions(mCameraId), in getExtensionSupportedSizes()
612 extenders.first.init(mCameraId, mChars.getNativeMetadata()); in getExtensionSupportedSizes()
654 if (!isExtensionSupported(mCameraId, extension, mChars)) { in getExtensionSupportedSizes()
669 extender.init(mCameraId); in getExtensionSupportedSizes()
671 mCameraId), format, streamMap); in getExtensionSupportedSizes()
[all …]
DCaptureResult.java194 private final String mCameraId; field in CaptureResult
226 mCameraId = cameraId; in CaptureResult()
253 mCameraId = cameraId; in CaptureResult()
284 mCameraId = "none"; in CaptureResult()
301 return mCameraId; in getCameraId()
/frameworks/base/core/java/android/hardware/
DCameraSessionStats.java50 private String mCameraId; field in CameraSessionStats
81 mCameraId = cameraId; in CameraSessionStats()
117 dest.writeString(mCameraId); in writeToParcel()
133 mCameraId = in.readString(); in readFromParcel()
152 return mCameraId; in getCameraId()
/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/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()
248 assertNotNull(String.format("Camera %s was null", mCameraId), mCameraUser); in setUp()
254 Log.v(TAG, String.format("Camera %s connected", mCameraId)); in setUp()
419 CameraMetadataNative info = mUtils.getCameraService().getCameraCharacteristics(mCameraId, in testCameraCharacteristics()
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/
DCameraExtensionsProxyService.java952 private final String mCameraId; field in CameraExtensionsProxyService.RequestProcessorStub
956 mCameraId = cameraId; in RequestProcessorStub()
985 captureRequests.add(initializeParcelable(request, requestId, mCameraId)); in submit()
1004 initializeParcelable(request, 0, mCameraId), in setRepeating()
1034 private String mCameraId = null; field in CameraExtensionsProxyService.SessionProcessorImplStub
1098 mCameraId = cameraId; in initSession()
1111 new RequestProcessorStub(requestProcessor, mCameraId)); in onCaptureSessionStart()
1168 private String mCameraId = null; field in CameraExtensionsProxyService.PreviewExtenderImplStub
1176 mCameraId = cameraId; in onInit()
1188 return initializeParcelable(mPreviewExtender.onPresetSession(), mCameraId); in onPresetSession()
[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/libmedia/include/media/
DMediaProfiles.h270 : mCameraId(0), in CamcorderProfile()
275 int mCameraId; member
455 int mCameraId; member
580 int mCameraId; member
/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/libmediaplayerservice/
DStagefrightRecorder.cpp707 mCameraId = cameraId; in setParamVideoCameraId()
1617 "vid.fps", mCameraId, CAMCORDER_QUALITY_LOW); in clipVideoFrameRate()
1691 "duration", mCameraId, quality) * 1000000LL; in setDefaultProfileIfNecessary()
1694 "file.format", mCameraId, quality); in setDefaultProfileIfNecessary()
1697 "vid.codec", mCameraId, quality); in setDefaultProfileIfNecessary()
1700 "vid.bps", mCameraId, quality); in setDefaultProfileIfNecessary()
1703 "vid.fps", mCameraId, quality); in setDefaultProfileIfNecessary()
1706 "vid.width", mCameraId, quality); in setDefaultProfileIfNecessary()
1709 "vid.height", mCameraId, quality); in setDefaultProfileIfNecessary()
1712 "aud.codec", mCameraId, quality); in setDefaultProfileIfNecessary()
[all …]
/frameworks/av/media/libmedia/
DMediaProfiles.cpp441 profile->mCameraId = cameraId; in createCamcorderProfile()
457 if (levels->mCameraId == cameraId) { in findImageEncodingQualityLevels()
474 levels->mCameraId = cameraId; in addImageEncodingQualityLevel()
580 mRequiredProfileRefs[i].mCameraId = cameraIds[i]; in initRequiredProfileRefs()
626 int cameraId = mCamcorderProfiles[i]->mCameraId; in checkAndAddRequiredProfilesIfNecessary()
793 profile->mCameraId = 0; in createDefaultCamcorderTimeLapseQcifProfile()
811 profile->mCameraId = 0; in createDefaultCamcorderTimeLapse480pProfile()
848 profile->mCameraId = 0; in createDefaultCamcorderQcifProfile()
865 profile->mCameraId = 0; in createDefaultCamcorderCifProfile()
970 levels->mCameraId = 0; in createDefaultImageEncodingQualityLevels()
[all …]
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraOfflineSessionImpl.java70 private final String mCameraId; field in CameraOfflineSessionImpl
107 mCameraId = cameraId; in CameraOfflineSessionImpl()
337 new CaptureResult(mCameraId, result, request, resultExtras); in onResultReceived()
352 mCameraId, resultLocal, holder.getRequest(i), in onResultReceived()
376 final TotalCaptureResult resultAsCapture = new TotalCaptureResult(mCameraId, in onResultReceived()
397 mCameraId, resultLocal, holder.getRequest(i), in onResultReceived()
799 Log.w(TAG, "CameraOfflineSession on device " + mCameraId + " died unexpectedly"); in binderDied()
/frameworks/base/core/java/android/hardware/camera2/params/
DMandatoryStreamCombination.java942 private int mHwLevel, mCameraId; field in MandatoryStreamCombination.Builder
963 mCameraId = cameraId; in Builder()
970 CameraManager.isHiddenPhysicalCamera(Integer.toString(mCameraId)); in Builder()
1252 if ((mCameraId < 0) && !isExternalCamera()) { in getAvailableMandatoryStreamCombinations()
1679 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_2160P) ? in getMaxRecordingSize()
1681 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_1080P) ? in getMaxRecordingSize()
1683 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_720P) ? in getMaxRecordingSize()
1685 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_480P) ? in getMaxRecordingSize()
1687 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_QVGA) ? in getMaxRecordingSize()
1689 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_CIF) ? in getMaxRecordingSize()
[all …]
/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/
DCameraSessionStats.cpp235 mCameraId(cameraId), in CameraSessionStats()
334 mCameraId = id; in readFromParcel()
359 if ((err = parcel->writeString16(mCameraId)) != OK) { in writeToParcel()
/frameworks/av/camera/include/camera/
DCameraSessionStats.h106 String16 mCameraId; variable

12