Home
last modified time | relevance | path

Searched refs:isNetworkConnected (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/
DNtpTimeHelper.java105 private boolean isNetworkConnected() { in isNetworkConnected() method in NtpTimeHelper
115 if (!isNetworkConnected()) { in retrieveAndInjectNtpTime()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java339 final boolean isConnected = mDeviceIdleController.isNetworkConnected(); in testUpdateConnectivityState()
342 assertEquals(isConnected, mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
348 assertFalse(mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
355 assertTrue(mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
360 assertFalse(mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
369 assertFalse(mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
376 assertTrue(mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
381 assertTrue(mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
387 assertFalse(mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java2499 boolean isNetworkConnected() { in isNetworkConnected() method in DeviceIdleController