/system/core/init/ |
D | rlimit_parser.cpp | 73 rlimit limit; in ParseRlimit() local 75 limit.rlim_cur = RLIM_INFINITY; in ParseRlimit() 76 } else if (!ParseUint(args[2], &limit.rlim_cur)) { in ParseRlimit() 81 limit.rlim_max = RLIM_INFINITY; in ParseRlimit() 82 } else if (!ParseUint(args[3], &limit.rlim_max)) { in ParseRlimit() 86 return std::pair{resource, limit}; in ParseRlimit()
|
/system/memory/libmemunreachable/include/memunreachable/ |
D | memunreachable.h | 77 bool GetUnreachableMemory(UnreachableMemoryInfo& info, size_t limit = 100); 79 std::string GetUnreachableMemoryString(bool log_contents = false, size_t limit = 100); 87 bool LogUnreachableMemory(bool log_contents, size_t limit);
|
/system/libhidl/base/ |
D | SynchronizedQueue.h | 32 SynchronizedQueue(size_t limit); 68 SynchronizedQueue<T>::SynchronizedQueue(size_t limit) : mQueueLimit(limit) { in SynchronizedQueue() argument
|
D | TaskRunner.cpp | 31 void TaskRunner::start(size_t limit) { in start() argument 32 mQueue = std::make_shared<SynchronizedQueue<Task>>(limit); in start()
|
/system/media/audio_utils/fuzz/monoblend_fuzzer/ |
D | monoblend_fuzzer.cpp | 46 bool limit = fuzzed_data.ConsumeBool(); in LLVMFuzzerTestOneInput() local 53 mono_blend((void *) buf, format, channelCount, frames, limit); in LLVMFuzzerTestOneInput()
|
/system/media/audio_utils/ |
D | mono_blend.cpp | 23 void mono_blend(void *buf, audio_format_t format, size_t channelCount, size_t frames, bool limit) { in mono_blend() argument 51 if (limit && channelCount == 2) { in mono_blend()
|
D | power.cpp | 203 const size_t limit = size - size % N; in energyMonoVector() local 204 for (i = 0; i < limit; i += N) { in energyMonoVector()
|
/system/memory/libmemunreachable/ |
D | MemUnreachable.cpp | 60 bool GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, size_t* num_leaks, 137 bool MemUnreachable::GetUnreachableMemory(allocator::vector<Leak>& leaks, size_t limit, in GetUnreachableMemory() argument 209 if (leaks.size() > limit) { in GetUnreachableMemory() 210 leaks.resize(limit); in GetUnreachableMemory() 294 bool GetUnreachableMemory(UnreachableMemoryInfo& info, size_t limit) { in GetUnreachableMemory() argument 394 bool ok = unreachable.GetUnreachableMemory(leaks, limit, &num_leaks, &leak_bytes); in GetUnreachableMemory() 565 std::string GetUnreachableMemoryString(bool log_contents, size_t limit) { in GetUnreachableMemoryString() argument 567 if (!GetUnreachableMemory(info, limit)) { in GetUnreachableMemoryString() 579 bool LogUnreachableMemory(bool log_contents, size_t limit) { in LogUnreachableMemory() argument 581 if (!android::GetUnreachableMemory(info, limit)) { in LogUnreachableMemory()
|
D | README.md | 112 #### `bool LogUnreachableMemory(bool log_contents, size_t limit)` #### 113 …y to the log. A summary is always written, followed by details of up to `limit` leaks. If `log_c… 121 #### `bool GetUnreachableMemory(UnreachableMemoryInfo& info, size_t limit = 100)` #### 122 …MemoryInfo` object with information on leaks, including details on up to `limit` leaks. Returns t… 124 #### `std::string GetUnreachableMemoryString(bool log_contents = false, size_t limit = 100)` #### 125 …eaked memory. A summary is always written, followed by details of up to `limit` leaks. If `log_c…
|
D | HeapWalker.cpp | 162 bool HeapWalker::Leaked(allocator::vector<Range>& leaked, size_t limit, size_t* num_leaks_out, in Leaked() argument 178 if (n++ < limit) { in Leaked()
|
/system/media/audio_utils/include/audio_utils/ |
D | mono_blend.h | 44 bool limit = false);
|
/system/libhidl/base/include/hidl/ |
D | TaskRunner.h | 55 void start(size_t limit);
|
/system/extras/iotop/ |
D | iotop.cpp | 106 int limit = -1; in main() local 138 limit = atoi(optarg); in main() 235 int n = limit; in main()
|
/system/logging/logd/libaudit/include/ |
D | libaudit.h | 101 extern int audit_rate_limit(int fd, uint32_t limit);
|
/system/logging/logd/libaudit/ |
D | libaudit.cpp | 160 int audit_rate_limit(int fd, uint32_t limit) { in audit_rate_limit() argument 162 .mask = AUDIT_STATUS_RATE_LIMIT, .rate_limit = limit, /* audit entries per second */ in audit_rate_limit()
|
/system/sepolicy/private/ |
D | mm_events.te | 8 # Allow running the sleep command to rate limit attempts
|
/system/core/storaged/ |
D | README.properties | 5 ro.storaged.uid_io.threshold # Per UID IO usage limit, in bytes
|
/system/libsysprop/srcs/android/sysprop/ |
D | CarProperties.sysprop | 27 # Max length limit is 4. Chars exceeding length limit will be truncated.
|
D | MediaProperties.sysprop | 50 prop_name: "media.resolution.limit.32bit"
|
/system/sepolicy/vendor/ |
D | vndservicemanager.te | 8 # transfer binder objects to other processes (TODO b/35870313 limit this to vendor-only)
|
/system/security/keystore2/ |
D | keystore2.rc | 14 # The default memlock limit of 65536 bytes is too low for keystore.
|
/system/extras/simpleperf/ |
D | environment.cpp | 848 rlimit limit; in AllowMoreOpenedFiles() local 849 if (getrlimit(RLIMIT_NOFILE, &limit) != 0) { in AllowMoreOpenedFiles() 852 rlim_t new_limit = limit.rlim_max; in AllowMoreOpenedFiles() 860 if (limit.rlim_cur < new_limit) { in AllowMoreOpenedFiles() 861 limit.rlim_cur = limit.rlim_max = new_limit; in AllowMoreOpenedFiles() 862 if (setrlimit(RLIMIT_NOFILE, &limit) == 0) { in AllowMoreOpenedFiles()
|
/system/core/trusty/gatekeeper/ |
D | Android.bp | 18 // named (liblights.panda), and must build everywhere, or limit themselves
|
/system/core/fastboot/ |
D | task.cpp | 124 if (int limit = get_sparse_limit(super_size_, fp_)) { in Run() local 125 files = resparse_file(sparse_layout_.get(), limit); in Run()
|
D | fastboot.cpp | 1023 int64_t limit = int64_t(fp->sparse_limit); in get_sparse_limit() local 1024 if (limit == 0) { in get_sparse_limit() 1031 limit = target_sparse_limit; in get_sparse_limit() 1037 if (size > limit) { in get_sparse_limit() 1038 return std::min(limit, RESPARSE_LIMIT); in get_sparse_limit() 1064 int64_t limit = get_sparse_limit(sz, fp); in load_buf_fd() local 1066 if (limit) { in load_buf_fd() 1067 buf->files = load_sparse_files(buf->fd.get(), limit); in load_buf_fd() 2017 unsigned int limit = INT_MAX; in fb_perform_format() local 2018 if (target_sparse_limit > 0 && target_sparse_limit < limit) { in fb_perform_format() [all …]
|