Home
last modified time | relevance | path

Searched refs:_000 (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/coex/
DCoexUtilsTest.java73 assertThat(getNeighboringCoexUnsafeChannels(getLowerFreqKhz(1, WIFI_BAND_24_GHZ) - 100_000, in testGetNeighboringCoexUnsafeChannels_noOverlap_returnsEmptySet()
74 50_000, 50_000, POWER_CAP_NONE)).isEmpty(); in testGetNeighboringCoexUnsafeChannels_noOverlap_returnsEmptySet()
75 assertThat(getNeighboringCoexUnsafeChannels(getUpperFreqKhz(14, WIFI_BAND_24_GHZ) + 100_000, in testGetNeighboringCoexUnsafeChannels_noOverlap_returnsEmptySet()
76 50_000, 50_000, POWER_CAP_NONE)).isEmpty(); in testGetNeighboringCoexUnsafeChannels_noOverlap_returnsEmptySet()
77 assertThat(getNeighboringCoexUnsafeChannels(2595_000, in testGetNeighboringCoexUnsafeChannels_noOverlap_returnsEmptySet()
78 50_000, 50_000, POWER_CAP_NONE)).isEmpty(); in testGetNeighboringCoexUnsafeChannels_noOverlap_returnsEmptySet()
81 assertThat(getNeighboringCoexUnsafeChannels(getLowerFreqKhz(32, WIFI_BAND_5_GHZ) - 100_000, in testGetNeighboringCoexUnsafeChannels_noOverlap_returnsEmptySet()
82 50_000, 50_000, POWER_CAP_NONE)).isEmpty(); in testGetNeighboringCoexUnsafeChannels_noOverlap_returnsEmptySet()
83 assertThat(getNeighboringCoexUnsafeChannels(getUpperFreqKhz(173, WIFI_BAND_5_GHZ) + 100_000, in testGetNeighboringCoexUnsafeChannels_noOverlap_returnsEmptySet()
84 50_000, 50_000, POWER_CAP_NONE)).isEmpty(); in testGetNeighboringCoexUnsafeChannels_noOverlap_returnsEmptySet()
[all …]
DCoexManagerTest.java440 createMockPhysicalChannelConfig(NETWORK_TYPE_LTE, 40, 2399_900, 10_000, 0, 0) in testGetCoexUnsafeChannels_neighboringLte40_returns2gNeighboringChannels()
472 createMockPhysicalChannelConfig(NETWORK_TYPE_LTE, 46, 5150_000, 10_000, 0, 0) in testGetCoexUnsafeChannels_neighboringLte46_returns5gNeighboringChannels()
506 854_500, 17_000, 809_500, 17_000) in testGetCoexUnsafeChannels_channel27065Example_returnsCorrectWifiChannels()
538 2680_000, 10_000, 2560_000, 10_000) in testGetCoexUnsafeChannels_channel3350Example_returnsCorrectWifiChannels()
569 createMockPhysicalChannelConfig(NETWORK_TYPE_LTE, 40, 2399_900, 2000_000, 0, 0) in testGetCoexUnsafeChannels_entire2gBandUnsafe_excludesDefault2gChannel()
597 createMockPhysicalChannelConfig(NETWORK_TYPE_LTE, 46, 5150_000, 2000_000, 0, 0) in testGetCoexUnsafeChannels_entire5gBandUnsafe_excludesDefault5gChannel()
626 new CoexUtils.CoexCellChannel(NETWORK_TYPE_LTE, 40, 2399_900, 10_000, 0, 0, in testGetCoexUnsafeChannels_mockCellChannelsAdded_mockCellChannelsUsed()
669 createMockPhysicalChannelConfig(NETWORK_TYPE_LTE, 40, 2399_900, 10_000, 0, 0) in testGetCoexUnsafeChannels_overrideExists_overrideChannelsAdded()
717 5150_000, 1_000, 0, 0) in testGetCoexUnsafeChannels_LAA_restrict5gSoftApAndWifiDirect()
728 5150_000, 1_000, 0, 0) in testGetCoexUnsafeChannels_LAA_restrict5gSoftApAndWifiDirect()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java1236 mNewLlStats.timeStampInMs = 5_000; in makeUpdateLinkBandwidthExample()
1622 mOldLlStats.timeStampInMs = 7_000; in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1623 mNewLlStats.timeStampInMs = 10_000; in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1628 millisecondsPass(3_000); in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1633 assertEquals(10_000, perNetwork.getTxLinkBandwidthKbps()); in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1634 assertEquals(32_000, perNetwork.getRxLinkBandwidthKbps()); in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1640 millisecondsPass(3_000); in testLinkBandwidthTwoRadioStatsVariousTxTraffic()
1656 mOldLlStats.timeStampInMs = 7_000; in testLinkBandwidthTwoBssidThreeSignalLevelOneBand()
1657 mNewLlStats.timeStampInMs = 10_000; in testLinkBandwidthTwoBssidThreeSignalLevelOneBand()
1663 millisecondsPass(3_000); in testLinkBandwidthTwoBssidThreeSignalLevelOneBand()
[all …]
DWifiLinkLayerStatsTest.java226 mWifiLinkLayerStats.timeStampInMs += 10_000; in afterSourceSwitchTheRatesShouldGetReset()
233 mWifiLinkLayerStats.timeStampInMs += 10_000; in afterSourceSwitchTheRatesShouldGetReset()
242 mWifiLinkLayerStats.timeStampInMs += 10_000; in afterSourceSwitchTheRatesShouldGetReset()
248 mWifiLinkLayerStats.timeStampInMs += 10_000; in afterSourceSwitchTheRatesShouldGetReset()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/net/
DRefinedStatsTest.java66 mRefinedStats = new RefinedStats(/* startMillis= */ 10_000, /* endMillis= */ 20_000); in setUp()
83 expected.putLong(Constants.CONNECTIVITY_BUNDLE_KEY_START_MILLIS, 10_000); in testAddNetworkStats_toPersistableBundle()
84 expected.putLong(Constants.CONNECTIVITY_BUNDLE_KEY_END_MILLIS, 20_000); in testAddNetworkStats_toPersistableBundle()
121 RefinedStats other = new RefinedStats(/* startMillis= */ 9_000, /* endMillis= */ 15_000); in testSubtract()
127 expected.putLong(Constants.CONNECTIVITY_BUNDLE_KEY_START_MILLIS, 10_000); in testSubtract()
128 expected.putLong(Constants.CONNECTIVITY_BUNDLE_KEY_END_MILLIS, 20_000); in testSubtract()
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java101 sleep(2_000); in testAudioState()
162 sleep(6_000); in testBleScanInterrupted()
167 sleep(6_000); in testBleScanInterrupted()
174 sleep(6_000); // Wait for Bluetooth to fully turn on. in testBleScanInterrupted()
215 sleep(2_000); // Wait for Bluetooth to fully turn on. in performBleAction()
255 waitForReceiver(InstrumentationRegistry.getContext(), 59_000, resultsLatch, null); in performBleScan() local
257 sleep(2_000); in performBleScan()
278 sleep(2_000); in testCameraState()
302 waitForReceiver(context, 10_000, latch, null); in testCameraState()
378 sleep(1_000); in testGpsScan()
[all …]
DStatsdCtsForegroundActivity.java52 public static final int SLEEP_OF_ACTION_SLEEP_WHILE_TOP = 2_000;
53 public static final int SLEEP_OF_ACTION_SHOW_APPLICATION_OVERLAY = 2_000;
54 public static final int LONG_SLEEP_WHILE_TOP = 60_000;
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DServiceAppSearchConfig.java49 int DEFAULT_LIMIT_CONFIG_MAX_DOCUMENT_COUNT = 80_000;
50 int DEFAULT_LIMIT_CONFIG_MAX_SUGGESTION_COUNT = 20_000;
53 int DEFAULT_DOC_COUNT_OPTIMIZE_THRESHOLD = 10_000;
81 long DEFAULT_APP_FUNCTION_CALL_TIMEOUT_MILLIS = 30_000;
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DExercisePerformanceGoalTest.java269 assertThat(new ExercisePerformanceGoal.WeightGoal(Mass.fromGrams(100_000))) in weightGoal_equalsAndHashCode()
270 .isNotEqualTo(new ExercisePerformanceGoal.WeightGoal(Mass.fromGrams(200_000))); in weightGoal_equalsAndHashCode()
271 assertThat(new ExercisePerformanceGoal.WeightGoal(Mass.fromGrams(100_000))) in weightGoal_equalsAndHashCode()
272 .isEqualTo(new ExercisePerformanceGoal.WeightGoal(Mass.fromGrams(100_000))); in weightGoal_equalsAndHashCode()
274 assertThat(new ExercisePerformanceGoal.WeightGoal(Mass.fromGrams(100_000)).hashCode()) in weightGoal_equalsAndHashCode()
276 new ExercisePerformanceGoal.WeightGoal(Mass.fromGrams(200_000)).hashCode()); in weightGoal_equalsAndHashCode()
277 assertThat(new ExercisePerformanceGoal.WeightGoal(Mass.fromGrams(100_000)).hashCode()) in weightGoal_equalsAndHashCode()
279 new ExercisePerformanceGoal.WeightGoal(Mass.fromGrams(100_000)).hashCode()); in weightGoal_equalsAndHashCode()
286 new ExercisePerformanceGoal.WeightGoal(Mass.fromGrams(80_000))); in weightGoal_insertAndRead()
299 new ExercisePerformanceGoal.WeightGoal(Mass.fromGrams(20_000)); in weightGoal_getters()
[all …]
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DValueMetricsTests.java188 RunUtil.getDefault().sleep(2 * 60_000 + 10_000); in testPullerAcrossBuckets()
193 RunUtil.getDefault().sleep(1_000); in testPullerAcrossBuckets()
215 assertThat(totalValue).isGreaterThan(130_000 - 60_000); in testPullerAcrossBuckets()
266 final long GAP_INTERVAL = 10_000; in testMultipleEventsPerBucket()
278 RunUtil.getDefault().sleep(1_000); in testMultipleEventsPerBucket()
300 assertThat((long) totalValue).isGreaterThan(GAP_INTERVAL * NUM_EVENTS - 60_000); in testMultipleEventsPerBucket()
345 RunUtil.getDefault().sleep(60_000 + 10_000); in testPullerAcrossBucketsWithActivation()
348 RunUtil.getDefault().sleep(1_000); in testPullerAcrossBucketsWithActivation()
446 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), 3_000); in testValueMetricWithConditionAndActivation() local
454 AppBreadcrumbReported.State.UNSPECIFIED.getNumber(), 40_000); in testValueMetricWithConditionAndActivation() local
[all …]
DDurationMetricsTests.java181 RunUtil.getDefault().sleep(2_000); in testDurationMetricWithCondition()
198 RunUtil.getDefault().sleep(2_000); in testDurationMetricWithCondition()
215 RunUtil.getDefault().sleep(2_000); in testDurationMetricWithCondition()
222 RunUtil.getDefault().sleep(2_000); in testDurationMetricWithCondition()
292 RunUtil.getDefault().sleep(2_000); in testDurationMetricWithActivation()
309 RunUtil.getDefault().sleep(2_000); in testDurationMetricWithActivation()
316 RunUtil.getDefault().sleep(2_000); in testDurationMetricWithActivation()
414 RunUtil.getDefault().sleep(2_000); in testDurationMetricWithConditionAndActivation()
431 RunUtil.getDefault().sleep(2_000); in testDurationMetricWithConditionAndActivation()
448 RunUtil.getDefault().sleep(2_000); in testDurationMetricWithConditionAndActivation()
[all …]
/packages/modules/OnDevicePersonalization/tests/perftests/scenarios/src/android/federatedcompute/test/scenario/federatedcompute/
DTestHelper.java37 private static final long UI_FIND_RESOURCE_TIMEOUT = 15_000;
38 private static final long TRAINING_TASK_COMPLETION_TIMEOUT = 120_000;
39 private static final long CHECKIN_REJECTION_COMPLETION_TIMEOUT = 20_000;
40 private static final long ENCRYPTION_KEY_FETCH_TIMEOUT = 30_000;
41 private static final long SCHEDULE_JOB_LOG_TIMEOUT = 30_000;
42 private static final long CANCEL_TASK_COMPLETION_TIMEOUT = 20_000;
/packages/modules/StatsD/tests/src/android/cts/statsd/atom/
DProcStateTestCase.java63 public static final int SLEEP_OF_ACTION_SLEEP_WHILE_TOP = 2_000;
64 public static final int SLEEP_OF_ACTION_LONG_SLEEP_WHILE_TOP = 60_000;
65 public static final int SLEEP_OF_ACTION_BACKGROUND_SLEEP = 2_000;
66 public static final int SLEEP_OF_FOREGROUND_SERVICE = 2_000;
/packages/modules/StatsD/tests/src/android/cts/statsd/validation/
DProcStatsValidationTests.java49 private static final int EXTRA_WAIT_TIME_MS = 1_000; // as buffer when proc state changing.
79 final int cacheTime = 2_000; // process should be in cached state for up to this long in testProcessStateByPulling()
84 RunUtil.getDefault().sleep(EXTRA_WAIT_TIME_MS + 5_000); in testProcessStateByPulling()
86 RunUtil.getDefault().sleep(60_000); in testProcessStateByPulling()
99 RunUtil.getDefault().sleep(AtomTestUtils.WAIT_TIME_SHORT + 5_000); in testProcessStateByPulling()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppHandoverReceiverTest.java93 verify(spyManager, timeout(3_000)).startTransfer(any()); in onReceive_withActionHandoverSend_startTransfer()
97 verify(mCallProxy, timeout(3_000).times(1)) in onReceive_withActionHandoverSend_startTransfer()
125 verify(spyManager, timeout(3_000)).startTransfer(any()); in onReceive_withActionHandoverSendMultiple_startTransfer()
129 verify(mCallProxy, timeout(3_000).times(3)) in onReceive_withActionHandoverSendMultiple_startTransfer()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTrackPlayer.java38 private static final int SAMPLE_RATE = 48_000;
39 private static final int MS_TO_SECONDS = 1_000;
43 private static final int AUDIBLE_RANGE_TOP = 20_000;
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUserManagerUserVisibilityEventTest.java46 private static final int START_TIMEOUT_MS = 100_000;
50 private static final int STOP_TIMEOUT_MS = 600_000;
66 @Test(timeout = 600_000)
DCarUserManagerLifeCycleTest.java46 private static final int SWITCH_TIMEOUT_MS = 70_000;
50 private static final int STOP_TIMEOUT_MS = 600_000;
68 @Test(timeout = 600_000)
/packages/modules/StatsD/tests/src/android/cts/statsd/alert/
DAnomalyDetectionTests.java222 RunUtil.getDefault().sleep(6_000); // Recorded duration at end: 6s in testDurationAnomalyDetection()
228 RunUtil.getDefault().sleep(4_000); // Recorded duration at end: 6s in testDurationAnomalyDetection()
235 RunUtil.getDefault().sleep(9_000); // Recorded duration at end: 13s in testDurationAnomalyDetection()
248 RunUtil.getDefault().sleep(3_000); // Recorded duration at end: 13s in testDurationAnomalyDetection()
256 RunUtil.getDefault().sleep(8_000); // Recorded duration at end: 9s in testDurationAnomalyDetection()
259 RunUtil.getDefault().sleep(15_000); // Recorded duration at end: 15s in testDurationAnomalyDetection()
297 RunUtil.getDefault().sleep(5_000); in testDurationAnomalyDetectionForLateAlarms()
300 RunUtil.getDefault().sleep(2_000); in testDurationAnomalyDetectionForLateAlarms()
503 6_000); // Wait long enough to ensure AlarmManager signals >= 1 pull in testPulledAnomalyDetection()
/packages/modules/Wifi/service/java/com/android/server/wifi/coex/
DCoexUtils.java175 return (centerFreqMhz + bandwidthOffsetMhz) * 1_000; in getChannelEdgeKhz()
322 int channelSpacingKhz = 5_000; in getOffsetChannel()
561 centerFreq2gMhz * 1000, 22_000, thresholdKhz)) { in getCoexUnsafeChannelsForGpsL1()
572 centerFreq5g20Mhz * 1000, 20_000, thresholdKhz)) { in getCoexUnsafeChannelsForGpsL1()
583 centerFreq5g40Mhz * 1000, 40_000, thresholdKhz)) { in getCoexUnsafeChannelsForGpsL1()
594 centerFreq5g80Mhz * 1000, 80_000, thresholdKhz)) { in getCoexUnsafeChannelsForGpsL1()
605 centerFreq5g160Mhz * 1000, 160_000, thresholdKhz)) { in getCoexUnsafeChannelsForGpsL1()
/packages/services/Car/car-lib/src/android/car/app/
DRunnerWithBackoff.java29 private static final int FIRST_BACKOFF_TIME_MS = 1_000; // 1 second
30 private static final int MAXIMUM_BACKOFF_TIME_MS = 8_000; // 8 seconds
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapServiceTest.java123 verify(handler, timeout(1_000)) in sendConnectCancelMessage()
134 verify(handler, timeout(1_000)).messageArrived(eq(USER_TIMEOUT), anyInt(), anyInt(), any()); in sendConnectTimeoutMessage()
145 verify(handler, timeout(1_000)) in updateMasInstances()
/packages/apps/Settings/src/com/android/settings/wifi/helper/
DWifiTrackerBase.java41 protected static final long MAX_SCAN_AGE_MILLIS = 15_000;
43 protected static final long SCAN_INTERVAL_MILLIS = 10_000;
/packages/services/Car/tests/carservice_unit_test/src/android/car/oem/
DOemCarAudioVolumeRequestUnitTest.java43 private static final int TEST_MAX_GAIN_INDEX = 9_000;
45 private static final int TEST_MAX_ACTIVATION_GAIN_INDEX = 8_000;
46 private static final int TEST_MIN_ACTIVATION_GAIN_INDEX = 1_000;
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/
DFederatedComputeJobManagerTest.java735 long serverRetryDelayMillis = 5000_000; in testOnTrainerStartCalled_existingTask_rescheduleCountClear()
886 long serverRetryDelayMillis = 5000_000; in testRescheduleFLTask_didnotContribute_oneOff()
943 long minRetryDelayMillis = 3000_000; in testRescheduleFLTask_success_recurrent_userDefinedInterval()
944 long maxRetryDelayMillis = 3000_000; in testRescheduleFLTask_success_recurrent_userDefinedInterval()
945 long userDefinedIntervalMillis = 4000_000; in testRescheduleFLTask_success_recurrent_userDefinedInterval()
1002 long userDefinedIntervalMillis = 4000_000; in testRescheduleFLTask_recurrent_userDefinedInterval_NotGeneric()
1059 long serverDefinedIntervalMillis = 4000_000; in testRescheduleFLTask_recurrent_serverDefinedInterval()
1060 long userDefinedIntervalMillis = 3000_000; in testRescheduleFLTask_recurrent_serverDefinedInterval()
1119 long serverDefinedIntervalMillis = 4000_000; in testRescheduleFLTask_recurrent_didnotContribute()
1120 long userDefinedIntervalMillis = 3000_000; in testRescheduleFLTask_recurrent_didnotContribute()
[all …]

12345678910>>...14