Home
last modified time | relevance | path

Searched refs:dev_mode (Results 1 – 25 of 146) sorted by relevance

123456

/external/autotest/server/site_tests/firmware_CorruptBothFwBodyAB/
Dfirmware_CorruptBothFwBodyAB.py27 def initialize(self, host, cmdline_args, dev_mode=False): argument
33 self.switcher.setup_mode('dev' if dev_mode else 'normal')
35 self.switcher.setup_mode('dev' if dev_mode else 'normal')
46 def run_once(self, dev_mode=False): argument
53 'mainfw_type': 'developer' if dev_mode else 'normal',
60 'mainfw_type': 'developer' if dev_mode else 'normal',
66 'mainfw_type': 'developer' if dev_mode else 'normal',
90 'mainfw_type': 'developer' if dev_mode else 'normal',
/external/autotest/server/site_tests/firmware_RecoveryButton/
Dfirmware_RecoveryButton.py33 def initialize(self, host, cmdline_args, dev_mode=False, ec_wp=None): argument
36 self.switcher.setup_mode('dev' if dev_mode else 'normal')
46 def run_once(self, dev_mode=False): argument
51 'mainfw_type': 'developer' if dev_mode else 'normal',
54 from_mode='dev' if dev_mode else 'normal')
65 'mainfw_type': 'developer' if dev_mode and not is_jetstream
/external/autotest/server/site_tests/firmware_ConsecutiveBootPowerButton/
Dfirmware_ConsecutiveBootPowerButton.py23 def initialize(self, host, cmdline_args, dev_mode=False): argument
29 self.switcher.setup_mode('dev' if dev_mode else 'normal')
33 def run_once(self, dev_mode=False): argument
39 'mainfw_type': 'developer' if dev_mode else 'normal',
46 'mainfw_type': 'developer' if dev_mode else 'normal',
/external/autotest/server/site_tests/firmware_ConsecutiveBoot/
Dfirmware_ConsecutiveBoot.py30 def initialize(self, host, cmdline_args, dev_mode=False): argument
37 self.switcher.setup_mode('dev' if dev_mode else 'normal')
38 if dev_mode:
90 def run_once(self, host, dev_mode=False): argument
96 'mainfw_type': 'developer' if dev_mode else 'normal',
102 'mainfw_type': 'developer' if dev_mode else 'normal',
/external/autotest/server/site_tests/firmware_UserRequestRecovery/
Dfirmware_UserRequestRecovery.py33 def initialize(self, host, cmdline_args, dev_mode=False, ec_wp=None): argument
36 self.switcher.setup_mode('dev' if dev_mode else 'normal')
46 def run_once(self, dev_mode=False): argument
49 'mainfw_type': 'developer' if dev_mode else 'normal',
86 'mainfw_type': 'developer' if dev_mode else 'normal',
/external/autotest/server/site_tests/firmware_CorruptBothFwSigAB/
Dfirmware_CorruptBothFwSigAB.py23 def initialize(self, host, cmdline_args, dev_mode=False): argument
26 self.switcher.setup_mode('dev' if dev_mode else 'normal')
37 def run_once(self, dev_mode=False): argument
40 'mainfw_type': 'developer' if dev_mode else 'normal',
78 'mainfw_type': 'developer' if dev_mode else 'normal',
/external/autotest/server/site_tests/firmware_SoftwareSync/
Dfirmware_SoftwareSync.py19 def initialize(self, host, cmdline_args, dev_mode=False): argument
26 self.switcher.setup_mode('dev' if dev_mode else 'normal')
29 self.dev_mode = dev_mode
67 if self.dev_mode:
/external/vboot_reference/tests/
Drollback_index2_tests.c771 int dev_mode; in RollbackFirmwareTest() local
775 dev_mode = 0; in RollbackFirmwareTest()
778 TEST_EQ(RollbackFirmwareSetup(0, dev_mode, 0, &dev_mode, &version), in RollbackFirmwareTest()
791 dev_mode = 0; in RollbackFirmwareTest()
794 TEST_EQ(RollbackFirmwareSetup(0, dev_mode, 0, &dev_mode, &version), in RollbackFirmwareTest()
804 dev_mode = 1; in RollbackFirmwareTest()
805 TEST_EQ(RollbackFirmwareSetup(dev_mode, 0, 0, &dev_mode, &version), in RollbackFirmwareTest()
824 dev_mode = 0; in RollbackFirmwareTest()
825 TEST_EQ(RollbackFirmwareSetup(dev_mode, 0, 1, &dev_mode, &version), in RollbackFirmwareTest()
/external/autotest/server/site_tests/firmware_Cr50DevMode/
Dfirmware_Cr50DevMode.py14 def check_dev_mode(self, dev_mode): argument
16 if self.cr50.in_dev_mode() != dev_mode:
18 ('' if dev_mode else "n't"))
/external/autotest/server/site_tests/firmware_RollbackKernel/
Dfirmware_RollbackKernel.py37 def initialize(self, host, cmdline_args, dev_mode=False): argument
42 self.switcher.setup_mode('dev' if dev_mode else 'normal')
56 def run_once(self, dev_mode=False): argument
61 if dev_mode:
/external/autotest/server/site_tests/firmware_ECUpdateId/
Dfirmware_ECUpdateId.py19 def initialize(self, host, cmdline_args, dev_mode=False): argument
31 self.switcher.setup_mode('dev' if dev_mode else 'normal')
38 self.dev_mode = dev_mode
101 if self.dev_mode:
/external/autotest/server/site_tests/firmware_RecoveryCacheBootKeys/
Dfirmware_RecoveryCacheBootKeys.py27 def initialize(self, host, cmdline_args, dev_mode=False): argument
31 self.dev_mode = dev_mode
32 self.switcher.setup_mode('dev' if dev_mode else 'normal')
/external/autotest/server/site_tests/firmware_CorruptKernelA/
Dfirmware_CorruptKernelA.py19 def initialize(self, host, cmdline_args, dev_mode=False): argument
23 self.switcher.setup_mode('dev' if dev_mode else 'normal')
35 def run_once(self, dev_mode=False): argument
/external/autotest/server/site_tests/firmware_FastbootReboot/
Dfirmware_FastbootReboot.py23 def initialize(self, host, cmdline_args, dev_mode=False): argument
25 self.switcher.setup_mode('dev' if dev_mode else 'normal')
36 def run_once(self, dev_mode=False): argument
/external/autotest/server/site_tests/firmware_CorruptKernelB/
Dfirmware_CorruptKernelB.py20 def initialize(self, host, cmdline_args, dev_mode=False): argument
24 self.switcher.setup_mode('dev' if dev_mode else 'normal')
36 def run_once(self, dev_mode=False): argument
/external/autotest/server/site_tests/firmware_RollbackFirmware/
Dfirmware_RollbackFirmware.py22 def initialize(self, host, cmdline_args, dev_mode=False): argument
25 self.switcher.setup_mode('dev' if dev_mode else 'normal')
36 def run_once(self, dev_mode=False): argument
/external/autotest/server/site_tests/firmware_CorruptBothKernelAB/
Dfirmware_CorruptBothKernelAB.py37 def initialize(self, host, cmdline_args, dev_mode=False): argument
42 self.switcher.setup_mode('dev' if dev_mode else 'normal')
56 def run_once(self, dev_mode=False): argument
/external/autotest/server/site_tests/firmware_FastbootErase/
Dfirmware_FastbootErase.py28 def initialize(self, host, cmdline_args, dev_mode=False): argument
30 self.switcher.setup_mode('dev' if dev_mode else 'normal')
58 def run_once(self, dev_mode=False): argument
/external/avb/contrib/linux/4.4/
D0002-ANDROID-AVB-error-handler-to-invalidate-vbmeta-parti.patch146 + fmode_t dev_mode;
157 + dev_mode = FMODE_READ | FMODE_EXCL;
158 + bdev = blkdev_get_by_dev(vbmeta_devt, dev_mode,
162 + dev_mode = 0;
218 + blkdev_put(bdev, dev_mode);
219 + dev_mode = FMODE_WRITE | FMODE_EXCL;
220 + bdev = blkdev_get_by_dev(vbmeta_devt, dev_mode,
224 + dev_mode = 0;
254 + if (dev_mode)
255 + blkdev_put(bdev, dev_mode);
/external/autotest/server/site_tests/firmware_TPMVersionCheck/
Dfirmware_TPMVersionCheck.py17 def initialize(self, host, cmdline_args, dev_mode=False, ec_wp=None): argument
20 self.switcher.setup_mode('dev' if dev_mode else 'normal')
/external/vboot_reference/firmware/lib/
Dtpm_bootmode.c101 static int GetBootStateIndex(int dev_mode, int rec_mode, in GetBootStateIndex() argument
132 if (dev_mode) in GetBootStateIndex()
/external/autotest/server/site_tests/firmware_TryFwB/
Dfirmware_TryFwB.py15 def initialize(self, host, cmdline_args, dev_mode=False, ec_wp=None): argument
17 self.switcher.setup_mode('dev' if dev_mode else 'normal')
/external/autotest/server/site_tests/firmware_WriteProtect/
Dfirmware_WriteProtect.py17 def initialize(self, host, cmdline_args, dev_mode=False): argument
19 self.switcher.setup_mode('dev' if dev_mode else 'normal')
/external/autotest/server/site_tests/firmware_Cr50Open/
Dfirmware_Cr50Open.py26 def check_cr50_open(self, dev_mode): argument
67 if dev_mode or not self.ccd_open_restricted:
/external/autotest/server/site_tests/firmware_FWtries/
Dfirmware_FWtries.py46 def initialize(self, host, cmdline_args, dev_mode=False): argument
48 self.switcher.setup_mode('dev' if dev_mode else 'normal')

123456