Searched refs:hasCellular (Results 1 – 3 of 3) sorted by relevance
41 mHasCellular = hasCellular(); in setUp()47 private static boolean hasCellular() { in hasCellular() method in CarrierServiceTest
172 final boolean hasCellular = findCellularNetwork() != null; in testCorrectness()173 if (isSupported() && !hasCellular) { in testCorrectness()176 } else if (!isSupported() && hasCellular) { in testCorrectness()
374 if (!hasCellular()) return; in saveAllowedNetworkTypesForAllReasons()443 private boolean hasCellular() { in hasCellular() method in TelephonyManagerTest450 if (!hasCellular()) return; in testHasCarrierPrivilegesViaCarrierConfigs()4661 if (!hasCellular()) return; in testCheckCarrierPrivilegesForPackageThrowsExceptionWithoutReadPrivilege()4700 if (!hasCellular()) return; in testGetCarrierPackageNamesForIntentAndPhoneThrowsExceptionWithoutReadPrivilege()4732 if (!hasCellular()) return; in testGetPackagesWithCarrierPrivilegesThrowsExceptionWithoutReadPrivilege()