Searched refs:num_buckets (Results 1 – 9 of 9) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanTestUtil.java | 92 mSettings.num_buckets = 0; in NativeScanSettingsBuilder() 126 bucket.bucket = mSettings.num_buckets; in addBucketWithBand() 145 bucket.bucket = mSettings.num_buckets; in addBucketWithChannels() 155 mSettings.buckets = Arrays.copyOf(mSettings.buckets, mSettings.num_buckets + 1); in addBucket() 156 mSettings.buckets[mSettings.num_buckets] = bucket; in addBucket() 157 mSettings.num_buckets = mSettings.num_buckets + 1; in addBucket() 312 assertEquals("number of buckets", expected.num_buckets, actual.num_buckets); in assertNativeScanSettingsEquals()
|
/frameworks/native/libs/binder/tests/ |
D | binderThroughputTest.cpp | 103 static const uint32_t num_buckets = 128; variable 105 static const uint64_t time_per_bucket = max_time_bucket / num_buckets; 111 uint32_t m_buckets[num_buckets] = {0}; 124 for (int i = 0; i < num_buckets; i++) { in combine() 140 for (int i = 0; i < num_buckets; i++) { in dump()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | ScanScheduleUtil.java | 83 if (schedule1.num_buckets != schedule2.num_buckets) return false; in scheduleEquals() 84 for (int b = 0; b < schedule1.num_buckets; b++) { in scheduleEquals()
|
D | SupplicantWifiScannerImpl.java | 228 if (settings.num_buckets < 0 || settings.num_buckets > MAX_SCAN_BUCKETS) { in startBatchedScan() 241 for (int i = 0; i < settings.num_buckets; ++i) { in startBatchedScan() 251 Log.d(TAG, "Starting scan num_buckets=" + settings.num_buckets + ", base_period=" in startBatchedScan() 358 for (int bucket_id = 0; bucket_id < mBackgroundScanSettings.num_buckets; in processPendingScans() 408 for (int i = 0; i < mPendingSingleScanSettings.num_buckets; ++i) { in processPendingScans()
|
D | BackgroundScanScheduler.java | 439 schedule.num_buckets = bucketList.size(); in createSchedule() 485 if (schedule.num_buckets > 0) { in createSchedule() 487 for (int b = 1; b < schedule.num_buckets; b++) { in createSchedule()
|
D | WifiScanningServiceImpl.java | 682 settings.num_buckets = 1; in tryToStartNewScan() 1115 if (schedule.num_buckets == 0) { in updateSchedule() 1124 for (int b = 0; b < schedule.num_buckets; b++) { in updateSchedule() 1133 Log.d(TAG, "scan restarted with " + schedule.num_buckets in updateSchedule() 1143 for (int b = 0; b < schedule.num_buckets; b++) { in updateSchedule() 2505 for (int b = 0; b < schedule.num_buckets; b++) { in dump()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | BackgroundScanSchedulerTest.java | 799 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/jni/ |
D | com_android_server_wifi_WifiNative.cpp | 473 params.num_buckets = helper.getIntField(settings, "num_buckets"); in android_net_wifi_startScan() 477 for (int i = 0; i < params.num_buckets; i++) { in android_net_wifi_startScan()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNative.java | 1690 public int num_buckets; field in WifiNative.ScanSettings
|