Lines Matching refs:driver
20 def push_source(source_path, driver, sn, update_param=False):
24 @param driver: the device
32 driver.Storage.push_file(local_path=source_path["sa_listen_cfg_path"], device_path="/system/etc/init")
34 driver.Storage.push_file(local_path=source_path["sa_listen_json_path"], device_path="/system/profile/")
38 driver.Storage.push_file(local_path=source_path["sa_lib_listen_test_path"], device_path="/system/lib/")
42 driver.Storage.push_file(local_path=source_path["sa_proxy_path"], device_path="/system/lib/")
46 driver.Storage.push_file(local_path=source_path["sa_lib_fwk_path"], device_path="/system/lib/")
50 driver.Storage.push_file(local_path=source_path["sa_lib_audio_ability"], device_path="/system/lib/")
54 driver.Storage.push_file(local_path=source_path["sa_ondemand_path"], device_path="/system/bin/")
58 driver.Storage.push_file(local_path=source_path["sa_para_path"], device_path="/system/etc/param/")
60 driver.Storage.push_file(local_path=source_path["sa_para_dac_path"], device_path="/system/etc/param/")
63 driver.System.execute_command("ondemand param true")
64 driver.System.reboot()
67 def remove_source(source_path, driver, sn):
71 @param driver: the device
77 driver.Storage.remove_file("/system/etc/init/listen_test.cfg")
78 driver.Storage.remove_file("/system/etc/init/listen_test.json")
81 driver.Storage.remove_file("/system/lib/liblisten_test.z.so")
84 driver.Storage.remove_file("/system/lib/libtest_sa_proxy.z.so")
87 driver.Storage.remove_file("/system/lib/libsystem_ability_fwk.z.so")
90 driver.Storage.remove_file("/system/lib/libtest_audio_ability.z.so")
93 driver.Storage.remove_file("/system/bin/ondemand")
96 driver.Storage.remove_file("/system/etc/param/samgr.para")
97 driver.Storage.remove_file("/system/etc/param/samgr.para.dac")
98 driver.Storage.push_file(local_path=source_path["sa_para_origin"], device_path="/system/etc/param/")
99 driver.Storage.push_file(local_path=source_path["sa_para_dac_origin"], device_path="/system/etc/param/")