Home
last modified time | relevance | path

Searched refs:stepCount (Results 1 – 9 of 9) sorted by relevance

/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DUiTestUtils.kt238 fun stepsRecordFromTestApp(stepCount: Long): StepsRecord { in stepsRecordFromTestApp()
239 return stepsRecord(TEST_APP_PACKAGE_NAME, stepCount) in stepsRecordFromTestApp()
247 fun stepsRecordFromTestApp(stepCount: Long, startTime: Instant): StepsRecord { in stepsRecordFromTestApp()
248 return stepsRecord(TEST_APP_PACKAGE_NAME, stepCount, startTime, startTime.plusSeconds(100)) in stepsRecordFromTestApp()
267 private fun stepsRecord(packageName: String, stepCount: Long): StepsRecord { in stepsRecord()
268 return stepsRecord(packageName, stepCount, Instant.now().minusMillis(1000), Instant.now()) in stepsRecord()
273 stepCount: Long, in stepsRecord()
281 return StepsRecord.Builder(testMetadataBuilder.build(), startTime, endTime, stepCount) in stepsRecord()
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DBackgroundScanScheduler.java200 int stepCount = 0; in createBucketSettings() local
230 stepCount = setting.stepCount; in createBucketSettings()
239 bucketSettings.step_count = stepCount; in createBucketSettings()
562 settings.stepCount = originalSettings.stepCount; in cloneScanSettings()
DWifiScanningServiceImpl.java2024 if (settings.stepCount < 1) { in addBackgroundScanRequest()
2025 loge("Failing scan request because stepCount is " + settings.stepCount in addBackgroundScanRequest()
/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/
DAppGridPageSnapperTest.java574 int stepCount = 5; in simulateFling()
575 for (int i = 0; i < stepCount; i++) { in simulateFling()
579 finalXStart + (finalXEnd - finalXStart) * (i + 1) / stepCount, in simulateFling()
580 finalYStart + (finalYEnd - finalYStart) * (i + 1) / stepCount, in simulateFling()
584 event[0].set(MotionEvent.obtain(downTime, eventTime + stepCount + 1, in simulateFling()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java92 int maxPeriod, int stepCount, int batch, int bssidsPerScan, int reportEvents) { in createRequest() argument
99 request.stepCount = stepCount; in createRequest()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiScanner.java583 public int stepCount; field in WifiScanner.ScanSettings
748 dest.writeInt(stepCount); in writeToParcel()
783 settings.stepCount = in.readInt();
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DStepsRecordTest.java1664 private static List<StepsRecord> insertAndReadRecords(int recordCount, int stepCount) in insertAndReadRecords() argument
1666 return insertAndReadRecords(recordCount, /* version= */ 0L, stepCount); in insertAndReadRecords()
1670 int recordCount, long version, int stepCount) throws Exception { in insertAndReadRecords() argument
1677 records.add(getCompleteStepsRecord(startTime, endTime, recordId, version, stepCount)); in insertAndReadRecords()
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/device/src/android/healthconnect/cts/device/
DHealthConnectDeviceTest.java1181 int stepCount, Instant startTime, int durationInHours, String clientId) { in getStepsRecord() argument
1188 stepCount) in getStepsRecord()
/packages/modules/Wifi/framework/api/
Dsystem-current.txt1274 field @Deprecated public int stepCount;