OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ServiceState
(Results
1 - 25
of
63
) sorted by null
1
2
3
/frameworks/base/telephony/java/android/telephony/
ServiceState.aidl
20
parcelable
ServiceState
;
ServiceState.java
27
* The following phone information is included in returned
ServiceState
:
36
public class
ServiceState
implements Parcelable {
188
* Create a new
ServiceState
from a intent notifier Bundle
194
* @return newly created
ServiceState
197
public static
ServiceState
newFromBundle(Bundle m) {
198
ServiceState
ret;
199
ret = new
ServiceState
();
207
public
ServiceState
() {
215
public
ServiceState
(
ServiceState
s)
[
all
...]
PhoneStateListener.java
22
import android.telephony.
ServiceState
;
58
* @see
ServiceState
174
* @see
ServiceState
#STATE_EMERGENCY_ONLY
175
* @see
ServiceState
#STATE_IN_SERVICE
176
* @see
ServiceState
#STATE_OUT_OF_SERVICE
177
* @see
ServiceState
#STATE_POWER_OFF
179
public void onServiceStateChanged(
ServiceState
serviceState
) {
186
* @see
ServiceState
#STATE_EMERGENCY_ONLY
187
* @see
ServiceState
#STATE_IN_SERVIC
[
all
...]
/cts/tests/tests/telephony/src/android/telephony/cts/
ServiceStateTest.java
19
import android.telephony.
ServiceState
;
28
ServiceState
serviceState
= new
ServiceState
();
30
assertEquals(0,
serviceState
.describeContents());
32
serviceState
.setStateOff();
33
assertEquals(
ServiceState
.STATE_POWER_OFF,
serviceState
.getState());
34
checkOffStatus(
serviceState
);
36
serviceState
.setStateOutOfService()
[
all
...]
PhoneStateListenerTest.java
23
import android.telephony.
ServiceState
;
79
public void onServiceStateChanged(
ServiceState
serviceState
) {
/frameworks/base/telephony/java/com/android/internal/telephony/
IPhoneStateListener.aidl
20
import android.telephony.
ServiceState
;
25
void onServiceStateChanged(in
ServiceState
serviceState
);
ITelephonyRegistry.aidl
23
import android.telephony.
ServiceState
;
32
void notifyServiceState(in
ServiceState
state);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
CdmaLteServiceStateTracker.java
30
import android.telephony.
ServiceState
;
256
boolean hasRegistered = mSS.getVoiceRegState() !=
ServiceState
.STATE_IN_SERVICE
257
&& mNewSS.getVoiceRegState() ==
ServiceState
.STATE_IN_SERVICE;
259
boolean hasDeregistered = mSS.getVoiceRegState() ==
ServiceState
.STATE_IN_SERVICE
260
&& mNewSS.getVoiceRegState() !=
ServiceState
.STATE_IN_SERVICE;
263
mSS.getDataRegState() !=
ServiceState
.STATE_IN_SERVICE
264
&& mNewSS.getDataRegState() ==
ServiceState
.STATE_IN_SERVICE;
267
mSS.getDataRegState() ==
ServiceState
.STATE_IN_SERVICE
268
&& mNewSS.getDataRegState() !=
ServiceState
.STATE_IN_SERVICE;
288
mNewSS.getDataRegState() ==
ServiceState
.STATE_IN_SERVICE &
[
all
...]
CdmaServiceStateTracker.java
39
import android.telephony.
ServiceState
;
567
int regState =
ServiceState
.RIL_REG_STATE_UNKNOWN;
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
PhoneStateIntentReceiver.java
25
import android.telephony.
ServiceState
;
48
ServiceState
mServiceState = new
ServiceState
();
86
public
ServiceState
getServiceState() {
186
mServiceState =
ServiceState
.newFromBundle(intent.getExtras());
ServiceStateTracker.java
26
import android.telephony.
ServiceState
;
59
public
ServiceState
mSS = new
ServiceState
();
60
protected
ServiceState
mNewSS = new
ServiceState
();
444
if (getCurrentDataConnectionState() ==
ServiceState
.STATE_IN_SERVICE) {
462
if (getCurrentDataConnectionState() !=
ServiceState
.STATE_IN_SERVICE) {
480
if (mSS.getVoiceRegState() ==
ServiceState
.STATE_IN_SERVICE) {
DefaultPhoneNotifier.java
25
import android.telephony.
ServiceState
;
61
ServiceState
ss = sender.getServiceState();
63
ss = new
ServiceState
();
129
ServiceState
ss = sender.getServiceState();
PhoneProxy.java
32
import android.telephony.
ServiceState
;
84
mIccCardProxy.setVoiceRadioTech(
ServiceState
.RIL_RADIO_TECHNOLOGY_UMTS);
86
mIccCardProxy.setVoiceRadioTech(
ServiceState
.RIL_RADIO_TECHNOLOGY_1xRTT);
157
newVoiceRadioTech =
ServiceState
.RIL_RADIO_TECHNOLOGY_1xRTT;
160
if ((
ServiceState
.isCdma(newVoiceRadioTech) &&
162
(
ServiceState
.isGsm(newVoiceRadioTech) &&
173
if (newVoiceRadioTech ==
ServiceState
.RIL_RADIO_TECHNOLOGY_UNKNOWN) {
225
+ (
ServiceState
.isGsm(newVoiceRadioTech) ? "GSM" : "CDMA"));
240
if (
ServiceState
.isCdma(newVoiceRadioTech)) {
242
} else if (
ServiceState
.isGsm(newVoiceRadioTech))
[
all
...]
/packages/apps/Phone/src/com/android/phone/
OtaStartupReceiver.java
30
import android.telephony.
ServiceState
;
75
ServiceState
state = (
ServiceState
) ((AsyncResult) msg.obj).result;
87
if (state.getState() ==
ServiceState
.STATE_IN_SERVICE) {
137
if (app.mCM.getServiceState() !=
ServiceState
.STATE_IN_SERVICE) {
EmergencyCallHelper.java
34
import android.telephony.
ServiceState
;
201
ServiceState
state = (
ServiceState
) ((AsyncResult) msg.obj).result;
213
boolean okToCall = (state.getState() ==
ServiceState
.STATE_IN_SERVICE)
214
|| (state.getState() ==
ServiceState
.STATE_EMERGENCY_ONLY);
284
int
serviceState
= mPhone.getServiceState().getState();
286
+ ", service state " +
serviceState
303
if (
serviceState
!=
ServiceState
.STATE_POWER_OFF) {
CallController.java
34
import android.telephony.
ServiceState
;
339
// Check the current
ServiceState
to make sure it's OK
616
* Checks the current
ServiceState
to make sure it's OK
625
if (VDBG) log("checkIfOkToInitiateOutgoingCall:
ServiceState
= " + state);
628
case
ServiceState
.STATE_IN_SERVICE:
632
case
ServiceState
.STATE_POWER_OFF:
636
case
ServiceState
.STATE_EMERGENCY_ONLY:
640
// does not actually use
ServiceState
.STATE_EMERGENCY_ONLY,
647
case
ServiceState
.STATE_OUT_OF_SERVICE:
652
throw new IllegalStateException("Unexpected
ServiceState
: " + state)
[
all
...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetPhoneState.java
21
import android.telephony.
ServiceState
;
35
private
ServiceState
mServiceState;
176
public void onServiceStateChanged(
ServiceState
serviceState
) {
177
mServiceState =
serviceState
;
178
mService = (
serviceState
.getState() ==
ServiceState
.STATE_IN_SERVICE) ?
244
ServiceState
.RIL_RADIO_TECHNOLOGY_EVDO_0 ||
246
ServiceState
.RIL_RADIO_TECHNOLOGY_EVDO_A)) {
/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/
ImsFrameworkApp.java
27
import android.telephony.
ServiceState
;
100
ServiceState
ss =
ServiceState
.newFromBundle(intent.getExtras());
101
Log.d(TAG, "-
ServiceState
: " + ss);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
GsmServiceStateTracker.java
49
import android.telephony.
ServiceState
;
511
if (mSS.getVoiceRegState() ==
ServiceState
.STATE_OUT_OF_SERVICE
512
|| mSS.getVoiceRegState() ==
ServiceState
.STATE_EMERGENCY_ONLY) {
525
} else if (mSS.getVoiceRegState() ==
ServiceState
.STATE_IN_SERVICE) {
611
int type =
ServiceState
.RIL_RADIO_TECHNOLOGY_UNKNOWN;
612
int regState =
ServiceState
.RIL_REG_STATE_UNKNOWN;
647
if ((regState ==
ServiceState
.RIL_REG_STATE_DENIED_EMERGENCY_CALL_ENABLED
648
|| regState ==
ServiceState
.RIL_REG_STATE_NOT_REG_EMERGENCY_CALL_ENABLED
649
|| regState ==
ServiceState
.RIL_REG_STATE_SEARCHING_EMERGENCY_CALL_ENABLED
650
|| regState ==
ServiceState
.RIL_REG_STATE_UNKNOWN_EMERGENCY_CALL_ENABLED
[
all
...]
GsmConnection.java
28
import android.telephony.
ServiceState
;
370
int
serviceState
= phone.getServiceState().getState();
376
if (
serviceState
==
ServiceState
.STATE_POWER_OFF) {
378
} else if (
serviceState
==
ServiceState
.STATE_OUT_OF_SERVICE
379
||
serviceState
==
ServiceState
.STATE_EMERGENCY_ONLY ) {
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastReceiver.java
31
import android.telephony.
ServiceState
;
57
if (DBG) log("Registering for
ServiceState
updates");
214
public void onServiceStateChanged(
ServiceState
ss) {
219
if (newState ==
ServiceState
.STATE_IN_SERVICE ||
220
newState ==
ServiceState
.STATE_EMERGENCY_ONLY) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
SipPhoneBase.java
29
import android.telephony.
ServiceState
;
120
public
ServiceState
getServiceState() {
123
ServiceState
s = new
ServiceState
();
124
s.setState(
ServiceState
.STATE_IN_SERVICE);
220
void notifyServiceStateChanged(
ServiceState
ss) {
230
int
serviceState
= getServiceState().getState();
231
Rlog.v(LOG_TAG, "canDial():
serviceState
= " +
serviceState
);
232
if (
serviceState
== ServiceState.STATE_POWER_OFF) return false
[
all
...]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
Status.java
42
import android.telephony.
ServiceState
;
160
ServiceState
serviceState
= status.mPhoneStateReceiver.getServiceState();
161
status.updateServiceState(
serviceState
);
413
private void updateServiceState(
ServiceState
serviceState
) {
414
int state =
serviceState
.getState();
418
case
ServiceState
.STATE_IN_SERVICE:
421
case
ServiceState
.STATE_OUT_OF_SERVICE:
422
case
ServiceState
.STATE_EMERGENCY_ONLY
[
all
...]
/packages/apps/Mms/src/com/android/mms/util/
DownloadManager.java
34
import android.telephony.
ServiceState
;
95
ServiceState
state =
ServiceState
.newFromBundle(intent.getExtras());
/packages/apps/Settings/src/com/android/settings/
RadioInfo.java
36
import android.telephony.
ServiceState
;
424
return phone.getServiceState().getState() !=
ServiceState
.STATE_POWER_OFF;
451
if ((
ServiceState
.STATE_OUT_OF_SERVICE == state) ||
452
(
ServiceState
.STATE_POWER_OFF == state)) {
557
ServiceState
serviceState
= mPhoneStateReceiver.getServiceState();
558
int state =
serviceState
.getState();
563
case
ServiceState
.STATE_IN_SERVICE:
566
case
ServiceState
.STATE_OUT_OF_SERVICE:
567
case
ServiceState
.STATE_EMERGENCY_ONLY
[
all
...]
Completed in 640 milliseconds
1
2
3