Searched refs:mRunUtil (Results 1 – 5 of 5) sorted by relevance
/test/vts/tests/fastboot_test/src/com/android/tests/ |
D | FastbootVerifyUserspaceTest.java | 58 private IRunUtil mRunUtil = RunUtil.getDefault(); field in FastbootVerifyUserspaceTest 123 CommandResult result = mRunUtil.runTimedCmd(MAX_CMD_RUN_TIME, mFuzzyFastbootPath, in testFastbootdSlotOperations() 133 CommandResult result = mRunUtil.runTimedCmd(MAX_CMD_RUN_TIME, mFuzzyFastbootPath, in testLogicalPartitionCommands() 151 CommandResult result = mRunUtil.runTimedCmd(MAX_CMD_RUN_TIME, mFuzzyFastbootPath, in testFastbootReboot() 161 CommandResult result = mRunUtil.runTimedCmd(MAX_CMD_RUN_TIME, mFuzzyFastbootPath, in testLogicalPartitionFlashing()
|
/test/app_compat/csuite/harness/src/main/java/com/android/csuite/core/ |
D | ApkInstaller.java | 44 private final IRunUtil mRunUtil; field in ApkInstaller 58 mRunUtil = runUtil; in ApkInstaller() 91 mRunUtil.runTimedCmd(sCommandTimeOut, uninstallCmd); in install() 97 CommandResult apkRes = mRunUtil.runTimedCmd(sCommandTimeOut, installApkCmd); in install() 110 CommandResult obbRes = mRunUtil.runTimedCmd(sObbPushCommandTimeOut, cmd); in install() 166 CommandResult res = mRunUtil.runTimedCmd(sCommandTimeOut, cmd); in uninstallAllInstalledPackages()
|
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/core/ |
D | AppCrawlTesterHostPreparerTest.java | 52 IRunUtil mRunUtil = Mockito.mock(IRunUtil.class); field in AppCrawlTesterHostPreparerTest 107 Mockito.when(mRunUtil.runTimedCmd(Mockito.anyLong(), ArgumentMatchers.<String>any())) in setUp_commandsFailed_throwsException() 116 Mockito.when(mRunUtil.runTimedCmd(Mockito.anyLong(), ArgumentMatchers.<String>any())) in isReady_setUpCommandsSucceed_returnsTrue() 128 Mockito.when(mRunUtil.runTimedCmd(Mockito.anyLong(), ArgumentMatchers.<String>any())) in isReady_setUpFailed_returnsFalse() 147 new AppCrawlTesterHostPreparer(() -> mRunUtil, mFileSystem); in createTestSubject()
|
D | DeviceUtilsTest.java | 61 private IRunUtil mRunUtil = Mockito.mock(IRunUtil.class); field in DeviceUtilsTest 393 when(mRunUtil.runCmdInBackground(Mockito.argThat(contains("shell", "screenrecord")))) in runWithScreenRecording_recordingDidNotStart_jobIsExecuted() 408 when(mRunUtil.runCmdInBackground(Mockito.argThat(contains("shell", "screenrecord")))) in runWithScreenRecording_recordCommandThrowsException_jobIsExecuted() 421 when(mRunUtil.runCmdInBackground(Mockito.argThat(contains("shell", "screenrecord")))) in runWithScreenRecording_jobThrowsException_videoFileIsHandled() 825 when(mRunUtil.runTimedCmd( in getDropboxEntries_noEntries_returnsEmptyList() 852 when(mRunUtil.runTimedCmd( in getDropboxEntries_entryExists_returnsEntry() 868 when(mRunUtil.runTimedCmd( in getDropboxEntriesFromStdout_entryExists_returnsEntry() 874 when(mRunUtil.runTimedCmd( in getDropboxEntriesFromStdout_entryExists_returnsEntry() 965 mDevice, fakeClock.getSleeper(), fakeClock, () -> mRunUtil, () -> iter.next()); in createSubjectUnderTestWithTempFile() 979 () -> mRunUtil, in createSubjectUnderTest()
|
D | AppCrawlTesterTest.java | 68 private final IRunUtil mRunUtil = Mockito.mock(IRunUtil.class); field in AppCrawlTesterTest 241 Mockito.verify(mRunUtil).setEnvVariable(Mockito.eq("ANDROID_SDK"), Mockito.anyString()); in start_sdkPathIsProvidedToCrawler() 692 Mockito.when(mRunUtil.runTimedCmd(Mockito.anyLong(), ArgumentMatchers.<String>any())) in createNotPreparedTestSubject() 699 return new AppCrawlTester(PACKAGE_NAME, mTestUtils, () -> mRunUtil, mFileSystem); in createNotPreparedTestSubject() 706 Mockito.when(mRunUtil.runTimedCmd(Mockito.anyLong(), ArgumentMatchers.<String>any())) in createPreparedTestSubject() 713 return new AppCrawlTester(PACKAGE_NAME, mTestUtils, () -> mRunUtil, mFileSystem); in createPreparedTestSubject()
|