Searched refs:isDataEnabled (Results 1 – 7 of 7) sorted by relevance
122 if (!telephonyManager.isDataEnabled()) { in hasCellularData()
73 mTelephonyManager.isDataEnabled(); in testReadNonDangerousPermission()
431 boolean isDataEnabled = sTelephonyManager.getDataEnabled(slotIndex); in testDDSChange()432 Log.d(TAG, "Data enabled status for SIM slot " + slotIndex + ": " + isDataEnabled); in testDDSChange()
1890 boolean initialDataSetting = isDataEnabled(); in testResetSettings()1913 TelephonyUtils.pollUntilTrue(() -> initialDataSetting != isDataEnabled(), 5 /*times*/, in testResetSettings()1916 boolean defaultDataSetting = isDataEnabled(); in testResetSettings()1922 TelephonyUtils.pollUntilTrue(() -> defaultDataSetting != isDataEnabled(), in testResetSettings()1937 TelephonyUtils.pollUntilTrue(() -> defaultDataSetting == isDataEnabled(), in testResetSettings()4494 private boolean isDataEnabled() { in isDataEnabled() method in TelephonyManagerTest4496 TelephonyManager::isDataEnabled); in isDataEnabled()
1481 boolean isDataEnabled = mTelephonyManager.isDataEnabledForReason( in testDataEnableRequest()1484 TelephonyManager.DATA_ENABLED_REASON_CARRIER, !isDataEnabled); in testDataEnableRequest()1486 TelephonyManager.DATA_ENABLED_REASON_CARRIER, isDataEnabled); in testDataEnableRequest()
391 return telephonyManager.isDataEnabled(); in isMobileDataEnabled()
46104 …D_PHONE_STATE, android.Manifest.permission.READ_BASIC_PHONE_STATE}) public boolean isDataEnabled();