Home
last modified time | relevance | path

Searched refs:instr (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/cts/util/
DTelephonyUtils.java241 public static void addTestEmergencyNumber(Instrumentation instr, String testNumber) in addTestEmergencyNumber() argument
243 executeShellCommand(instr, COMMAND_ADD_TEST_EMERGENCY_NUMBER + testNumber); in addTestEmergencyNumber()
246 public static void removeTestEmergencyNumber(Instrumentation instr, String testNumber) in removeTestEmergencyNumber() argument
248 executeShellCommand(instr, COMMAND_REMOVE_TEST_EMERGENCY_NUMBER + testNumber); in removeTestEmergencyNumber()
251 public static void endBlockSuppression(Instrumentation instr) throws Exception { in endBlockSuppression() argument
252 executeShellCommand(instr, COMMAND_END_BLOCK_SUPPRESSION); in endBlockSuppression()
255 public static void flushTelephonyMetrics(Instrumentation instr) throws Exception { in flushTelephonyMetrics() argument
256 executeShellCommand(instr, COMMAND_FLUSH_TELEPHONY_METRICS); in flushTelephonyMetrics()
259 public static void enableCompatCommand(Instrumentation instr, String pkgName, in enableCompatCommand() argument
261 executeShellCommand(instr, COMMAND_AM_COMPAT + "enable --no-kill " + commandName + " " in enableCompatCommand()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java576 public static void addTestEmergencyNumber(Instrumentation instr, in addTestEmergencyNumber() argument
578 executeShellCommand(instr, COMMAND_ADD_TEST_EMERGENCY_NUMBER + testNumber); in addTestEmergencyNumber()
581 public static void removeTestEmergencyNumber(Instrumentation instr, in removeTestEmergencyNumber() argument
583 executeShellCommand(instr, COMMAND_REMOVE_TEST_EMERGENCY_NUMBER + number); in removeTestEmergencyNumber()
586 public static void clearTestEmergencyNumbers(Instrumentation instr) throws Exception { in clearTestEmergencyNumbers() argument
587 executeShellCommand(instr, COMMAND_CLEAR_TEST_EMERGENCY_NUMBERS); in clearTestEmergencyNumbers()
590 public static void setTestEmergencyPhoneAccountPackageFilter(Instrumentation instr, in setTestEmergencyPhoneAccountPackageFilter() argument
592 executeShellCommand(instr, COMMAND_SET_TEST_EMERGENCY_PHONE_ACCOUNT_PACKAGE_NAME_FILTER in setTestEmergencyPhoneAccountPackageFilter()
597 Instrumentation instr) throws Exception { in clearTestEmergencyPhoneAccountPackageFilter() argument
598 executeShellCommand(instr, COMMAND_SET_TEST_EMERGENCY_PHONE_ACCOUNT_PACKAGE_NAME_FILTER); in clearTestEmergencyPhoneAccountPackageFilter()
[all …]
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DInstallConstraintsTest.kt68 private val instr: Instrumentation = InstrumentationRegistry.getInstrumentation() in <lambda>() constant in android.packageinstaller.install.cts.InstallConstraintsTest
69 private val testUserId: Int = instr.targetContext.user.identifier in <lambda>()
73 instr.uiAutomation.adoptShellPermissionIdentity( in <lambda>()
82 val uiAutomation: UiAutomation? = instr.uiAutomation in <lambda>()
466 instr.context.packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) in <lambda>()
477 instr.context.getSystemService(ActivityManager::class.java)!! in <lambda>()
499 val pm: PackageManager = instr.context.packageManager in <lambda>()