summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2024-03-27 19:21:41 +0000
committerSteven Moreland <smoreland@google.com>2024-03-27 19:23:10 +0000
commit0b2a0b060c23551e84b3a5d82465bb769e0a35d7 (patch)
treed016c46f41bd0375ade65e7429ac7295c521c8fb
parent6088e3dc07d903ec3a447b385a341807e1a96b4a (diff)
downloadkernel-0b2a0b060c23551e84b3a5d82465bb769e0a35d7.tar.gz
Vts16KPageSizeTest: consistent for low RAM devices
Even though low RAM devices won't have a 16kB kernel, it's better for them to be built consistently. These requirements shouldn't affect their performance. Bug: 291631387 Test: N/A Change-Id: I2df50235b372bab9599c815f6b8b2407422921f6
-rw-r--r--pagesize_16kb/Vts16KPageSizeTest.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/pagesize_16kb/Vts16KPageSizeTest.cpp b/pagesize_16kb/Vts16KPageSizeTest.cpp
index 4a56ea67..0688f51c 100644
--- a/pagesize_16kb/Vts16KPageSizeTest.cpp
+++ b/pagesize_16kb/Vts16KPageSizeTest.cpp
@@ -22,10 +22,6 @@
class Vts16KPageSizeTest : public ::testing::Test {
protected:
- static bool IsLowRamDevice() {
- return android::base::GetBoolProperty("ro.config.low_ram", false);
- }
-
static int VendorApiLevel() {
// "ro.vendor.api_level" is added in Android T.
// Undefined indicates S or below
@@ -60,8 +56,6 @@ class Vts16KPageSizeTest : public ::testing::Test {
static void SetUpTestSuite() {
if (VendorApiLevel() < __ANDROID_API_V__) {
GTEST_SKIP() << "16kB support is only required on V and later releases.";
- } else if (IsLowRamDevice()) {
- GTEST_SKIP() << "Low Ram devices only support 4kB page size";
}
}