Home
last modified time | relevance | path

Searched refs:TelephonyUtils (Results 1 – 25 of 32) sorted by relevance

12

/cts/tests/tests/telephony2/src/android/telephony2/cts/
DTelephonyManagerNoPermissionTest.java26 import android.telephony.cts.util.TelephonyUtils;
53 TelephonyUtils.resetCompatCommand(InstrumentationRegistry.getInstrumentation(), in tearDown()
54 TelephonyUtils.CTS_APP_PACKAGE2, in tearDown()
55 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in tearDown()
64 TelephonyUtils.enableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testGetCallState_redirectToTelecom()
65 TelephonyUtils.CTS_APP_PACKAGE2, in testGetCallState_redirectToTelecom()
66 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in testGetCallState_redirectToTelecom()
82 TelephonyUtils.enableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testGetCallStateForSubscription()
83 TelephonyUtils.CTS_APP_PACKAGE2, in testGetCallStateForSubscription()
84 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in testGetCallStateForSubscription()
DCallStateListenerPermissionTest.java33 import android.telephony.cts.util.TelephonyUtils;
103 TelephonyUtils.enableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testCallStatePermission()
104 TelephonyUtils.CTS_APP_PACKAGE2, in testCallStatePermission()
105 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in testCallStatePermission()
122 TelephonyUtils.resetCompatCommand(InstrumentationRegistry.getInstrumentation(), in testCallStatePermission()
123 TelephonyUtils.CTS_APP_PACKAGE2, in testCallStatePermission()
124 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in testCallStatePermission()
DTelephonyManagerReadPhoneStatePermissionTest.java29 import android.telephony.cts.util.TelephonyUtils;
66 TelephonyUtils.resetCompatCommand(InstrumentationRegistry.getInstrumentation(), in tearDown()
67 TelephonyUtils.CTS_APP_PACKAGE, in tearDown()
68 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in tearDown()
111 TelephonyUtils.enableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions()
112 TelephonyUtils.CTS_APP_PACKAGE, in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions()
113 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsServiceConnector.java28 import android.telephony.cts.util.TelephonyUtils;
299 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in setDeviceImsService()
311 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in setCarrierImsService()
323 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in setDeviceImsService()
334 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in setCarrierImsService()
344 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in clearCarrierImsServiceOverride()
415 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in getMmTelCarrierService()
424 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in getRcsCarrierService()
433 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in getMmTelDeviceService()
442 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in getRcsDeviceService()
[all …]
DSipDelegateManagerTest.java41 import android.telephony.cts.util.TelephonyUtils;
900 TelephonyUtils.enableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testDelegateRegistrationChanges()
901 TelephonyUtils.CTS_APP_PACKAGE, in testDelegateRegistrationChanges()
902 TelephonyUtils.SUPPORT_REGISTERING_DELEGATE_STATE_STRING); in testDelegateRegistrationChanges()
903 TelephonyUtils.enableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testDelegateRegistrationChanges()
904 TelephonyUtils.CTS_APP_PACKAGE, in testDelegateRegistrationChanges()
905 TelephonyUtils.SUPPORT_DEREGISTERING_LOSING_PDN_STATE_STRING); in testDelegateRegistrationChanges()
936 TelephonyUtils.resetCompatCommand(InstrumentationRegistry.getInstrumentation(), in testDelegateRegistrationChanges()
937 TelephonyUtils.CTS_APP_PACKAGE, in testDelegateRegistrationChanges()
938 TelephonyUtils.SUPPORT_REGISTERING_DELEGATE_STATE_STRING); in testDelegateRegistrationChanges()
[all …]
DImsServiceTest.java62 import android.telephony.cts.util.TelephonyUtils;
434 TelephonyUtils.resetCompatCommand(InstrumentationRegistry.getInstrumentation(), in afterTest()
435 TelephonyUtils.CTS_APP_PACKAGE, SUPPORT_PUBLISHING_STATE_STRING); in afterTest()
436 TelephonyUtils.resetCompatCommand(InstrumentationRegistry.getInstrumentation(), in afterTest()
437 TelephonyUtils.CTS_APP_PACKAGE, SUPPORT_PROVISION_STATUS_FOR_CAPABILITY_STRING); in afterTest()
1460 TelephonyUtils.enableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testRcsDeviceCapabilitiesPublish()
1461 TelephonyUtils.CTS_APP_PACKAGE, in testRcsDeviceCapabilitiesPublish()
1705 TelephonyUtils.enableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testRcsAttributesPublish()
1706 TelephonyUtils.CTS_APP_PACKAGE, in testRcsAttributesPublish()
1925 TelephonyUtils.enableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testPublishImsReg()
[all …]
DImsCallingBase.java40 import android.telephony.cts.util.TelephonyUtils;
590 TelephonyUtils.executeShellCommand( in setDefaultDialer()
597 TelephonyUtils.executeShellCommand(instrumentation, COMMAND_GET_DEFAULT_DIALER); in getDefaultDialer()
625 TelephonyUtils.endBlockSuppression(InstrumentationRegistry.getInstrumentation()); in tearDownEmergencyCalling()
DEabBulkCapabilityUpdaterTest.java43 import android.telephony.cts.util.TelephonyUtils;
354 return TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in getEabContact()
445 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in cleanupTestContactInEabProvider()
453 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in cleanupTestContactInEabProvider()
DDomainSelectionCrossSimRedialingTestOnMockModem.java67 import android.telephony.cts.util.TelephonyUtils;
296 TelephonyUtils.endBlockSuppression(InstrumentationRegistry.getInstrumentation()); in afterTest()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCallComposerTest.java33 import android.telephony.cts.util.TelephonyUtils;
80 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in setUp()
82 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in setUp()
92 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in tearDown()
189 String error = TelephonyUtils.parseErrorCodeToString(result.second.getErrorCode(), in pictureUploadHelper()
194 String expectedError = TelephonyUtils.parseErrorCodeToString(expectedErrorCode, in pictureUploadHelper()
202 TelephonyUtils.parseErrorCodeToString(result.second.getErrorCode(), in pictureUploadHelper()
226 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in checkStoredData()
257 mPreviousDefaultDialer = TelephonyUtils.executeShellCommand( in overrideDefaultDialer()
259 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in overrideDefaultDialer()
[all …]
DDomainSelectionServiceConnector.java28 import android.telephony.cts.util.TelephonyUtils;
111 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in setTestDomainSelectionService()
118 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in clearTestDomainSelectionServiceOverride()
DDomainSelectionCallingBase.java32 import android.telephony.cts.util.TelephonyUtils;
314 return TelephonyUtils.executeShellCommand( in setDefaultDialer()
319 return TelephonyUtils.executeShellCommand(instrumentation, COMMAND_GET_DEFAULT_DIALER); in getDefaultDialer()
333 TelephonyUtils.endBlockSuppression(InstrumentationRegistry.getInstrumentation()); in tearDownEmergencyCalling()
DNetworkRegistrationInfoTest.java24 import android.telephony.cts.util.TelephonyUtils;
360 TelephonyUtils.disableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testReturnRegistrationStateEmergencyAndChangesCompatDisabled()
361 TelephonyUtils.CTS_APP_PACKAGE, RETURN_REGISTRATION_STATE_EMERGENCY_STRING); in testReturnRegistrationStateEmergencyAndChangesCompatDisabled()
381 TelephonyUtils.resetCompatCommand(InstrumentationRegistry.getInstrumentation(), in testReturnRegistrationStateEmergencyAndChangesCompatDisabled()
382 TelephonyUtils.CTS_APP_PACKAGE, RETURN_REGISTRATION_STATE_EMERGENCY_STRING); in testReturnRegistrationStateEmergencyAndChangesCompatDisabled()
DTelephonyManagerTestOnMockModem.java65 import android.telephony.cts.util.TelephonyUtils;
170 mShaId = getShaId(TelephonyUtils.CTS_APP_PACKAGE); in beforeAllTests()
241 TelephonyUtils.resetCarrierRestrictionStatusAllowList( in afterTest()
905 TelephonyUtils.addCarrierRestrictionStatusAllowList( in getCarrierRestrictionStatus_ReadPhoneState_NotRestricted()
907 TelephonyUtils.CTS_APP_PACKAGE, 10110, mShaId); in getCarrierRestrictionStatus_ReadPhoneState_NotRestricted()
932 TelephonyUtils.addCarrierRestrictionStatusAllowList( in getCarrierRestrictionStatus_ReadPhoneState_Restricted()
934 TelephonyUtils.CTS_APP_PACKAGE, 10110, mShaId); in getCarrierRestrictionStatus_ReadPhoneState_Restricted()
960 TelephonyUtils.addCarrierRestrictionStatusAllowList( in getCarrierRestrictionStatus_ReadPhoneState_RestrictedToCaller_MNO()
962 TelephonyUtils.CTS_APP_PACKAGE, 1839, mShaId); in getCarrierRestrictionStatus_ReadPhoneState_RestrictedToCaller_MNO()
989 TelephonyUtils.addCarrierRestrictionStatusAllowList( in getCarrierRestrictionStatus_ReadPhoneState_RestrictedToCaller_MNO1()
[all …]
DSmsMessageTest.java19 import static android.telephony.cts.util.TelephonyUtils.hexStringToByteArray;
38 import android.telephony.cts.util.TelephonyUtils;
120 assertEquals(pdu, TelephonyUtils.toHexString(sms.getPdu())); in testCreateFromPdu()
176 if (TelephonyUtils.isSkt(mTelephonyManager)) { in assertRemaining()
179 } else if (TelephonyUtils.isKt(mTelephonyManager)) { in assertRemaining()
DCarrierMessagingServiceWrapperTest.java37 import android.telephony.cts.util.TelephonyUtils;
149 TelephonyUtils.hexStringToByteArray(mPdu))), SmsMessage.FORMAT_3GPP, -1, in testReceiveSms()
187 mServiceWrapper.sendDataSms(TelephonyUtils.hexStringToByteArray( in testSendDataSms()
DPhoneStateListenerTest.java52 import android.telephony.cts.util.TelephonyUtils;
969 TelephonyUtils.addTestEmergencyNumber( in testOnOutgoingSmsEmergencyNumberChanged()
1007 TelephonyUtils.removeTestEmergencyNumber( in testOnOutgoingSmsEmergencyNumberChanged()
1012 TelephonyUtils.endBlockSuppression(InstrumentationRegistry.getInstrumentation()); in testOnOutgoingSmsEmergencyNumberChanged()
DSmsManagerTest.java68 import android.telephony.cts.util.TelephonyUtils;
244 if (TelephonyUtils.isSkt(mTelephonyManager)) { in testDivideMessage()
247 } else if (TelephonyUtils.isKt(mTelephonyManager)) { in testDivideMessage()
439 TelephonyUtils.endBlockSuppression(getInstrumentation()); in testSmsBlocking()
/cts/tests/tests/telephony5/src/android/telephony5/cts/
DTelephonyManagerReadNonDangerousPermissionTest.java27 import android.telephony.cts.util.TelephonyUtils;
60 TelephonyUtils.resetCompatCommand(InstrumentationRegistry.getInstrumentation(), in tearDown()
61 TelephonyUtils.CTS_APP_PACKAGE2, in tearDown()
62 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in tearDown()
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DCarrierRoamingSatelliteSmsTest.java43 import android.telephony.cts.util.TelephonyUtils;
148 TelephonyUtils.addTestEmergencyNumber( in testSendEmergencySms()
158 TelephonyUtils.removeTestEmergencyNumber( in testSendEmergencySms()
176 TelephonyUtils.addTestEmergencyNumber( in testSendEmergencySmsAutomaticallyOnSatelliteConnected()
181 TelephonyUtils.removeTestEmergencyNumber( in testSendEmergencySmsAutomaticallyOnSatelliteConnected()
220 TelephonyUtils.addTestEmergencyNumber(InstrumentationRegistry.getInstrumentation(), in testSendEmergencySmsImsEnabled()
226 TelephonyUtils.removeTestEmergencyNumber(InstrumentationRegistry.getInstrumentation(), in testSendEmergencySmsImsEnabled()
DMockSatelliteServiceManager.java45 import android.telephony.cts.util.TelephonyUtils;
1025 TelephonyUtils.executeShellCommand(mInstrumentation, in setSatelliteListeningTimeoutDuration()
1047 TelephonyUtils.executeShellCommand(mInstrumentation, command.toString()); in setDatagramControllerTimeoutDuration()
1068 TelephonyUtils.executeShellCommand(mInstrumentation, command.toString()); in setDatagramControllerBooleanConfig()
1089 TelephonyUtils.executeShellCommand(mInstrumentation, command.toString()); in setSatelliteControllerTimeoutDuration()
1100 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in setShouldSendDatagramToModemInDemoMode()
1142 TelephonyUtils.executeShellCommand(mInstrumentation, in stopExternalSatelliteService()
1154 TelephonyUtils.executeShellCommand(mInstrumentation, in stopExternalSatelliteGatewayService()
1170 TelephonyUtils.executeShellCommand(mInstrumentation, in stopExternalMockPointingUi()
1264 TelephonyUtils.executeShellCommand(mInstrumentation, command.toString()); in setCountryCodes()
[all …]
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockModemServiceConnector.java25 import android.telephony.cts.util.TelephonyUtils;
124 TelephonyUtils.executeShellCommand( in setModemService()
132 TelephonyUtils.executeShellCommand( in getModemService()
140 TelephonyUtils.executeShellCommand( in clearModemServiceOverride()
DMockCentralizedNetworkAgent.java19 import android.telephony.cts.util.TelephonyUtils;
63 TelephonyUtils.executeShellCommand( in setNetworkAgentInfo()
/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/
DGbaServiceTest.java32 import android.telephony.cts.util.TelephonyUtils;
81 sServiceConfig = TelephonyUtils.executeShellCommand( in init()
83 sReleaseTimeConfig = Integer.parseInt(TelephonyUtils.executeShellCommand( in init()
245 String result = TelephonyUtils.executeShellCommand(sInstrumentation, in setService()
251 String result = TelephonyUtils.executeShellCommand(sInstrumentation, in setReleaseTime()
/cts/tests/tests/telephony/current/src/android/telephony/euicc/cts/
DEuiccManagerTest.java38 import android.telephony.cts.util.TelephonyUtils;
283 TelephonyUtils.disableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testSwitchToSubscritionDisableWithNoPortAndChangesCompatDisabled()
284 TelephonyUtils.CTS_APP_PACKAGE, in testSwitchToSubscritionDisableWithNoPortAndChangesCompatDisabled()
311 TelephonyUtils.resetCompatCommand(InstrumentationRegistry.getInstrumentation(), in testSwitchToSubscritionDisableWithNoPortAndChangesCompatDisabled()
312 TelephonyUtils.CTS_APP_PACKAGE, in testSwitchToSubscritionDisableWithNoPortAndChangesCompatDisabled()
854 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in setTestEuiccUiComponent()

12