Home
last modified time | relevance | path

Searched refs:onCameraOpened (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationCompatPolicyTests.java165 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testOpenedCameraInSplitScreen_showToast()
179 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testOpenedCameraInSplitScreen_orientationNotFixed_doNotShowToast()
210 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testOnScreenRotationAnimationFinished_notFullscreen_doNotShowToast()
221 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testOnScreenRotationAnimationFinished_orientationNotFixed_doNotShowToast()
232 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testOnScreenRotationAnimationFinished_showToast()
246 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testTreatmentNotEnabled_noForceRotationOrRefresh()
260 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testTreatmentDisabledViaDeviceConfig_noForceRotationOrRefresh()
272 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testTreatmentDisabledPerApp_noForceRotationOrRefresh()
284 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testMultiWindowMode_returnUnspecified_noForceRotationOrRefresh()
301 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testOrientationLocked_noForceRotationOrRefresh()
[all …]
DCameraStateMonitorTests.java145 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testOnCameraOpened_listenerAdded_notifiesCameraOpened()
154 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testOnCameraOpened_listenerReturnsFalse_doesNotNotifyCameraClosed()
165 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testOnCameraOpened_listenerReturnsTrue_notifyCameraClosed()
176 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testOnCameraOpened_listenerCannotCloseYet_notifyCameraClosedAgain()
186 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testReconnectedToDifferentCamera_notifiesListener()
188 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_2, TEST_PACKAGE_1); in testReconnectedToDifferentCamera_notifiesListener()
196 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testDifferentAppConnectedToCamera_notifiesListener()
198 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_2); in testDifferentAppConnectedToCamera_notifiesListener()
206 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testCameraAlreadyClosed_notifiesListenerOnce()
252 public boolean onCameraOpened(@NonNull ActivityRecord cameraActivity, in onCameraOpened() method in CameraStateMonitorTests.FakeCameraCompatStateListener
DCameraCompatFreeformPolicyTests.java147 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testFullscreen_doesNotActivateCameraCompatMode()
168 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testCameraConnected_activatesCameraCompatMode()
178 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testCameraReconnected_cameraCompatModeAndRefresh()
180 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testCameraReconnected_cameraCompatModeAndRefresh()
192 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testReconnectedToDifferentCamera_activatesCameraCompatModeAndRefresh()
194 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_2, TEST_PACKAGE_1); in testReconnectedToDifferentCamera_activatesCameraCompatModeAndRefresh()
206 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testCameraDisconnected_deactivatesCameraCompatMode()
219 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_2); in testCameraOpenedForDifferentPackage_notInCameraCompatMode()
251 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testOnActivityConfigurationChanging_refreshDisabledViaFlag_noRefresh()
264 mCameraAvailabilityCallback.onCameraOpened(CAMERA_ID_1, TEST_PACKAGE_1); in testOnActivityConfigurationChanging_cycleThroughStopDisabled()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/companion/virtual/
DCameraAccessControllerTest.java131 mController.onCameraOpened(FRONT_CAMERA, TEST_APP_PACKAGE); in onCameraOpened_uidNotRunning_noCameraBlocking()
139 mController.onCameraOpened(FRONT_CAMERA, TEST_APP_PACKAGE); in onCameraOpened_uidRunning_cameraBlocked()
148 mController.onCameraOpened(FRONT_CAMERA, TEST_APP_PACKAGE); in onCameraClosed_injectionWasActive_cameraUnblocked()
162 mController.onCameraOpened(FRONT_CAMERA, TEST_APP_PACKAGE); in onCameraClosed_otherCameraClosed_cameraNotUnblocked()
180 mController.onCameraOpened(FRONT_CAMERA, TEST_APP_PACKAGE); in onCameraClosed_twoCamerasBlocked_correctCameraUnblocked()
181 mController.onCameraOpened(REAR_CAMERA, OTHER_APP_PACKAGE); in onCameraClosed_twoCamerasBlocked_correctCameraUnblocked()
202 mController.onCameraOpened(FRONT_CAMERA, TEST_APP_PACKAGE); in onInjectionError_callbackFires()
216 mController.onCameraOpened(FRONT_CAMERA, TEST_APP_PACKAGE); in twoCameraAccesses_onlyOneOnVirtualDisplay_callbackFiresForCorrectUid()
217 mController.onCameraOpened(REAR_CAMERA, OTHER_APP_PACKAGE); in twoCameraAccesses_onlyOneOnVirtualDisplay_callbackFiresForCorrectUid()
232 mController.onCameraOpened(FRONT_CAMERA, TEST_APP_PACKAGE); in twoCameraAccessesBySameUid_secondOnVirtualDisplay_noCallbackButCameraCanBlocked()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DCameraStateMonitor.java92 public void onCameraOpened(@NonNull String cameraId, @NonNull String packageId) {
168 boolean activeCameraTreatment = listener.onCameraOpened( in notifyListenersCameraOpened()
278 boolean onCameraOpened(@NonNull ActivityRecord cameraActivity, @NonNull String cameraId); in onCameraOpened() method
DCameraCompatFreeformPolicy.java108 public boolean onCameraOpened(@NonNull ActivityRecord cameraActivity, in onCameraOpened() method in CameraCompatFreeformPolicy
DDisplayRotationCompatPolicy.java293 public boolean onCameraOpened(@NonNull ActivityRecord cameraActivity, in onCameraOpened() method in DisplayRotationCompatPolicy
/frameworks/av/camera/aidl/android/hardware/
DICameraServiceListener.aidl107 …oneway void onCameraOpened(@utf8InCpp String cameraId, @utf8InCpp String clientPackageId, int devi… in onCameraOpened() method
/frameworks/av/services/camera/libcameraservice/hidl/
DAidlCameraServiceListener.h64 virtual binder::Status onCameraOpened([[maybe_unused]] const std::string& /*cameraId*/, in onCameraOpened() function
/frameworks/av/services/camera/libcameraservice/aidl/
DAidlCameraServiceListener.h62 binder::Status onCameraOpened([[maybe_unused]] const std::string& /*cameraId*/, in onCameraOpened() function
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraAgent.java112 public void onCameraOpened(final CameraProxy camera) { in onCameraOpened() method in CameraAgent.CameraOpenCallbackForward
116 mCallback.onCameraOpened(camera); in onCameraOpened()
239 public void onCameraOpened(CameraProxy camera); in onCameraOpened() method
DAndroidCameraAgentImpl.java386 openCallback.onCameraOpened(cameraProxy); in handleMessage()
423 cbForward.onCameraOpened( in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DCameraAvailabilityListener.kt52 override fun onCameraOpened(logicalCameraId: String, packageId: String) { in onCameraOpened() method
/frameworks/base/services/companion/java/com/android/server/companion/virtual/
DCameraAccessController.java187 public void onCameraOpened(@NonNull String cameraId, @NonNull String packageName) { in onCameraOpened() method in CameraAccessController
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraBinderTest.java302 public void onCameraOpened(String cameraId, String clientPackageName, int deviceId) { in onCameraOpened() method in CameraBinderTest.DummyCameraServiceListener
/frameworks/base/services/profcollect/src/com/android/server/profcollect/
DProfcollectForwardingService.java379 public void onCameraOpened(String cameraId, String packageId) { in registerCameraOpenObserver()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DCameraAvailabilityListenerTest.kt297 cameraAvailabilityCallback.onCameraOpened(logicalCameraId, packageId) in openCamera()
/frameworks/av/services/camera/libcameraservice/tests/
DCameraPermissionsTest.cpp63 virtual binder::Status onCameraOpened(const std::string& /*cameraId*/, in onCameraOpened() function in TestCameraServiceListener
/frameworks/av/camera/ndk/impl/
DACameraManager.h137 virtual binder::Status onCameraOpened(const std::string&, const std::string&, int32_t) { in onCameraOpened() function
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java1811 public void onCameraOpened(@NonNull String cameraId, @NonNull String packageId) { in onCameraOpened() method in CameraManager.AvailabilityCallback
2415 public void onCameraOpened(String id, String clientPackageId, int deviceId) { in getCameraIdListNoLazy()
2715 executor.execute(() -> callback.onCameraOpened(id, packageId)); in postSingleCameraOpenedUpdate()
3170 public void onCameraOpened(String cameraId, String clientPackageId, int deviceId) { in onCameraOpened() method in CameraManager.CameraManagerGlobal
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DFlashNotificationsControllerTest.java483 mController.mTorchAvailabilityCallback.onCameraOpened(cameraId, ""); in simulateCameraOpened()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java1427 listener.onCameraOpened(CameraStreamer.this); in openCamera()
1542 public void onCameraOpened(CameraStreamer camera); in onCameraOpened() method
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/
Dcamera_service_fuzzer.cpp517 virtual binder::Status onCameraOpened(const std::string& /*cameraId*/, in onCameraOpened() function in TestCameraServiceListener
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DFlashNotificationsController.java188 public void onCameraOpened(@NonNull String cameraId, @NonNull String packageId) {
/frameworks/av/camera/tests/
DCameraBinderTests.cpp118 virtual binder::Status onCameraOpened([[maybe_unused]] const std::string& /*cameraId*/, in onCameraOpened() function in TestCameraServiceListener

12