Home
last modified time | relevance | path

Searched refs:assertCommandSucceeds (Results 1 – 7 of 7) sorted by relevance

/art/test/odsign/test-src/com/android/tests/odsign/
DCompOsDenialHostTest.java69 testUtils.assertCommandSucceeds( in beforeClassWithDevice()
93 mFirstArch = mTestUtils.assertCommandSucceeds("getprop ro.bionic.arch"); in setUp()
96 mTestUtils.assertCommandSucceeds("rm -rf " + PENDING_ARTIFACTS_DIR); in setUp()
97 mTestUtils.assertCommandSucceeds("cp -rp " + PENDING_ARTIFACTS_BACKUP_DIR + " " + in setUp()
109 mTestUtils.assertCommandSucceeds( in denyDueToInconsistentFileName()
138 mTestUtils.assertCommandSucceeds("dd if=/dev/urandom" in denyDueToSignatureMismatch()
DDeviceState.java187 String output = mTestUtils.assertCommandSucceeds( in setPhenotypeFlag()
193 mTestUtils.assertCommandSucceeds(String.format( in setPhenotypeFlag()
196 mTestUtils.assertCommandSucceeds( in setPhenotypeFlag()
204 mTestUtils.assertCommandSucceeds(String.format("cp '%s' '%s'", remotePath, tempFile)); in backupAndDeleteFile()
205 mTestUtils.assertCommandSucceeds(String.format("rm '%s'", remotePath)); in backupAndDeleteFile()
212 mTestUtils.assertCommandSucceeds( in backupArtifacts()
229 mTestUtils.assertCommandSucceeds(String.format("umount '%s'", remotePath)); in pushAndBindMount()
233 mTestUtils.assertCommandSucceeds( in pushAndBindMount()
236 mTestUtils.assertCommandSucceeds(String.format("restorecon '%s'", remotePath)); in pushAndBindMount()
DCompOsTestUtils.java65 assertCommandSucceeds("cmd jobscheduler run -f android " + JOB_ID); in runCompilationJobEarlyAndWait()
76 return assertCommandSucceeds("cd " + path + " && find -type f -exec sha256sum {} \\;" in checksumDirectoryContentPartial()
135 private String assertCommandSucceeds(String command) throws DeviceNotAvailableException { in assertCommandSucceeds() method in CompOsTestUtils
DOdsignTestUtils.java112 assertCommandSucceeds("pm install --apex " + artApexPath); in installTestApex()
130 for (String line : assertCommandSucceeds(grepCommand).split("\\R")) { in getMappedArtifacts()
151 String zygotePid = assertCommandSucceeds("pidof " + zygoteName).split("\\s+")[0]; in getZygoteLoadedArtifacts()
159 String systemServerPid = assertCommandSucceeds("pidof system_server"); in getSystemServerLoadedArtifacts()
379 String dateTimeStr = assertCommandSucceeds(String.format("stat -c '%%y' '%s'", filename)); in getModifiedTimeMs()
386 String dateTimeStr = assertCommandSucceeds("date +'%Y-%m-%d %H:%M:%S.%N %z'"); in getCurrentTimeMs()
396 String output = assertCommandSucceeds( in countFilesCreatedBeforeTime()
407 String output = assertCommandSucceeds( in countFilesCreatedAfterTime()
412 public String assertCommandSucceeds(String command) throws DeviceNotAvailableException { in assertCommandSucceeds() method in OdsignTestUtils
524 assertCommandSucceeds("disable-verity");
[all …]
DOdrefreshHostTest.java331 mTestUtils.assertCommandSucceeds("setenforce 0"); in verifyCompilationOsMode()
360 mTestUtils.assertCommandSucceeds("setenforce 1"); in verifyCompilationOsMode()
DOdrefreshFactoryHostTestBase.java52 testUtils.assertCommandSucceeds("remount"); in beforeClassWithDeviceBase()
/art/libnativeloader/test/src/android/test/hostside/
DLibnativeloaderTest.java311 assertCommandSucceeds("setprop dev.bootcomplete 0"); in softReboot()
312 assertCommandSucceeds("stop"); in softReboot()
313 assertCommandSucceeds("start"); in softReboot()
321 : assertCommandSucceeds("getprop ro.product.cpu.abi"); in getTestArch()
375 String assertCommandSucceeds(String command) throws DeviceNotAvailableException { in assertCommandSucceeds() method in LibnativeloaderTest.DeviceContext