OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TelephonyManager
(Results
26 - 50
of
159
) sorted by null
1
2
3
4
5
6
7
/packages/apps/DeskClock/src/com/android/deskclock/
TimerRingService.java
31
import android.telephony.
TelephonyManager
;
40
private
TelephonyManager
mTelephonyManager;
51
if (state !=
TelephonyManager
.CALL_STATE_IDLE
62
(
TelephonyManager
) getSystemService(Context.TELEPHONY_SERVICE);
128
!=
TelephonyManager
.CALL_STATE_IDLE) {
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmService.java
24
import android.telephony.
TelephonyManager
;
78
private
TelephonyManager
mTelephonyManager;
89
if (state !=
TelephonyManager
.CALL_STATE_IDLE && state != mInitialCallState) {
108
boolean inCall = mInitialCallState !=
TelephonyManager
.CALL_STATE_IDLE;
130
mTelephonyManager = (
TelephonyManager
) getSystemService(Context.TELEPHONY_SERVICE);
/packages/apps/Dialer/src/com/android/dialer/
SpecialCharSequenceMgr.java
34
import android.telephony.
TelephonyManager
;
158
TelephonyManager
telephonyManager
=
159
(
TelephonyManager
) context.getSystemService(Context.TELEPHONY_SERVICE);
160
if (
telephonyManager
== null
161
|| !TelephonyCapabilities.supportsAdn(
telephonyManager
.getCurrentPhoneType())) {
243
TelephonyManager
telephonyManager
=
244
(
TelephonyManager
) context.getSystemService(Context.TELEPHONY_SERVICE);
245
if (
telephonyManager
!= null && input.equals(MMI_IMEI_DISPLAY))
[
all
...]
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/
DataIdleTest.java
28
import android.telephony.
TelephonyManager
;
38
private
TelephonyManager
mTelephonyManager;
49
mTelephonyManager = (
TelephonyManager
) c.getSystemService(Context.TELEPHONY_SERVICE);
/packages/apps/Contacts/src/com/android/contacts/util/
PhoneCapabilityTester.java
28
import android.telephony.
TelephonyManager
;
65
final
TelephonyManager
telephonyManager
= new
TelephonyManager
(context);
66
sIsPhone =
telephonyManager
.isVoiceCapable();
/frameworks/base/core/java/android/net/
NetworkIdentity.java
27
import android.telephony.
TelephonyManager
;
85
builder.append(
TelephonyManager
.getNetworkTypeName(mSubType));
151
final
TelephonyManager
telephony = (
TelephonyManager
) context.getSystemService(
NetworkTemplate.java
26
import static android.telephony.
TelephonyManager
.NETWORK_CLASS_2_G;
27
import static android.telephony.
TelephonyManager
.NETWORK_CLASS_3_G;
28
import static android.telephony.
TelephonyManager
.NETWORK_CLASS_4_G;
29
import static android.telephony.
TelephonyManager
.NETWORK_CLASS_UNKNOWN;
30
import static android.telephony.
TelephonyManager
.getNetworkClass;
/packages/apps/Mms/src/com/android/mms/
MmsApp.java
31
import android.telephony.
TelephonyManager
;
51
private
TelephonyManager
mTelephonyManager;
149
* @return Returns the
TelephonyManager
.
151
public
TelephonyManager
getTelephonyManager() {
153
mTelephonyManager = (
TelephonyManager
)getApplicationContext()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
RealSystemFacade.java
25
import android.telephony.
TelephonyManager
;
73
boolean isRoaming = isMobile &&
TelephonyManager
.getDefault().isNetworkRoaming();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
NetworkController.java
38
import android.telephony.
TelephonyManager
;
66
final
TelephonyManager
mPhone;
69
int mPhoneState =
TelephonyManager
.CALL_STATE_IDLE;
70
int mDataNetType =
TelephonyManager
.NETWORK_TYPE_UNKNOWN;
71
int mDataState =
TelephonyManager
.DATA_DISCONNECTED;
72
int mDataActivity =
TelephonyManager
.DATA_ACTIVITY_NONE;
198
mPhone = (
TelephonyManager
)context.getSystemService(Context.TELEPHONY_SERVICE);
252
return mPhone.getPhoneType() !=
TelephonyManager
.PHONE_TYPE_NONE;
327
boolean mobileIn = mDataConnected && (mDataActivity ==
TelephonyManager
.DATA_ACTIVITY_INOUT
328
|| mDataActivity ==
TelephonyManager
.DATA_ACTIVITY_IN)
[
all
...]
/cts/tests/tests/permission/src/android/permission/cts/
NoLocationPermissionTest.java
28
import android.telephony.
TelephonyManager
;
66
TelephonyManager
telephonyManager
= (
TelephonyManager
) getContext().getSystemService(
70
telephonyManager
.listen(phoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION);
71
fail("
TelephonyManager
.listen(LISTEN_CELL_LOCATION) did not" +
78
telephonyManager
.getCellLocation();
79
fail("
TelephonyManager
.getCellLocation did not throw SecurityException as expected");
93
TelephonyManager
telephonyManager
= (TelephonyManager) getContext().getSystemService
[
all
...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
PhoneFallbackEventHandler.java
30
import android.telephony.
TelephonyManager
;
48
TelephonyManager
mTelephonyManager;
95
if (getTelephonyManager().getCallState() !=
TelephonyManager
.CALL_STATE_IDLE) {
266
TelephonyManager
getTelephonyManager() {
268
mTelephonyManager = (
TelephonyManager
)mContext.getSystemService(
/cts/tests/tests/permission2/src/android/permission2/cts/
NoReceiveSmsPermissionTest.java
27
import android.telephony.
TelephonyManager
;
92
TelephonyManager
telephony = (
TelephonyManager
)
/external/robolectric/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/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/Settings/src/com/android/settings/net/
DataUsageMeteredSettings.java
34
import android.telephony.
TelephonyManager
;
95
final
TelephonyManager
tele =
TelephonyManager
.from(context);
/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/services/Telephony/src/com/android/phone/
OtaStartupReceiver.java
31
import android.telephony.
TelephonyManager
;
121
TelephonyManager
telephonyManager
= (
TelephonyManager
)context.getSystemService(
123
telephonyManager
.listen(mPhoneStateListener, PhoneStateListener.LISTEN_OTASP_CHANGED);
/cts/tests/tests/app/src/android/app/cts/
SystemFeaturesTest.java
39
import android.telephony.
TelephonyManager
;
60
private
TelephonyManager
mTelephonyManager;
78
mTelephonyManager = (
TelephonyManager
) mContext.getSystemService(Context.TELEPHONY_SERVICE);
311
* Check that the {@link
TelephonyManager
#getPhoneType()} matches the reported features.
316
case
TelephonyManager
.PHONE_TYPE_GSM:
321
case
TelephonyManager
.PHONE_TYPE_CDMA:
326
case
TelephonyManager
.PHONE_TYPE_NONE:
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardSecurityModel.java
20
import android.telephony.
TelephonyManager
;
73
|| monitor.getPhoneState() !=
TelephonyManager
.CALL_STATE_IDLE;
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertAudio.java
37
import android.telephony.
TelephonyManager
;
101
private
TelephonyManager
mTelephonyManager;
150
if (state !=
TelephonyManager
.CALL_STATE_IDLE
208
(
TelephonyManager
) getSystemService(Context.TELEPHONY_SERVICE);
333
!=
TelephonyManager
.CALL_STATE_IDLE) {
CellBroadcastReceiver.java
32
import android.telephony.
TelephonyManager
;
58
TelephonyManager
tm = (
TelephonyManager
) context.getSystemService(
197
isCdma = (phone.getActivePhoneType() ==
TelephonyManager
.PHONE_TYPE_CDMA);
/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) {
/packages/apps/Settings/src/com/android/settings/deviceinfo/
Status.java
43
import android.telephony.
TelephonyManager
;
125
private
TelephonyManager
mTelephonyManager;
216
mTelephonyManager = (
TelephonyManager
)getSystemService(TELEPHONY_SERVICE);
261
((
TelephonyManager
) getSystemService(TELEPHONY_SERVICE))
385
if (
TelephonyManager
.NETWORK_TYPE_UNKNOWN != mTelephonyManager.getNetworkType()) {
396
case
TelephonyManager
.DATA_CONNECTED:
399
case
TelephonyManager
.DATA_SUSPENDED:
402
case
TelephonyManager
.DATA_CONNECTING:
405
case
TelephonyManager
.DATA_DISCONNECTED:
/external/chromium_org/net/android/javatests/src/org/chromium/net/
NetworkChangeNotifierTest.java
10
import android.telephony.
TelephonyManager
;
122
connectivityDelegate.setNetworkSubtype(
TelephonyManager
.NETWORK_TYPE_UNKNOWN);
Completed in 950 milliseconds
1
2
3
4
5
6
7