Lines Matching refs:adb

32         self.dut.adb.root()
35 extension = self.dut.adb.shell("getprop ro.boot." + prop, no_except = True)
41 contents = self.dut.adb.shell("cat " + filename + extension, no_except = True)
70 self.dut.adb.reboot()
72 self.dut.adb.wait_for_device(timeout=900)
73 except self.dut.adb.AdbError as e:
80 self.dut.adb.root()
87 self.dut.adb.shell("ls");
94 result = self.dut.adb.shell("getprop sys.boot_completed")
105 result = self.dut.adb.shell("getprop ro.product.first_api_level")
117 self.dut.adb.root()
124 self.dut.adb.shell("setprop persist.vold.dont_commit_checkpoint 1")
125 self.dut.adb.shell("echo " + self._ORIGINALVALUE + " > " + self._CHECKPOINTTESTFILE)
126 result = self.dut.adb.shell("vdc checkpoint startCheckpoint 1", no_except = True)
131 self.dut.adb.shell("echo " + self._MODIFIEDVALUE + " > " + self._CHECKPOINTTESTFILE)
135 result = self.dut.adb.shell("cat " + self._CHECKPOINTTESTFILE)
139 self.dut.adb.shell("setprop persist.vold.dont_commit_checkpoint 0")
140 result = self.dut.adb.shell("vdc checkpoint commitChanges", no_except = True)
143 self.dut.adb.shell("rm " + self._CHECKPOINTTESTFILE)
149 self.dut.adb.root()
156 self.dut.adb.shell("setprop persist.vold.dont_commit_checkpoint 1")
157 self.dut.adb.shell("echo " + self._ORIGINALVALUE + " > " + self._CHECKPOINTTESTFILE)
158 result = self.dut.adb.shell("vdc checkpoint startCheckpoint 1", no_except = True)
163 self.dut.adb.shell("echo " + self._MODIFIEDVALUE + " > " + self._CHECKPOINTTESTFILE)
164 self.dut.adb.shell("setprop persist.vold.dont_commit_checkpoint 0")
165 result = self.dut.adb.shell("vdc checkpoint commitChanges", no_except = True)
170 result = self.dut.adb.shell("cat " + self._CHECKPOINTTESTFILE)
174 self.dut.adb.shell("rm " + self._CHECKPOINTTESTFILE)