Searched refs:mi (Results 1 – 6 of 6) sorted by relevance
/system/memory/libmeminfo/vts/ |
D | vts_meminfo_test.cpp | 40 SysMemInfo mi; in TEST() local 45 ASSERT_TRUE(mi.ReadMemInfo()); in TEST() 47 ASSERT_TRUE(mi.mem_kreclaimable_kb() >= mi.mem_slab_reclaimable_kb()); in TEST()
|
/system/libvintf/include/vintf/ |
D | Version.h | 31 constexpr Version(size_t mj, size_t mi) : majorVer(mj), minorVer(mi) {} in Version() 72 constexpr KernelVersion(size_t v, size_t mj, size_t mi) : in KernelVersion() 73 version(v), majorRev(mj), minorRev(mi) {} in KernelVersion()
|
/system/memory/lmkd/ |
D | lmkd.cpp | 1777 static bool meminfo_parse_line(char *line, union meminfo *mi) { in meminfo_parse_line() argument 1798 mi->arr[field_idx] = val / page_k; in meminfo_parse_line() 1818 static int meminfo_parse(union meminfo *mi) { in meminfo_parse() argument 1827 memset(mi, 0, sizeof(union meminfo)); in meminfo_parse() 1835 if (!meminfo_parse_line(line, mi)) { in meminfo_parse() 1840 mi->field.nr_file_pages = mi->field.cached + mi->field.swap_cached + in meminfo_parse() 1841 mi->field.buffers; in meminfo_parse() 1842 mi->field.total_gpu_kb = read_gpu_total_kb(); in meminfo_parse() 1936 int swap_kb, int kill_reason, union meminfo *mi, in killinfo_log() argument 1948 android_log_write_int32(ctx, (int32_t)min(mi->arr[field_idx] * page_k, INT32_MAX)); in killinfo_log() [all …]
|
/system/memory/libmeminfo/ |
D | libmeminfo_test.cpp | 737 SysMemInfo mi; in TEST() local 738 ASSERT_TRUE(mi.ReadMemInfo(tf.path)); in TEST() 739 EXPECT_EQ(mi.mem_total_kb(), 3019740); in TEST() 740 EXPECT_EQ(mi.mem_free_kb(), 1809728); in TEST() 741 EXPECT_EQ(mi.mem_buffers_kb(), 54736); in TEST() 742 EXPECT_EQ(mi.mem_cached_kb(), 776052); in TEST() 743 EXPECT_EQ(mi.mem_shmem_kb(), 4020); in TEST() 744 EXPECT_EQ(mi.mem_slab_kb(), 86464); in TEST() 745 EXPECT_EQ(mi.mem_slab_reclaimable_kb(), 44432); in TEST() 746 EXPECT_EQ(mi.mem_slab_unreclaimable_kb(), 42032); in TEST() [all …]
|
/system/security/keystore2/src/ |
D | shared_secret_negotiation.rs | 65 Self::Hidl { is_strongbox, version: (ma, mi) } => write!( in fmt() 70 mi, in fmt() 119 .map(|(ma, mi)| { in list_participants() 120 get_hidl_instances(KEYMASTER_PACKAGE_NAME, *ma, *mi, KEYMASTER_INTERFACE_NAME) in list_participants() 122 .with_context(|| format!("Trying to convert KM{}.{} names to vector.", *ma, *mi)) in list_participants() 127 filter_map_legacy_km_instances(name.to_string(), (*ma, *mi)).and_then( in list_participants()
|
/system/extras/libfec/ |
D | fec_open.cpp | 56 uint64_t mi = get_appr_size(file_size, roots); in find_offset() local 57 uint64_t lo = file_size - mi * 2; in find_offset() 58 uint64_t hi = file_size - mi / 2; in find_offset() 61 mi = ((hi + lo) / (2 * FEC_BLOCKSIZE)) * FEC_BLOCKSIZE; in find_offset() 62 uint64_t total = mi + get_real_size(mi, roots); in find_offset() 65 lo = mi + FEC_BLOCKSIZE; in find_offset() 67 hi = mi; in find_offset() 69 *offset = mi; in find_offset() 71 mi); in find_offset()
|