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.java80 when(mUtils.isConnectedToNetwork(mContext)).thenReturn(false); in test_NetworkNotConnected()
92 when(mUtils.isConnectedToNetwork(mContext)).thenReturn(true); in test_NetworkTypeWifi()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java157 assertTrue(mUtils.isConnectedToNetwork(mockContext)); in testIsConnectedToNetwork()
163 assertTrue(mUtils.isConnectedToNetwork(mockContext)); in testIsConnectedToNetwork()
169 assertFalse(mUtils.isConnectedToNetwork(mockContext)); in testIsConnectedToNetwork()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DDownloadPackageTaskTest.java117 doReturn(false).when(mUtils).isConnectedToNetwork(mContext); in testNotConnected()
187 doReturn(true).when(mUtils).isConnectedToNetwork(any(Context.class)); in mockSuccessfulDownload()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DNetworkTypeLogger.java58 if (mUtils.isConnectedToNetwork(mContext)) { in log()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDownloadPackageTask.java102 if (!mUtils.isConnectedToNetwork(mContext)) { in run()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java504 public boolean isConnectedToNetwork(Context context) { in isConnectedToNetwork() method in Utils
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningController.java241 if (!mUtils.isConnectedToNetwork(mContext) && mParams.wifiInfo == null in initiateProvisioning()