Searched refs:mWorkController (Results 1 – 1 of 1) sorted by relevance
84 private RedactNotificationPreferenceController mWorkController; field in RedactNotificationPreferenceControllerTest113 mWorkController = new RedactNotificationPreferenceController(mMockContext, in setUp()116 mWorkPreference.setKey(mWorkController.getPreferenceKey()); in setUp()118 mWorkController.getPreferenceKey())).thenReturn(mWorkPreference); in setUp()119 assertThat(mWorkController.mProfileUserId).isEqualTo(10); in setUp()138 assertThat(mWorkController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noSecureLockscreen()146 mWorkController = new RedactNotificationPreferenceController(mMockContext, in getAvailabilityStatus_noWorkProfile()158 assertThat(mWorkController.getAvailabilityStatus()).isEqualTo(CONDITIONALLY_UNAVAILABLE); in getAvailabilityStatus_noWorkProfile()170 mWorkController.displayPreference(mScreen); in displayPreference_adminSaysNoRedaction()172 mScreen.findPreference(mWorkController.getPreferenceKey()); in displayPreference_adminSaysNoRedaction()[all …]