/packages/services/Car/car-cluster-demo-renderer/src/android/car/cluster/demorenderer/ |
PhoneBook.java | 40 import android.telephony.TelephonyManager; 61 private final TelephonyManager mTelephonyManager; 78 PhoneBook(Context context, TelephonyManager telephonyManager) { 81 mTelephonyManager = telephonyManager;
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
SmsManagerTest.java | 35 import android.telephony.TelephonyManager; 201 private TelephonyManager mTelephonyManager; 229 (TelephonyManager) getInstrumentation().getContext().getSystemService( 318 if (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) {
|
SmsMessageTest.java | 23 import android.telephony.TelephonyManager; 28 private TelephonyManager mTelephonyManager; 77 (TelephonyManager) getContext().getSystemService(Context.TELEPHONY_SERVICE); 249 if (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA) {
|
SmsUsageMonitorShortCodeTest.java | 23 import android.telephony.TelephonyManager; 33 private TelephonyManager mTelephonyManager; 491 mTelephonyManager = (TelephonyManager) mContext.getSystemService(Context.TELEPHONY_SERVICE); 495 return (mTelephonyManager.getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA)
|
PhoneNumberUtilsTest.java | 28 import android.telephony.TelephonyManager; 291 TelephonyManager tm = (TelephonyManager)getContext().getSystemService(
|
/frameworks/base/location/java/com/android/internal/location/ |
GpsNetInitiatedHandler.java | 30 import android.telephony.TelephonyManager; 97 private final TelephonyManager mTelephonyManager; 192 (TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE); 199 if (state == TelephonyManager.CALL_STATE_IDLE) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
PhoneFactory.java | 34 import android.telephony.TelephonyManager; 138 int numPhones = TelephonyManager.getDefault().getPhoneCount(); 162 int phoneType = TelephonyManager.getPhoneType(networkModes[i]); 258 && (phoneId < TelephonyManager.getDefault().getPhoneCount()))
|
Sms7BitEncodingTranslator.java | 25 import android.telephony.TelephonyManager; 165 return TelephonyManager.getDefault().getCurrentPhoneType()
|
SubscriptionInfoUpdater.java | 43 import android.telephony.TelephonyManager; 67 private static final int PROJECT_SIM_NUM = TelephonyManager.getDefault().getPhoneCount(); 149 mPackageManager, TelephonyManager.getDefault(), mCurrentlyActiveUserId); 174 mPackageManager, TelephonyManager.getDefault(), mCurrentlyActiveUserId); 411 TelephonyManager tm = TelephonyManager.getDefault(); 484 mPackageManager, TelephonyManager.getDefault(), mCurrentlyActiveUserId); 634 String msisdn = TelephonyManager.getDefault().getLine1Number(
|
UiccSmsController.java | 34 import android.telephony.TelephonyManager; 268 TelephonyManager telephonyManager = 269 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); 290 if (subInfoLength > 0 && telephonyManager.getSimCount() > 1) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
IccRecords.java | 26 import android.telephony.TelephonyManager; 52 protected TelephonyManager mTelephonyManager; 170 mTelephonyManager = (TelephonyManager) mContext.getSystemService( 651 TelephonyManager.getDefault().setTelephonyProperty(mParentApp.getPhoneId(), key, val);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
SapServer.java | 31 import android.telephony.TelephonyManager; 120 filter.addAction(TelephonyManager.ACTION_PHONE_STATE_CHANGED); 131 if(intent.getAction().equals(TelephonyManager.ACTION_PHONE_STATE_CHANGED)) { 135 + intent.getStringExtra(TelephonyManager.EXTRA_STATE)); 137 String state = intent.getStringExtra(TelephonyManager.EXTRA_STATE); 139 if(state.equals(TelephonyManager.EXTRA_STATE_IDLE)) { 518 * change intent from the TelephonyManager with state IDLE. */ 570 TelephonyManager tManager = 571 (TelephonyManager)mContext.getSystemService(Context.TELEPHONY_SERVICE); 572 if(tManager.getCallState() == TelephonyManager.CALL_STATE_IDLE) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
AsyncRingtonePlayer.java | 16 import android.telephony.TelephonyManager; 161 final TelephonyManager tm = (TelephonyManager) 163 return tm.getCallState() != TelephonyManager.CALL_STATE_IDLE;
|
/frameworks/base/services/core/java/com/android/server/location/ |
GnssLocationProvider.java | 77 import android.telephony.TelephonyManager; 512 TelephonyManager phone = (TelephonyManager) 793 boolean dataEnabled = TelephonyManager.getDefault().getDataEnabled(); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
SecuritySettings.java | 52 import android.telephony.TelephonyManager; 304 TelephonyManager tm = TelephonyManager.getDefault(); 462 TelephonyManager tm = TelephonyManager.getDefault(); 478 * TODO: consider adding to TelephonyManager or SubscritpionManasger. 481 int simState = TelephonyManager.SIM_STATE_UNKNOWN; 486 simState = TelephonyManager.getDefault().getSimState(subInfo.getSimSlotIndex()); 487 if((simState != TelephonyManager.SIM_STATE_ABSENT) && 488 (simState != TelephonyManager.SIM_STATE_UNKNOWN)) [all...] |
/frameworks/base/core/java/android/net/ |
NetworkIdentity.java | 27 import android.telephony.TelephonyManager; 96 builder.append(TelephonyManager.getNetworkTypeName(mSubType));
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardSimPinView.java | 37 import android.telephony.TelephonyManager; 81 int count = TelephonyManager.getDefault().getSimCount();
|
KeyguardUpdateMonitor.java | 50 import android.telephony.TelephonyManager; 655 } else if (TelephonyManager.ACTION_PHONE_STATE_CHANGED.equals(action)) { 656 String state = intent.getStringExtra(TelephonyManager.EXTRA_STATE); [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
RespondViaSmsManager.java | 36 import android.telephony.TelephonyManager; 186 final Intent intent = new Intent(TelephonyManager.ACTION_RESPOND_VIA_MESSAGE, uri);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmSmsTest.java | 19 import android.telephony.TelephonyManager; 239 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == 240 TelephonyManager.PHONE_TYPE_GSM); 278 boolean isGsmPhone = (TelephonyManager.getDefault().getPhoneType() == 279 TelephonyManager.PHONE_TYPE_GSM);
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertReceiver.java | 35 import android.telephony.TelephonyManager; [all...] |
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
DeviceInfoInstrument.java | 33 import android.telephony.TelephonyManager; 119 TelephonyManager tm = (TelephonyManager) getContext().getSystemService(
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
TelecomManagerFacade.java | 38 import android.telephony.TelephonyManager; 61 private final TelephonyManager mTelephonyManager; 69 mTelephonyManager = new TelephonyManager(mService);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastConfigService.java | 29 import android.telephony.TelephonyManager; 281 TelephonyManager tm = (TelephonyManager) getSystemService(
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/ |
ImportExportDialogFragment.java | 34 import android.telephony.TelephonyManager; 129 final TelephonyManager manager = 130 (TelephonyManager) getActivity().getSystemService(Context.TELEPHONY_SERVICE);
|