/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationCompatPolicyTests.java | 165 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 …]
|
D | CameraStateMonitorTests.java | 145 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
|
D | CameraCompatFreeformPolicyTests.java | 147 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/ |
D | CameraAccessControllerTest.java | 131 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/ |
D | CameraStateMonitor.java | 92 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
|
D | CameraCompatFreeformPolicy.java | 108 public boolean onCameraOpened(@NonNull ActivityRecord cameraActivity, in onCameraOpened() method in CameraCompatFreeformPolicy
|
D | DisplayRotationCompatPolicy.java | 293 public boolean onCameraOpened(@NonNull ActivityRecord cameraActivity, in onCameraOpened() method in DisplayRotationCompatPolicy
|
/frameworks/av/camera/aidl/android/hardware/ |
D | ICameraServiceListener.aidl | 107 …oneway void onCameraOpened(@utf8InCpp String cameraId, @utf8InCpp String clientPackageId, int devi… in onCameraOpened() method
|
/frameworks/av/services/camera/libcameraservice/hidl/ |
D | AidlCameraServiceListener.h | 64 virtual binder::Status onCameraOpened([[maybe_unused]] const std::string& /*cameraId*/, in onCameraOpened() function
|
/frameworks/av/services/camera/libcameraservice/aidl/ |
D | AidlCameraServiceListener.h | 62 binder::Status onCameraOpened([[maybe_unused]] const std::string& /*cameraId*/, in onCameraOpened() function
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraAgent.java | 112 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
|
D | AndroidCameraAgentImpl.java | 386 openCallback.onCameraOpened(cameraProxy); in handleMessage() 423 cbForward.onCameraOpened( in handleMessage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | CameraAvailabilityListener.kt | 52 override fun onCameraOpened(logicalCameraId: String, packageId: String) { in onCameraOpened() method
|
/frameworks/base/services/companion/java/com/android/server/companion/virtual/ |
D | CameraAccessController.java | 187 public void onCameraOpened(@NonNull String cameraId, @NonNull String packageName) { in onCameraOpened() method in CameraAccessController
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/ |
D | CameraBinderTest.java | 302 public void onCameraOpened(String cameraId, String clientPackageName, int deviceId) { in onCameraOpened() method in CameraBinderTest.DummyCameraServiceListener
|
/frameworks/base/services/profcollect/src/com/android/server/profcollect/ |
D | ProfcollectForwardingService.java | 379 public void onCameraOpened(String cameraId, String packageId) { in registerCameraOpenObserver()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | CameraAvailabilityListenerTest.kt | 297 cameraAvailabilityCallback.onCameraOpened(logicalCameraId, packageId) in openCamera()
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | CameraPermissionsTest.cpp | 63 virtual binder::Status onCameraOpened(const std::string& /*cameraId*/, in onCameraOpened() function in TestCameraServiceListener
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraManager.h | 137 virtual binder::Status onCameraOpened(const std::string&, const std::string&, int32_t) { in onCameraOpened() function
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraManager.java | 1811 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/ |
D | FlashNotificationsControllerTest.java | 483 mController.mTorchAvailabilityCallback.onCameraOpened(cameraId, ""); in simulateCameraOpened()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CameraStreamer.java | 1427 listener.onCameraOpened(CameraStreamer.this); in openCamera() 1542 public void onCameraOpened(CameraStreamer camera); in onCameraOpened() method
|
/frameworks/av/services/camera/libcameraservice/libcameraservice_fuzzer/ |
D | camera_service_fuzzer.cpp | 517 virtual binder::Status onCameraOpened(const std::string& /*cameraId*/, in onCameraOpened() function in TestCameraServiceListener
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | FlashNotificationsController.java | 188 public void onCameraOpened(@NonNull String cameraId, @NonNull String packageId) {
|
/frameworks/av/camera/tests/ |
D | CameraBinderTests.cpp | 118 virtual binder::Status onCameraOpened([[maybe_unused]] const std::string& /*cameraId*/, in onCameraOpened() function in TestCameraServiceListener
|