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()
71 NotificationData.KeyguardEnvironment mEnvironment; field in NotificationFilterTest95 mDependency.injectTestDependency(NotificationData.KeyguardEnvironment.class, mEnvironment); in setUp()96 when(mEnvironment.isDeviceProvisioned()).thenReturn(true); in setUp()97 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in setUp()
113 @Mock private KeyguardEnvironment mEnvironment; field in NotificationEntryManagerTest224 mDependency.injectTestDependency(KeyguardEnvironment.class, mEnvironment); in setUp()393 when(mEnvironment.isDeviceProvisioned()).thenReturn(true); in testUpdateNotificationRanking()394 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking()411 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking_noChange()425 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking_rowNotInflatedYet()440 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in testUpdateNotificationRanking_pendingNotification()
53 private KeyguardEnvironment mEnvironment; field in NotificationData144 if (mEnvironment == null) { in getEnvironment()145 mEnvironment = Dependency.get(KeyguardEnvironment.class); in getEnvironment()147 return mEnvironment; in getEnvironment()
105 NotificationData.KeyguardEnvironment mEnvironment; field in NotificationDataTest132 mDependency.injectTestDependency(KeyguardEnvironment.class, mEnvironment); in setUp()133 when(mEnvironment.isDeviceProvisioned()).thenReturn(true); in setUp()134 when(mEnvironment.isNotificationForCurrentProfiles(any())).thenReturn(true); in setUp()218 when(mEnvironment.isNotificationForCurrentProfiles( in testGetNotificationsForCurrentUser_shouldFilterNonCurrentUserNotifications()220 when(mEnvironment.isNotificationForCurrentProfiles( in testGetNotificationsForCurrentUser_shouldFilterNonCurrentUserNotifications()