Home
last modified time | relevance | path

Searched refs:hasSim (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageUtilsTest.java81 boolean hasSim = DataUsageUtils.hasSim(mContext); in hasSim_simStateReady()
82 assertThat(hasSim).isTrue(); in hasSim_simStateReady()
88 boolean hasSim = DataUsageUtils.hasSim(mContext); in hasSim_simStateMissing()
89 assertThat(hasSim).isFalse(); in hasSim_simStateMissing()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/
DNetworkUtilsTest.java68 assertThat(NetworkUtils.hasSim(telephonyManager)).isFalse(); in hasSim_simAbsent_returnsFalse()
76 assertThat(NetworkUtils.hasSim(telephonyManager)).isFalse(); in hasSim_simUnknown_returnsFalse()
84 assertThat(NetworkUtils.hasSim(telephonyManager)).isTrue(); in hasSim_otherStatus_returnsTrue()
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java113 public abstract boolean hasSim(); in hasSim() method in PhoneUtils
289 public boolean hasSim() { in hasSim() method in PhoneUtils.PhoneUtilsPreLMR1
354 return hasSim() ? 1 : 0; in getActiveSubscriptionCount()
453 public boolean hasSim() { in hasSim() method in PhoneUtils.PhoneUtilsLMR1
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummary.java98 if (DataUsageUtils.hasSim(context) && hasWifiRadio) { in onCreate()
270 if (DataUsageUtils.hasSim(mActivity)) { in setListening()
DDataUsageSummaryPreferenceController.java190 return DataUsageUtils.hasSim(mActivity) in getAvailabilityStatus()
199 if (DataUsageUtils.hasSim(mActivity)) { in updateState()
DDataUsageUtils.java150 public static boolean hasSim(Context context) { in hasSim() method in DataUsageUtils
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummaryPreferenceController.java191 return DataUsageUtils.hasSim(mActivity) in getAvailabilityStatus()
200 if (DataUsageUtils.hasSim(mActivity)) { in updateState()
DDataUsageSummary.java103 if (DataUsageUtils.hasSim(context) && hasWifiRadio) { in onCreate()
281 if (DataUsageUtils.hasSim(mActivity)) { in setListening()
DDataUsageUtils.java149 public static boolean hasSim(Context context) { in hasSim() method in DataUsageUtils
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDataUsageUtils.java35 protected static boolean hasSim(Context context) { in hasSim() method in ShadowDataUsageUtils
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DNetworkUtils.java48 public static boolean hasSim(TelephonyManager telephonyManager) { in hasSim() method in NetworkUtils
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/deviceinfo/
DDataUsageSlice.java78 if (DataUsageUtils.hasSim(mContext)) { in getSlice()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/deviceinfo/
DDataUsageSlice.java78 if (DataUsageUtils.hasSim(mContext)) { in getSlice()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceController.java106 return NetworkUtils.hasSim(mTelephonyManager) ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()