Lines Matching refs:telephonyManager
34 import android.telephony.TelephonyManager;
158 TelephonyManager telephonyManager =
159 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
160 if (telephonyManager == null
161 || !TelephonyCapabilities.supportsAdn(telephonyManager.getCurrentPhoneType())) {
243 TelephonyManager telephonyManager =
244 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
245 if (telephonyManager != null && input.equals(MMI_IMEI_DISPLAY)) {
246 int phoneType = telephonyManager.getCurrentPhoneType();
247 if (phoneType == TelephonyManager.PHONE_TYPE_GSM) {
248 showIMEIPanel(context, useSystemWindow, telephonyManager);
250 } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) {
251 showMEIDPanel(context, useSystemWindow, telephonyManager);
283 TelephonyManager telephonyManager) {
284 String imeiStr = telephonyManager.getDeviceId();
295 TelephonyManager telephonyManager) {
296 String meidStr = telephonyManager.getDeviceId();