HomeSort by relevance Sort by last modified time
    Searched refs:TelephonyManager (Results 51 - 75 of 308) sorted by null

1 23 4 5 6 7 8 91011>>

  /packages/apps/Messaging/src/android/support/v7/mms/
Utils.java 25 import android.telephony.TelephonyManager;
112 final TelephonyManager telephonyManager =
113 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
114 final String mccMncString = telephonyManager.getSimOperator();
  /packages/apps/Settings/src/com/android/settings/applications/
DefaultPhonePreference.java 24 import android.telephony.TelephonyManager;
74 final TelephonyManager tm =
75 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
DefaultSmsPreference.java 22 import android.telephony.TelephonyManager;
76 TelephonyManager tm =
77 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
  /packages/services/Car/car-cluster-demo-renderer/src/android/car/cluster/demorenderer/
CallStateMonitor.java 25 import android.telephony.TelephonyManager;
37 private final TelephonyManager mTelephonyManager;
47 mTelephonyManager = context.getSystemService(TelephonyManager.class);
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/
OmtpVvmSourceManager.java 23 import android.telephony.TelephonyManager;
46 private TelephonyManager mTelephonyManager;
70 mTelephonyManager = (TelephonyManager)
  /frameworks/base/services/core/java/com/android/server/net/
NetworkStatsAccess.java 32 import android.telephony.TelephonyManager;
109 final TelephonyManager tm = (TelephonyManager)
113 TelephonyManager.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS;
  /frameworks/base/services/tests/servicestests/src/com/android/server/net/
NetworkStatsAccessTest.java 28 import android.telephony.TelephonyManager;
43 @Mock private TelephonyManager mTm;
151 hasPrivileges ? TelephonyManager.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS
152 : TelephonyManager.CARRIER_PRIVILEGE_STATUS_NO_ACCESS);
  /frameworks/base/telephony/java/com/android/internal/telephony/
