Commit graph

5 commits

Author SHA1 Message Date
Hridya Valsaraju
25060535fa Add a test to invoke ion_is_using_modular_heaps()
Bug: 140916230
Test: ./ion-unit-tests

Change-Id: I0204b72e49f34d99df96b46229dda2e958a59bee
2019-10-03 15:05:13 -07:00
Sandeep Patil
2d29c4b0a3 ion-unit-tests: Add system heap presence test
Make sure system heap is present on devices, its id is '0',
and that we can allocate and free buffers from the system heap

Bug: 140507100
Fixes: 140507100
Tests: ion-unit-tests --gtest_fiter=SystemHeap.*

Change-Id: Ief502c9fce1e54f54b4e6d60f288954e4bf42e04
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-09-10 00:46:45 -07:00
Sandeep Patil
f7f03c9e32 libion: make tests work with Ion from common kernel.
The tests do not care about legacy ION interface and are intended to
concentrate for kernels 4.14+ (new API). Running these tests
successfully during changes in ION will keep us honest with the upcoming
heap-as-module changes in ION.

Test: ./ion-unit-tests on cuttlefish.
Bug: 133508579

Change-Id: I2a31d09d09deb5be9ae84c4981cdf4b3c2cceb4c
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-07-30 14:40:24 -07:00
Lennart Wieboldt
cd15fc7ba8 Remove LOCAL_CLANG and clang: true
clang is the default compiler since Android nougat

Test: mma & verified it´s still build with clang
Change-Id: I34adaeef2f6558a09f26027271222bad94780507
Signed-off-by: Lennart Wieboldt <lennart.1997@gmx.de>
2017-07-25 14:29:50 +02:00
Dan Willemsen
45f05240c2 Convert more Android.mk files to Android.bp
These modules have their dependencies satisfied, and aren't doing
anything strange.

Change-Id: I72039a15256cbd5e5eee0d79a15d66d74a6c087d
2016-07-13 17:41:45 -07:00