OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TelephonyManager
(Results
51 - 75
of
159
) sorted by null
1
2
3
4
5
6
7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
SmsApplication.java
36
import android.telephony.
TelephonyManager
;
179
intent = new Intent(
TelephonyManager
.ACTION_RESPOND_VIA_MESSAGE,
258
TelephonyManager
tm = (
TelephonyManager
)context.getSystemService(Context.TELEPHONY_SERVICE);
259
if (tm.getPhoneType() ==
TelephonyManager
.PHONE_TYPE_NONE) {
370
TelephonyManager
tm = (
TelephonyManager
)context.getSystemService(Context.TELEPHONY_SERVICE);
371
if (tm.getPhoneType() ==
TelephonyManager
.PHONE_TYPE_NONE) {
/packages/apps/Settings/src/com/android/settings/
CryptKeeper.java
38
import android.telephony.
TelephonyManager
;
516
final
TelephonyManager
tm = (
TelephonyManager
) getSystemService(Context.TELEPHONY_SERVICE);
665
TelephonyManager
.getDefault().getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE;
701
final int newState =
TelephonyManager
.getDefault().getCallState();
703
if (newState ==
TelephonyManager
.CALL_STATE_OFFHOOK) {
721
if (
TelephonyManager
.getDefault().getCallState() ==
TelephonyManager
.CALL_STATE_OFFHOOK) {
RadioInfo.java
37
import android.telephony.
TelephonyManager
;
127
private
TelephonyManager
mTelephonyManager;
250
mTelephonyManager = (
TelephonyManager
)getSystemService(TELEPHONY_SERVICE);
408
case
TelephonyManager
.DATA_CONNECTED:
409
case
TelephonyManager
.DATA_SUSPENDED:
412
case
TelephonyManager
.DATA_DISCONNECTED:
614
case
TelephonyManager
.DATA_CONNECTED:
617
case
TelephonyManager
.DATA_CONNECTING:
620
case
TelephonyManager
.DATA_DISCONNECTED:
623
case
TelephonyManager
.DATA_SUSPENDED
[
all
...]
SecuritySettings.java
43
import android.telephony.
TelephonyManager
;
232
TelephonyManager
tm =
TelephonyManager
.getDefault();
237
if ((
TelephonyManager
.getDefault().getSimState() ==
238
TelephonyManager
.SIM_STATE_ABSENT) ||
239
(
TelephonyManager
.getDefault().getSimState() ==
240
TelephonyManager
.SIM_STATE_UNKNOWN)) {
SoundSettings.java
48
import android.telephony.
TelephonyManager
;
133
int activePhoneType =
TelephonyManager
.getDefault().getCurrentPhoneType();
139
if (
TelephonyManager
.PHONE_TYPE_CDMA != activePhoneType) {
184
if (
TelephonyManager
.PHONE_TYPE_CDMA == activePhoneType) {
WirelessSettings.java
43
import android.telephony.
TelephonyManager
;
82
private
TelephonyManager
mTm;
250
return (mTm.getPhoneType() !=
TelephonyManager
.PHONE_TYPE_NONE);
262
mTm = (
TelephonyManager
) getSystemService(Context.TELEPHONY_SERVICE);
/cts/tests/tests/telephony/src/android/telephony/cts/
SmsManagerTest.java
30
import android.telephony.
TelephonyManager
;
172
private
TelephonyManager
mTelephonyManager;
193
(
TelephonyManager
) getContext().getSystemService(Context.TELEPHONY_SERVICE);
264
if (mTelephonyManager.getPhoneType() ==
TelephonyManager
.PHONE_TYPE_CDMA) {
SmsMessageTest.java
23
import android.telephony.
TelephonyManager
;
28
private
TelephonyManager
mTelephonyManager;
70
(
TelephonyManager
) getContext().getSystemService(Context.TELEPHONY_SERVICE);
240
if (mTelephonyManager.getPhoneType() ==
TelephonyManager
.PHONE_TYPE_CDMA) {
PhoneStateListenerTest.java
24
import android.telephony.
TelephonyManager
;
39
private
TelephonyManager
mTelephonyManager;
48
mTelephonyManager = (
TelephonyManager
) context.getSystemService(Context.TELEPHONY_SERVICE);
/frameworks/base/services/java/com/android/server/location/
ComprehensiveCountryDetector.java
27
import android.telephony.
TelephonyManager
;
78
private final
TelephonyManager
mTelephonyManager;
146
mTelephonyManager = (
TelephonyManager
) context.getSystemService(Context.TELEPHONY_SERVICE);
212
// On CDMA
TelephonyManager
.getNetworkCountryIso() just returns SIM country. We don't want
216
return phoneType ==
TelephonyManager
.PHONE_TYPE_GSM;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardFaceUnlockView.java
23
import android.telephony.
TelephonyManager
;
239
if (monitor.getPhoneState() ==
TelephonyManager
.CALL_STATE_IDLE
255
if (phoneState ==
TelephonyManager
.CALL_STATE_RINGING) {
KeyguardUpdateMonitor.java
51
import android.telephony.
TelephonyManager
;
288
} else if (
TelephonyManager
.ACTION_PHONE_STATE_CHANGED.equals(action)) {
289
String state = intent.getStringExtra(
TelephonyManager
.EXTRA_STATE);
520
filter.addAction(
TelephonyManager
.ACTION_PHONE_STATE_CHANGED);
699
if (
TelephonyManager
.EXTRA_STATE_IDLE.equals(newState)) {
700
mPhoneState =
TelephonyManager
.CALL_STATE_IDLE;
701
} else if (
TelephonyManager
.EXTRA_STATE_OFFHOOK.equals(newState)) {
702
mPhoneState =
TelephonyManager
.CALL_STATE_OFFHOOK;
703
} else if (
TelephonyManager
.EXTRA_STATE_RINGING.equals(newState)) {
704
mPhoneState =
TelephonyManager
.CALL_STATE_RINGING
[
all
...]
/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
;
34
private
TelephonyManager
mTelephonyManager;
66
mTelephonyManager = (
TelephonyManager
) context.getSystemService(Context.TELEPHONY_SERVICE);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastConfigService.java
28
import android.telephony.
TelephonyManager
;
155
TelephonyManager
tm = (
TelephonyManager
) getSystemService(
CellBroadcastSettings.java
29
import android.telephony.
TelephonyManager
;
185
TelephonyManager
tm = (
TelephonyManager
) getActivity().getSystemService(
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
SmsMessageBodyTest.java
20
import android.telephony.
TelephonyManager
;
561
int activePhone =
TelephonyManager
.getDefault().getPhoneType();
562
if (
TelephonyManager
.PHONE_TYPE_GSM == activePhone) {
583
int activePhone =
TelephonyManager
.getDefault().getPhoneType();
584
if (
TelephonyManager
.PHONE_TYPE_CDMA == activePhone) {
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DeviceInfoInstrument.java
30
import android.telephony.
TelephonyManager
;
103
TelephonyManager
tm = (
TelephonyManager
) getContext().getSystemService(
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
BandwidthTest.java
30
import android.telephony.
TelephonyManager
;
57
private
TelephonyManager
mTManager;
76
mTManager = (
TelephonyManager
)mContext.getSystemService(Context.TELEPHONY_SERVICE);
/frameworks/opt/telephony/src/java/android/telephony/
SmsMessage.java
32
import static android.telephony.
TelephonyManager
.PHONE_TYPE_CDMA;
143
int activePhone =
TelephonyManager
.getDefault().getCurrentPhoneType();
720
int activePhone =
TelephonyManager
.getDefault().getCurrentPhoneType();
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
GlobalSearchSupport.java
33
import android.telephony.
TelephonyManager
;
171
TelephonyManager
telman = (
TelephonyManager
)
/packages/services/Telephony/src/com/android/phone/
CdmaOptions.java
27
import android.telephony.
TelephonyManager
;
/frameworks/base/services/java/com/android/server/
TelephonyRegistry.java
39
import android.telephony.
TelephonyManager
;
92
private int mCallState =
TelephonyManager
.CALL_STATE_IDLE;
104
private int mDataActivity =
TelephonyManager
.DATA_ACTIVITY_NONE;
106
private int mDataConnectionState =
TelephonyManager
.DATA_UNKNOWN;
491
if (state ==
TelephonyManager
.DATA_CONNECTED) {
680
if (state ==
TelephonyManager
.CALL_STATE_IDLE) {
691
Intent intent = new Intent(
TelephonyManager
.ACTION_PHONE_STATE_CHANGED);
695
intent.putExtra(
TelephonyManager
.EXTRA_INCOMING_NUMBER, incomingNumber);
/frameworks/base/telephony/java/android/telephony/
TelephonyManager.java
65
public class
TelephonyManager
{
66
private static final String TAG = "
TelephonyManager
";
105
public
TelephonyManager
(Context context) {
120
private
TelephonyManager
() {
124
private static
TelephonyManager
sInstance = new
TelephonyManager
();
128
public static
TelephonyManager
getDefault() {
133
public static
TelephonyManager
from(Context context) {
134
return (
TelephonyManager
) context.getSystemService(Context.TELEPHONY_SERVICE);
[
all
...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
ImportExportDialogFragment.java
31
import android.telephony.
TelephonyManager
;
100
if (
TelephonyManager
.getDefault().hasIccCard()
Completed in 426 milliseconds
1
2
3
4
5
6
7