Home
last modified time | relevance | path

Searched refs:isConnectedToNetwork (Results 1 – 7 of 7) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/analytics/
DNetworkTypeLoggerTest.java84 when(mUtils.isConnectedToNetwork(mContext)).thenReturn(false); in test_NetworkNotConnected()
96 when(mUtils.isConnectedToNetwork(mContext)).thenReturn(true); in test_NetworkTypeWifi()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java171 assertTrue(mUtils.isConnectedToNetwork(mockContext)); in testIsConnectedToNetwork()
177 assertTrue(mUtils.isConnectedToNetwork(mockContext)); in testIsConnectedToNetwork()
183 assertFalse(mUtils.isConnectedToNetwork(mockContext)); in testIsConnectedToNetwork()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DDownloadPackageTaskTest.java121 doReturn(false).when(mUtils).isConnectedToNetwork(mContext); in testNotConnected()
194 doReturn(true).when(mUtils).isConnectedToNetwork(any(Context.class)); in mockSuccessfulDownload()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DConnectMobileNetworkTask.java111 && mUtils.isConnectedToNetwork(mContext); in isLegacyConnected()
DDownloadPackageTask.java106 if (!mUtils.isConnectedToNetwork(mContext)) { in run()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DNetworkTypeLogger.java69 if (mUtils.isConnectedToNetwork(mContext)) { in log()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java486 public boolean isConnectedToNetwork(Context context) { in isConnectedToNetwork() method in Utils