Home
last modified time | relevance | path

Searched refs:isNotificationEnabled (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DLingerMonitor.java132 public boolean isNotificationEnabled(NetworkAgentInfo fromNai, NetworkAgentInfo toNai) { in isNotificationEnabled() method in LingerMonitor
290 if (!isNotificationEnabled(fromNai, toNai)) return; in noteLingerDefaultNetwork()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DLingerMonitorTest.java113 assertTrue(mMonitor.isNotificationEnabled(nai1, nai2)); in testTransitions()
114 assertFalse(mMonitor.isNotificationEnabled(nai2, nai1)); in testTransitions()