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

  /cts/tests/tests/telephony/src/android/telephony/cts/
TelephonyManagerTest.java 37 private TelephonyManager mTelephonyManager;
48 mTelephonyManager =
57 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE);
63 if (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) {
83 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_CELL_LOCATION);
106 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE);
109 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE);
131 assertTrue(mTelephonyManager.getNetworkType() >= TelephonyManager.NETWORK_TYPE_UNKNOWN);
132 assertTrue(mTelephonyManager.getPhoneType() >= TelephonyManager.PHONE_TYPE_NONE);
133 assertTrue(mTelephonyManager.getSimState() >= TelephonyManager.SIM_STATE_UNKNOWN)
    [all...]
CellLocationTest.java 31 private TelephonyManager mTelephonyManager;
38 mTelephonyManager =
49 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE);
78 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_CELL_LOCATION);
PhoneStateListenerTest.java 39 private TelephonyManager mTelephonyManager;
48 mTelephonyManager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
59 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_NONE);
86 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_SERVICE_STATE);
125 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_SIGNAL_STRENGTH);
159 mTelephonyManager.listen(
194 mTelephonyManager.listen(
229 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_CELL_LOCATION);
263 mTelephonyManager.listen(mListener, PhoneStateListener.LISTEN_CALL_STATE);
297 mTelephonyManager.listen
    [all...]
SmsManagerTest.java 172 private TelephonyManager mTelephonyManager;
192 mTelephonyManager =
195 mDestAddr = mTelephonyManager.getLine1Number();
202 String mccmnc = mTelephonyManager.getSimOperator();
211 if (TelephonyUtils.isSkt(mTelephonyManager)) {
213 } else if (TelephonyUtils.isKt(mTelephonyManager)) {
237 String mccmnc = mTelephonyManager.getSimOperator();
264 if (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) {
SmsMessageTest.java 28 private TelephonyManager mTelephonyManager;
69 mTelephonyManager =
139 if (TelephonyUtils.isSkt(mTelephonyManager)) {
142 } else if (TelephonyUtils.isKt(mTelephonyManager)) {
240 if (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) {
  /cts/tests/tests/permission/src/android/permission/cts/
TelephonyManagerPermissionTest.java 29 TelephonyManager mTelephonyManager = null;
34 mTelephonyManager = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE);
35 assertNotNull(mTelephonyManager);
47 String id = mTelephonyManager.getDeviceId();
63 String nmbr = mTelephonyManager.getLine1Number();
79 String nmbr = mTelephonyManager.getSimSerialNumber();
95 String sid = mTelephonyManager.getSubscriberId();
111 String vmnum = mTelephonyManager.getVoiceMailNumber();
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardViewBase.java 44 private TelephonyManager mTelephonyManager = null;
119 if (mTelephonyManager == null) {
120 mTelephonyManager = (TelephonyManager) getContext().getSystemService(
123 if (mTelephonyManager != null &&
124 mTelephonyManager.getCallState() != TelephonyManager.CALL_STATE_IDLE) {
  /packages/apps/DeskClock/src/com/android/deskclock/
TimerRingService.java 40 private TelephonyManager mTelephonyManager;
61 mTelephonyManager =
63 mTelephonyManager.listen(
72 mTelephonyManager.listen(mPhoneStateListener, 0);
92 mInitialCallState = mTelephonyManager.getCallState();
127 if (mTelephonyManager.getCallState()
  /packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmService.java 78 private TelephonyManager mTelephonyManager;
106 mInitialCallState = mTelephonyManager.getCallState();
107 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CALL_STATE);
121 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
130 mTelephonyManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
  /frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DataIdleTest.java 38 private TelephonyManager mTelephonyManager;
49 mTelephonyManager = (TelephonyManager) c.getSystemService(Context.TELEPHONY_SERVICE);
64 String subscriberId = mTelephonyManager.getSubscriberId();
  /packages/apps/Mms/src/com/android/mms/
MmsApp.java 51 private TelephonyManager mTelephonyManager;
152 if (mTelephonyManager == null) {
153 mTelephonyManager = (TelephonyManager)getApplicationContext()
156 return mTelephonyManager;
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
TrackerService.java 68 private TelephonyManager mTelephonyManager;
143 mTelephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
147 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION);
161 mTelephonyManager.listen(mPhoneStateListener,
251 if (mTelephonyManager != null) {
252 mTelephonyManager.listen(mPhoneStateListener, 0);
370 if (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) {
373 } else if (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_GSM) {
  /frameworks/base/services/java/com/android/server/location/
ComprehensiveCountryDetector.java 78 private final TelephonyManager mTelephonyManager;
146 mTelephonyManager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
214 final int phoneType = mTelephonyManager.getPhoneType();
225 countryIso = mTelephonyManager.getNetworkCountryIso();
245 countryIso = mTelephonyManager.getSimCountryIso();
452 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE);
458 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetPhoneState.java 34 private TelephonyManager mTelephonyManager;
66 mTelephonyManager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
71 mTelephonyManager = null;
78 mTelephonyManager.listen(mPhoneStateListener,
85 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
  /frameworks/base/policy/src/com/android/internal/policy/impl/
PhoneFallbackEventHandler.java 48 TelephonyManager mTelephonyManager;
267 if (mTelephonyManager == null) {
268 mTelephonyManager = (TelephonyManager)mContext.getSystemService(
271 return mTelephonyManager;
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
Status.java 125 private TelephonyManager mTelephonyManager;
216 mTelephonyManager = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);
272 if ("br".equals(mTelephonyManager.getSimCountryIso())) {
317 mTelephonyManager.listen(mPhoneStateListener,
338 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
385 if (TelephonyManager.NETWORK_TYPE_UNKNOWN != mTelephonyManager.getNetworkType()) {
386 networktype = mTelephonyManager.getNetworkTypeName();
392 int state = mTelephonyManager.getDataState();
  /packages/apps/Settings/src/com/android/settings/
RadioInfo.java 127 private TelephonyManager mTelephonyManager;
250 mTelephonyManager = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);
335 mCellInfoValue = mTelephonyManager.getAllCellInfo();
348 updateLocation(mTelephonyManager.getCellLocation());
363 mTelephonyManager.listen(mPhoneStateListener,
379 mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
404 int state = mTelephonyManager.getDataState();
436 updateCellInfoTv(mTelephonyManager.getAllCellInfo());
609 int state = mTelephonyManager.getDataState();
    [all...]
ApnEditor.java 97 private TelephonyManager mTelephonyManager;
228 mTelephonyManager = (TelephonyManager) getSystemService(TELEPHONY_SERVICE);
380 mMvnoMatchData.setText(mTelephonyManager.getSimOperatorName());
386 mMvnoMatchData.setText(mTelephonyManager.getGroupIdLevel1());
  /cts/tests/tests/app/src/android/app/cts/
SystemFeaturesTest.java 60 private TelephonyManager mTelephonyManager;
78 mTelephonyManager = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE);
314 int phoneType = mTelephonyManager.getPhoneType();
  /frameworks/base/core/java/android/net/
CaptivePortalTracker.java 88 private TelephonyManager mTelephonyManager;
115 mTelephonyManager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
464 latencyBroadcast.putExtra(EXTRA_NETWORK_TYPE, mTelephonyManager.getNetworkType());
465 List<CellInfo> info = mTelephonyManager.getAllCellInfo();
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertAudio.java 101 private TelephonyManager mTelephonyManager;
207 mTelephonyManager =
209 mTelephonyManager.listen(
218 mTelephonyManager.listen(mPhoneStateListener, 0);
293 mInitialCallState = mTelephonyManager.getCallState();
332 if (mTelephonyManager.getCallState()
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
SMSDispatcher.java 131 protected final TelephonyManager mTelephonyManager;
182 mTelephonyManager = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE);
731 String simCountryIso = mTelephonyManager.getSimCountryIso();
734 simCountryIso = mTelephonyManager.getNetworkCountryIso();
740 String networkCountryIso = mTelephonyManager.getNetworkCountryIso();
743 networkCountryIso = mTelephonyManager.getSimCountryIso();
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/calllog/
CallLogFragment.java 85 private TelephonyManager mTelephonyManager;
  /frameworks/opt/mms/src/java/com/google/android/mms/pdu/
PduPersister.java 283 private final TelephonyManager mTelephonyManager;
289 mTelephonyManager = (TelephonyManager)context
    [all...]
  /frameworks/base/services/java/com/android/server/
ConnectivityService.java 441 TelephonyManager mTelephonyManager;
491 mTelephonyManager = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE);
    [all...]

Completed in 2067 milliseconds