Home
last modified time | relevance | path

Searched refs:mPrivacyItemController (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DPrivacyChipViewController.java44 private final PrivacyItemController mPrivacyItemController; field in PrivacyChipViewController
131 mPrivacyItemController = privacyItemController; in PrivacyChipViewController()
189 mAllIndicatorsEnabled = mPrivacyItemController.getAllIndicatorsAvailable(); in addPrivacyChipView()
190 mMicCameraIndicatorsEnabled = mPrivacyItemController.getMicCameraAvailable(); in addPrivacyChipView()
191 mPrivacyItemController.addCallback(mPicCallback); in addPrivacyChipView()
216 mPrivacyItemController.removeCallback(mPicCallback); in removeAll()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DMicPrivacyChipViewControllerTest.java83 private PrivacyItemController mPrivacyItemController; field in MicPrivacyChipViewControllerTest
111 mPrivacyItemController, mSensorPrivacyManager, mUserTracker); in setUp()
118 verify(mPrivacyItemController).addCallback(any()); in addPrivacyChipView_privacyChipViewPresent_addCallbackCalled()
138 verify(mPrivacyItemController, never()).addCallback(any()); in addPrivacyChipView_privacyChipViewNotPresent_addCallbackNotCalled()
159 verify(mPrivacyItemController).addCallback(mPicCallbackArgumentCaptor.capture()); in onPrivacyItemsChanged_micIsPartOfPrivacyItems_animateInCalled()
175 verify(mPrivacyItemController).addCallback(mPicCallbackArgumentCaptor.capture()); in onPrivacyItemsChanged_micIsPartOfPrivacyItemsTwice_animateInCalledOnce()
193 verify(mPrivacyItemController).addCallback(mPicCallbackArgumentCaptor.capture()); in onPrivacyItemsChanged_micIsNotPartOfPrivacyItems_animateOutCalled()
211 verify(mPrivacyItemController).addCallback(mPicCallbackArgumentCaptor.capture()); in onPrivacyItemsChanged_micIsNotPartOfPrivacyItemsTwice_animateOutCalledOnce()
231 verify(mPrivacyItemController).addCallback(mPicCallbackArgumentCaptor.capture()); in onPrivacyItemsChanged_qsTileNotifyUpdateRunnableExecuted()
DCameraPrivacyChipViewControllerTest.java83 private PrivacyItemController mPrivacyItemController; field in CameraPrivacyChipViewControllerTest
111 mPrivacyItemController, mSensorPrivacyManager, mUserTracker); in setUp()
118 verify(mPrivacyItemController).addCallback(any()); in addPrivacyChipView_privacyChipViewPresent_addCallbackCalled()
138 verify(mPrivacyItemController, never()).addCallback(any()); in addPrivacyChipView_privacyChipViewNotPresent_addCallbackNotCalled()
159 verify(mPrivacyItemController).addCallback(mPicCallbackArgumentCaptor.capture()); in onPrivacyItemsChanged_cameraIsPartOfPrivacyItems_animateInCalled()
175 verify(mPrivacyItemController).addCallback(mPicCallbackArgumentCaptor.capture()); in onPrivacyItemsChanged_cameraIsPartOfPrivacyItemsTwice_animateInCalledOnce()
193 verify(mPrivacyItemController).addCallback(mPicCallbackArgumentCaptor.capture()); in onPrivacyItemsChanged_cameraIsNotPartOfPrivacyItems_animateOutCalled()
211 verify(mPrivacyItemController).addCallback(mPicCallbackArgumentCaptor.capture()); in onPrivacyItemsChanged_cameraIsNotPartOfPrivacyItemsTwice_animateOutCalledOnce()
231 verify(mPrivacyItemController).addCallback(mPicCallbackArgumentCaptor.capture()); in onPrivacyItemsChanged_qsTileNotifyUpdateRunnableExecuted()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/
DPrivacyElementsProviderImpl.java67 private final PrivacyItemController mPrivacyItemController; field in PrivacyElementsProviderImpl
79 mPrivacyItemController = privacyItemController; in PrivacyElementsProviderImpl()
172 && mPrivacyItemController.getMicCameraAvailable()) { in verifyType()
175 && mPrivacyItemController.getLocationAvailable()) { in verifyType()
/packages/apps/TvSystemUI/src/com/android/systemui/tv/privacy/
DTvPrivacyChipsController.java118 private final PrivacyItemController mPrivacyItemController; field in TvPrivacyChipsController
139 mPrivacyItemController = privacyItemController; in TvPrivacyChipsController()
251 mPrivacyItemController.addCallback(this); in start()