Searched refs:max_size (Results 1 – 12 of 12) sorted by relevance
/packages/modules/Bluetooth/system/common/ |
D | lru_unittest.cc | 200 int max_size = 0xFFFFF; // 2^20 = 1M in TEST() local 201 LegacyLruCache<int, int> cache(static_cast<size_t>(max_size), "testing"); in TEST() 204 for (int key = 0; key < max_size; key++) { in TEST() 209 for (int key = 0; key < max_size; key++) { in TEST() 214 for (int key = 0; key < max_size; key++) { in TEST() 215 int new_key = key + max_size; in TEST() 223 for (int key = max_size; key < 2 * max_size; key++) { in TEST()
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/ringbuffer/ |
D | fuzz_ringbuffer.cc | 103 size_t max_size = ringbuffer_size(buf); in callArbitraryFunction() local 104 if (max_size == 0) { in callArbitraryFunction() 107 size_t size = dataProvider->ConsumeIntegralInRange<size_t>(1, max_size); in callArbitraryFunction()
|
/packages/modules/Bluetooth/system/gd/common/ |
D | sync_map_count.h | 52 explicit SyncMapCount(size_t max_size) : max_size_(max_size) {} in SyncMapCount() argument
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_tls_frontend.cpp | 270 const int max_size = 4096; in handleRequests() local 271 uint8_t recv_buffer[max_size]; in handleRequests() 272 int rlen = recv(backend_socket_.get(), recv_buffer, max_size, 0); in handleRequests()
|
/packages/modules/adb/client/ |
D | incremental_utils.cpp | 116 int max_size = kMaxSignatureSize - sizeof(int32_t); in read_id_sig_headers() local 118 if (!append_bytes_with_size(fd, &signature, &max_size) || in read_id_sig_headers() 119 !append_bytes_with_size(fd, &signature, &max_size)) { in read_id_sig_headers()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropActivity.java | 629 protected static Bitmap getDownsampledBitmap(Bitmap image, int max_size) { in getDownsampledBitmap() argument 630 if (image == null || image.getWidth() == 0 || image.getHeight() == 0 || max_size < 16) { in getDownsampledBitmap() 635 while (size > max_size) { in getDownsampledBitmap() 645 if (CropMath.getBitmapSize(ret) > max_size) { in getDownsampledBitmap()
|
/packages/modules/Bluetooth/system/stack/gatt/ |
D | gatt_db.cc | 614 uint16_t max_size = 0; in gatts_write_attr_perm_check() local 630 max_size = 2; in gatts_write_attr_perm_check() 653 } else if (len != max_size) { in gatts_write_attr_perm_check()
|
/packages/modules/Virtualization/authfs/fd_server/src/ |
D | aidl.rs | 397 fn read_into_buf(file: &File, max_size: usize, offset: u64) -> io::Result<Vec<u8>> { in read_into_buf() 399 let buf_size = min(remaining, max_size as u64) as usize; in read_into_buf()
|
/packages/modules/adb/ |
D | test_device.py | 701 max_size = 16 * (1 << 10) 707 size = random.randrange(min_size, max_size, 1024) 720 max_size = 16 * (1 << 10) 724 size = random.randrange(min_size, max_size, 1024)
|
/packages/apps/Nfc/nci/jni/ |
D | NativeNfcManager.cpp | 62 uint32_t max_size, 477 eventData->ndef_detect.max_size, eventData->ndef_detect.cur_size, in nfaConnectionCallback() 480 nativeNfcTag_doCheckNdefResult(status, eventData->ndef_detect.max_size, in nfaConnectionCallback()
|
/packages/modules/Bluetooth/system/bta/gatt/ |
D | bta_gattc_cache.cc | 764 if (len == remote_hash.max_size()) { in bta_gattc_read_db_hash_cmpl()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | acl.cc | 329 explicit FixedQueue(size_t max_size) : max_size_(max_size) {} in FixedQueue() argument
|