/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | BiometricCameraManagerImpl.java | 23 import android.hardware.camera2.CameraManager; 29 private final CameraManager mCameraManager; 33 private final CameraManager.AvailabilityCallback mCameraAvailabilityCallback = 34 new CameraManager.AvailabilityCallback() { 46 public BiometricCameraManagerImpl(@NonNull CameraManager cameraManager, in BiometricCameraManagerImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | CameraAvailabilityListener.kt | 22 import android.hardware.camera2.CameraManager 32 private val cameraManager: CameraManager, 42 private val availabilityCallback: CameraManager.AvailabilityCallback = 43 object : CameraManager.AvailabilityCallback() { 167 val manager = context.getSystemService(Context.CAMERA_SERVICE) as CameraManager in onApplyCameraProtection()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraUtils.java | 22 import android.hardware.camera2.CameraManager; 44 CameraManager manager = (CameraManager) context.getSystemService(Context.CAMERA_SERVICE); in isLegacyHAL()
|
/frameworks/ex/camera2/utils/tests/src/com/android/ex/camera2/utils/ |
D | Camera2DeviceTester.java | 21 import android.hardware.camera2.CameraManager; 59 CameraManager manager = in captureCameraDevice() 60 (CameraManager) mContext.getSystemService(Context.CAMERA_SERVICE); in captureCameraDevice()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | CameraStateMonitorTests.java | 31 import android.hardware.camera2.CameraManager; 61 private CameraManager mMockCameraManager; 66 private CameraManager.AvailabilityCallback mCameraAvailabilityCallback; 100 mMockCameraManager = mock(CameraManager.class); in setUp() 105 any(Executor.class), any(CameraManager.AvailabilityCallback.class)); in setUp() 108 when(mContext.getSystemService(CameraManager.class)).thenReturn(mMockCameraManager); in setUp()
|
D | CameraCompatFreeformPolicyTests.java | 56 import android.hardware.camera2.CameraManager; 90 private CameraManager mMockCameraManager; 94 private CameraManager.AvailabilityCallback mCameraAvailabilityCallback; 111 mMockCameraManager = mock(CameraManager.class); in setUp() 116 any(Executor.class), any(CameraManager.AvailabilityCallback.class)); in setUp() 118 when(mContext.getSystemService(CameraManager.class)).thenReturn(mMockCameraManager); in setUp()
|
D | DisplayRotationCompatPolicyTests.java | 59 import android.hardware.camera2.CameraManager; 91 private CameraManager mMockCameraManager; 97 private CameraManager.AvailabilityCallback mCameraAvailabilityCallback; 113 mMockCameraManager = mock(CameraManager.class); in setUp() 118 any(Executor.class), any(CameraManager.AvailabilityCallback.class)); in setUp() 121 when(mContext.getSystemService(CameraManager.class)).thenReturn(mMockCameraManager); in setUp()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | CameraStateMonitor.java | 24 import android.hardware.camera2.CameraManager; 60 private final CameraManager mCameraManager; 89 private final CameraManager.AvailabilityCallback mAvailabilityCallback = 90 new CameraManager.AvailabilityCallback() { 111 mCameraManager = mWmService.mContext.getSystemService(CameraManager.class); in CameraStateMonitor()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | CameraAvailabilityListenerTest.kt | 6 import android.hardware.camera2.CameraManager 67 private val cameraManager = mock<CameraManager>() 70 private lateinit var cameraAvailabilityCallback: CameraManager.AvailabilityCallback 87 context.addMockSystemService(CameraManager::class.java, cameraManager) in setUp() 92 any(CameraManager.AvailabilityCallback::class.java) in setUp() 96 cameraAvailabilityCallback = it.arguments[1] as CameraManager.AvailabilityCallback in setUp()
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingCameraManager.java | 20 import android.hardware.camera2.CameraManager; 92 protected final CameraManager mManager; 101 public BlockingCameraManager(CameraManager manager) { in BlockingCameraManager() 194 OpenListener(CameraManager manager, String cameraId, CameraDevice.StateCallback listener, in OpenListener()
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraDeviceSetupImpl.java | 27 import android.hardware.camera2.CameraManager; 44 private final CameraManager mCameraManager; 50 public CameraDeviceSetupImpl(@NonNull String cameraId, @NonNull CameraManager cameraManager, in CameraDeviceSetupImpl() 138 CameraManager.getRotationOverride(mContext), in getSessionCharacteristics()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | FlashlightControllerImpl.java | 23 import android.hardware.camera2.CameraManager; 63 private final CameraManager mCameraManager; 85 CameraManager cameraManager, in FlashlightControllerImpl() 238 private final CameraManager.TorchCallback mTorchCallback = 239 new CameraManager.TorchCallback() {
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | ExtensionSessionStatsAggregator.java | 21 import android.hardware.camera2.CameraManager; 125 mStats.key = CameraManager.reportExtensionSessionStats(mStats); in commit()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | FlashlightControllerImplTest.kt | 21 import android.hardware.camera2.CameraManager 56 private lateinit var cameraManager: CameraManager 158 val captor = argumentCaptor<CameraManager.TorchCallback>() in testCallbackRemovedWhileDispatching_doesntCrash()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | Camera2Source.java | 26 import android.hardware.camera2.CameraManager; 59 private CameraManager mCameraManager; 75 class MyCameraListener extends CameraManager.AvailabilityCallback { 115 mCameraManager = (CameraManager) ctx.getSystemService(Context.CAMERA_SERVICE); in Camera2Source()
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | CameraAccessController.java | 30 import android.hardware.camera2.CameraManager; 45 class CameraAccessController extends CameraManager.AvailabilityCallback implements AutoCloseable { 54 private final CameraManager mCameraManager; 95 mCameraManager = mContext.getSystemService(CameraManager.class); in CameraAccessController()
|
/frameworks/base/services/profcollect/src/com/android/server/profcollect/ |
D | ProfcollectForwardingService.java | 28 import android.hardware.camera2.CameraManager; 376 CameraManager cm = getContext().getSystemService(CameraManager.class); in registerCameraOpenObserver() 377 cm.registerAvailabilityCallback(new CameraManager.AvailabilityCallback() { in registerCameraOpenObserver()
|
/frameworks/ex/camera2/extensions/eyesFreeVidSample/src/android/camera/extensions/impl/service/ |
D | EyesFreeVidService.java | 33 import android.hardware.camera2.CameraManager; 65 CameraManager mCameraManager; 95 mCameraManager = getSystemService(CameraManager.class); in onInitializeAdvancedExtension() 110 public AdvancedExtenderEyesFreeImpl(@NonNull CameraManager cameraManager) { in AdvancedExtenderEyesFreeImpl() 327 public AdvancedExtenderImpl(@NonNull CameraManager cameraManager) { in AdvancedExtenderImpl()
|
/frameworks/ex/camera2/extensions/service_based_sample/extensions_service/src/com/android/oemextensions/ |
D | ImageCaptureExtenderImplStub.java | 22 import android.hardware.camera2.CameraManager; 182 CameraManager cameraManager = mContext.getSystemService(CameraManager.class); in init()
|
D | PreviewExtenderImplStub.java | 23 import android.hardware.camera2.CameraManager; 190 CameraManager cameraManager = mContext.getSystemService(CameraManager.class); in init()
|
D | AdvancedExtenderImplStub.java | 24 import android.hardware.camera2.CameraManager; 80 CameraManager cameraManager = mContext.getSystemService(CameraManager.class); in init()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | FlashNotificationsController.java | 40 import android.hardware.camera2.CameraManager; 172 private CameraManager mCameraManager; 175 private final CameraManager.TorchCallback mTorchCallback = new CameraManager.TorchCallback() { 185 final CameraManager.AvailabilityCallback mTorchAvailabilityCallback = 186 new CameraManager.AvailabilityCallback() { 377 mCameraManager = mContext.getSystemService(CameraManager.class); in prepareForCameraFlashNotification() 875 mCameraManager = mContext.getSystemService(CameraManager.class); in onReceive()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | FlashNotificationsControllerTest.java | 51 import android.hardware.camera2.CameraManager; 116 private CameraManager mCameraManager; 130 private final CameraManager.TorchCallback mTorchCallback = new CameraManager.TorchCallback() { 172 mCameraManager = mTestableContext.getSystemService(CameraManager.class); in setUp()
|
/frameworks/base/core/java/android/hardware/camera2/extension/ |
D | AdvancedExtender.java | 24 import android.hardware.camera2.CameraManager; 59 private final CameraManager mCameraManager; 70 public AdvancedExtender(@NonNull CameraManager cameraManager) { in AdvancedExtender()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | CameraView.java | 23 import android.hardware.camera2.CameraManager; 54 CameraManager mCameraManager; 88 mCameraManager = (CameraManager) mContext.getSystemService(mContext.CAMERA_SERVICE); in CameraView()
|