Home
last modified time | relevance | path

Searched refs:listeners (Results 1 – 25 of 26) sorted by relevance

12

/test/xts/acts/validator/acts_validator/src/main/ets/pages/Wifi/model/
DBasicDataSource.ets20 private listeners: DataChangeListener[] = []
46 if (this.listeners.indexOf(listener) < 0) {
48 this.listeners.push(listener)
53 const POS = this.listeners.indexOf(listener)
56 this.listeners.splice(POS, 1)
61 this.listeners.forEach(listener => {
67 this.listeners.forEach(listener => {
73 this.listeners.forEach(listener => {
79 this.listeners.forEach(listener => {
85 this.listeners.forEach(listener => {
/test/xts/tools/sample/AppSampleD/entry/src/main/ets/appsampled/data/
DDataSource.ets21 private listeners: DataChangeListener[] = [];
32 if (this.listeners.indexOf(listener) < 0) {
34 this.listeners.push(listener);
39 const pos = this.listeners.indexOf(listener);
42 this.listeners.splice(pos, 1);
47 this.listeners.forEach((listener) => {
53 this.listeners.forEach((listener) => {
59 this.listeners.forEach((listener) => {
65 this.listeners.forEach((listener) => {
71 this.listeners.forEach((listener) => {
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/getItemRect/waterFlow/
DWaterFlowDataSource.ets20 private listeners: DataChangeListener[] = []
35 this.listeners.forEach(listener => {
42 this.listeners.forEach(listener => {
49 this.listeners.forEach(listener => {
56 this.listeners.forEach(listener => {
63 this.listeners.forEach(listener => {
75 if (this.listeners.indexOf(listener) < 0) {
76 this.listeners.push(listener)
82 const pos = this.listeners.indexOf(listener)
84 this.listeners.splice(pos, 1)
/test/xts/acts/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/
DWaterFlowDataSource.ets18 private listeners: DataChangeListener[] = []
33 this.listeners.forEach(listener => {
40 this.listeners.forEach(listener => {
47 this.listeners.forEach(listener => {
54 this.listeners.forEach(listener => {
61 this.listeners.forEach(listener => {
73 if (this.listeners.indexOf(listener) < 0) {
74 this.listeners.push(listener)
80 const pos = this.listeners.indexOf(listener);
82 this.listeners.splice(pos, 1)
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/comSizeAbility/
DWaterFlowDataSource.ets17 private listeners: DataChangeListener[] = []
27 this.listeners.forEach(listener => {
32 this.listeners.forEach(listener => {
37 this.listeners.forEach(listener => {
42 this.listeners.forEach(listener => {
47 this.listeners.forEach(listener => {
55 if (this.listeners.indexOf(listener) < 0) {
56 this.listeners.push(listener)
60 const pos = this.listeners.indexOf(listener)
62 this.listeners.splice(pos, 1)
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/ScrollToIndex/
DWaterFlowDataSource.ets19 private listeners: DataChangeListener[] = []
34 this.listeners.forEach(listener => {
41 this.listeners.forEach(listener => {
48 this.listeners.forEach(listener => {
55 this.listeners.forEach(listener => {
62 this.listeners.forEach(listener => {
74 if (this.listeners.indexOf(listener) < 0) {
75 this.listeners.push(listener)
81 const pos = this.listeners.indexOf(listener)
83 this.listeners.splice(pos, 1)
/test/xts/acts/arkui/ace_ets_layout_test/ace_ets_layout_waterflow_test/entry/src/main/ets/MainAbility/pages/WaterFlow/WaterFlow_attribute/
DWaterFlowDataSource.ets18 private listeners: DataChangeListener[] = []
33 this.listeners.forEach(listener => {
40 this.listeners.forEach(listener => {
47 this.listeners.forEach(listener => {
54 this.listeners.forEach(listener => {
61 this.listeners.forEach(listener => {
73 if (this.listeners.indexOf(listener) < 0) {
74 this.listeners.push(listener)
80 const pos = this.listeners.indexOf(listener)
82 this.listeners.splice(pos, 1)
/test/xts/acts/arkui/ace_ets_component_four/entry/src/main/ets/MainAbility/pages/
DlazyForEach.ets19 private listeners: DataChangeListener[] = []
29 if (this.listeners.indexOf(listener) < 0) {
31 this.listeners.push(listener)
35 const pos = this.listeners.indexOf(listener);
38 this.listeners.splice(pos, 1)
43 this.listeners.forEach(listener => {
48 this.listeners.forEach(listener => {
53 this.listeners.forEach(listener => {
58 this.listeners.forEach(listener => {
63 this.listeners.forEach(listener => {
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/
DaboutToRecycleiamge.ets17 private listeners: DataChangeListener []= [];
28 if (this.listeners.indexOf(listener) < 0) {
30 this.listeners.push(listener);
35 const pos = this.listeners.indexOf(listener);
38 this.listeners.splice(pos, 1);
43 this.listeners.forEach(listener =>{
49 this.listeners.forEach(listener =>{
55 this.listeners.forEach(listener =>{
61 this.listeners.forEach(listener =>{
67 this.listeners.forEach(listener =>{
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/
DlazyForEach.ets19 private listeners: DataChangeListener[] = []
29 if (this.listeners.indexOf(listener) < 0) {
31 this.listeners.push(listener)
35 const pos = this.listeners.indexOf(listener);
38 this.listeners.splice(pos, 1)
43 this.listeners.forEach(listener => {
48 this.listeners.forEach(listener => {
53 this.listeners.forEach(listener => {
58 this.listeners.forEach(listener => {
63 this.listeners.forEach(listener => {
/test/xts/dcts/communication/dsoftbus/rpcserver/src/main/js/ServiceAbility/
Dservice.js384 let listeners = data.readRemoteObjectArray(); variable
385 … console.info("The server's readRemoteObjectArray result is " + listeners.length);
386 for (let i = 0; i < listeners.length; i++) {
390 listeners[i].sendRequest(1, data2, reply2, option2)
591 let listeners = data.readRemoteObjectArray();
592 … console.info("The server's readRemoteObjectArray result is " + listeners.length);
595 let len = listeners.length;
604 listeners[i].sendRequest(1, data2, reply2, option2)
624 let listeners = new Array(3); variable
625 data.readRemoteObjectArray(listeners);
[all …]
/test/testfwk/xdevice/src/xdevice/_core/executor/
Drequest.py215 def __init__(self, uuid=None, root=None, listeners=None, config=None): argument
218 self.listeners = listeners if listeners else []
222 return self.listeners
Dconcurrent.py89 self.listeners = None
97 def set_listeners(self, listeners): argument
98 self.listeners = listeners
102 for listener in listeners:
310 self.listeners, config)
330 for listener in self.listeners:
332 driver_request = Request(self.thread_id, root_desc, self.listeners,
556 self.listeners = None
680 if self.listeners:
681 for listener in self.listeners:
[all …]
Dscheduler.py341 listeners = self._create_listeners(task)
342 for listener in listeners:
348 listeners = []
353 listeners.append(log_listener_instance)
360 listeners.append(report_listener_instance)
365 listeners.append(upload_listener_instance)
366 return listeners
/test/testfwk/xdevice/plugins/ohos/src/ohos/drivers/
Ddrivers_lite.py173 self.dry_run(command, request.listeners)
290 parser_instance.listeners = listener
321 self.run(command_case, request.listeners, timeout=15)
366 parser_instance.listeners = listener
408 listener = request.listeners
705 parser_instance.listeners = request.listeners
751 parser_instance.listeners = request.listeners
811 parser_instance.listeners = request.listeners
993 parser_instance.listeners = listener
1006 listeners = request.listeners
[all …]
Ddrivers.py298 self._run_cpp_test(config_file, listeners=request.listeners,
317 def _run_cpp_test(self, config_file, listeners=None, request=None): argument
330 for listener in listeners:
340 self._do_test_retry(listeners, self.config.testargs)
343 self._do_test_run(listeners)
549 parser_instance.listeners = listener
627 listener_copy = request.listeners.copy()
638 parser_instance.listeners = listener_copy
1006 listeners = request.listeners
1007 for listener in listeners:
[all …]
Dopenharmony.py148 self._run_oh_kernel(config_file, request.listeners, request)
165 def _run_oh_kernel(self, config_file, listeners=None, request=None): argument
174 self.runner.run(listeners)
217 def run(self, listeners): argument
218 handler = self._get_shell_handler(listeners)
227 def _get_shell_handler(self, listeners): argument
235 parser_instance.listeners = listeners
392 self._do_test_retry(request.listeners, self.config.testargs)
400 self._do_test_run(listener=request.listeners)
648 parser_instance.listeners = listener
[all …]
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/
Dparser.py83 self.listeners = []
93 return self.listeners
429 self.listeners = []
440 return self.listeners
651 self.listeners = []
657 return self.listeners
827 def _mark_test_case(self, suite, listeners): argument
831 for listener in listeners:
846 self._mock_test_case_life_cycle(listeners, test)
848 def _mock_test_case_life_cycle(self, listeners, test): argument
[all …]
Dparser_lite.py79 self.listeners = []
87 return self.listeners
368 self.listeners = []
384 return self.listeners
531 self.listeners = []
540 return self.listeners
794 self.listeners = []
803 return self.listeners
875 self.listeners = []
882 return self.listeners
[all …]
/test/testfwk/developer_test/src/core/driver/
Dlite_driver.py381 parser_instance.listeners = request.listeners
545 parser_instance.listeners = request.listeners
Ddrivers.py966 for listener in request.listeners:
974 parser_instance.listeners = request.listeners
1244 for listener in request.listeners:
1254 parser_instance.listeners = request.listeners
/test/testfwk/xdevice/src/xdevice/_core/
Dutils.py534 for listener in request.listeners:
539 parser_instance.listeners = request.listeners
/test/xts/acts/communication/dsoftbus/rpc_request/src/main/js/test/
DActsRpcRequestJsTest.test.js1866 let listeners = [new TestListener("rpcListener", checkResult),
1870 data.writeRemoteObjectArray(listeners);
1901 let listeners = [new TestListener("rpcListener", checkResult),
1904 data.writeRemoteObjectArray(listeners);
/test/xts/dcts/communication/dsoftbus_request/rpc/src/main/js/test/
DRpcRequestJsUnit.test.js1834 let listeners = [new TestListener("rpcListener", checkResult),
1838 data.writeRemoteObjectArray(listeners);
1869 let listeners = [new TestListener("rpcListener", checkResult),
1872 data.writeRemoteObjectArray(listeners);
/test/xts/acts/communication/dsoftbus/rpc/src/main/js/test/
DRpcClientJsunit.test.js325 let listeners = data.readRemoteObjectArray();
326 for (let i = 0; i < listeners.length; i++) {
330 listeners[i].sendRequest(1, data2, reply2, option2)
513 let listeners = data.readRemoteObjectArray();
516 for (let i = 0; i < listeners.length; i++) {
522 listeners[i].sendRequest(1, data2, reply2, option2)
542 let listeners = data.readRemoteObjectArray();
547 for (let i = 0; i < listeners.length; i++) {
553 listeners[i].sendRequest(1, data2, reply2, option2)
4244 var listeners = [new TestRemoteObject("rpcListener"),
[all …]

12