Home
last modified time | relevance | path

Searched refs:tasks (Results 1 – 25 of 70) sorted by relevance

123

/tools/test/connectivity/acts_tests/tests/google/tel/lab/
DTelLabGFTInOutServiceTest.py346 tasks = [(check_no_service_time, (ad, )) for ad in self.android_devices]
347 if not multithread_func(self.log, tasks):
420 tasks = [(mo_voice_call, (self.log, ad, VOICE_CALL, False)) for ad in self.android_devices]
421 if not multithread_func(self.log, tasks):
456 tasks = [(check_back_to_service_time, (ad,)) for ad in self.android_devices]
457 if not multithread_func(self.log, tasks):
491 tasks = [(toggle_volte, (self.log, ad, True)) for ad in self.android_devices]
492 if not multithread_func(self.log, tasks):
496 tasks = [(check_ims_state, (ad, )) for ad in self.android_devices]
497 if not multithread_func(self.log, tasks):
[all …]
DTelLabGFTVoWifiTest.py80 tasks = [(phone_setup_volte, (self.log, ad, )) for ad in self.android_devices]
81 if not multithread_func(self.log, tasks):
90 tasks = [(toggle_wfc, (self.log, ad,True)) for ad in self.android_devices]
91 if not multithread_func(self.log, tasks):
100 tasks = [(toggle_airplane_mode, (self.log, ad, False))
102 multithread_func(self.log, tasks)
140 tasks = [(verify_data_connection, (ad, 3))
142 if not multithread_func(self.log, tasks):
145 tasks = [(check_back_to_service_time, (ad,)) for ad in self.android_devices]
146 test_result = multithread_func(self.log, tasks)
[all …]
DTelLabGFTAirplaneModeTest.py78 tasks = [(self._airplane_mode_helper, (ad, MOBILE_DATA_ON_OFF_CASE, RAT_3G))
80 if not multithread_func(self.log, tasks):
94 tasks = [(self._airplane_mode_helper, (ad, MOBILE_DATA_ON_OFF_CASE, RAT_4G))
96 if not multithread_func(self.log, tasks):
111 tasks = [(self._airplane_mode_helper, (ad, MOBILE_DATA_ON_OFF_CASE, RAT_5G))
113 if not multithread_func(self.log, tasks):
128 tasks = [(self._airplane_mode_helper, (ad, IN_CALL_CASE, GEN_3G))
130 if not multithread_func(self.log, tasks):
145 tasks = [(self._airplane_mode_helper, (ad, IN_CALL_CASE, GEN_4G))
147 if not multithread_func(self.log, tasks):
[all …]
DTelLabGFTVoWifiStressTest.py72 tasks = [(phone_setup_volte, (self.log, ad, )) for ad in self.android_devices]
73 if not multithread_func(self.log, tasks):
79 tasks = [(toggle_wfc, (self.log, ad,True)) for ad in self.android_devices]
80 if not multithread_func(self.log, tasks):
89 tasks = [(toggle_airplane_mode, (self.log, ad, False))
91 multithread_func(self.log, tasks)
122 tasks = [(phone_setup_iwlan, (self.log, ad, False, wfc_mode,
124 if not multithread_func(self.log, tasks):
164 tasks = [(phone_setup_iwlan, (self.log, ad, False, wfc_mode,
166 if not multithread_func(self.log, tasks):
[all …]
DTelLabGFTDSDSInOutServiceTest.py81 tasks = [(set_dds_on_slot, (ad, dds_slot )) for ad in self.android_devices]
82 if not multithread_func(self.log, tasks):
95 tasks = [(set_message_subid, (ad, sms_slot )) for ad in self.android_devices]
96 if multithread_func(self.log, tasks):
124 tasks = [(wait_for_network_service, (self.log, ad, ))
126 if not multithread_func(self.log, tasks):
129 tasks = [(self.verify_device_status, (ad, VOICE_CALL))
131 asserts.assert_true(multithread_func(self.log, tasks),
185 tasks = [(mo_voice_call, (self.log, ad, VOICE_CALL, False)) for ad in self.android_devices]
186 if not multithread_func(self.log, tasks):
[all …]
DTelLabGFTModemConnectivityHelperTest.py108 tasks = [(self._initiate_call, (ad, )) for ad in self.android_devices]
109 if not multithread_func(self.log, tasks):
111 tasks = [(is_phone_in_call_volte, (ad.log, ad, )) for ad in self.android_devices]
112 test_result = multithread_func(self.log, tasks)
118 tasks = [(is_phone_in_call_volte, (ad.log, ad, )) for ad in self.android_devices]
119 test_result = multithread_func(self.log, tasks)
/tools/test/connectivity/acts_tests/tests/google/tel/live/
DTelLiveVoiceTest.py187 tasks = [(phone_setup_voice_general, (self.log, ads[0])),
189 if not multithread_func(self.log, tasks):
217 tasks = [(phone_setup_voice_general, (self.log, ads[0])),
219 if not multithread_func(self.log, tasks):
247 tasks = [(phone_setup_volte, (self.log, ads[0])), (phone_setup_volte,
249 if not multithread_func(self.log, tasks):
279 tasks = [(phone_setup_volte, (self.log, ads[0])), (phone_setup_volte,
281 if not multithread_func(self.log, tasks):
312 tasks = [(phone_setup_volte, (self.log, ads[0])), (phone_setup_volte,
314 if not multithread_func(self.log, tasks):
[all …]
DTelLiveVoiceConfTest.py6965 tasks = [(phone_setup_iwlan,
6974 if not multithread_func(self.log, tasks):
7011 tasks = [(phone_setup_iwlan,
7020 if not multithread_func(self.log, tasks):
7056 tasks = [(phone_setup_iwlan,
7065 if not multithread_func(self.log, tasks):
7102 tasks = [(phone_setup_iwlan,
7111 if not multithread_func(self.log, tasks):
7147 tasks = [(phone_setup_iwlan,
7156 if not multithread_func(self.log, tasks):
[all …]
DTelLiveVideoTest.py106 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
108 if not multithread_func(self.log, tasks):
142 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
144 if not multithread_func(self.log, tasks):
177 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
179 if not multithread_func(self.log, tasks):
213 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
215 if not multithread_func(self.log, tasks):
259 tasks = [(phone_setup_video, (self.log, ads[0])), (phone_setup_video,
261 if not multithread_func(self.log, tasks):
[all …]
DTelLiveSmokeTest.py81 tasks = [(phone_setup_volte, (self.log, ads[0])),
83 if not multithread_func(self.log, tasks):
151 tasks = [(phone_setup_csfb, (self.log, ads[0])),
153 if not multithread_func(self.log, tasks):
226 tasks = [(phone_setup_voice_3g, (self.log, ads[0])),
228 if not multithread_func(self.log, tasks):
298 tasks = [(phone_setup_iwlan,
304 if not multithread_func(self.log, tasks):
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_5g_test_utils.py90 tasks = [(set_preferred_mode_for_5g, [ad]) for ad in ads]
91 if not multithread_func(log, tasks):
95 tasks = [(is_current_network_5g_nsa, [ad, None, mmwave]) for ad in ads]
96 if not multithread_func(log, tasks):
113 tasks = [(phone_setup_volte, (log, ads[0], nw_gen, nr_type)),
115 if not multithread_func(log, tasks):
122 tasks = [(phone_setup_csfb, (log, ads[0])),
124 if not multithread_func(log, tasks):
135 tasks = [(phone_setup_iwlan,
141 if not multithread_func(log, tasks):
[all …]
Dtel_voice_conf_utils.py66 tasks = []
69 tasks.append((setup_func, (log, ad)))
70 if tasks != [] and not multithread_func(log, tasks):
545 tasks = []
548 tasks.append((setup_func, (log, ad)))
549 if tasks != [] and not multithread_func(log, tasks):
707 tasks = []
710 tasks.append((setup_func, (log, ad)))
711 if tasks != [] and not multithread_func(log, tasks):
Dtel_logging_utils.py173 tasks = [(start_sdm_logger, [ad]) for ad in ads
175 if tasks: run_multithread_func(log, tasks)
179 tasks = [(stop_sdm_logger, [ad]) for ad in ads]
180 run_multithread_func(log, tasks)
340 tasks = [(start_qxdm_logger, [ad, begin_time]) for ad in ads
342 if tasks: run_multithread_func(log, tasks)
346 tasks = [(stop_qxdm_logger, [ad]) for ad in ads]
347 run_multithread_func(log, tasks)
DTelephonyBaseTest.py190 tasks = [(flash_radio, [ad, file_path, True, sideload_img])
192 multithread_func(self.log, tasks)
194 tasks = [(install_apk, [ad, self.extra_apk, self.extra_package])
196 multithread_func(self.log, tasks)
198 tasks = [(self._init_device, [ad]) for ad in self.android_devices]
199 multithread_func(self.log, tasks)
238 tasks = [(self._setup_device, [ad, sim_conf_file, qxdm_log_mask_cfg])
240 return multithread_func(self.log, tasks)
460 tasks = [(self._teardown_device, [ad]) for ad in self.android_devices]
461 multithread_func(self.log, tasks)
[all …]
/tools/test/connectivity/acts/framework/acts/libs/utils/
Dmultithread.py54 def run_multithread_func(log, tasks): argument
65 number_of_workers = min(MAX_NUMBER_OF_WORKERS, len(tasks))
70 results = list(executor.map(task_wrapper, tasks))
77 [task[0].__name__ for task in tasks], results)
81 def multithread_func(log, tasks): argument
92 results = run_multithread_func(log, tasks)
99 def multithread_func_and_check_results(log, tasks, expected_results): argument
112 results = run_multithread_func(log, tasks)
115 for task, result, expected_result in zip(tasks, results, expected_results):
/tools/test/connectivity/acts_tests/tests/google/nr/nsa5g/
DNsa5gVoiceTest.py159 tasks = [(phone_setup_volte, (self.log, ads[0], GEN_5G, 'nsa')),
161 if not multithread_func(self.log, tasks):
519 tasks = [(phone_setup_volte, (self.log, ads[0])), (phone_setup_csfb,
521 if not multithread_func(self.log, tasks):
552 tasks = [(phone_setup_volte, (self.log, ads[0])),
554 if not multithread_func(self.log, tasks):
584 tasks = [(phone_setup_iwlan,
589 if not multithread_func(self.log, tasks):
620 tasks = [(phone_setup_iwlan,
625 if not multithread_func(self.log, tasks):
[all …]
DNsa5gVoiceConfTest.py2448 tasks = [(phone_setup_volte, (self.log, ads[0], GEN_5G)),
2451 if not multithread_func(self.log, tasks):
2471 tasks = [(phone_setup_volte, (self.log, ads[0], GEN_5G)),
2474 if not multithread_func(self.log, tasks):
2494 tasks = [(phone_setup_volte, (self.log, ads[0], GEN_5G)),
2497 if not multithread_func(self.log, tasks):
2517 tasks = [(phone_setup_volte, (self.log, ads[0], GEN_5G)),
2520 if not multithread_func(self.log, tasks):
2542 tasks = [(phone_setup_volte, (self.log, ads[0], GEN_5G)),
2545 if not multithread_func(self.log, tasks):
[all …]
/tools/ndkports/buildSrc/src/main/kotlin/com/android/ndkports/
DNdkPortsPlugin.kt15 import org.gradle.api.tasks.bundling.Zip in <lambda>()
79 prefabTask = project.tasks.register("prefab", PrefabTask::class.java) { in createTasks()
88 extractTask = project.tasks.register( in createTasks()
97 packageTask = project.tasks.register( in createTasks()
116 aarTask = project.tasks.register("packageAar", Zip::class.java) { in createTasks()
124 val portTasks = project.tasks.withType(PortTask::class.java) in createTasks()
144 project.tasks.withType(AndroidExecutableTestTask::class.java) in createTasks()
151 project.tasks.getByName("check").dependsOn(testTask) in createTasks()
DPrefabTask.kt12 import org.gradle.api.tasks.Input in <lambda>()
13 import org.gradle.api.tasks.InputDirectory in <lambda>()
14 import org.gradle.api.tasks.InputFiles in <lambda>()
15 import org.gradle.api.tasks.Optional in <lambda>()
16 import org.gradle.api.tasks.OutputDirectory in <lambda>()
17 import org.gradle.api.tasks.TaskAction in <lambda>()
DPackageBuilderTask.kt13 import org.gradle.api.tasks.Input
14 import org.gradle.api.tasks.InputDirectory
15 import org.gradle.api.tasks.Internal
16 import org.gradle.api.tasks.Nested
17 import org.gradle.api.tasks.OutputDirectory
18 import org.gradle.api.tasks.TaskAction
DPortTask.kt8 import org.gradle.api.tasks.Input
9 import org.gradle.api.tasks.InputDirectory
10 import org.gradle.api.tasks.Internal
11 import org.gradle.api.tasks.OutputDirectory
12 import org.gradle.api.tasks.TaskAction
/tools/metalava/
Dbuild.gradle.kts5 import org.gradle.api.tasks.testing.logging.TestLogEvent
6 import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
53 tasks.withType(KotlinCompile::class.java) { in <lambda>()
95 val zipTask: TaskProvider<Zip> = project.tasks.register(
103 val testTask = tasks.named("test", Test::class.java)
181 tasks.register("ktlint", JavaExec::class.java) { in <lambda>()
189 tasks.register("ktlintFormat", JavaExec::class.java) { in <lambda>()
233 tasks.withType(GenerateModuleMetadata::class.java).configureEach { in <lambda>()
/tools/test/connectivity/acts_tests/tests/google/coex/performance_tests/
DWlanWithA2dpPerformanceTest.py67 tasks = [
73 return self.set_attenuation_and_run_iperf(tasks)
79 tasks = [(self.run_iperf_and_get_result, ()),
83 return self.set_attenuation_and_run_iperf(tasks)
89 tasks = [(music_play_and_check,
95 return self.set_attenuation_and_run_iperf(tasks)
/tools/metalava/buildSrc/src/main/kotlin/com/android/tools/metalava/
DLibraryBuildInfo.kt25 import org.gradle.api.tasks.Input in <lambda>()
26 import org.gradle.api.tasks.OutputFile in <lambda>()
27 import org.gradle.api.tasks.TaskAction in <lambda>()
28 import org.gradle.api.tasks.TaskProvider in <lambda>()
29 import org.gradle.api.tasks.bundling.Zip in <lambda>()
83 return project.tasks.register(CREATE_BUILD_INFO_TASK, CreateLibraryBuildInfoTask::class.java) { in configureBuildInfoTask()
/tools/test/connectivity/acts_tests/tests/google/coex/functionality_tests/
DWlanWithHfpFunctionalityTest.py124 tasks = [(initiate_disconnect_from_hf,
130 if not multithread_func(self.log, tasks):
661 tasks = [(start_fping, (self.pri_ad, self.iperf["duration"],
666 if not multithread_func(self.log, tasks):
686 tasks = [(start_fping, (self.pri_ad, self.iperf["duration"],
692 if not multithread_func(self.log, tasks):

123