/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageUtilsTest.java | 81 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/ |
D | NetworkUtilsTest.java | 68 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/ |
D | PhoneUtils.java | 113 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/ |
D | DataUsageSummary.java | 98 if (DataUsageUtils.hasSim(context) && hasWifiRadio) { in onCreate() 270 if (DataUsageUtils.hasSim(mActivity)) { in setListening()
|
D | DataUsageSummaryPreferenceController.java | 190 return DataUsageUtils.hasSim(mActivity) in getAvailabilityStatus() 199 if (DataUsageUtils.hasSim(mActivity)) { in updateState()
|
D | DataUsageUtils.java | 150 public static boolean hasSim(Context context) { in hasSim() method in DataUsageUtils
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageSummaryPreferenceController.java | 191 return DataUsageUtils.hasSim(mActivity) in getAvailabilityStatus() 200 if (DataUsageUtils.hasSim(mActivity)) { in updateState()
|
D | DataUsageSummary.java | 103 if (DataUsageUtils.hasSim(context) && hasWifiRadio) { in onCreate() 281 if (DataUsageUtils.hasSim(mActivity)) { in setListening()
|
D | DataUsageUtils.java | 149 public static boolean hasSim(Context context) { in hasSim() method in DataUsageUtils
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowDataUsageUtils.java | 35 protected static boolean hasSim(Context context) { in hasSim() method in ShadowDataUsageUtils
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | NetworkUtils.java | 48 public static boolean hasSim(TelephonyManager telephonyManager) { in hasSim() method in NetworkUtils
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/deviceinfo/ |
D | DataUsageSlice.java | 78 if (DataUsageUtils.hasSim(mContext)) { in getSlice()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/deviceinfo/ |
D | DataUsageSlice.java | 78 if (DataUsageUtils.hasSim(mContext)) { in getSlice()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | DataUsageSummaryPreferenceController.java | 106 return NetworkUtils.hasSim(mTelephonyManager) ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
|