Home
last modified time | relevance | path

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

/cts/tests/tests/telephony2/src/android/telephony2/cts/
DTelephonyManagerNoPermissionTest.java24 import android.telephony.cts.TelephonyUtils;
50 TelephonyUtils.resetCompatCommand(InstrumentationRegistry.getInstrumentation(), in tearDown()
51 TelephonyUtils.CTS_APP_PACKAGE2, in tearDown()
52 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in tearDown()
61 TelephonyUtils.enableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testGetCallState_redirectToTelecom()
62 TelephonyUtils.CTS_APP_PACKAGE2, in testGetCallState_redirectToTelecom()
63 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in testGetCallState_redirectToTelecom()
79 TelephonyUtils.enableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testGetCallStateForSubscription()
80 TelephonyUtils.CTS_APP_PACKAGE2, in testGetCallStateForSubscription()
81 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in testGetCallStateForSubscription()
DCallStateListenerPermissionTest.java32 import android.telephony.cts.TelephonyUtils;
109 TelephonyUtils.enableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testCallStatePermission()
110 TelephonyUtils.CTS_APP_PACKAGE2, in testCallStatePermission()
111 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in testCallStatePermission()
128 TelephonyUtils.resetCompatCommand(InstrumentationRegistry.getInstrumentation(), in testCallStatePermission()
129 TelephonyUtils.CTS_APP_PACKAGE2, in testCallStatePermission()
130 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in testCallStatePermission()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsServiceConnector.java26 import android.telephony.cts.TelephonyUtils;
262 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in setDeviceImsService()
274 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in setCarrierImsService()
286 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in setDeviceImsService()
297 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in setCarrierImsService()
307 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in clearCarrierImsServiceOverride()
372 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in getMmTelCarrierService()
381 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in getRcsCarrierService()
390 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in getMmTelDeviceService()
399 String result = TelephonyUtils.executeShellCommand(mInstrumentation, in getRcsDeviceService()
[all …]
DEabBulkCapabilityUpdaterTest.java45 import android.telephony.cts.TelephonyUtils;
356 return TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in getEabContact()
447 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in cleanupTestContactInEabProvider()
455 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in cleanupTestContactInEabProvider()
DEabControllerTest.java40 import android.telephony.cts.TelephonyUtils;
653 return TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in getEabCapabilities()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCallComposerTest.java75 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in setUp()
77 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in setUp()
84 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in tearDown()
169 String error = TelephonyUtils.parseErrorCodeToString(result.second.getErrorCode(), in pictureUploadHelper()
174 String expectedError = TelephonyUtils.parseErrorCodeToString(expectedErrorCode, in pictureUploadHelper()
182 TelephonyUtils.parseErrorCodeToString(result.second.getErrorCode(), in pictureUploadHelper()
206 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in checkStoredData()
237 mPreviousDefaultDialer = TelephonyUtils.executeShellCommand( in overrideDefaultDialer()
239 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in overrideDefaultDialer()
245 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in restoreDefaultDialer()
DSmsMessageTest.java19 import static android.telephony.cts.TelephonyUtils.hexStringToByteArray;
117 assertEquals(pdu, TelephonyUtils.toHexString(sms.getPdu())); in testCreateFromPdu()
165 if (TelephonyUtils.isSkt(mTelephonyManager)) { in assertRemaining()
168 } else if (TelephonyUtils.isKt(mTelephonyManager)) { in assertRemaining()
DCarrierMessagingServiceWrapperTest.java129 TelephonyUtils.hexStringToByteArray(mPdu))), SmsMessage.FORMAT_3GPP, -1, in testReceiveSms()
167 mServiceWrapper.sendDataSms(TelephonyUtils.hexStringToByteArray( in testSendDataSms()
DTelephonyUtils.java32 public class TelephonyUtils { class
DSmsManagerTest.java225 if (TelephonyUtils.isSkt(mTelephonyManager)) { in testDivideMessage()
228 } else if (TelephonyUtils.isKt(mTelephonyManager)) { in testDivideMessage()
384 TelephonyUtils.endBlockSuppression(getInstrumentation()); in testSmsBlocking()
DPhoneStateListenerTest.java961 TelephonyUtils.addTestEmergencyNumber( in testOnOutgoingSmsEmergencyNumberChanged()
995 TelephonyUtils.removeTestEmergencyNumber( in testOnOutgoingSmsEmergencyNumberChanged()
DTelephonyCallbackTest.java1013 TelephonyUtils.addTestEmergencyNumber( in testOnOutgoingSmsEmergencyNumberChangedByRegisterTelephonyCallback()
1034 TelephonyUtils.removeTestEmergencyNumber( in testOnOutgoingSmsEmergencyNumberChangedByRegisterTelephonyCallback()
DTelephonyManagerTest.java368 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in tearDown()
1354 TelephonyUtils.pollUntilTrue(() -> initialDataSetting != isDataEnabled(), 5 /*times*/, in testResetSettings()
1363 TelephonyUtils.pollUntilTrue(() -> defaultDataSetting != isDataEnabled(), in testResetSettings()
1378 TelephonyUtils.pollUntilTrue(() -> defaultDataSetting == isDataEnabled(), in testResetSettings()
4045 TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in testSendThermalMitigationRequest()
DSubscriptionManagerTest.java144 TelephonyUtils.flushTelephonyMetrics(InstrumentationRegistry.getInstrumentation()); in tearDownClass()
/cts/tests/tests/telephony/current/permissions/src/android/telephony/cts/telephonypermission/
DTelephonyManagerReadPhoneStatePermissionTest.java29 import android.telephony.cts.TelephonyUtils;
67 TelephonyUtils.resetCompatCommand(InstrumentationRegistry.getInstrumentation(), in tearDown()
68 TelephonyUtils.CTS_APP_PACKAGE, in tearDown()
69 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in tearDown()
110 TelephonyUtils.enableCompatCommand(InstrumentationRegistry.getInstrumentation(), in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions()
111 TelephonyUtils.CTS_APP_PACKAGE, in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions()
112 TelephonyUtils.ENABLE_GET_CALL_STATE_PERMISSION_PROTECTION_STRING); in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions()
/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/
DGbaServiceTest.java31 import android.telephony.cts.TelephonyUtils;
82 sServiceConfig = TelephonyUtils.executeShellCommand( in init()
84 sReleaseTimeConfig = Integer.parseInt(TelephonyUtils.executeShellCommand( in init()
315 String result = TelephonyUtils.executeShellCommand(sInstrumentation, in setService()
321 String result = TelephonyUtils.executeShellCommand(sInstrumentation, in setReleaseTime()
/cts/tests/tests/telephony/current/
DAndroid.bp87 "src/android/telephony/cts/TelephonyUtils.java",