Home
last modified time | relevance | path

Searched refs:_exec (Results 1 – 13 of 13) sorted by relevance

/system/extras/tests/bootloader/
Dbootctl.py20 def _exec(self, cmd): member in Bootctl
26 return int(self._exec("get-number-slots")[1])
31 return int(self._exec("get-current-slot")[1])
36 return self._exec("mark-boot-successful")[0] == 0
41 return self._exec("set-active-boot-slot " + str(slot))[0] == 0
46 return self._exec("set-slot-as-unbootable " + str(slot))[0] == 0
51 return self._exec("is-slot-bootable " + str(slot))[0] == 0
56 return self._exec("is-slot-marked-successful " + str(slot))[0] == 0
61 return self._exec("get-suffix " + str(slot))[1].strip()
/system/sepolicy/prebuilts/api/26.0/public/
Dte_macros162 domain_auto_trans(init, $1_exec, $1)
Ddomain.te982 # with its own _exec type, not with the domain type.
/system/sepolicy/prebuilts/api/27.0/public/
Dte_macros166 domain_auto_trans(init, $1_exec, $1)
Ddomain.te975 # with its own _exec type, not with the domain type.
/system/sepolicy/prebuilts/api/28.0/public/
Dte_macros166 domain_auto_trans(init, $1_exec, $1)
Ddomain.te1282 # with its own _exec type, not with the domain type.
/system/sepolicy/prebuilts/api/29.0/public/
Dte_macros163 domain_auto_trans(init, $1_exec, $1)
Ddomain.te1274 # with its own _exec type, not with the domain type.
/system/sepolicy/prebuilts/api/30.0/public/
Dte_macros163 domain_auto_trans(init, $1_exec, $1)
Ddomain.te1271 # with its own _exec type, not with the domain type.
/system/sepolicy/public/
Dte_macros163 domain_auto_trans(init, $1_exec, $1)
Ddomain.te1295 # with its own _exec type, not with the domain type.