Searched refs:notifyCamOpChanged (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/ |
D | CameraPrivacyLightControllerTest.java | 235 notifyCamOpChanged(10101, "pkg1", true); in testWillOnlyOpenOnceWhenTwoPackagesStartOp() 237 notifyCamOpChanged(10102, "pkg2", true); in testWillOnlyOpenOnceWhenTwoPackagesStartOp() 244 notifyCamOpChanged(10101, "pkg1", true); in testWillCloseOnFinishOp() 246 notifyCamOpChanged(10101, "pkg1", false); in testWillCloseOnFinishOp() 261 notifyCamOpChanged(uids.get(i), "pkg" + (int) uids.get(i), true); in testWillCloseOnFinishOpForAllPackages() 268 notifyCamOpChanged(uids.get(i), "pkg" + (int) uids.get(i), false); in testWillCloseOnFinishOpForAllPackages() 273 notifyCamOpChanged(lastUid, "pkg" + lastUid, false); in testWillCloseOnFinishOpForAllPackages() 284 notifyCamOpChanged(10101, exemptPackage, true); in testWontOpenForExemptedPackage() 315 notifyCamOpChanged(10001, "pkg", false); in testALSListenerNotRegisteredUntilCameraIsOpened() 342 private void notifyCamOpChanged(int uid, String pkg, boolean active) { in notifyCamOpChanged() method in CameraPrivacyLightControllerTest
|