/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | ServiceStateTest.java | 65 private ServiceState serviceState; field in ServiceStateTest 69 serviceState = new ServiceState(); in setUp() 74 assertEquals(0, serviceState.describeContents()); in testDescribeContents() 79 serviceState.setStateOff(); in testSetStateOff() 80 assertEquals(STATE_POWER_OFF, serviceState.getState()); in testSetStateOff() 81 checkOffStatus(serviceState); in testSetStateOff() 86 serviceState.setStateOutOfService(); in testSetStateOutOfService() 87 assertEquals(STATE_OUT_OF_SERVICE, serviceState.getState()); in testSetStateOutOfService() 88 checkOffStatus(serviceState); in testSetStateOutOfService() 93 serviceState.setState(ServiceState.STATE_IN_SERVICE); in testSetState() [all …]
|
D | TestDomainSelectionService.java | 140 @NonNull ServiceState serviceState) { in onServiceStateUpdated() argument 143 super.onServiceStateUpdated(slotId, subId, serviceState); in onServiceStateUpdated()
|
D | TelephonyManagerTest.java | 1713 ServiceState serviceState = mTelephonyManager.getServiceState(); in testGetNetworkCountryIso() local 1714 if (serviceState != null && (serviceState.getState() in testGetNetworkCountryIso() 1715 == ServiceState.STATE_IN_SERVICE || serviceState.getState() in testGetNetworkCountryIso() 1731 serviceState = mTelephonyManager.createForSubscriptionId(i).getServiceState(); in testGetNetworkCountryIso() 1733 if (serviceState != null && (serviceState.getState() in testGetNetworkCountryIso() 1734 == ServiceState.STATE_IN_SERVICE || serviceState.getState() in testGetNetworkCountryIso() 2001 public void onServiceStateChanged(ServiceState serviceState) { in testGetServiceState() 2003 mServiceState = serviceState; in testGetServiceState() 2463 public void onServiceStateChanged(ServiceState serviceState) { in testRebootRadio() 2465 if (serviceState.getState() == ServiceState.STATE_IN_SERVICE) { in testRebootRadio() [all …]
|
D | TelephonyManagerTestOnMockModem.java | 494 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument 495 Log.d(TAG, "Callback: service state = " + serviceState.getVoiceRegState()); in onServiceStateChanged() 497 mServiceState = serviceState.getVoiceRegState(); in onServiceStateChanged() 498 if (serviceState.getVoiceRegState() == mExpectedRegState) { in onServiceStateChanged()
|
D | PhoneStateListenerTest.java | 193 public void onServiceStateChanged(ServiceState serviceState) { in testOnServiceStateChanged() 223 public void onServiceStateChanged(ServiceState serviceState) { in testOnUnRegisterFollowedByRegister()
|
D | TelephonyCallbackTest.java | 238 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument 241 mServiceState = serviceState; in onServiceStateChanged()
|
/cts/hostsidetests/time/host/src/android/time/cts/host/ |
D | LocationTimeZoneManagerHostTest.java | 255 LocationTimeZoneManagerServiceStateProto serviceState = dumpServiceState(); in testOnlyPrimary_suggestionMade() local 256 assertControllerStateHistory(serviceState, in testOnlyPrimary_suggestionMade() 260 assertProviderStates(serviceState.getPrimaryProviderStatesList(), in testOnlyPrimary_suggestionMade() 265 assertProviderStates(serviceState.getSecondaryProviderStatesList(), in testOnlyPrimary_suggestionMade() 274 LocationTimeZoneManagerServiceStateProto serviceState = dumpServiceState(); in testOnlyPrimary_suggestionMade() local 275 assertControllerStateHistory(serviceState, in testOnlyPrimary_suggestionMade() 277 assertLastEventWithSuggestion(serviceState, "Europe/London"); in testOnlyPrimary_suggestionMade() 278 assertProviderStates(serviceState.getPrimaryProviderStatesList(), in testOnlyPrimary_suggestionMade() 282 assertProviderStates(serviceState.getSecondaryProviderStatesList()); in testOnlyPrimary_suggestionMade() 413 LocationTimeZoneManagerServiceStateProto serviceState = dumpServiceState(); in assertPrimaryReportedCertain() local [all …]
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/ |
D | BiometricTestBase.java | 199 final BiometricServiceState serviceState = getCurrentState(); in waitForState() local 200 if (serviceState.mState != state) { in waitForState() 201 Log.d(TAG, "Not in state " + state + " yet, current: " + serviceState.mState); in waitForState() 213 final BiometricServiceState serviceState = getCurrentState(); in waitForStateNotEqual() local 214 if (serviceState.mState == state) { in waitForStateNotEqual() 215 Log.d(TAG, "Not out of state yet, current: " + serviceState.mState); in waitForStateNotEqual() 225 final BiometricServiceState serviceState = getCurrentState(); in anyEnrollmentsExist() local 227 for (SensorState sensorState : serviceState.mSensorStates.sensorStates.values()) { in anyEnrollmentsExist() 230 Log.d(TAG, "Enrollments still exist: " + serviceState); in anyEnrollmentsExist() 538 final BiometricServiceState serviceState = getCurrentState(); in getCurrentStrength() local [all …]
|
/cts/tests/tests/telephony3/src/android/telephony3/cts/ |
D | PhoneStateListenerTest.java | 90 public void onServiceStateChanged(ServiceState serviceState) { in testOnUnRegisterFollowedByRegister()
|
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/ |
D | CarrierRoamingSatelliteTestBase.java | 246 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument 247 logd(TAG, "onServiceStateChanged: serviceState=" + serviceState); in onServiceStateChanged() 250 if (serviceState.isUsingNonTerrestrialNetwork()) { in onServiceStateChanged()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsMmTelManagerTest.java | 124 public void onServiceStateChanged(ServiceState serviceState) { in onServiceStateChanged() argument 125 logd("onServiceStateChanged: serviceState=" + serviceState); in onServiceStateChanged() 128 if (serviceState.isUsingNonTerrestrialNetwork()) { in onServiceStateChanged()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | RemoteConnectionTest.java | 126 ServiceState serviceState = mTelephonyManager.getServiceState(); in testRemoteConnectionOutgoingEmergencyCall() local 127 if (serviceState != null) { in testRemoteConnectionOutgoingEmergencyCall() 128 NetworkRegistrationInfo nri = serviceState.getNetworkRegistrationInfo(DOMAIN_CS, in testRemoteConnectionOutgoingEmergencyCall()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 2298 final int serviceState = mPackageManager.getComponentEnabledSetting(SERVICE_COMPONENT); in setComponentEnabledSettings_disableSelf() local 2301 assertThat(serviceState).isAnyOf( in setComponentEnabledSettings_disableSelf() 2314 new ComponentEnabledSetting(SERVICE_COMPONENT, serviceState, DONT_KILL_APP)); in setComponentEnabledSettings_disableSelf() 2366 final int serviceState = mPackageManager.getComponentEnabledSetting(SERVICE_COMPONENT); in setComponentEnabledSettings_noStateChanged_noBroadcastReceived() local 2369 new ComponentEnabledSetting(SERVICE_COMPONENT, serviceState, DONT_KILL_APP)); in setComponentEnabledSettings_noStateChanged_noBroadcastReceived() 2378 final int serviceState = mPackageManager.getComponentEnabledSetting(SERVICE_COMPONENT); in setComponentEnabledSetting_disableMultiplePackagesNoKill() local 2401 new ComponentEnabledSetting(SERVICE_COMPONENT, serviceState, DONT_KILL_APP)); in setComponentEnabledSetting_disableMultiplePackagesNoKill()
|