/cts/tests/tests/telephony2/src/android/telephony2/cts/ |
D | TelephonyManagerNoPermissionTest.java | 24 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()
|
D | CallStateListenerPermissionTest.java | 32 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/ |
D | ImsServiceConnector.java | 26 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 …]
|
D | EabBulkCapabilityUpdaterTest.java | 45 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()
|
D | EabControllerTest.java | 40 import android.telephony.cts.TelephonyUtils; 653 return TelephonyUtils.executeShellCommand(InstrumentationRegistry.getInstrumentation(), in getEabCapabilities()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | CallComposerTest.java | 75 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()
|
D | SmsMessageTest.java | 19 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()
|
D | CarrierMessagingServiceWrapperTest.java | 129 TelephonyUtils.hexStringToByteArray(mPdu))), SmsMessage.FORMAT_3GPP, -1, in testReceiveSms() 167 mServiceWrapper.sendDataSms(TelephonyUtils.hexStringToByteArray( in testSendDataSms()
|
D | TelephonyUtils.java | 32 public class TelephonyUtils { class
|
D | SmsManagerTest.java | 225 if (TelephonyUtils.isSkt(mTelephonyManager)) { in testDivideMessage() 228 } else if (TelephonyUtils.isKt(mTelephonyManager)) { in testDivideMessage() 384 TelephonyUtils.endBlockSuppression(getInstrumentation()); in testSmsBlocking()
|
D | PhoneStateListenerTest.java | 961 TelephonyUtils.addTestEmergencyNumber( in testOnOutgoingSmsEmergencyNumberChanged() 995 TelephonyUtils.removeTestEmergencyNumber( in testOnOutgoingSmsEmergencyNumberChanged()
|
D | TelephonyCallbackTest.java | 1013 TelephonyUtils.addTestEmergencyNumber( in testOnOutgoingSmsEmergencyNumberChangedByRegisterTelephonyCallback() 1034 TelephonyUtils.removeTestEmergencyNumber( in testOnOutgoingSmsEmergencyNumberChangedByRegisterTelephonyCallback()
|
D | TelephonyManagerTest.java | 368 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()
|
D | SubscriptionManagerTest.java | 144 TelephonyUtils.flushTelephonyMetrics(InstrumentationRegistry.getInstrumentation()); in tearDownClass()
|
/cts/tests/tests/telephony/current/permissions/src/android/telephony/cts/telephonypermission/ |
D | TelephonyManagerReadPhoneStatePermissionTest.java | 29 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/ |
D | GbaServiceTest.java | 31 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/ |
D | Android.bp | 87 "src/android/telephony/cts/TelephonyUtils.java",
|