Home
last modified time | relevance | path

Searched refs:mRecentMicrophoneAccesses (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/privacy/
DMicrophoneRecentAccessesPreferenceControllerTest.java76 private RecentAppOpsAccess mRecentMicrophoneAccesses; field in MicrophoneRecentAccessesPreferenceControllerTest
96 mRecentMicrophoneAccesses, RECENT_APPS_MAX_COUNT, mMockSensorPrivacyManager); in setUp()
140 when(mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ false)) in refreshUi_noRecentRequests_messageDisplayed()
150 when(mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ false)) in refreshUi_noRecentRequests_exceptForSomeRecentSystemAppRequests_showsViewAll()
152 when(mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ true)) in refreshUi_noRecentRequests_exceptForSomeRecentSystemAppRequests_showsViewAll()
165 when(mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ true)) in refreshUi_clickViewAll_launchesFragment()
177 when(mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ false)) in refreshUi_noRecentRequests_includingNoSystemAppRequests_doesNotShowViewAll()
179 when(mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ true)) in refreshUi_noRecentRequests_includingNoSystemAppRequests_doesNotShowViewAll()
196 when(mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ false)) in refreshUi_someRecentRequests_displaysAppInformation()
210 when(mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ false)) in refreshUi_someRecentRequests_preferencesAddedToScreen_capsAtMax()
[all …]
DMicrophoneRecentAccessViewAllPreferenceControllerTest.java73 private RecentAppOpsAccess mRecentMicrophoneAccesses; field in MicrophoneRecentAccessViewAllPreferenceControllerTest
89 mRecentMicrophoneAccesses); in setUp()
97 verify(mRecentMicrophoneAccesses, never()).getAppListSorted(/* showSystem= */ true); in updateState_noSystemAppsByDefault()
104 verify(mRecentMicrophoneAccesses).getAppListSorted(/* showSystem= */ true); in setShowSystem_showsSystemApps()
111 when(mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ false)) in refreshUi_noRecentRequests_showsEmptyState()
128 when(mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ false)) in refreshUi_someRecentRequests_displaysAppInformation()
142 when(mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ false)) in refreshUi_recentRequests_launchMicrophoneSettings()
163 when(mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ false)) in refreshUi_newRecentRequests_listIsUpdated()
172 when(mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ false)) in refreshUi_newRecentRequests_listIsUpdated()
/packages/apps/Car/Settings/src/com/android/car/settings/privacy/
DMicrophoneRecentAccessViewAllPreferenceController.java38 private final RecentAppOpsAccess mRecentMicrophoneAccesses; field in MicrophoneRecentAccessViewAllPreferenceController
44 mRecentMicrophoneAccesses = RecentAppOpsAccess.createForMicrophone(context); in MicrophoneRecentAccessViewAllPreferenceController()
52 mRecentMicrophoneAccesses = recentMicrophoneAccesses; in MicrophoneRecentAccessViewAllPreferenceController()
79 return mRecentMicrophoneAccesses.getAppListSorted(mShowSystem); in loadData()
DMicrophoneRecentAccessesPreferenceController.java48 private final RecentAppOpsAccess mRecentMicrophoneAccesses; field in MicrophoneRecentAccessesPreferenceController
66 mRecentMicrophoneAccesses = recentMicrophoneAccesses; in MicrophoneRecentAccessesPreferenceController()
102 return mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ false); in loadData()
106 return !mRecentMicrophoneAccesses.getAppListSorted(/* showSystem= */ true).isEmpty(); in hasAtLeastOneRecentAppAccess()