OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TelephonyManager
(Results
76 - 100
of
308
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
PhoneStateIntentReceiver.java
27
import android.telephony.
TelephonyManager
;
34
* Use android.telephony.
TelephonyManager
and PhoneStateListener instead.
126
mFilter.addAction(
TelephonyManager
.ACTION_PHONE_STATE_CHANGED);
173
} else if (
TelephonyManager
.ACTION_PHONE_STATE_CHANGED.equals(action)) {
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastSearchIndexableProvider.java
27
import android.telephony.
TelephonyManager
;
135
TelephonyManager
tm = (
TelephonyManager
) getContext().getSystemService(
CellBroadcastReceiver.java
32
import android.telephony.
TelephonyManager
;
204
TelephonyManager
tm =
TelephonyManager
.getDefault();
206
isCdma = (tm.getCurrentPhoneType(subId) ==
TelephonyManager
.PHONE_TYPE_CDMA);
CellBroadcastAlertAudio.java
39
import android.telephony.
TelephonyManager
;
116
private
TelephonyManager
mTelephonyManager;
179
if (state !=
TelephonyManager
.CALL_STATE_IDLE
258
(
TelephonyManager
) getSystemService(Context.TELEPHONY_SERVICE);
400
!=
TelephonyManager
.CALL_STATE_IDLE) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/telecom/
TelecomManagerCompat.java
27
import android.telephony.
TelephonyManager
;
146
* @param
telephonyManager
the {@link
TelephonyManager
} to use if TelecomManager#getLine1Number
153
@Nullable
TelephonyManager
telephonyManager
,
158
if (
telephonyManager
!= null) {
159
return
telephonyManager
.getLine1Number();
205
* @param
telephonyManager
The {@link
TelephonyManager
} object to use for retrieving the
213
@Nullable
TelephonyManager
telephonyManager
[
all
...]
/packages/apps/Dialer/src/com/android/dialer/settings/
DialerSettingsActivity.java
27
import android.telephony.
TelephonyManager
;
84
TelephonyManager
telephonyManager
=
85
(
TelephonyManager
) getSystemService(Context.TELEPHONY_SERVICE);
93
&& TelephonyManagerCompat.getPhoneCount(
telephonyManager
) <= 1) {
119
&& (TelephonyManagerCompat.isTtyModeSupported(
telephonyManager
)
120
|| TelephonyManagerCompat.isHearingAidCompatibilitySupported(
telephonyManager
))) {
/packages/apps/Settings/src/com/android/settings/
ResetNetworkConfirm.java
29
import android.telephony.
TelephonyManager
;
84
TelephonyManager
telephonyManager
= (
TelephonyManager
)
86
if (
telephonyManager
!= null) {
87
telephonyManager
.factoryReset(mSubId);
93
String subscriberId =
telephonyManager
.getSubscriberId(mSubId);
SettingsDumpService.java
26
import android.telephony.
TelephonyManager
;
79
TelephonyManager
telephonyManager
=
TelephonyManager
.from(this);
84
telephonyManager
.getSubscriberId(info.getSubscriptionId()));
/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()));
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
MyMockContext.java
31
import android.telephony.
TelephonyManager
;
52
TelephonyManager
mTelephonyManager;
142
mSupportedServiceNamesByClass.put(
TelephonyManager
.class, Context.TELEPHONY_SERVICE);
/packages/services/Telecomm/src/com/android/server/telecom/components/
ChangeDefaultDialerDialog.java
27
import android.telephony.
TelephonyManager
;
77
final
TelephonyManager
tm = (
TelephonyManager
)getSystemService(Context.TELEPHONY_SERVICE);
/packages/services/Telephony/src/com/android/phone/
OtaStartupReceiver.java
31
import android.telephony.
TelephonyManager
;
122
TelephonyManager
telephonyManager
= (
TelephonyManager
)context.getSystemService(
124
telephonyManager
.listen(mPhoneStateListener, PhoneStateListener.LISTEN_OTASP_CHANGED);
/packages/services/Telephony/src/com/android/phone/vvm/omtp/fetch/
FetchVoicemailReceiver.java
30
import android.telephony.
TelephonyManager
;
98
TelephonyManager
telephonyManager
= (
TelephonyManager
)
100
accountId =
telephonyManager
.getSimSerialNumber();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DataUsageController.java
30
import android.telephony.
TelephonyManager
;
41
import static android.telephony.
TelephonyManager
.SIM_STATE_READY;
56
private final
TelephonyManager
mTelephonyManager;
67
mTelephonyManager =
TelephonyManager
.from(context);
229
final
TelephonyManager
tele =
TelephonyManager
.from(context);
/frameworks/base/services/core/java/com/android/server/
TelephonyRegistry.java
38
import android.telephony.
TelephonyManager
;
217
int numPhones =
TelephonyManager
.getDefault().getPhoneCount();
295
int numPhones =
TelephonyManager
.getDefault().getPhoneCount();
315
mCallState[i] =
TelephonyManager
.CALL_STATE_IDLE;
316
mDataActivity[i] =
TelephonyManager
.DATA_ACTIVITY_NONE;
317
mDataConnectionState[i] =
TelephonyManager
.DATA_UNKNOWN;
[
all
...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardUpdateMonitorCallback.java
23
import android.telephony.
TelephonyManager
;
64
* {@link
TelephonyManager
#EXTRA_STATE_IDLE}
65
* {@link
TelephonyManager
@EXTRA_STATE_RINGING}
66
* {@link
TelephonyManager
#EXTRA_STATE_OFFHOOK
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmService.java
27
import android.telephony.
TelephonyManager
;
101
private
TelephonyManager
mTelephonyManager;
112
if (state !=
TelephonyManager
.CALL_STATE_IDLE && state != mInitialCallState) {
198
mTelephonyManager = (
TelephonyManager
) getSystemService(Context.TELEPHONY_SERVICE);
/packages/apps/Messaging/src/com/android/messaging/util/
ConnectivityUtil.java
27
import android.telephony.
TelephonyManager
;
33
private final
TelephonyManager
mTelephonyManager;
48
mTelephonyManager = (
TelephonyManager
) context.getSystemService(Context.TELEPHONY_SERVICE);
70
mCurrentServiceState = (state ==
TelephonyManager
.DATA_DISCONNECTED) ?
155
* @param subId This is ignored because
TelephonyManager
does not support it.
/packages/apps/Stk/src/com/android/stk/
StkAppInstaller.java
26
import android.telephony.
TelephonyManager
;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
NetworkControllerSignalTest.java
27
import android.telephony.
TelephonyManager
;
287
updateDataConnectionState(
TelephonyManager
.DATA_CONNECTED,
288
TelephonyManager
.NETWORK_TYPE_CDMA);
380
updateDataActivity(
TelephonyManager
.DATA_ACTIVITY_IN);
393
updateDataActivity(
TelephonyManager
.DATA_ACTIVITY_OUT);
406
updateDataActivity(
TelephonyManager
.DATA_ACTIVITY_INOUT);
419
updateDataActivity(
TelephonyManager
.DATA_ACTIVITY_NONE);
/frameworks/opt/telephony/src/java/android/telephony/
SmsMessage.java
35
import static android.telephony.
TelephonyManager
.PHONE_TYPE_CDMA;
169
int activePhone =
TelephonyManager
.getDefault().getCurrentPhoneType();
766
int activePhone =
TelephonyManager
.getDefault().getCurrentPhoneType();
783
simOperator =
TelephonyManager
.getDefault().getSimOperatorNumeric();
784
gid =
TelephonyManager
.getDefault().getGroupIdLevel1();
815
simOperator =
TelephonyManager
.getDefault().getSimOperatorNumeric();
816
gid =
TelephonyManager
.getDefault().getGroupIdLevel1();
/packages/apps/Dialer/src/com/android/dialer/
SpecialCharSequenceMgr.java
36
import android.telephony.
TelephonyManager
;
198
TelephonyManager
telephonyManager
=
199
(
TelephonyManager
) context.getSystemService(Context.TELEPHONY_SERVICE);
200
if (
telephonyManager
== null
201
||
telephonyManager
.getPhoneType() !=
TelephonyManager
.PHONE_TYPE_GSM) {
326
TelephonyManager
telephonyManager
=
327
(
TelephonyManager
) context.getSystemService(Context.TELEPHONY_SERVICE)
[
all
...]
/cts/tests/tests/telephony/src/android/telephony/cts/
MmsTest.java
30
import android.telephony.
TelephonyManager
;
87
private
TelephonyManager
mTelephonyManager;
168
(
TelephonyManager
) mContext.getSystemService(Context.TELEPHONY_SERVICE);
309
final
TelephonyManager
telephonyManager
= (
TelephonyManager
) context.getSystemService(
311
return
telephonyManager
.getLine1Number();
/frameworks/base/core/java/android/net/
NetworkTemplate.java
28
import static android.telephony.
TelephonyManager
.NETWORK_CLASS_2_G;
29
import static android.telephony.
TelephonyManager
.NETWORK_CLASS_3_G;
30
import static android.telephony.
TelephonyManager
.NETWORK_CLASS_4_G;
31
import static android.telephony.
TelephonyManager
.NETWORK_CLASS_UNKNOWN;
32
import static android.telephony.
TelephonyManager
.getNetworkClass;
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
TrackerService.java
40
import android.telephony.
TelephonyManager
;
68
private
TelephonyManager
mTelephonyManager;
143
mTelephonyManager = (
TelephonyManager
)getSystemService(Context.TELEPHONY_SERVICE);
370
if (mTelephonyManager.getPhoneType() ==
TelephonyManager
.PHONE_TYPE_CDMA) {
373
} else if (mTelephonyManager.getPhoneType() ==
TelephonyManager
.PHONE_TYPE_GSM) {
Completed in 2214 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>