Home
last modified time | relevance | path

Searched refs:int (Results 1 – 25 of 31) sorted by relevance

12

/platform_testing/libraries/motion/tests/src/platform/test/motion/golden/
DDataPointTypesTest.kt78 assertThat(DataPointTypes.int.fromJson(1)).isEqualTo(1.asDataPoint()) in int_fromJson_native()
83 assertThat(DataPointTypes.int.fromJson(1.5)).isEqualTo(1.asDataPoint()) in int_fromJson_number()
88 assertThat(DataPointTypes.int.fromJson("1")).isEqualTo(1.asDataPoint()) in int_fromJson_floatString()
93 assertThat(DataPointTypes.int.fromJson("foo")).isEqualTo(DataPoint.unknownType<Float>()) in int_fromJson_unparseableString()
98 assertThat(DataPointTypes.int.fromJson(Something("bar"))) in int_fromJson_unknown()
115 assertThat(DataPointTypes.listOf(DataPointTypes.int)) in listOf_fromToJson_ofInt()
121 assertThat(DataPointTypes.listOf(DataPointTypes.int)).convertsJsonArray(listOf(), """[]""") in listOf_fromToJson_ofEmptyList()
135 assertThat(DataPointTypes.listOf(DataPointTypes.int).fromJson("""[1, "foo"]""")) in listOf_fromToJson_withWronglyTypedElement_returnsUnknown()
141 assertThat(DataPointTypes.listOf(DataPointTypes.int).fromJson("""[1, null]""")) in listOf_fromToJson_withNullElement_returnsUnknown()
/platform_testing/tests/bettertogether/betocq/directed_tests/
Dbt_performance_test.py61 def _get_transfer_file_size(self) -> int:
69 self, sta_frequency: int, sta_max_link_speed_mbps: int argument
Dble_performance_test.py62 def _get_transfer_file_size(self) -> int:
70 self, sta_frequency: int, sta_max_link_speed_mbps: int argument
Dscc_2g_wfd_sta_test.py70 def _get_transfer_file_size(self) -> int:
Dmcc_2g_wfd_indoor_5g_sta_test.py78 def _get_transfer_file_size(self) -> int:
Dscc_2g_wlan_sta_test.py74 def _get_transfer_file_size(self) -> int:
/platform_testing/tests/bettertogether/quickstart/performance_test/
Dnc_constants.py101 advertising_discovery_medium: int = NearbyMedium.BLE_ONLY
102 connection_medium: int = NearbyMedium.BT_ONLY
103 upgrade_medium: int = NearbyMedium.UPGRADE_TO_ALL_WIFI
105 keep_alive_timeout_ms: int = KEEP_ALIVE_TIMEOUT_WIFI_MS
106 keep_alive_interval_ms: int = KEEP_ALIVE_INTERVAL_WIFI_MS
107 target_post_wifi_connection_idle_time_sec: int = (
201 failure_count: int
218 success_count: int
Dnc_base_test.py46 self.performance_test_iterations: int = 1
47 self.num_bug_reports: int = 0
249 int(len(filtered) * nc_constants.PERCENTILE_50_FACTOR)
252 int(len(filtered) * nc_constants.PERCENTILE_95_FACTOR)
307 filtered[int(len(filtered) * nc_constants.PERCENTILE_50_FACTOR)],
311 filtered[int(len(filtered) * nc_constants.PERCENTILE_95_FACTOR)],
Dnearby_connection_wrapper.py139 keep_alive_timeout_ms: int = nc_constants.KEEP_ALIVE_TIMEOUT_BT_MS, argument
140 keep_alive_interval_ms: int = nc_constants.KEEP_ALIVE_INTERVAL_BT_MS, argument
304 keep_alive_timeout_ms: int = nc_constants.KEEP_ALIVE_TIMEOUT_BT_MS, argument
305 keep_alive_interval_ms: int = nc_constants.KEEP_ALIVE_INTERVAL_BT_MS, argument
336 self, file_size_kb: int, timeout: datetime.timedelta, argument
352 self, file_size_kb: int, timeout: datetime.timedelta, argument
Dquick_start_stress_test.py59 performance_test_iterations: int
309 def _summary_upgraded_wifi_transfer_mediums(self) -> dict[str, int]:
Dsetup_utils.py92 build_version_sdk = int(ad.build_info['build_version_sdk'])
/platform_testing/tests/bettertogether/betocq/compound_tests/
Dbt_2g_wifi_coex_test.py72 def _get_transfer_file_size(self) -> int:
86 self, sta_frequency: int, sta_max_link_speed_mbps: int argument
Dscc_2g_all_wifi_sta_test.py73 def _get_transfer_file_size(self) -> int:
/platform_testing/libraries/flicker/utils/test/assets/testdata/
Deventlog.winscope55 …oolean com.android.server.am.ActivityManagerService.isAppStartModeDisabled(int, java.lang.String),…
58 …java,7562,boolean com.android.server.am.ActivityManagerService.isUidActive(int, java.lang.String),…
59 …,4217,void com.android.server.am.ActivityManagerService.forceStopPackage(java.lang.String, int),59]
61 … com.android.server.am.ActivityManagerService$LocalService.setHasOverlayUi(int, boolean),,0,null,2…
62 …erver.am.ActivityManagerService.serviceDoneExecuting(android.os.IBinder, int, int, int),,0,null,68]
131 ….isAppStartModeDisabled(int, java.lang.String),OomAdjuster.java,505,void com.android.server.am.Oom…
132 …tifyNetworkPolicyRulesUpdated(int, long),OomAdjuster.java,505,void com.android.server.am.OomAdjust…
133 …(android.os.IBinder, int, int, int),-,4217,void com.android.server.am.ActivityManagerService.force…
134int com.android.server.am.ActivityManagerService.bindServiceInstance(android.app.IApplicationThrea…
135 …agerService.isUidActive(int, java.lang.String),OomAdjuster.java,505,void com.android.server.am.Oom…
[all …]
/platform_testing/libraries/flicker/test/assets/testdata/
Deventlog.winscope55 …oolean com.android.server.am.ActivityManagerService.isAppStartModeDisabled(int, java.lang.String),…
58 …java,7562,boolean com.android.server.am.ActivityManagerService.isUidActive(int, java.lang.String),…
59 …,4217,void com.android.server.am.ActivityManagerService.forceStopPackage(java.lang.String, int),59]
61 … com.android.server.am.ActivityManagerService$LocalService.setHasOverlayUi(int, boolean),,0,null,2…
62 …erver.am.ActivityManagerService.serviceDoneExecuting(android.os.IBinder, int, int, int),,0,null,68]
131 ….isAppStartModeDisabled(int, java.lang.String),OomAdjuster.java,505,void com.android.server.am.Oom…
132 …tifyNetworkPolicyRulesUpdated(int, long),OomAdjuster.java,505,void com.android.server.am.OomAdjust…
133 …(android.os.IBinder, int, int, int),-,4217,void com.android.server.am.ActivityManagerService.force…
134int com.android.server.am.ActivityManagerService.bindServiceInstance(android.app.IApplicationThrea…
135 …agerService.isUidActive(int, java.lang.String),OomAdjuster.java,505,void com.android.server.am.Oom…
[all …]
/platform_testing/libraries/flicker/test/assets/testdata/scenarios/AppLaunch/
Deventlog.winscope100int com.android.server.wm.WindowManagerService.addWindow(com.android.server.wm.Session, android.vi…
105 …roller,125,ActivityManagerService.java,5597,int com.android.server.am.ActivityManagerService.getUi…
116int com.android.server.am.ActivityManagerService.broadcastIntentWithFeature(android.app.IApplicati…
117 …void com.android.server.wm.AccessibilityController.onWindowFocusChangedNot(int),ActivityTaskManage…
136 ….android.server.wm.AccessibilityController.performComputeChangedWindowsNot(int, boolean),ActivityC…
143 …ings.java,2293,void com.android.server.pm.Settings.writePackageRestrictions(int, long, boolean),73]
150int),ActivityTaskManagerService.java,1125,android.content.res.Configuration com.android.server.wm.…
152 …,3791,void com.android.server.am.ActivityManagerService.forceStopPackage(java.lang.String, int),48]
161 …tWindowsTransformMatrix(java.util.List),WindowOrganizerController.java,399,int com.android.server.…
/platform_testing/tests/bettertogether/betocq/
Dnc_constants.py141 keep_alive_timeout_ms: int = KEEP_ALIVE_TIMEOUT_WIFI_MS
142 keep_alive_interval_ms: int = KEEP_ALIVE_INTERVAL_WIFI_MS
144 target_post_wifi_connection_idle_time_sec: int = (
391 medium_frequency: int = INVALID_INT
416 test_iteration: int = 0
434 sta_frequency: int = INVALID_INT
435 max_sta_link_speed_mbps: int = INVALID_INT
473 success_count: int | None = None
Dd2d_performance_test_base.py43 performance_test_iterations: int
67 self._finished_test_iteration: int = 0
125 def _get_target_sta_frequency_and_max_link_speed(self) -> tuple[int, int]:
128 sta_frequency = int(
132 sta_max_link_speed_mbps = int(
145 self, sta_frequency: int, sta_max_link_speed_mbps: int argument
161 min_throughput_mbyte_per_sec = int(
193 min_throughput_mbyte_per_sec = int(
199 min_throughput_mbyte_per_sec = int(
472 iperf_speed_mbps = int(
[all …]
Dnearby_connection_wrapper.py140 keep_alive_timeout_ms: int = nc_constants.KEEP_ALIVE_TIMEOUT_BT_MS, argument
141 keep_alive_interval_ms: int = nc_constants.KEEP_ALIVE_INTERVAL_BT_MS, argument
308 keep_alive_timeout_ms: int = 0, argument
309 keep_alive_interval_ms: int = 0, argument
348 file_size_kb: int, argument
370 self, file_size_kb: int, timeout: datetime.timedelta, argument
Dsetup_utils.py132 build_version_sdk = int(ad.build_info['build_version_sdk'])
469 def get_wifi_sta_frequency(ad: android_device.AndroidDevice) -> int:
479 def get_wifi_p2p_frequency(ad: android_device.AndroidDevice) -> int:
489 def get_wifi_sta_max_link_speed(ad: android_device.AndroidDevice) -> int:
501 ) -> int:
506 return int(string[left_index + len(prefix): right_index].strip())
Diperf_utils.py59 ) -> int:
94 speed_mbps = int(
97 speed_kbyte_sec = int(speed_mbps * 1024 / 8)
Dnc_base_test.py61 self.performance_test_iterations: int = 1
62 self.num_bug_reports: int = 0
175 ad.android_version = int(ad.adb.getprop('ro.build.version.release'))
/platform_testing/libraries/motion/src/platform/test/motion/golden/
DDataPointTypes.kt25 fun Int.asDataPoint() = DataPointTypes.int.makeDataPoint(this) in <lambda>()
60 val int: DataPointType<Int> = in <lambda>() constant
/platform_testing/libraries/screenshot/scripts/
Ddeviceless_converter.py11 def runGradleCommand(outputFile: str, cfg: Config, mc: ModuleConfig) -> int:
/platform_testing/libraries/motion/golden_updater/
Dwatch_local_tests.py48 type=int,
203 length = int(self.headers.get("Content-Length"))

12