Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 34) sorted by relevance

12

/platform_testing/tests/bettertogether/quickstart/performance_test/
Dnc_constants.py219 fail_targets: list[FailTargetSummary] = dataclasses.field(
220 default_factory=list)
226 first_discovery_latencies: list[datetime.timedelta] = dataclasses.field(
227 default_factory=list[datetime.timedelta])
228 first_connection_latencies: list[datetime.timedelta] = dataclasses.field(
229 default_factory=list[datetime.timedelta])
230 discoverer_wifi_wlan_latencies: list[
232 default_factory=list[datetime.timedelta])
233 bt_transfer_throughputs_kbps: list[float] = dataclasses.field(
234 default_factory=list[float])
[all …]
Dnearby_share_stress_test.py60 discovery_latencies: list[datetime.timedelta] = dataclasses.field(
61 default_factory=list[datetime.timedelta]
63 connection_latencies: list[datetime.timedelta] = dataclasses.field(
64 default_factory=list[datetime.timedelta]
66 medium_upgrade_latencies: list[datetime.timedelta] = dataclasses.field(
67 default_factory=list[datetime.timedelta]
69 wifi_transfer_throughputs_kbps: list[float] = dataclasses.field(
70 default_factory=list[float]
Desim_transfer_stress_test.py59 discovery_latencies: list[datetime.timedelta] = dataclasses.field(
60 default_factory=list[datetime.timedelta])
61 connection_latencies: list[datetime.timedelta] = dataclasses.field(
62 default_factory=list[datetime.timedelta])
63 bt_transfer_throughputs_kbps: list[float] = dataclasses.field(
64 default_factory=list[float])
Dnc_base_test.py40 self.ads: list[android_device.AndroidDevice] = []
213 throughput_indicators: list[float],
254 fail_targets: list[nc_constants.FailTargetSummary] = []
282 self, latency_indicators: list[datetime.timedelta]
320 self, fail_targets: list[nc_constants.FailTargetSummary]
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/
DMultiResourceFile.java121 ResourceValueMap list = mResourceItems.get(type); in updateResourceItems() local
123 if (list != null) { in updateResourceItems()
124 Collection<ResourceValue> values = list.values(); in updateResourceItems()
159 ResourceValueMap list = mResourceItems.get(resType); in addResourceValue() local
162 if (list == null) { in addResourceValue()
163 list = ResourceValueMap.create(); in addResourceValue()
164 mResourceItems.put(resType, list); in addResourceValue()
167 ResourceValue oldValue = list.get(value.getName()); in addResourceValue()
176 list.put(value.getName(), value); in addResourceValue()
182 ResourceValueMap list = mResourceItems.get(type); in getValue() local
[all …]
DFrameworkResources.java187 List<ResourceItem> list = mPublicResourceMap.get(type); in loadPublicResources() local
188 if (list == null) { in loadPublicResources()
189 list = Collections.emptyList(); in loadPublicResources()
191 list = Collections.unmodifiableList(list); in loadPublicResources()
195 mPublicResourceMap.put(type, list); in loadPublicResources()
DResourceRepository.java134 List<ResourceFolder> list = mFolderMap.get(type); in add() local
136 if (list == null) { in add()
137 list = new ArrayList<>(); in add()
140 list.add(cf); in add()
142 mFolderMap.put(type, list); in add()
148 for (ResourceFolder cFolder : list) { in add()
160 list.add(cf); in add()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSettingsJankTests.java87 UiObject2 list = mDevice.wait(Until.findObject(SETTINGS_DASHBOARD), TIMEOUT); in flingSettingsToStart() local
88 list.setGestureMargin(VIEW_MARGIN); in flingSettingsToStart()
90 while (!list.isScrollable() && count <= 5) { in flingSettingsToStart()
92 list = mDevice.wait(Until.findObject(SETTINGS_DASHBOARD), TIMEOUT); in flingSettingsToStart()
95 while (list.fling(Direction.UP)); in flingSettingsToStart()
114 UiObject2 list = mDevice.findObject(SETTINGS_DASHBOARD); in testSettingsFling() local
115 list.setGestureMargin(VIEW_MARGIN); in testSettingsFling()
117 list.fling(Direction.DOWN); in testSettingsFling()
119 list.fling(Direction.UP); in testSettingsFling()
/platform_testing/tests/bettertogether/betocq/
Dnc_constants.py443 prior_bt_discovery_latencies: list[datetime.timedelta] = dataclasses.field(
444 default_factory=list[datetime.timedelta]
446 prior_bt_connection_latencies: list[datetime.timedelta] = dataclasses.field(
447 default_factory=list[datetime.timedelta]
449 discoverer_wifi_sta_latencies: list[datetime.timedelta] = dataclasses.field(
450 default_factory=list[datetime.timedelta]
452 file_transfer_discovery_latencies: list[datetime.timedelta] = (
453 dataclasses.field(default_factory=list[datetime.timedelta])
455 file_transfer_connection_latencies: list[datetime.timedelta] = (
456 dataclasses.field(default_factory=list[datetime.timedelta])
[all …]
Dd2d_performance_test_base.py71 self._test_results: list[nc_constants.SingleTestResult] = []
534 quality_info: list[Any] = []
695 throughput_indicators: list[float],
718 self, latency_indicators: list[datetime.timedelta]
808 def __get_failed_iteration_messages(self) -> list[str]:
829 def __get_prior_bt_connection_stats(self) -> list[str]:
855 def __get_file_transfer_connection_stats(self) -> list[str]:
914 def _summary_upgraded_wifi_transfer_mediums(self) -> list[str]:
927 ) -> list[str]:
Dandroid_wifi_utils.py167 def list_saved_wifi(ad: android_device.AndroidDevice) -> list[SavedWifiInfo]:
/platform_testing/libraries/screenshot/scripts/
Dmodules_config.py6 dirs: list[str]
9 excludes: list[str] = field(default_factory=list)
108 module_configs: list[ModuleConfig]
Ddeviceless_converter.py68 def process(cfg: Config, successful: list[str], failed: list[str]):
80 successful: list[str] = []
81 failed: list[str] = []
/platform_testing/tests/automotive/functional/profileiconlist/src/android/platform/tests/
DProfileIconsListTest.java65 List<String> list = mHomeHelper.get().getUserProfileNames(); in testListOfProfiles() local
66 assertFalse("newUser at index first position", USER_NAME.equals(list.get(0))); in testListOfProfiles()
67 int position = list.size() - 1; in testListOfProfiles()
68 assertTrue("Guest profile not at last position", GUEST_NAME.equals(list.get(position))); in testListOfProfiles()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DQuickSettingsHelper.java186 ArrayList<String> list = new ArrayList<>(mPreviousQSTileList); in setFirstQS() local
187 for (int i = 0; i < list.size(); ++i) { in setFirstQS()
188 if (TextUtils.equals(tileName, list.get(i))) { in setFirstQS()
189 list.remove(i); in setFirstQS()
193 list.add(0, tileName); in setFirstQS()
194 modifyQSTileList(list); in setFirstQS()
217 public void modifyQSTileList(@NonNull List<String> list) { in modifyQSTileList() argument
218 if (list.isEmpty()) { in modifyQSTileList()
223 String settings = String.join(",", list); in modifyQSTileList()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DInfoStore.java127 abstract void addListResult(String name, List<String> list) throws IOException; in addListResult() argument
176 protected static List<String> checkStringList(List<String> list) { in checkStringList() argument
177 if (list.size() > MAX_LIST_LENGTH) { in checkStringList()
178 return list.subList(0, MAX_LIST_LENGTH); in checkStringList()
180 return list; in checkStringList()
/platform_testing/libraries/health/composers/host/src/android/host/test/composer/
DCompose.java29 return (args, list) -> next.apply(args, this.apply(args, list)); in andThen()
/platform_testing/tests/functional/devicehealthchecks/src/com/android/devicehealthchecks/
DMediaBootCheck.java41 MediaCodecList list = new MediaCodecList(MediaCodecList.ALL_CODECS); in checkCodecList() local
42 MediaCodecInfo[] infos = list.getCodecInfos(); in checkCodecList()
/platform_testing/libraries/rdroidtest/macro/
Dlib.rs29 Meta::List(list) if list.path.to_token_stream().to_string().as_str() == "ignore_if" => { in rdroidtest()
31 ignore_if = Some(list.tokens.clone()); in rdroidtest()
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsSoundsHelperImpl.java233 List<UiObject2> list = object.getParent().getChildren(); in getSound() local
234 if (list.size() < 2) { in getSound()
242 list = object.getParent().getChildren(); in getSound()
244 UiObject2 summary = list.get(1); in getSound()
DSettingsDateTimeHelperImpl.java580 List<UiObject2> list = object.getParent().getChildren(); in getSwitchWidget() local
581 UiObject2 switchWidget = list.get(1).getChildren().get(0).getChildren().get(0); in getSwitchWidget()
/platform_testing/libraries/collectors-helper/adservices/src/com/android/helpers/
DJSScriptEngineLatencyHelper.java112 private Long getAverage(List<Long> list, long defaultValue) { in getAverage() argument
113 return (long) list.stream().mapToDouble(d -> d).average().orElse(defaultValue); in getAverage()
/platform_testing/utils/shell-as/
DAndroid.bp75 ":permission-list-normal",
80 "$(location :permission-list-normal) " +
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DHelperManager.java132 mClasses.addAll(Collections.list(dex.entries())); in HelperManager()
/platform_testing/libraries/compatibility-common-util/tests/assets/
Darm32_libdl.txt197 Histogram for bucket list length (total of 37 buckets):
206 Histogram for `.gnu.hash' bucket list length (total of 17 buckets):

12