OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ServiceState
(Results
26 - 50
of
63
) sorted by null
1
2
3
/frameworks/base/services/java/com/android/server/
TelephonyRegistry.java
36
import android.telephony.
ServiceState
;
96
private
ServiceState
mServiceState = new
ServiceState
();
228
r.callback.onServiceStateChanged(new
ServiceState
(mServiceState));
348
public void notifyServiceState(
ServiceState
state) {
357
r.callback.onServiceStateChanged(new
ServiceState
(state));
642
private void broadcastServiceStateChanged(
ServiceState
state) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
CallManager.java
29
import android.telephony.
ServiceState
;
263
int resultState =
ServiceState
.STATE_OUT_OF_SERVICE;
266
int
serviceState
= phone.getServiceState().getState();
267
if (
serviceState
==
ServiceState
.STATE_IN_SERVICE) {
269
resultState =
serviceState
;
271
} else if (
serviceState
==
ServiceState
.STATE_OUT_OF_SERVICE) {
274
if ( resultState ==
ServiceState
.STATE_EMERGENCY_ONLY ||
275
resultState ==
ServiceState
.STATE_POWER_OFF)
[
all
...]
Phone.java
27
import android.telephony.
ServiceState
;
172
* Get the current
ServiceState
. Use
176
ServiceState
getServiceState();
483
* Register for
ServiceState
changed.
485
* AsyncResult.result will be a
ServiceState
instance
840
* android.telephony.
ServiceState
#getState() getState()}.
[
all
...]
SMSDispatcher.java
49
import android.telephony.
ServiceState
;
465
if (ss !=
ServiceState
.STATE_IN_SERVICE) {
520
if (ss ==
ServiceState
.STATE_POWER_OFF) {
[
all
...]
PhoneBase.java
34
import android.telephony.
ServiceState
;
654
protected void notifyServiceStateChangedP(
ServiceState
ss) {
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
CdmaConnection.java
32
import android.telephony.
ServiceState
;
414
int
serviceState
= phone.getServiceState().getState();
419
if (
serviceState
==
ServiceState
.STATE_POWER_OFF) {
421
} else if (
serviceState
==
ServiceState
.STATE_OUT_OF_SERVICE
422
||
serviceState
==
ServiceState
.STATE_EMERGENCY_ONLY) {
CDMAPhone.java
39
import android.telephony.
ServiceState
;
269
public
ServiceState
getServiceState() {
339
if (mSST.getCurrentDataConnectionState() ==
ServiceState
.STATE_IN_SERVICE) {
670
} else if (mSST.getCurrentDataConnectionState() !=
ServiceState
.STATE_IN_SERVICE) {
901
void notifyServiceStateChanged(
ServiceState
ss) {
[
all
...]
CdmaCallTracker.java
25
import android.telephony.
ServiceState
;
343
int
serviceState
= mPhone.getServiceState().getState();
347
ret = (
serviceState
!=
ServiceState
.STATE_POWER_OFF)
357
"((
serviceState
=%d) !=
ServiceState
.STATE_POWER_OFF)::=%s\n" +
364
serviceState
,
365
serviceState
!=
ServiceState
.STATE_POWER_OFF,
[
all
...]
/packages/apps/Mms/src/com/android/mms/transaction/
SmsReceiverService.java
47
import android.telephony.
ServiceState
;
226
ServiceState
serviceState
=
ServiceState
.newFromBundle(intent.getExtras());
227
if (
serviceState
.getState() ==
ServiceState
.STATE_IN_SERVICE) {
/frameworks/base/services/java/com/android/server/location/
ComprehensiveCountryDetector.java
26
import android.telephony.
ServiceState
;
119
* Number of {@link PhoneStateListener#onServiceStateChanged(
ServiceState
state)} events that
125
* Total number of {@link PhoneStateListener#onServiceStateChanged(
ServiceState
state)} events
440
public void onServiceStateChanged(
ServiceState
serviceState
) {
447
if (DEBUG) Slog.d(TAG, "onServiceStateChanged: " +
serviceState
.getState());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
IccCardProxy.java
31
import android.telephony.
ServiceState
;
139
log("Setting radio tech " +
ServiceState
.rilRadioTechnologyToString(radioTech));
141
if (
ServiceState
.isGsm(radioTech)) {
/packages/apps/Phone/src/com/android/phone/
PhoneInterfaceManager.java
37
import android.telephony.
ServiceState
;
537
// needed for the
ServiceState
.requestStateUpdate() call (which is
543
return mPhone.getServiceState().getVoiceRegState() !=
ServiceState
.STATE_POWER_OFF;
552
if ((mPhone.getServiceState().getVoiceRegState() !=
ServiceState
.STATE_POWER_OFF) != turnOn) {
BluetoothPhoneService.java
35
import android.telephony.
ServiceState
;
181
ServiceState
state = (
ServiceState
) ((AsyncResult) msg.obj).result;
225
private void updateServiceState(
ServiceState
state) {
[
all
...]
PhoneGlobals.java
54
import android.telephony.
ServiceState
;
[
all
...]
NotificationMgr.java
44
import android.telephony.
ServiceState
;
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
GSMPhone.java
34
import android.telephony.
ServiceState
;
245
public
ServiceState
291
!=
ServiceState
.STATE_IN_SERVICE) {
301
} else { /* mSST.gprsState ==
ServiceState
.STATE_IN_SERVICE */
333
if (mSST.getCurrentDataConnectionState() ==
ServiceState
.STATE_IN_SERVICE) {
398
notifyServiceStateChanged(
ServiceState
ss) {
[
all
...]
GsmCallTracker.java
26
import android.telephony.
ServiceState
;
320
int
serviceState
= mPhone.getServiceState().getState();
324
ret = (
serviceState
!=
ServiceState
.STATE_POWER_OFF)
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PhoneStatusBarPolicy.java
36
import android.telephony.
ServiceState
;
/frameworks/base/policy/src/com/android/internal/policy/impl/
GlobalActions.java
52
import android.telephony.
ServiceState
;
846
public void onServiceStateChanged(
ServiceState
serviceState
) {
848
final boolean inAirplaneMode =
serviceState
.getState() ==
ServiceState
.STATE_POWER_OFF;
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
NetworkController.java
37
import android.telephony.
ServiceState
;
74
ServiceState
mServiceState;
441
public void onServiceStateChanged(
ServiceState
state) {
520
case
ServiceState
.STATE_OUT_OF_SERVICE:
521
case
ServiceState
.STATE_POWER_OFF:
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
SipPhone.java
31
import android.telephony.
ServiceState
;
374
public
ServiceState
getServiceState() {
[
all
...]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryHistoryChart.java
31
import android.telephony.
ServiceState
;
621
==
ServiceState
.STATE_POWER_OFF) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
GSMPhoneTest.java
22
import android.telephony.
ServiceState
;
94
ServiceState
state;
99
state = (
ServiceState
) ((AsyncResult) msg.obj).result;
100
} while (state.getState() !=
ServiceState
.STATE_IN_SERVICE);
[
all
...]
/frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java
38
import android.telephony.
ServiceState
;
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DcTracker.java
46
import android.telephony.
ServiceState
;
568
(gprsState ==
ServiceState
.STATE_IN_SERVICE || mAutoAttachOnCreation) &&
578
if (!((gprsState ==
ServiceState
.STATE_IN_SERVICE) || mAutoAttachOnCreation)) {
[
all
...]
Completed in 1744 milliseconds
1
2
3