Home
last modified time | relevance | path

Searched refs:num_buckets (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java92 mSettings.num_buckets = 0; in NativeScanSettingsBuilder()
130 bucket.bucket = mSettings.num_buckets; in addBucketWithBand()
149 bucket.bucket = mSettings.num_buckets; in addBucketWithChannels()
159 mSettings.buckets = Arrays.copyOf(mSettings.buckets, mSettings.num_buckets + 1); in addBucket()
160 mSettings.buckets[mSettings.num_buckets] = bucket; in addBucket()
161 mSettings.num_buckets = mSettings.num_buckets + 1; in addBucket()
322 assertEquals("number of buckets", expected.num_buckets, actual.num_buckets); in assertNativeScanSettingsEquals()
DWifiVendorHalTest.java1915 settings.num_buckets = 1; in startBgScan()
/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp103 static const uint32_t num_buckets = 128; variable
105 static uint64_t time_per_bucket = max_time_bucket / num_buckets;
109 uint32_t m_buckets[num_buckets] = {0};
127 for (int i = 0; i < num_buckets; i++) { in combine()
151 for (int i = 0; i < num_buckets; i++) { in dump()
325 time_per_bucket = max_time_bucket / num_buckets; in run_main()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DScanScheduleUtil.java83 if (schedule1.num_buckets != schedule2.num_buckets) return false; in scheduleEquals()
84 for (int b = 0; b < schedule1.num_buckets; b++) { in scheduleEquals()
DWificondScannerImpl.java222 if (settings.num_buckets < 0 || settings.num_buckets > MAX_SCAN_BUCKETS) { in startBatchedScan()
235 for (int i = 0; i < settings.num_buckets; ++i) { in startBatchedScan()
245 Log.d(TAG, "Starting scan num_buckets=" + settings.num_buckets + ", base_period=" in startBatchedScan()
357 for (int bucket_id = 0; bucket_id < mBackgroundScanSettings.num_buckets; in processPendingScans()
398 for (int i = 0; i < mPendingSingleScanSettings.num_buckets; ++i) { in processPendingScans()
DBackgroundScanScheduler.java438 schedule.num_buckets = bucketList.size(); in createSchedule()
470 if (schedule.num_buckets > 0) { in createSchedule()
472 for (int b = 1; b < schedule.num_buckets; b++) { in createSchedule()
DWifiScanningServiceImpl.java797 settings.num_buckets = 1; in tryToStartNewScan()
1231 if (schedule.num_buckets == 0) { in updateSchedule()
1240 for (int b = 0; b < schedule.num_buckets; b++) { in updateSchedule()
1249 Log.d(TAG, "scan restarted with " + schedule.num_buckets in updateSchedule()
1259 for (int b = 0; b < schedule.num_buckets; b++) { in updateSchedule()
2114 for (int b = 0; b < schedule.num_buckets; b++) { in dump()
/frameworks/native/libs/vr/libpdx_default_transport/
Dpdx_benchmarks.cpp912 const int num_buckets = 200; in ClientCommand() local
914 const uint64_t ns_per_bucket = sample_range_ns / num_buckets; in ClientCommand()
915 std::array<uint64_t, num_buckets> sample_buckets = {{0}}; in ClientCommand()
935 for (int i = 0; i < num_buckets; i++) { in ClientCommand()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DBackgroundScanSchedulerTest.java799 assertEquals("num_buckets", numBuckets, schedule.num_buckets); in assertBuckets()
801 assertEquals("num_buckets and actual buckets", schedule.num_buckets, in assertBuckets()
838 for (int b = 0; b < schedule.num_buckets; b++) { in assertSettingsSatisfied()
973 for (int i = 0; i < schedule.num_buckets; ++i) { in computeExpectedPeriod()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java933 public int num_buckets; field in WifiNative.ScanSettings