Lines Matching refs:EXPECT_EQ

59     EXPECT_EQ(usage.rss, 0);  in TEST()
60 EXPECT_EQ(usage.vss, 0); in TEST()
61 EXPECT_EQ(usage.pss, 0); in TEST()
62 EXPECT_EQ(usage.uss, 0); in TEST()
63 EXPECT_EQ(usage.swap, 0); in TEST()
202 EXPECT_EQ(wss.rss, 0); in TEST()
203 EXPECT_EQ(wss.vss, 0); in TEST()
204 EXPECT_EQ(wss.pss, 0); in TEST()
205 EXPECT_EQ(wss.uss, 0); in TEST()
206 EXPECT_EQ(wss.swap, 0); in TEST()
214 EXPECT_EQ(swap_offsets.size(), 0); in TEST()
220 EXPECT_EQ(!access("/proc/self/smaps_rollup", F_OK | R_OK), supported); in TEST()
248 EXPECT_EQ(stats.rss, 331908); in TEST()
249 EXPECT_EQ(stats.pss, 202052); in TEST()
250 EXPECT_EQ(stats.uss, 154488); in TEST()
251 EXPECT_EQ(stats.private_clean, 90472); in TEST()
252 EXPECT_EQ(stats.private_dirty, 64016); in TEST()
253 EXPECT_EQ(stats.swap_pss, 442); in TEST()
288 EXPECT_EQ(stats.rss, 2652); in TEST()
289 EXPECT_EQ(stats.pss, 2652); in TEST()
290 EXPECT_EQ(stats.uss, 2736); in TEST()
291 EXPECT_EQ(stats.private_clean, 84); in TEST()
292 EXPECT_EQ(stats.private_dirty, 2652); in TEST()
293 EXPECT_EQ(stats.swap_pss, 70); in TEST()
329 EXPECT_EQ(pss, 2652); in TEST()
339 EXPECT_EQ(pss, 19119); in TEST()
357 EXPECT_EQ(vmas[0].name, "[anon:dalvik-zygote-jit-code-cache]"); in TEST()
358 EXPECT_EQ(vmas[1].name, "/system/framework/x86_64/boot-framework.art"); in TEST()
362 EXPECT_EQ(vmas[3].name, "/system/priv-app/SettingsProvider/oat/x86_64/SettingsProvider.odex"); in TEST()
363 EXPECT_EQ(vmas[4].name, "/system/lib64/libhwui.so"); in TEST()
364 EXPECT_EQ(vmas[5].name, "[vsyscall]"); in TEST()
367 EXPECT_EQ(vmas[0].start, 0x54c00000); in TEST()
368 EXPECT_EQ(vmas[1].start, 0x701ea000); in TEST()
369 EXPECT_EQ(vmas[2].start, 0x70074dd8d000); in TEST()
370 EXPECT_EQ(vmas[3].start, 0x700755a2d000); in TEST()
371 EXPECT_EQ(vmas[4].start, 0x7007f85b0000); in TEST()
372 EXPECT_EQ(vmas[5].start, 0xffffffffff600000); in TEST()
375 EXPECT_EQ(vmas[0].end, 0x56c00000); in TEST()
376 EXPECT_EQ(vmas[1].end, 0x70cdb000); in TEST()
377 EXPECT_EQ(vmas[2].end, 0x70074ee0d000); in TEST()
378 EXPECT_EQ(vmas[3].end, 0x700755a6e000); in TEST()
379 EXPECT_EQ(vmas[4].end, 0x7007f8b9b000); in TEST()
380 EXPECT_EQ(vmas[5].end, 0xffffffffff601000); in TEST()
383 EXPECT_EQ(vmas[0].flags, PROT_READ | PROT_EXEC); in TEST()
384 EXPECT_EQ(vmas[1].flags, PROT_READ | PROT_WRITE); in TEST()
385 EXPECT_EQ(vmas[2].flags, PROT_READ | PROT_WRITE); in TEST()
386 EXPECT_EQ(vmas[3].flags, PROT_READ | PROT_EXEC); in TEST()
387 EXPECT_EQ(vmas[4].flags, PROT_READ | PROT_EXEC); in TEST()
388 EXPECT_EQ(vmas[5].flags, PROT_READ | PROT_EXEC); in TEST()
399 EXPECT_EQ(vmas[0].offset, 0x0); in TEST()
400 EXPECT_EQ(vmas[1].offset, 0x0); in TEST()
401 EXPECT_EQ(vmas[2].offset, 0x0); in TEST()
402 EXPECT_EQ(vmas[3].offset, 0x00016000); in TEST()
403 EXPECT_EQ(vmas[4].offset, 0x001ee000); in TEST()
404 EXPECT_EQ(vmas[5].offset, 0x0); in TEST()
407 EXPECT_EQ(vmas[0].inode, 0); in TEST()
408 EXPECT_EQ(vmas[1].inode, 3165); in TEST()
409 EXPECT_EQ(vmas[2].inode, 0); in TEST()
410 EXPECT_EQ(vmas[3].inode, 1947); in TEST()
411 EXPECT_EQ(vmas[4].inode, 1537); in TEST()
412 EXPECT_EQ(vmas[5].inode, 0); in TEST()
416 EXPECT_EQ(vmas[1].usage.vss, 11204); in TEST()
417 EXPECT_EQ(vmas[2].usage.vss, 16896); in TEST()
418 EXPECT_EQ(vmas[3].usage.vss, 260); in TEST()
419 EXPECT_EQ(vmas[4].usage.vss, 6060); in TEST()
420 EXPECT_EQ(vmas[5].usage.vss, 4); in TEST()
422 EXPECT_EQ(vmas[0].usage.rss, 2048); in TEST()
423 EXPECT_EQ(vmas[1].usage.rss, 11188); in TEST()
424 EXPECT_EQ(vmas[2].usage.rss, 15272); in TEST()
425 EXPECT_EQ(vmas[3].usage.rss, 260); in TEST()
426 EXPECT_EQ(vmas[4].usage.rss, 4132); in TEST()
427 EXPECT_EQ(vmas[5].usage.rss, 0); in TEST()
429 EXPECT_EQ(vmas[0].usage.pss, 113); in TEST()
430 EXPECT_EQ(vmas[1].usage.pss, 2200); in TEST()
431 EXPECT_EQ(vmas[2].usage.pss, 15272); in TEST()
432 EXPECT_EQ(vmas[3].usage.pss, 260); in TEST()
433 EXPECT_EQ(vmas[4].usage.pss, 1274); in TEST()
434 EXPECT_EQ(vmas[5].usage.pss, 0); in TEST()
436 EXPECT_EQ(vmas[0].usage.uss, 0); in TEST()
437 EXPECT_EQ(vmas[1].usage.uss, 1660); in TEST()
438 EXPECT_EQ(vmas[2].usage.uss, 15272); in TEST()
439 EXPECT_EQ(vmas[3].usage.uss, 260); in TEST()
440 EXPECT_EQ(vmas[4].usage.uss, 0); in TEST()
441 EXPECT_EQ(vmas[5].usage.uss, 0); in TEST()
443 EXPECT_EQ(vmas[0].usage.private_clean, 0); in TEST()
444 EXPECT_EQ(vmas[1].usage.private_clean, 0); in TEST()
445 EXPECT_EQ(vmas[2].usage.private_clean, 0); in TEST()
446 EXPECT_EQ(vmas[3].usage.private_clean, 260); in TEST()
447 EXPECT_EQ(vmas[4].usage.private_clean, 0); in TEST()
448 EXPECT_EQ(vmas[5].usage.private_clean, 0); in TEST()
450 EXPECT_EQ(vmas[0].usage.private_dirty, 0); in TEST()
451 EXPECT_EQ(vmas[1].usage.private_dirty, 1660); in TEST()
452 EXPECT_EQ(vmas[2].usage.private_dirty, 15272); in TEST()
453 EXPECT_EQ(vmas[3].usage.private_dirty, 0); in TEST()
454 EXPECT_EQ(vmas[4].usage.private_dirty, 0); in TEST()
455 EXPECT_EQ(vmas[5].usage.private_dirty, 0); in TEST()
457 EXPECT_EQ(vmas[0].usage.shared_clean, 0); in TEST()
458 EXPECT_EQ(vmas[1].usage.shared_clean, 80); in TEST()
459 EXPECT_EQ(vmas[2].usage.shared_clean, 0); in TEST()
460 EXPECT_EQ(vmas[3].usage.shared_clean, 0); in TEST()
461 EXPECT_EQ(vmas[4].usage.shared_clean, 4132); in TEST()
462 EXPECT_EQ(vmas[5].usage.shared_clean, 0); in TEST()
464 EXPECT_EQ(vmas[0].usage.shared_dirty, 2048); in TEST()
465 EXPECT_EQ(vmas[1].usage.shared_dirty, 9448); in TEST()
466 EXPECT_EQ(vmas[2].usage.shared_dirty, 0); in TEST()
467 EXPECT_EQ(vmas[3].usage.shared_dirty, 0); in TEST()
468 EXPECT_EQ(vmas[4].usage.shared_dirty, 0); in TEST()
469 EXPECT_EQ(vmas[5].usage.shared_dirty, 0); in TEST()
471 EXPECT_EQ(vmas[0].usage.swap, 0); in TEST()
472 EXPECT_EQ(vmas[1].usage.swap, 0); in TEST()
473 EXPECT_EQ(vmas[2].usage.swap, 0); in TEST()
474 EXPECT_EQ(vmas[3].usage.swap, 0); in TEST()
475 EXPECT_EQ(vmas[4].usage.swap, 0); in TEST()
476 EXPECT_EQ(vmas[5].usage.swap, 0); in TEST()
478 EXPECT_EQ(vmas[0].usage.swap_pss, 0); in TEST()
479 EXPECT_EQ(vmas[1].usage.swap_pss, 0); in TEST()
480 EXPECT_EQ(vmas[2].usage.swap_pss, 0); in TEST()
481 EXPECT_EQ(vmas[3].usage.swap_pss, 0); in TEST()
482 EXPECT_EQ(vmas[4].usage.swap_pss, 0); in TEST()
483 EXPECT_EQ(vmas[5].usage.swap_pss, 0); in TEST()
501 EXPECT_EQ(vmas[0].name, "[anon:dalvik-zygote-jit-code-cache]"); in TEST()
502 EXPECT_EQ(vmas[1].name, "/system/framework/x86_64/boot-framework.art"); in TEST()
506 EXPECT_EQ(vmas[3].name, "/system/priv-app/SettingsProvider/oat/x86_64/SettingsProvider.odex"); in TEST()
507 EXPECT_EQ(vmas[4].name, "/system/lib64/libhwui.so"); in TEST()
508 EXPECT_EQ(vmas[5].name, "[vsyscall]"); in TEST()
511 EXPECT_EQ(vmas[0].start, 0x54c00000); in TEST()
512 EXPECT_EQ(vmas[1].start, 0x701ea000); in TEST()
513 EXPECT_EQ(vmas[2].start, 0x70074dd8d000); in TEST()
514 EXPECT_EQ(vmas[3].start, 0x700755a2d000); in TEST()
515 EXPECT_EQ(vmas[4].start, 0x7007f85b0000); in TEST()
516 EXPECT_EQ(vmas[5].start, 0xffffffffff600000); in TEST()
519 EXPECT_EQ(vmas[0].end, 0x56c00000); in TEST()
520 EXPECT_EQ(vmas[1].end, 0x70cdb000); in TEST()
521 EXPECT_EQ(vmas[2].end, 0x70074ee0d000); in TEST()
522 EXPECT_EQ(vmas[3].end, 0x700755a6e000); in TEST()
523 EXPECT_EQ(vmas[4].end, 0x7007f8b9b000); in TEST()
524 EXPECT_EQ(vmas[5].end, 0xffffffffff601000); in TEST()
527 EXPECT_EQ(vmas[0].flags, PROT_READ | PROT_EXEC); in TEST()
528 EXPECT_EQ(vmas[1].flags, PROT_READ | PROT_WRITE); in TEST()
529 EXPECT_EQ(vmas[2].flags, PROT_READ | PROT_WRITE); in TEST()
530 EXPECT_EQ(vmas[3].flags, PROT_READ | PROT_EXEC); in TEST()
531 EXPECT_EQ(vmas[4].flags, PROT_READ | PROT_EXEC); in TEST()
532 EXPECT_EQ(vmas[5].flags, PROT_READ | PROT_EXEC); in TEST()
543 EXPECT_EQ(vmas[0].offset, 0x0); in TEST()
544 EXPECT_EQ(vmas[1].offset, 0x0); in TEST()
545 EXPECT_EQ(vmas[2].offset, 0x0); in TEST()
546 EXPECT_EQ(vmas[3].offset, 0x00016000); in TEST()
547 EXPECT_EQ(vmas[4].offset, 0x001ee000); in TEST()
548 EXPECT_EQ(vmas[5].offset, 0x0); in TEST()
551 EXPECT_EQ(vmas[0].inode, 0); in TEST()
552 EXPECT_EQ(vmas[1].inode, 3165); in TEST()
553 EXPECT_EQ(vmas[2].inode, 0); in TEST()
554 EXPECT_EQ(vmas[3].inode, 1947); in TEST()
555 EXPECT_EQ(vmas[4].inode, 1537); in TEST()
556 EXPECT_EQ(vmas[5].inode, 0); in TEST()
584 EXPECT_EQ(vmas[1].usage.vss, 11204); in TEST()
585 EXPECT_EQ(vmas[2].usage.vss, 16896); in TEST()
586 EXPECT_EQ(vmas[3].usage.vss, 260); in TEST()
587 EXPECT_EQ(vmas[4].usage.vss, 6060); in TEST()
589 EXPECT_EQ(vmas[5].usage.vss, 4); in TEST()
593 EXPECT_EQ(vmas[0].name, "[anon:dalvik-zygote-jit-code-cache]"); in TEST()
594 EXPECT_EQ(vmas[1].name, "/system/framework/x86_64/boot-framework.art"); in TEST()
598 EXPECT_EQ(vmas[3].name, "/system/priv-app/SettingsProvider/oat/x86_64/SettingsProvider.odex"); in TEST()
599 EXPECT_EQ(vmas[4].name, "/system/lib64/libhwui.so"); in TEST()
601 EXPECT_EQ(vmas[5].name, "[vsyscall]"); in TEST()
604 EXPECT_EQ(vmas[0].usage.rss, 2048); in TEST()
605 EXPECT_EQ(vmas[1].usage.rss, 11188); in TEST()
606 EXPECT_EQ(vmas[2].usage.rss, 15272); in TEST()
607 EXPECT_EQ(vmas[3].usage.rss, 260); in TEST()
608 EXPECT_EQ(vmas[4].usage.rss, 4132); in TEST()
610 EXPECT_EQ(vmas[5].usage.rss, 0); in TEST()
613 EXPECT_EQ(vmas[0].usage.pss, 113); in TEST()
614 EXPECT_EQ(vmas[1].usage.pss, 2200); in TEST()
615 EXPECT_EQ(vmas[2].usage.pss, 15272); in TEST()
616 EXPECT_EQ(vmas[3].usage.pss, 260); in TEST()
617 EXPECT_EQ(vmas[4].usage.pss, 1274); in TEST()
619 EXPECT_EQ(vmas[5].usage.pss, 0); in TEST()
622 EXPECT_EQ(vmas[0].usage.uss, 0); in TEST()
623 EXPECT_EQ(vmas[1].usage.uss, 1660); in TEST()
624 EXPECT_EQ(vmas[2].usage.uss, 15272); in TEST()
625 EXPECT_EQ(vmas[3].usage.uss, 260); in TEST()
626 EXPECT_EQ(vmas[4].usage.uss, 0); in TEST()
628 EXPECT_EQ(vmas[5].usage.uss, 0); in TEST()
631 EXPECT_EQ(vmas[0].usage.private_clean, 0); in TEST()
632 EXPECT_EQ(vmas[1].usage.private_clean, 0); in TEST()
633 EXPECT_EQ(vmas[2].usage.private_clean, 0); in TEST()
634 EXPECT_EQ(vmas[3].usage.private_clean, 260); in TEST()
635 EXPECT_EQ(vmas[4].usage.private_clean, 0); in TEST()
637 EXPECT_EQ(vmas[5].usage.private_clean, 0); in TEST()
640 EXPECT_EQ(vmas[0].usage.private_dirty, 0); in TEST()
641 EXPECT_EQ(vmas[1].usage.private_dirty, 1660); in TEST()
642 EXPECT_EQ(vmas[2].usage.private_dirty, 15272); in TEST()
643 EXPECT_EQ(vmas[3].usage.private_dirty, 0); in TEST()
644 EXPECT_EQ(vmas[4].usage.private_dirty, 0); in TEST()
646 EXPECT_EQ(vmas[5].usage.private_dirty, 0); in TEST()
649 EXPECT_EQ(vmas[0].usage.shared_clean, 0); in TEST()
650 EXPECT_EQ(vmas[1].usage.shared_clean, 80); in TEST()
651 EXPECT_EQ(vmas[2].usage.shared_clean, 0); in TEST()
652 EXPECT_EQ(vmas[3].usage.shared_clean, 0); in TEST()
653 EXPECT_EQ(vmas[4].usage.shared_clean, 4132); in TEST()
655 EXPECT_EQ(vmas[5].usage.shared_clean, 0); in TEST()
658 EXPECT_EQ(vmas[0].usage.shared_dirty, 2048); in TEST()
659 EXPECT_EQ(vmas[1].usage.shared_dirty, 9448); in TEST()
660 EXPECT_EQ(vmas[2].usage.shared_dirty, 0); in TEST()
661 EXPECT_EQ(vmas[3].usage.shared_dirty, 0); in TEST()
662 EXPECT_EQ(vmas[4].usage.shared_dirty, 0); in TEST()
664 EXPECT_EQ(vmas[5].usage.shared_dirty, 0); in TEST()
667 EXPECT_EQ(vmas[0].usage.swap, 0); in TEST()
668 EXPECT_EQ(vmas[1].usage.swap, 0); in TEST()
669 EXPECT_EQ(vmas[2].usage.swap, 0); in TEST()
670 EXPECT_EQ(vmas[3].usage.swap, 0); in TEST()
671 EXPECT_EQ(vmas[4].usage.swap, 0); in TEST()
673 EXPECT_EQ(vmas[5].usage.swap, 0); in TEST()
676 EXPECT_EQ(vmas[0].usage.swap_pss, 0); in TEST()
677 EXPECT_EQ(vmas[1].usage.swap_pss, 0); in TEST()
678 EXPECT_EQ(vmas[2].usage.swap_pss, 0); in TEST()
679 EXPECT_EQ(vmas[3].usage.swap_pss, 0); in TEST()
680 EXPECT_EQ(vmas[4].usage.swap_pss, 0); in TEST()
682 EXPECT_EQ(vmas[5].usage.swap_pss, 0); 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()
747 EXPECT_EQ(mi.mem_swap_kb(), 32768); in TEST()
748 EXPECT_EQ(mi.mem_swap_free_kb(), 4096); in TEST()
749 EXPECT_EQ(mi.mem_mapped_kb(), 62624); in TEST()
750 EXPECT_EQ(mi.mem_vmalloc_used_kb(), 65536); in TEST()
751 EXPECT_EQ(mi.mem_page_tables_kb(), 2900); in TEST()
752 EXPECT_EQ(mi.mem_kernel_stack_kb(), 4880); in TEST()
753 EXPECT_EQ(mi.mem_kreclaimable_kb(), 87324); in TEST()
754 EXPECT_EQ(mi.mem_active_kb(), 445856); in TEST()
755 EXPECT_EQ(mi.mem_inactive_kb(), 459092); in TEST()
756 EXPECT_EQ(mi.mem_unevictable_kb(), 3096); in TEST()
767 EXPECT_EQ(mi.mem_total_kb(), 0); in TEST()
775 EXPECT_EQ(mi.mem_zram_kb(zram_mmstat_dir.c_str()), 30504); in TEST()
778 EXPECT_EQ(mi.mem_zram_kb(zram_memused_dir.c_str()), 30504); in TEST()
865 EXPECT_EQ(mem[MEMINFO_TOTAL], 3019740); in TEST()
866 EXPECT_EQ(mem[MEMINFO_FREE], 1809728); in TEST()
867 EXPECT_EQ(mem[MEMINFO_BUFFERS], 54736); in TEST()
868 EXPECT_EQ(mem[MEMINFO_CACHED], 776052); in TEST()
869 EXPECT_EQ(mem[MEMINFO_SHMEM], 4020); in TEST()
870 EXPECT_EQ(mem[MEMINFO_SLAB], 86464); in TEST()
871 EXPECT_EQ(mem[MEMINFO_SLAB_RECLAIMABLE], 44432); in TEST()
872 EXPECT_EQ(mem[MEMINFO_SLAB_UNRECLAIMABLE], 42032); in TEST()
873 EXPECT_EQ(mem[MEMINFO_SWAP_TOTAL], 32768); in TEST()
874 EXPECT_EQ(mem[MEMINFO_SWAP_FREE], 4096); in TEST()
875 EXPECT_EQ(mem[MEMINFO_MAPPED], 62624); in TEST()
876 EXPECT_EQ(mem[MEMINFO_VMALLOC_USED], 65536); in TEST()
877 EXPECT_EQ(mem[MEMINFO_PAGE_TABLES], 2900); in TEST()
878 EXPECT_EQ(mem[MEMINFO_KERNEL_STACK], 4880); in TEST()
879 EXPECT_EQ(mem[MEMINFO_KRECLAIMABLE], 87324); in TEST()
880 EXPECT_EQ(mem[MEMINFO_ACTIVE], 445856); in TEST()
881 EXPECT_EQ(mem[MEMINFO_INACTIVE], 459092); in TEST()
882 EXPECT_EQ(mem[MEMINFO_UNEVICTABLE], 3096); in TEST()
897 EXPECT_EQ(ReadVmallocInfo(file.c_str()), 0); in TEST()
909 EXPECT_EQ(ReadVmallocInfo(file.c_str()), getpagesize()); in TEST()
921 EXPECT_EQ(ReadVmallocInfo(file.c_str()), 6 * getpagesize()); in TEST()
938 EXPECT_EQ(ReadVmallocInfo(file.c_str()), 7 * getpagesize()); in TEST()
951 EXPECT_EQ(size, 98480); in TEST()
964 EXPECT_EQ(size, 416); in TEST()
1038 EXPECT_EQ(size, 416); in TEST()