/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraExtensionCharacteristics.java | 195 private final String mCameraId; field in CameraExtensionCharacteristics 205 mCameraId = cameraId; in CameraExtensionCharacteristics() 830 final IBinder token = new Binder(TAG + "#getSupportedExtensions:" + mCameraId); in getSupportedExtensions() 840 boolean success = registerClient(mContext, token, extensionType, mCameraId, in getSupportedExtensions() 842 if (success && isExtensionSupported(mCameraId, extensionType, in getSupportedExtensions() 873 final IBinder token = new Binder(TAG + "#get:" + mCameraId); in get() 874 boolean success = registerClient(mContext, token, extension, mCameraId, in get() 881 if (!isExtensionSupported(mCameraId, extension, mCharacteristicsMapNative)) { in get() 887 extender.init(mCameraId, mCharacteristicsMapNative); in get() 889 extender.getAvailableCharacteristicsKeyValues(mCameraId); in get() [all …]
|
D | CameraManager.java | 2295 cameraIds.add(info.mCameraId); in extractCameraIdListLocked() 2321 extractedCameraIds.add(info.mCameraId); in extractConcurrentCameraIdListLocked() 2381 if (c.cameraId.equals(info.mCameraId) && c.deviceId == info.mDeviceId) { in cameraStatusesContains() 2812 postSingleUpdate(callback, executor, info.mCameraId, null /* physicalId */, status); in updateCallbackLocked() 2819 postSingleUpdate(callback, executor, info.mCameraId, unavailableId, in updateCallbackLocked() 2832 postSingleCameraOpenedUpdate(callback, executor, info.mCameraId, clientPackageId); in updateCallbackLocked() 2840 info.mCameraId, status, info.mDeviceId)); in onStatusChangedLocked() 2845 info.mCameraId, status, info.mDeviceId)); in onStatusChangedLocked() 2902 postSingleUpdate(callback, executor, info.mCameraId, null /* physicalId */, status); in onStatusChangedLocked() 2908 postSingleUpdate(callback, executor, info.mCameraId, unavailableId, in onStatusChangedLocked() [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | Camera2Client.cpp | 116 ALOGV("%s: Initializing client for camera %d", __FUNCTION__, mCameraId); in initializeImpl() 130 __FUNCTION__, mCameraId, strerror(-res), res); in initializeImpl() 147 std::string threadName = std::string("C2-") + std::to_string(mCameraId); in initializeImpl() 191 mCameraId); in initializeImpl() 206 ALOGI("Camera %d: Closed", mCameraId); in ~Camera2Client() 215 result << fmt::sprintf("Client2[%d] (%p) PID: %d, dump:\n", mCameraId, in dumpClient() 453 ALOGV("Camera %d: Shutting down", mCameraId); in disconnect() 475 ALOGV("Camera %d: Waiting for threads", mCameraId); in disconnect() 491 ALOGV("Camera %d: Deleting streams", mCameraId); in disconnect() 499 ALOGV("Camera %d: Disconnecting device", mCameraId); in disconnect() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraDeviceSetupImpl.java | 43 private final String mCameraId; field in CameraDeviceSetupImpl 52 mCameraId = cameraId; in CameraDeviceSetupImpl() 74 CameraMetadataNative defaultRequest = cameraService.createDefaultRequest(mCameraId, in createCaptureRequest() 82 CameraCaptureSession.SESSION_ID_NONE, mCameraId, in createCaptureRequest() 107 return cameraService.isSessionConfigurationWithParametersSupported(mCameraId, in isSessionConfigurationSupported() 137 mCameraId, mTargetSdkVersion, in getSessionCharacteristics() 143 return mCameraManager.prepareCameraCharacteristics(mCameraId, metadata, in getSessionCharacteristics() 163 mCameraManager.openCamera(mCameraId, executor, callback); in openCamera() 169 return mCameraId; in getId() 174 return mCameraId.hashCode(); in hashCode() [all …]
|
D | CameraOfflineSessionImpl.java | 70 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/utils/ |
D | CameraIdAndSessionConfiguration.java | 32 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/ |
D | FlashlightControllerImpl.java | 79 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() 244 if (TextUtils.equals(cameraId, mCameraId.get())) { [all …]
|
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/ |
D | CaptureResultWrapper.java | 37 private String mCameraId; field in CaptureResultWrapper 44 mCameraId = captureResult.getCameraId(); in CaptureResultWrapper() 52 mCameraId = parcel.readString(); in CaptureResultWrapper() 66 parcel.writeString(mCameraId); in writeToParcel() 87 return new CaptureResult(mCameraId, mResults, mRequest, mSequenceId, mFrameNumber); in toCaptureResult()
|
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/ |
D | CameraExtensionsProxyService.java | 1237 private final String mCameraId; 1241 mCameraId = cameraId; 1327 if (mMetadataVendorIdMap.containsKey(mCameraId)) { 1328 captureResults.setVendorId(mMetadataVendorIdMap.get(mCameraId)); 1484 private final String mCameraId; 1488 mCameraId = cameraId; 1517 captureRequests.add(initializeParcelable(request, requestId, mCameraId)); 1536 initializeParcelable(request, 0, mCameraId), 1567 private String mCameraId = null; 1634 mCameraId = cameraId; [all …]
|
/frameworks/base/core/java/android/companion/virtual/camera/ |
D | VirtualCamera.java | 60 private final String mCameraId; field in VirtualCamera 75 mCameraId = Objects.requireNonNull(cameraId); in VirtualCamera() 93 return mCameraId; in getId()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraServiceWatchdog.h | 62 mCameraId(cameraId), mPause(true), mMaxCycles(kMaxCycles), in CameraServiceWatchdog() 69 mCameraId(cameraId), mPause(true), mMaxCycles(maxCycles), in CameraServiceWatchdog() 93 mCameraId, cycles, cycleLength, mEnabled, mCameraServiceProxyWrapper); in watchThread() 153 std::string mCameraId; // Camera Id the watchdog belongs to variable
|
/frameworks/base/core/java/android/hardware/ |
D | CameraSessionStats.java | 52 private String mCameraId; field in CameraSessionStats 101 mCameraId = cameraId; in CameraSessionStats() 145 dest.writeString(mCameraId); in writeToParcel() 171 mCameraId = in.readString(); in readFromParcel() 204 return mCameraId; in getCameraId()
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingCameraManager.java | 174 private final String mCameraId; field in BlockingCameraManager.OpenListener 190 mCameraId = cameraId; in OpenListener() 196 mCameraId = cameraId; in OpenListener() 299 OPEN_TIME_OUT_MS, mCameraId)); in blockUntilOpen()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaFrameworkIntegrationTestRunner.java | 41 public static String mCameraId = "0"; field in MediaFrameworkIntegrationTestRunner 65 mCameraId = cameraId; in onCreate()
|
D | MediaRecorderStressTestRunner.java | 34 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/ |
D | CameraDeviceBinderTest.java | 78 private String mCameraId; field in CameraDeviceBinderTest 204 CameraCaptureSession.SESSION_ID_NONE, mCameraId, /*physicalCameraIdSet*/null); in createDefaultBuilder() 239 mCameraId = MediaFrameworkIntegrationTestRunner.mCameraId; in setUp() 248 mCameraUser = mUtils.getCameraService().connectDevice(mMockCb, mCameraId, in setUp() 252 assertNotNull(String.format("Camera %s was null", mCameraId), mCameraUser); in setUp() 258 Log.v(TAG, String.format("Camera %s connected", mCameraId)); in setUp() 417 CameraMetadataNative info = mUtils.getCameraService().getCameraCharacteristics(mCameraId, in testCameraCharacteristics()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | FlashNotificationsController.java | 173 private String mCameraId = null; field in FlashNotificationsController 178 if (mCameraId != null && mCameraId.equals(cameraId)) { 189 if (mCameraId != null && mCameraId.equals(cameraId)) { 196 if (mCameraId != null && mCameraId.equals(cameraId)) { 381 mCameraId = getCameraId(); in prepareForCameraFlashNotification() 515 if (mIsCameraFlashNotificationEnabled && mCameraId == null) { in startFlashNotification() 655 if (DEBUG) Log.d(LOG_TAG, "doCameraFlashNotification: " + on + " mCameraId : " + mCameraId); in doCameraFlashNotification() 656 if (mCameraManager != null && mCameraId != null) { in doCameraFlashNotification() 658 mCameraManager.setTorchMode(mCameraId, on); in doCameraFlashNotification()
|
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
D | CameraTooActivity.java | 211 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/ |
D | CameraEffectsRecordingSample.java | 41 private int mCameraId = 0; field in CameraEffectsRecordingSample 75 graphEnvironment.addReferences("cameraId", mCameraId); in createGraph()
|
/frameworks/av/camera/camera2/ |
D | ConcurrentCamera.cpp | 112 mCameraId = toStdString(id); in readFromParcel() 123 if ((err = parcel->writeString16(toString16(mCameraId))) != OK) { in writeToParcel()
|
/frameworks/av/media/libmedia/include/media/ |
D | MediaProfiles.h | 307 : mCameraId(0), in CamcorderProfile() 312 int mCameraId; member 492 int mCameraId; member 652 int mCameraId; member
|
/frameworks/av/camera/aidl/android/hardware/ |
D | CameraFeatureCombinationStats.aidl | 42 @utf8InCpp String mCameraId;
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 714 mCameraId = cameraId; in setParamVideoCameraId() 1656 "vid.fps", mCameraId, CAMCORDER_QUALITY_LOW); in clipVideoFrameRate() 1730 "duration", mCameraId, quality) * 1000000LL; in setDefaultProfileIfNecessary() 1733 "file.format", mCameraId, quality); in setDefaultProfileIfNecessary() 1736 "vid.codec", mCameraId, quality); in setDefaultProfileIfNecessary() 1739 "vid.bps", mCameraId, quality); in setDefaultProfileIfNecessary() 1742 "vid.fps", mCameraId, quality); in setDefaultProfileIfNecessary() 1745 "vid.width", mCameraId, quality); in setDefaultProfileIfNecessary() 1748 "vid.height", mCameraId, quality); in setDefaultProfileIfNecessary() 1751 "aud.codec", mCameraId, quality); in setDefaultProfileIfNecessary() [all …]
|
/frameworks/av/services/camera/virtualcamera/ |
D | VirtualCameraDevice.h | 99 return mCameraId; in getCameraId() 146 const std::string mCameraId; variable
|
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/serviceforward/ |
D | ForwardAdvancedExtender.java | 47 private String mCameraId; field in ForwardAdvancedExtender 87 mCameraId = cameraId; in init() 195 mIAdvancedExtender.init(mCameraId); in ensureIAdvancedExtenderImplAlive()
|