IccCardConstants.java 18 import android.telephony.TelephonyManager;
66 * The ordinal values much match {@link TelephonyManager#SIM_STATE_UNKNOWN} ...
69 UNKNOWN, /** ordinal(0) == {@See TelephonyManager#SIM_STATE_UNKNOWN} */
70 ABSENT, /** ordinal(1) == {@See TelephonyManager#SIM_STATE_ABSENT} */
71 PIN_REQUIRED, /** ordinal(2) == {@See TelephonyManager#SIM_STATE_PIN_REQUIRED} */
72 PUK_REQUIRED, /** ordinal(3) == {@See TelephonyManager#SIM_STATE_PUK_REQUIRED} */
73 NETWORK_LOCKED, /** ordinal(4) == {@See TelephonyManager#SIM_STATE_NETWORK_LOCKED} */
74 READY, /** ordinal(5) == {@See TelephonyManager#SIM_STATE_READY} */
75 NOT_READY, /** ordinal(6) == {@See TelephonyManager#SIM_STATE_NOT_READY} */
76 PERM_DISABLED, /** ordinal(7) == {@See TelephonyManager#SIM_STATE_PERM_DISABLED} *
    [all...]
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
ImeiInformation.java 23 import android.telephony.TelephonyManager;
49 final TelephonyManager telephonyManager =
50 (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
51 initPreferenceScreen(telephonyManager.getSimCount());
69 if (phone.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) {
SimStatus.java 41 import android.telephony.TelephonyManager;
103 private TelephonyManager mTelephonyManager;
142 mTelephonyManager = (TelephonyManager) getSystemService(TELEPHONY_SERVICE);
270 if (TelephonyManager.NETWORK_TYPE_UNKNOWN != actualDataNetworkType) {
272 } else if (TelephonyManager.NETWORK_TYPE_UNKNOWN != actualVoiceNetworkType) {
299 case TelephonyManager.DATA_CONNECTED:
302 case TelephonyManager.DATA_SUSPENDED:
305 case TelephonyManager.DATA_CONNECTING:
308 case TelephonyManager.DATA_DISCONNECTED:
383 if (mPhone.getPhoneType() != TelephonyManager.PHONE_TYPE_CDMA)
    [all...]
  /packages/apps/Settings/src/com/android/settings/sim/
SimSettings.java 34 import android.telephony.TelephonyManager;
74 private int mPhoneCount = TelephonyManager.getDefault().getPhoneCount();
93 final TelephonyManager tm =
94 (TelephonyManager) getActivity().getSystemService(Context.TELEPHONY_SERVICE);
214 final TelephonyManager tm =
215 (TelephonyManager) getActivity().getSystemService(Context.TELEPHONY_SERVICE);
230 final TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
321 // Returns the line1Number. Line1number should always be read from TelephonyManager since it can
324 final TelephonyManager tm
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
PhoneCapabilityTester.java 28 import android.telephony.TelephonyManager;
66 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE));
  /packages/apps/Settings/src/com/android/settings/datausage/
DataUsageBase.java 30 import android.telephony.TelephonyManager;
53 services.mTelephonyManager = TelephonyManager.from(context);
DataUsageMeteredSettings.java 29 import android.telephony.TelephonyManager;
108 final TelephonyManager tele = TelephonyManager.from(context);
189 final TelephonyManager tele = TelephonyManager.from(context);
  /packages/services/Telephony/src/com/android/phone/
SubscriptionInfoHelper.java 25 import android.telephony.TelephonyManager;
112 if (!TelephonyManager.from(mContext).isMultiSimEnabled()) {
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
UiccCarrierPrivilegeRules.java 30 import android.telephony.TelephonyManager;
286 return TelephonyManager.CARRIER_PRIVILEGE_STATUS_RULES_NOT_LOADED;
288 return TelephonyManager.CARRIER_PRIVILEGE_STATUS_ERROR_LOADING_RULES;
296 return TelephonyManager.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS;
300 return TelephonyManager.CARRIER_PRIVILEGE_STATUS_NO_ACCESS;
317 return TelephonyManager.CARRIER_PRIVILEGE_STATUS_RULES_NOT_LOADED;
319 return TelephonyManager.CARRIER_PRIVILEGE_STATUS_ERROR_LOADING_RULES;
321 return TelephonyManager.CARRIER_PRIVILEGE_STATUS_NO_ACCESS;
332 return TelephonyManager.CARRIER_PRIVILEGE_STATUS_NO_ACCESS;
345 if (accessStatus != TelephonyManager.CARRIER_PRIVILEGE_STATUS_NO_ACCESS)
    [all...]
  /packages/apps/Settings/src/com/android/settings/
WifiCallingSettings.java 32 import android.telephony.TelephonyManager;
82 switchBar.setEnabled((state == TelephonyManager.CALL_STATE_IDLE)
88 && (state == TelephonyManager.CALL_STATE_IDLE));
194 TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
227 TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
  /cts/tests/tests/permission/src/android/permission/cts/
NoLocationPermissionTest.java 29 import android.telephony.TelephonyManager;
77 TelephonyManager telephonyManager = (TelephonyManager) mContext.getSystemService(
81 telephonyManager.listen(phoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION);
82 fail("TelephonyManager.listen(LISTEN_CELL_LOCATION) did not" +
89 telephonyManager.getCellLocation();
90 fail("TelephonyManager.getCellLocation did not throw SecurityException as expected");
108 TelephonyManager telephonyManager = (TelephonyManager) mContext.getSystemService
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
TelephonyStateListeners.java 30 import android.telephony.TelephonyManager;
147 private final TelephonyManager mTelephonyManager;
152 public DataConnectionStateChangeListener(EventFacade ef, TelephonyManager tm) {
159 public DataConnectionStateChangeListener(EventFacade ef, TelephonyManager tm, int subId) {
167 EventFacade ef, TelephonyManager tm, int subId, Looper looper) {
  /frameworks/base/core/java/com/android/internal/policy/
PhoneFallbackEventHandler.java 29 import android.telephony.TelephonyManager;
50 TelephonyManager mTelephonyManager;
97 if (getTelephonyManager().getCallState() != TelephonyManager.CALL_STATE_IDLE) {
284 TelephonyManager getTelephonyManager() {
286 mTelephonyManager = (TelephonyManager)mContext.getSystemService(
  /packages/apps/Stk/src/com/android/stk/
StkLauncherActivity.java 37 import android.telephony.TelephonyManager;
54 private TelephonyManager mTm = null;
63 mTm = (TelephonyManager) mContext.getSystemService(
86 int simCount = TelephonyManager.from(mContext).getSimCount();
165 int simCount = TelephonyManager.from(mContext).getSimCount();
  /cts/tests/tests/permission2/src/android/permission2/cts/
NoReceiveSmsPermissionTest.java 27 import android.telephony.TelephonyManager;
93 TelephonyManager telephony = (TelephonyManager)
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ConnectivityManagerTest.java 6 import android.telephony.TelephonyManager;
85 TelephonyManager.NETWORK_TYPE_EDGE, true, false));
90 assertEquals(TelephonyManager.NETWORK_TYPE_EDGE, info.getSubtype());
  /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
Util.java 25 import android.telephony.TelephonyManager;
170 final TelephonyManager telephony =
171 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
  /frameworks/base/telephony/java/android/telephony/
PreciseDataConnectionState.java 21 import android.telephony.TelephonyManager;
43 private int mState = TelephonyManager.DATA_UNKNOWN;
44 private int mNetworkType = TelephonyManager.NETWORK_TYPE_UNKNOWN;
92 * @see TelephonyManager#DATA_UNKNOWN
93 * @see TelephonyManager#DATA_DISCONNECTED
94 * @see TelephonyManager#DATA_CONNECTING
95 * @see TelephonyManager#DATA_CONNECTED
96 * @see TelephonyManager#DATA_SUSPENDED
105 * @see TelephonyManager#NETWORK_TYPE_UNKNOWN
106 * @see TelephonyManager#NETWORK_TYPE_GPR
    [all...]

Completed in 577 milliseconds

1 23 4 5 6 7 8 91011>>