HomeSort by relevance Sort by last modified time
    Searched refs:telephonyManager (Results 1 - 16 of 16) sorted by null

  /cts/tests/tests/telephony/src/android/telephony/cts/
TelephonyUtils.java 19 import android.telephony.TelephonyManager;
23 public static boolean isSkt(TelephonyManager telephonyManager) {
24 return isOperator(telephonyManager, "45005");
27 public static boolean isKt(TelephonyManager telephonyManager) {
28 return isOperator(telephonyManager, "45002")
29 || isOperator(telephonyManager, "45004")
30 || isOperator(telephonyManager, "45008");
33 private static boolean isOperator(TelephonyManager telephonyManager, String operator)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
SpecialCharSequenceMgr.java 37 import android.telephony.TelephonyManager;
153 TelephonyManager telephonyManager =
154 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
155 if (telephonyManager == null
156 || !TelephonyCapabilities.supportsAdn(telephonyManager.getCurrentPhoneType())) {
238 TelephonyManager telephonyManager =
239 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
240 if (telephonyManager != null && input.equals(MMI_IMEI_DISPLAY))
    [all...]
ContactListEmptyView.java 26 import android.telephony.TelephonyManager;
70 TelephonyManager telephonyManager =
71 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
72 boolean hasSim = telephonyManager.hasIccCard();
  /packages/apps/Contacts/src/com/android/contacts/util/
PhoneCapabilityTester.java 25 import android.telephony.TelephonyManager;
61 final TelephonyManager telephonyManager = new TelephonyManager(context);
62 sIsPhone = telephonyManager.isVoiceCapable();
  /packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/
ImsFrameworkApp.java 28 import android.telephony.TelephonyManager;
92 // all ISIM records are loaded, query them through TelephonyManager
107 TelephonyManager telephonyManager =
108 (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
110 Log.d(TAG, "ISIM IMPI: " + telephonyManager.getIsimImpi());
111 Log.d(TAG, "ISIM Domain: " + telephonyManager.getIsimDomain());
112 Log.d(TAG, "ISIM IMPU: " + Arrays.toString(telephonyManager.getIsimImpu()));
  /cts/tests/tests/permission/src/android/permission/cts/
NoLocationPermissionTest.java 30 import android.telephony.TelephonyManager;
65 TelephonyManager telephonyManager = (TelephonyManager) getContext().getSystemService(
69 telephonyManager.listen(phoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION);
70 fail("TelephonyManager.listen(LISTEN_CELL_LOCATION) did not" +
77 telephonyManager.getCellLocation();
78 fail("TelephonyManager.getCellLocation did not throw SecurityException as expected");
  /packages/apps/Phone/src/com/android/phone/
OtaStartupReceiver.java 31 import android.telephony.TelephonyManager;
121 TelephonyManager telephonyManager = (TelephonyManager)context.getSystemService(
123 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_OTASP_CHANGED);
OtaUtils.java 40 import android.telephony.TelephonyManager;
    [all...]
CallNotifier.java 52 import android.telephony.TelephonyManager;
232 TelephonyManager telephonyManager = (TelephonyManager)app.getSystemService(
234 telephonyManager.listen(mPhoneStateListener,
434 // via some future TelephonyManager API.
    [all...]
  /packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/
DialogSmsDisplayTests.java 34 import android.telephony.TelephonyManager;
77 TelephonyManager telephonyManager = ((TelephonyManager)dialogSmsDisplayActivity
79 mHasSms = true; //telephonyManager.isSmsCapable();
80 mMyNumber = telephonyManager.getLine1Number();
  /packages/apps/Settings/src/com/android/settings/wifi/
WifiSettings.java 50 import android.telephony.TelephonyManager;
684 final TelephonyManager telephonyManager = (TelephonyManager)this.getSystemService(
686 return telephonyManager != null
687 && telephonyManager.getPhoneType() != TelephonyManager.PHONE_TYPE_NONE;
695 final TelephonyManager telephonyManager = (TelephonyManager)this.getSystemService
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/
Util.java 41 import android.telephony.TelephonyManager;
466 TelephonyManager telephonyManager = (TelephonyManager)
468 if (telephonyManager == null) {
474 Method sIsVoiceCapable = TelephonyManager.class.getMethod(
478 Object retobj = sIsVoiceCapable.invoke(telephonyManager, arglist);
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactEntryListFragment.java 39 import android.telephony.TelephonyManager;
908 TelephonyManager telephonyManager =
909 (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE);
910 return telephonyManager.hasIccCard();
  /packages/apps/Contacts/src/com/android/contacts/dialpad/
DialpadFragment.java 45 import android.telephony.TelephonyManager;
179 if ((state == TelephonyManager.CALL_STATE_IDLE) && dialpadChooserVisible()) {
543 TelephonyManager telephonyManager =
544 (TelephonyManager) getActivity().getSystemService(Context.TELEPHONY_SERVICE);
545 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
586 TelephonyManager telephonyManager =
587 (TelephonyManager) getActivity().getSystemService(Context.TELEPHONY_SERVICE);
588 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE)
    [all...]
  /packages/apps/Camera/src/com/android/camera/
Util.java 42 import android.telephony.TelephonyManager;
521 TelephonyManager telephonyManager = (TelephonyManager)
523 if (telephonyManager == null) {
529 Method sIsVoiceCapable = TelephonyManager.class.getMethod(
533 Object retobj = sIsVoiceCapable.invoke(telephonyManager, arglist);
  /frameworks/base/policy/src/com/android/internal/policy/impl/
GlobalActions.java 53 import android.telephony.TelephonyManager;
124 TelephonyManager telephonyManager =
125 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
126 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE);
    [all...]

Completed in 507 milliseconds