Home
last modified time | relevance | path

Searched refs:sn (Results 1 - 25 of 45) sorted by relevance

12

/foundation/systemabilitymgr/samgr/test/autotest/tools/
H A Dpush_remove_source.py20 def push_source(source_path, driver, sn, update_param=False):
25 @param sn: device sn
27 host.shell("hdc -t {} shell kill -9 `pidof listen_test`".format(sn))
28 host.shell("hdc -t {} target mount".format(sn))
29 host.shell("hdc -t {} shell rm -r /data/log/hilog".format(sn))
30 host.shell("hdc -t {} shell hilog -d /system/bin/samgr".format(sn))
33 host.shell("hdc -t {} shell chmod 644 /system/etc/init/listen_test.cfg".format(sn))
35 host.shell("hdc -t {} shell chmod 644 /system/profile/listen_test.json".format(sn))
39 host.shell("hdc -t {} shell chmod 644 /system/lib/liblisten_test.z.so".format(sn))
[all...]
/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/
H A Db_file_info_test.cpp110 TmpFileSN sn = 0; in HWTEST_F() local
111 BFileInfo bFileInfo(BUNDLE_NAME, FILE_NAME, sn); in HWTEST_F()
150 TmpFileSN sn = 0; in HWTEST_F() local
151 BFileInfo bFileInfo(bundleName, FILE_NAME, sn); in HWTEST_F()
170 TmpFileSN sn = 0; in HWTEST_F() local
171 BFileInfo bFileInfo(BUNDLE_NAME, fileName, sn); in HWTEST_F()
191 TmpFileSN sn = 0; in HWTEST_F() local
192 BFileInfo bFileInfo(bundleName, fileName, sn); in HWTEST_F()
262 TmpFileSN sn = 0; in HWTEST_F() local
263 BFileInfo bFileInfoTemp {BUNDLE_NAME, FILE_NAME, sn}; in HWTEST_F()
309 TmpFileSN sn = 0; HWTEST_F() local
333 TmpFileSN sn = 0; HWTEST_F() local
357 TmpFileSN sn = 0; HWTEST_F() local
426 TmpFileSN sn = 0; HWTEST_F() local
450 TmpFileSN sn = 0; HWTEST_F() local
520 TmpFileSN sn = 0; HWTEST_F() local
544 TmpFileSN sn = 0; HWTEST_F() local
[all...]
/foundation/systemabilitymgr/samgr/test/autotest/testcases/level0/
H A Dcase24_sub001.py35 self.sn = self.device1.device_sn
43 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
58 tools.disk_drop_log.pulling_disk_dropping_logs(log_revice_path, self.sn)
71 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase02_load001.py32 self.sn = self.device1.device_sn
40 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
50 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase06_commonevent001.py32 self.sn = self.device1.device_sn
40 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
49 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase17_dysaprofile002.py32 self.sn = self.device1.device_sn
40 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
49 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase16_dysaprofile001.py33 self.sn = self.device1.device_sn
41 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
50 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase09_once004.py33 self.sn = self.device1.device_sn
41 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
80 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase10_delay_time002.py33 self.sn = self.device1.device_sn
41 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
68 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase19_switch002.py33 self.sn = self.device1.device_sn
43 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
75 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase18_switch001.py34 self.sn = self.device1.device_sn
44 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
75 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase21_add001.py34 self.sn = self.device1.device_sn
42 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
76 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase20_timer003.py33 self.sn = self.device1.device_sn
41 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
70 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase11_delay_time003.py33 self.sn = self.device1.device_sn
41 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
70 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase12_delay_time001.py33 self.sn = self.device1.device_sn
41 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
69 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase13_param001.py33 self.sn = self.device1.device_sn
41 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
69 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase25_selinux001.py33 self.sn = self.device1.device_sn
37 host.shell("hdc -t {} shell rm -r /data/log/hilog".format(self.sn))
38 host.shell("hdc -t {} shell hilog -d /system/bin/samgr".format(self.sn))
43 tools.disk_drop_log.pulling_disk_dropping_logs(log_revice_path, self.sn)
H A Dcase08_once003.py33 self.sn = self.device1.device_sn
42 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn, update_param=True)
88 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase07_once002.py33 self.sn = self.device1.device_sn
41 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
85 remove_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase01_listen001.py33 self.sn = self.device1.device_sn
37 host.shell("hdc -t {} shell rm -r /data/log/hilog".format(self.sn))
38 host.shell("hdc -t {} shell hilog -d /system/bin/samgr".format(self.sn))
H A Dcase03_get001.py32 self.sn = self.device1.device_sn
40 push_source(source_path=self.source_path, driver=self.driver, sn=self.sn)
H A Dcase04_get002.py32 self.sn = self.device1.device_sn
48 remove_source(source_path=source_path, driver=self.driver, sn=self.sn)
H A Dcase15_dysaprofile004.py33 self.sn = self.device1.device_sn
60 remove_source(source_path=source_path, driver=self.driver, sn=self.sn)
H A Dcase23_process002.py32 self.sn = self.device1.device_sn
54 remove_source(source_path=source_path, driver=self.driver, sn=self.sn)
H A Dcase22_process001.py32 self.sn = self.device1.device_sn
39 push_source(source_path=source_path, driver=self.driver, sn=self.sn)

Completed in 5 milliseconds

12