Home
last modified time | relevance | path

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

12

/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.cpp110 ALOGV("%s: Initializing client for camera %d", __FUNCTION__, mCameraId); in initializeImpl()
124 __FUNCTION__, mCameraId, strerror(-res), res); in initializeImpl()
143 mCameraId); in initializeImpl()
147 mCameraId); in initializeImpl()
152 mCameraId); in initializeImpl()
157 mCameraId); in initializeImpl()
163 mCameraId); in initializeImpl()
168 mCameraId); in initializeImpl()
174 mCameraId); in initializeImpl()
189 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/core/java/android/hardware/camera2/
DCameraExtensionCharacteristics.java163 private final String mCameraId; field in CameraExtensionCharacteristics
172 mCameraId = cameraId; in CameraExtensionCharacteristics()
565 if (isExtensionSupported(mCameraId, extensionType, mChars)) { in getSupportedExtensions()
609 if (!isExtensionSupported(mCameraId, extension, mChars)) { in getExtensionSupportedSizes()
617 extender.init(mCameraId); in getExtensionSupportedSizes()
619 extender.getSupportedPreviewOutputResolutions(mCameraId), in getExtensionSupportedSizes()
624 extenders.first.init(mCameraId, mChars.getNativeMetadata()); in getExtensionSupportedSizes()
666 if (!isExtensionSupported(mCameraId, extension, mChars)) { in getExtensionSupportedSizes()
681 extender.init(mCameraId); in getExtensionSupportedSizes()
683 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightControllerImpl.java79 private final AtomicReference<String> mCameraId; field in FlashlightControllerImpl
93 mCameraId = new AtomicReference<>(null); in FlashlightControllerImpl()
111 if (!mHasFlashlight || mCameraId.get() != null) return; in tryInitCamera()
113 mCameraId.set(getCameraId()); in tryInitCamera()
119 if (mCameraId.get() != null) { in tryInitCamera()
126 if (mCameraId.get() == null) { in setFlashlight()
130 if (mCameraId.get() == null) return; in setFlashlight()
134 mCameraManager.setTorchMode(mCameraId.get(), enabled); in setFlashlight()
159 if (mCameraId.get() == null) { in addCallback()
242 if (TextUtils.equals(cameraId, mCameraId.get())) {
[all …]
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/
DCameraExtensionsProxyService.java831 private final String mCameraId; field in CameraExtensionsProxyService.CaptureCallbackStub
835 mCameraId = cameraId; in CaptureCallbackStub()
907 if (mMetadataVendorIdMap.containsKey(mCameraId)) { in onCaptureCompleted()
908 captureResults.setVendorId(mMetadataVendorIdMap.get(mCameraId)); in onCaptureCompleted()
1055 private final String mCameraId; field in CameraExtensionsProxyService.RequestProcessorStub
1059 mCameraId = cameraId; in RequestProcessorStub()
1088 captureRequests.add(initializeParcelable(request, requestId, mCameraId)); in submit()
1107 initializeParcelable(request, 0, mCameraId), in setRepeating()
1137 private String mCameraId = null; field in CameraExtensionsProxyService.SessionProcessorImplStub
1173 mCameraId = cameraId; in initSession()
[all …]
/frameworks/base/core/java/android/hardware/
DCameraSessionStats.java50 private String mCameraId; field in CameraSessionStats
86 mCameraId = cameraId; in CameraSessionStats()
123 dest.writeString(mCameraId); in writeToParcel()
142 mCameraId = in.readString(); in readFromParcel()
165 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()
249 assertNotNull(String.format("Camera %s was null", mCameraId), mCameraUser); in setUp()
255 Log.v(TAG, String.format("Camera %s connected", mCameraId)); in setUp()
420 CameraMetadataNative info = mUtils.getCameraService().getCameraCharacteristics(mCameraId, in testCameraCharacteristics()
/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/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/include/media/
DMediaProfiles.h307 : mCameraId(0), in CamcorderProfile()
312 int mCameraId; member
492 int mCameraId; member
652 int mCameraId; member
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp711 mCameraId = cameraId; in setParamVideoCameraId()
1636 "vid.fps", mCameraId, CAMCORDER_QUALITY_LOW); in clipVideoFrameRate()
1710 "duration", mCameraId, quality) * 1000000LL; in setDefaultProfileIfNecessary()
1713 "file.format", mCameraId, quality); in setDefaultProfileIfNecessary()
1716 "vid.codec", mCameraId, quality); in setDefaultProfileIfNecessary()
1719 "vid.bps", mCameraId, quality); in setDefaultProfileIfNecessary()
1722 "vid.fps", mCameraId, quality); in setDefaultProfileIfNecessary()
1725 "vid.width", mCameraId, quality); in setDefaultProfileIfNecessary()
1728 "vid.height", mCameraId, quality); in setDefaultProfileIfNecessary()
1731 "aud.codec", mCameraId, quality); in setDefaultProfileIfNecessary()
[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/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/av/media/libmedia/
DMediaProfiles.cpp658 profile->mCameraId = cameraId; in createCamcorderProfile()
674 if (levels->mCameraId == cameraId) { in findImageEncodingQualityLevels()
691 levels->mCameraId = cameraId; in addImageEncodingQualityLevel()
797 mRequiredProfileRefs[i].mCameraId = cameraIds[i]; in initRequiredProfileRefs()
843 int cameraId = mCamcorderProfiles[i]->mCameraId; in checkAndAddRequiredProfilesIfNecessary()
1010 profile->mCameraId = 0; in createDefaultCamcorderTimeLapseQcifProfile()
1028 profile->mCameraId = 0; in createDefaultCamcorderTimeLapse480pProfile()
1065 profile->mCameraId = 0; in createDefaultCamcorderQcifProfile()
1082 profile->mCameraId = 0; in createDefaultCamcorderCifProfile()
1187 levels->mCameraId = 0; in createDefaultImageEncodingQualityLevels()
[all …]
/frameworks/av/camera/include/camera/camera2/
DConcurrentCamera.h41 std::string mCameraId; member
/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/base/core/java/android/hardware/camera2/params/
DMandatoryStreamCombination.java1292 private int mHwLevel, mCameraId; field in MandatoryStreamCombination.Builder
1314 mCameraId = cameraId; in Builder()
1321 CameraManager.isHiddenPhysicalCamera(Integer.toString(mCameraId)); in Builder()
1788 if ((mCameraId < 0) && !isExternalCamera()) { in getAvailableMandatoryStreamCombinations()
2236 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_2160P) ? in getMaxRecordingSize()
2238 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_1080P) ? in getMaxRecordingSize()
2240 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_720P) ? in getMaxRecordingSize()
2242 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_480P) ? in getMaxRecordingSize()
2244 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_QVGA) ? in getMaxRecordingSize()
2246 CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_CIF) ? in getMaxRecordingSize()
[all …]
/frameworks/av/camera/
DCameraSessionStats.cpp273 mCameraId(cameraId), in CameraSessionStats()
392 mCameraId = id; in readFromParcel()
420 if ((err = parcel->writeString16(mCameraId)) != OK) { in writeToParcel()
/frameworks/av/camera/include/camera/
DCameraSessionStats.h119 String16 mCameraId; variable

12