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.java391 final boolean isConnected = mDeviceIdleController.isNetworkConnected(); in testUpdateConnectivityState()
394 assertEquals(isConnected, mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
400 assertFalse(mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
407 assertTrue(mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
412 assertFalse(mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
421 assertFalse(mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
428 assertTrue(mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
433 assertTrue(mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
439 assertFalse(mDeviceIdleController.isNetworkConnected()); in testUpdateConnectivityState()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java2659 boolean isNetworkConnected() { in isNetworkConnected() method in DeviceIdleController