OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TelephonyManager
(Results
101 - 125
of
308
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/apps/Settings/src/com/android/settings/datausage/
CellDataPreference.java
31
import android.telephony.
TelephonyManager
;
51
private
TelephonyManager
mTelephonyManager;
62
mTelephonyManager =
TelephonyManager
.from(getContext());
99
mTelephonyManager =
TelephonyManager
.from(getContext());
244
if (
TelephonyManager
.getDefault().getSimCount() != 1) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
CarrierAppUtilsTest.java
22
import android.telephony.
TelephonyManager
;
38
@Mock private
TelephonyManager
mTelephonyManager;
104
.thenReturn(
TelephonyManager
.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS);
124
.thenReturn(
TelephonyManager
.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS);
144
.thenReturn(
TelephonyManager
.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS);
164
.thenReturn(
TelephonyManager
.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS);
184
.thenReturn(
TelephonyManager
.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS);
205
.thenReturn(
TelephonyManager
.CARRIER_PRIVILEGE_STATUS_HAS_ACCESS);
225
.thenReturn(
TelephonyManager
.CARRIER_PRIVILEGE_STATUS_NO_ACCESS);
247
null /*
telephonyManager
*/, USER_ID, CARRIER_APPS)
[
all
...]
ServiceStateTest.java
21
import android.telephony.
TelephonyManager
;
76
assertEquals(
TelephonyManager
.NETWORK_TYPE_LTE, ss.getDataNetworkType());
80
assertEquals(
TelephonyManager
.NETWORK_TYPE_1xRTT, ss.getVoiceNetworkType());
/cts/tests/app/src/android/app/cts/
SystemFeaturesTest.java
42
import android.telephony.
TelephonyManager
;
63
private
TelephonyManager
mTelephonyManager;
82
mTelephonyManager = (
TelephonyManager
) mContext.getSystemService(Context.TELEPHONY_SERVICE);
421
* Check that the {@link
TelephonyManager
#getPhoneType()} matches the reported features.
430
case
TelephonyManager
.PHONE_TYPE_GSM:
434
case
TelephonyManager
.PHONE_TYPE_CDMA:
438
case
TelephonyManager
.PHONE_TYPE_NONE:
/frameworks/base/services/core/java/com/android/server/
MmsServiceBroker.java
40
import android.telephony.
TelephonyManager
;
75
private volatile
TelephonyManager
mTelephonyManager = null;
310
private
TelephonyManager
getTelephonyManager() {
312
mTelephonyManager = (
TelephonyManager
) mContext.getSystemService(
512
TelephonyManager
telephonyManager
=
513
(
TelephonyManager
) mContext.getSystemService(Context.TELEPHONY_SERVICE);
514
List<String> carrierPackages =
telephonyManager
.getCarrierPackageNamesForIntent(
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
NetworkStatsObserversTest.java
50
import android.telephony.
TelephonyManager
;
228
TYPE_MOBILE,
TelephonyManager
.NETWORK_TYPE_UNKNOWN,
258
TYPE_MOBILE,
TelephonyManager
.NETWORK_TYPE_UNKNOWN,
295
TYPE_MOBILE,
TelephonyManager
.NETWORK_TYPE_UNKNOWN,
332
TYPE_MOBILE,
TelephonyManager
.NETWORK_TYPE_UNKNOWN,
370
TYPE_MOBILE,
TelephonyManager
.NETWORK_TYPE_UNKNOWN,
408
TYPE_MOBILE,
TelephonyManager
.NETWORK_TYPE_UNKNOWN,
446
TYPE_MOBILE,
TelephonyManager
.NETWORK_TYPE_UNKNOWN,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
RilMessageDecoder.java
22
import android.telephony.
TelephonyManager
;
61
mSimCount =
TelephonyManager
.getDefault().getSimCount();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
GsmCellBroadcastHandler.java
26
import android.telephony.
TelephonyManager
;
109
String plmn =
TelephonyManager
.from(mContext).getNetworkOperatorForPhone(
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/
InCallPresenterTest.java
26
import android.telephony.
TelephonyManager
;
47
@Mock private
TelephonyManager
mTelephonyManager;
/packages/apps/Messaging/src/com/android/messaging/datamodel/
NoConfirmationSmsSendService.java
24
import android.telephony.
TelephonyManager
;
61
if (!
TelephonyManager
.ACTION_RESPOND_VIA_MESSAGE.equals(action)) {
/packages/services/Telephony/src/com/android/phone/
NotificationMgr.java
44
import android.telephony.
TelephonyManager
;
98
private
TelephonyManager
mTelephonyManager;
121
mTelephonyManager = (
TelephonyManager
) app.getSystemService(Context.TELEPHONY_SERVICE);
374
intent.setAction(
TelephonyManager
.ACTION_SHOW_VOICEMAIL_NOTIFICATION);
377
intent.putExtra(
TelephonyManager
.EXTRA_NOTIFICATION_COUNT, count);
385
intent.putExtra(
TelephonyManager
.EXTRA_VOICEMAIL_NUMBER, number);
390
?
TelephonyManager
.EXTRA_LAUNCH_VOICEMAIL_SETTINGS_INTENT
391
:
TelephonyManager
.EXTRA_CALL_VOICEMAIL_INTENT,
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardHostView.java
27
import android.telephony.
TelephonyManager
;
59
private
TelephonyManager
mTelephonyManager = null;
323
mTelephonyManager = (
TelephonyManager
) getContext().getSystemService(
327
mTelephonyManager.getCallState() !=
TelephonyManager
.CALL_STATE_IDLE) {
/frameworks/base/services/core/java/com/android/server/location/
ComprehensiveCountryDetector.java
27
import android.telephony.
TelephonyManager
;
77
private final
TelephonyManager
mTelephonyManager;
145
mTelephonyManager = (
TelephonyManager
) context.getSystemService(Context.TELEPHONY_SERVICE);
211
// On CDMA
TelephonyManager
.getNetworkCountryIso() just returns SIM country. We don't want
215
return phoneType ==
TelephonyManager
.PHONE_TYPE_GSM;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
CdmaSMSDispatcher.java
30
import android.telephony.
TelephonyManager
;
257
boolean imsSmsDisabled = (currentDataNetwork ==
TelephonyManager
.NETWORK_TYPE_EHRPD
258
|| (currentDataNetwork ==
TelephonyManager
.NETWORK_TYPE_LTE
261
==
TelephonyManager
.NETWORK_TYPE_1xRTT
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/
MainActivity.java
30
import android.telephony.
TelephonyManager
;
153
final
TelephonyManager
telephony =
154
(
TelephonyManager
) getSystemService(Context.TELEPHONY_SERVICE);
/frameworks/opt/net/ims/src/java/com/android/ims/
ImsManager.java
34
import android.telephony.
TelephonyManager
;
338
TelephonyManager
.NETWORK_TYPE_LTE,
384
TelephonyManager
.NETWORK_TYPE_IWLAN,
525
final
TelephonyManager
telephonyManager
=
TelephonyManager
.getDefault();
526
String efIst =
telephonyManager
.getIsimIst();
548
if (
TelephonyManager
.getDefault().getSimState() !=
TelephonyManager
.SIM_STATE_READY) {
599
TelephonyManager
.NETWORK_TYPE_LTE
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
CarrierServiceBindHelper.java
34
import android.telephony.
TelephonyManager
;
93
int numPhones =
TelephonyManager
.from(context).getPhoneCount();
155
TelephonyManager
.from(mContext).getCarrierPackageNamesForIntentAndPhone(
/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/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetPhoneState.java
23
import android.telephony.
TelephonyManager
;
38
private
TelephonyManager
mTelephonyManager;
89
mTelephonyManager = (
TelephonyManager
) context.getSystemService(Context.TELEPHONY_SERVICE);
/packages/apps/Dialer/src/com/android/dialer/calllog/
DefaultVoicemailNotifier.java
35
import android.telephony.
TelephonyManager
;
265
private
TelephonyManager
getTelephonyManager() {
266
return (
TelephonyManager
) mContext.getSystemService(Context.TELEPHONY_SERVICE);
/packages/apps/Dialer/src/com/android/dialer/settings/
SoundSettingsFragment.java
33
import android.telephony.
TelephonyManager
;
112
TelephonyManager
telephonyManager
=
113
(
TelephonyManager
) getActivity().getSystemService(Context.TELEPHONY_SERVICE);
115
&&
telephonyManager
.canChangeDtmfToneLength()
116
&& (
telephonyManager
.isWorldPhone() || !shouldHideCarrierSettings())) {
/packages/apps/Dialer/src/com/android/dialer/util/
TelecomUtil.java
32
import android.telephony.
TelephonyManager
;
223
private static
TelephonyManager
getTelephonyManager(Context context) {
224
return (
TelephonyManager
) context.getSystemService(Context.TELEPHONY_SERVICE);
/packages/apps/Settings/src/com/android/settings/
SmsDefaultDialog.java
28
import android.telephony.
TelephonyManager
;
87
TelephonyManager
tm = (
TelephonyManager
)getSystemService(Context.TELEPHONY_SERVICE);
/packages/apps/Settings/src/com/android/settings/applications/
DefaultEmergencyPreference.java
29
import android.telephony.
TelephonyManager
;
51
TelephonyManager
.ACTION_EMERGENCY_ASSISTANCE);
136
return
TelephonyManager
.EMERGENCY_ASSISTANCE_ENABLED
/packages/apps/Settings/src/com/android/settings/notification/
OtherSoundSettings.java
32
import android.telephony.
TelephonyManager
;
147
final int activePhoneType =
TelephonyManager
.getDefault().getCurrentPhoneType();
148
return activePhoneType ==
TelephonyManager
.PHONE_TYPE_CDMA;
Completed in 269 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>