Searched refs:mEnvironment (Results 1 – 5 of 5) sorted by relevance
47 private NotificationData.KeyguardEnvironment mEnvironment; field in NotificationFilter56 if (mEnvironment == null) { in getEnvironment()57 mEnvironment = Dependency.get(NotificationData.KeyguardEnvironment.class); in getEnvironment()59 return mEnvironment; in getEnvironment()
72 NotificationData.KeyguardEnvironment mEnvironment; field in NotificationFilterTest96 mDependency.injectTestDependency(NotificationData.KeyguardEnvironment.class, mEnvironment); in setUp()97 when(mEnvironment.isDeviceProvisioned()).thenReturn(true); in setUp()98 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in setUp()
115 @Mock private KeyguardEnvironment mEnvironment; field in NotificationEntryManagerTest226 mDependency.injectTestDependency(KeyguardEnvironment.class, mEnvironment); in setUp()396 when(mEnvironment.isDeviceProvisioned()).thenReturn(true); in testUpdateNotificationRanking()397 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking()414 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking_noChange()428 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking_rowNotInflatedYet()443 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking_pendingNotification()
53 private KeyguardEnvironment mEnvironment; field in NotificationData141 if (mEnvironment == null) { in getEnvironment()142 mEnvironment = Dependency.get(KeyguardEnvironment.class); in getEnvironment()144 return mEnvironment; in getEnvironment()
106 NotificationData.KeyguardEnvironment mEnvironment; field in NotificationDataTest133 mDependency.injectTestDependency(KeyguardEnvironment.class, mEnvironment); in setUp()134 when(mEnvironment.isDeviceProvisioned()).thenReturn(true); in setUp()135 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in setUp()219 when(mEnvironment.isNotificationForCurrentProfiles( in testGetNotificationsForCurrentUser_shouldFilterNonCurrentUserNotifications()221 when(mEnvironment.isNotificationForCurrentProfiles( in testGetNotificationsForCurrentUser_shouldFilterNonCurrentUserNotifications()