OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:serviceState
(Results
1 - 25
of
26
) sorted by null
1
2
/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
...]
/packages/apps/Phone/src/com/android/phone/
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) {
InCallScreen.java
48
import android.telephony.
ServiceState
;
[
all
...]
/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
...]
/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) {
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
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
GsmCallTracker.java
26
import android.telephony.
ServiceState
;
320
int
serviceState
= mPhone.getServiceState().getState();
324
ret = (
serviceState
!=
ServiceState
.STATE_POWER_OFF)
[
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 ) {
/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/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) {
/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/Bluetooth/src/com/android/bluetooth/btservice/
AdapterService.java
440
Integer
serviceState
= mProfileServicesState.get(serviceName);
441
if(
serviceState
!= null &&
serviceState
!= expectedCurrentState) {
443
serviceName+". Invalid state: " +
serviceState
);
[
all
...]
/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
...]
/prebuilts/sdk/11/
android.jar
/prebuilts/sdk/12/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/14/
android.jar
/prebuilts/sdk/15/
android.jar
/prebuilts/sdk/17/
android.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/4/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/7/
android.jar
/prebuilts/sdk/9/
android.jar
Completed in 641 milliseconds
1
2