Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 25 of 30) sorted by relevance

12

/system/chre/util/include/chre/util/
Dmacros.h58 #ifndef MIN
59 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
/system/logging/liblog/
Dlogd_reader.cpp242 n = MIN(n, remaining); in android_logger_get_statistics()
249 n = MIN(n, remaining); in android_logger_get_statistics()
308 ret = MIN(ret, remaining); in logdOpen()
317 ret = MIN(ret, remaining); in logdOpen()
326 ret = MIN(ret, remaining); in logdOpen()
332 ret = MIN(ret, remaining); in logdOpen()
339 ret = MIN(ret, remaining); in logdOpen()
Dlogprint.cpp48 #ifndef MIN
49 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
1506 prefixLen = MIN(prefixLen, sizeof(prefixBuf)); in android_log_formatLogLine()
1546 suffixLen += MIN(len, sizeof(suffixBuf) - suffixLen); in android_log_formatLogLine()
/system/unwinding/libbacktrace/
DBacktracePtrace.cpp75 bytes = MIN(map.end - addr, bytes); in Read()
83 size_t copy_bytes = MIN(sizeof(word_t) - align_bytes, bytes); in Read()
DBacktraceCurrent.cpp74 bytes = MIN(map.end - addr, bytes); in Read()
/system/chre/chpp/include/chpp/
Dmacros.h38 #ifndef MIN
39 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
Dtransport.h137 ((uint16_t)MIN( \
/system/chre/chpp/clients/
Dloopback.c108 MIN(context->loopbackClientContext->testResult.requestLen, in chppDispatchLoopbackServiceResponse()
113 loc < MIN(context->loopbackClientContext->testResult.requestLen, in chppDispatchLoopbackServiceResponse()
121 MIN(context->loopbackClientContext->testResult.firstError, in chppDispatchLoopbackServiceResponse()
Dtimesync.c120 clippedOffsetChangeNs = MIN(clippedOffsetChangeNs, in chppDispatchTimesyncServiceResponse()
Ddiscovery.c130 for (uint8_t i = 0; i < MIN(serviceCount, CHPP_MAX_DISCOVERED_SERVICES); in chppDiscoveryProcessDiscoverAll()
/system/extras/ioshark/
Dioshark_bench_mmap.c71 MIN((u_int64_t)total_len, (u_int64_t)slice); in setup_mmap_io_state()
97 iolength = MIN(mio->table[i].len, iolength); in mmap_getnext_off_len()
Dioshark_bench.h38 #define MIN(A, B) ((A) < (B) ? (A) : (B)) macro
/system/chre/pal/util/
Dwifi_scan_cache.c135 MIN(CHRE_PAL_WIFI_SCAN_CACHE_MAX_RESULT_COUNT, in chreWifiScanCacheDispatchAll()
213 MIN(scannedFreqListLength, CHRE_WIFI_FREQUENCY_LIST_MAX_LEN); in chreWifiScanCacheScanEventBegin()
/system/chre/apps/power_test/common/include/generated/
Dchre_power_test_generated.h62 MIN = UNSPECIFIED, enumerator
112 MIN = ACTIVE, enumerator
151 MIN = DEFAULT, enumerator
187 MIN = NON_DFS, enumerator
234 MIN = UNKNOWN, enumerator
/system/core/libsuspend/
Dautosuspend_wakeup_count.cpp62 sleep_time = MIN(sleep_time * 2, MAX_SLEEP_TIME); in update_sleep_time()
/system/timezone/input_tools/android/tzids/src/test/java/com/android/timezone/tzids/
DTimeZoneIdsTest.java57 assertEquals(expectedMap, tzIds.getCountryIdMap("gb", Instant.MIN)); in getCountryIdMap_links()
/system/bt/btif/src/
Dbtif_pan.cc66 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) macro
695 MIN(btpan_cb.congest_packet_size, buffer->len)); in btu_exec_tap_fd_read()
696 buffer->len = MIN(btpan_cb.congest_packet_size, buffer->len); in btu_exec_tap_fd_read()
/system/chre/chpp/
Dtransport.c182 size_t bytesToCopy = MIN( in chppConsumeHeader()
248 MIN(len, (context->rxHeader.length - context->rxStatus.locInState)); in chppConsumePayload()
277 size_t bytesToCopy = MIN( in chppConsumeFooter()
449 MIN(context->rxDatagram.length, CHPP_TRANSPORT_TX_MTU_BYTES); in chppProcessTransportLoopbackRequest()
1519 MIN(nextDoWorkTime, CHPP_TRANSPORT_TX_TIMEOUT_NS + in chppTransportGetTimeUntilNextDoWorkNs()
1679 size_t payloadLen = MIN(len, CHPP_TRANSPORT_TX_MTU_BYTES); in chppRunTransportLoopback()
Dclients.c335 clientState->appContext->nextRequestTimeoutNs = MIN( in chppClientTimestampRequest()
552 MIN(context->nextRequestTimeoutNs, rRState->responseTimeNs); in chppClientRecalculateNextTimeout()
/system/bt/embdrv/sbc/decoder/srce/
Dbitalloc.c99 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
/system/chre/apps/power_test/common/idl/
Dchre_power_test_generated.h71 MIN = UNSPECIFIED, enumerator
121 MIN = ACTIVE, enumerator
160 MIN = DEFAULT, enumerator
196 MIN = NON_DFS, enumerator
243 MIN = UNKNOWN, enumerator
/system/bt/stack/avrc/
Davrc_pars_ct.cc32 #define MIN(x, y) ((x) < (y) ? (x) : (y)) macro
584 min_len += MIN(p_result->get_caps.count, AVRC_CAP_MAX_NUM_COMP_ID) * 3; in avrc_ctrl_pars_vendor_rsp()
593 min_len += MIN(p_result->get_caps.count, AVRC_CAP_MAX_NUM_EVT_ID); in avrc_ctrl_pars_vendor_rsp()
/system/core/storaged/
Dstoraged.cpp263 ret = write(fd, data, MIN(benchmark_unit_size, size)); in flush_proto_data()
/system/memory/lmkd/
Dstatslog.cpp281 const size_t len_proc_name = MIN(strlen(value), MAX_TASKNAME_LEN - 1); in pack_string()
/system/chre/chpp/services/
Dwifi.c652 notificationLen = MIN(notificationLen, sizeof(struct ChppAppHeader)); in chppWifiServiceRangingEventCallback()

12