summaryrefslogtreecommitdiffstats
path: root/vts
Commit message (Collapse)AuthorAgeFilesLines
* Replace test_min_api_level with test_options.min_shipping_api_levelJustin Yun2021-09-281-1/+3
| | | | | | | | | Test options for the api levels are moved to test_options. test_min_api_level property will be removed with this change. Bug: 187258404 Test: build Change-Id: I0769a85802ca8db5e43c5d0c1c1d38ffb3f01941
* Skip TestIonTotalHeapsKb and TestIonTotalPoolsKb for kernel version >= 5.10Hridya Valsaraju2021-03-121-2/+24
| | | | | | | | | Android S devices launching with kernel version 5.10 and above will not support ION. Test: atest vts_core_meminfo_test Bug: 182341285 Change-Id: Ie182bb436ea0f99f4e487e8f1383c143965b174e
* procmeminfo: fix race in IsSmapsRollupSupportedTim Murray2021-02-261-1/+1
| | | | | | | | | | | | | | | smaps_rollup is falsely reported as unsupported in some cases. One possible cause is that the process whose PSS is checked is killed so /proc/<pid>/smaps_rollup is not present, which then causes libmeminfo to assume that smaps_rollup is unsupported. Instead, when checking for smaps_rollup support, check for the existence of smaps_rollup belonging to the current process since that process is by definition alive. Bug: 181165549 Test: boots and collects memory Change-Id: I08053c73de0168734938e408bd0c2993d8959ed3
* [LSC] Add LOCAL_LICENSE_KINDS to system/memory/libmeminfoandroid-s-preview-1Bob Badour2021-02-121-0/+4
| | | | | | | | | | | | | | | | | | Added SPDX-license-identifier-Apache-2.0 to: Android.bp libdmabufinfo/Android.bp libdmabufinfo/tools/Android.bp tools/Android.bp vts/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I8de08dc1286723ed6b3e4a99733d83cccb0c3ba5
* libmeminfo: add GPU total memory testsSuren Baghdasaryan2021-01-262-0/+27
| | | | | | | | | | | Add tests for ReadGpuTotalUsageKb API function which reads GPU usage data reported by kernel via /sys/fs/bpf/map_gpu_mem_gpu_mem_total_map node. VTS tests requires this interface to be present for devices launching with Android S and having 5.4 or higher kernel version. Bug: 171261987 Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: Ib2cd1d3879ebfa65c3be36bc3a574ae7b20f31a9
* Remove vts10 related configsDan Shi2020-10-082-35/+0
| | | | | | | | | | vts_config is a test wrapper used for VTS10 harness. The test is replaced by generic gtest and vts10 harness will be removed from S release. Bug: 169584384 Test: build Change-Id: I72a1a652a2e181972241707e9f867af47f2754ba
* libmeminfo: force root for vts_core_meminfo_testChenglu Lin2020-06-091-0/+1
| | | | | | | | | | vts requires root to access ion sysfs interfaces Bug: 138148041 Bug: 156706538 Test: vts-tradefed run vts -m vts_core_meminfo_test Change-Id: I33947d998792c8473247e642b92793469600e00f Merged-In: I33947d998792c8473247e642b92793469600e00f
* Rename vts-core to vtsDan Shi2020-04-071-1/+1
| | | | | | | | | | Bug: 151896491 Test: local build Exempt-From-Owner-Approval: This CL moves all tests in vts-core to vts. It won't change test logic or behavior. Change-Id: I427d8649da7781356070a11679ade9705fe096bf Merged-In: I427d8649da7781356070a11679ade9705fe096bf
* Convert vts config to Android.bpDan Willemsen2020-03-072-22/+4
| | | | | Test: treehugger Change-Id: I1ebd54c989dfe07c7b1cbb1e3f652377191df0a2
* vts tests for KReclaimable and new ion sysfs interfacesSuren Baghdasaryan2019-12-201-0/+35
| | | | | | | | | | | | | | Add checks for: KReclaimable entry in /proc/meminfo Existence of /sys/kernel/ion/total_heaps_kb Existence of /sys/kernel/ion/total_pools_kb Bug: 138148041 vts-tradefed run commandAndExit vts-kernel --skip-all-system-status-check --primary-abi-only --skip-preconditions --skip-device-info --module VtsKernelMemInfoTest Change-Id: If20697f071edee77fd2d8f29d7ac36aaa223a756 Signed-off-by: Suren Baghdasaryan <surenb@google.com>
* [vts-core] Add vts_core_meminfo_test to vts-corenelsonli2019-09-271-2/+15
| | | | | | | | | Add vts_core_meminfo_test to vts-core suite and transfer to test it by using base GTest. Bug: 132702215 Test: atest vts_core_meminfo_test Change-Id: Ia7924179cde0b79a6787b3533259ea8e90594585
* VtsKernelMemInfoTest: only enforce on Q+ launching devicesTri Vo2019-07-231-0/+1
| | | | | | Bug: 135553509 Test: VtsKernelMemInfoTest Change-Id: I299d24623c363238e46229f8d09865e3afd6f9c0
* Don't abort the build if a repo doesn't have the test/vts/tools/build/.Nicolas Geoffray2019-02-081-1/+1
| | | | | | Test: build with master-art manifest Exempt-From-Owner-Approval: Required for unbreaking ART development. Change-Id: I6afc0e5444dfa21532a4c802f8c463091cab2b11
* vts test for /proc/<pid>/smaps_rollupTri Vo2019-02-034-0/+102
Bug: 122148371 Test: vts-tradefed run commandAndExit vts-kernel --skip-all-system-status-check --primary-abi-only --skip-preconditions --skip-device-info --module VtsKernelMemInfoTest Change-Id: I855984a35a06c21e6e90ef3f8c33c3c0643090f1