Skip to content

Commit d51d395

Browse files
author
Marat Dukhan
committed
Galaxy S9 US mock test
1 parent 29bc304 commit d51d395

File tree

7 files changed

+7409
-0
lines changed

7 files changed

+7409
-0
lines changed

CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,11 @@ IF(CPUINFO_SUPPORTED_PLATFORM AND CPUINFO_BUILD_MOCK_TESTS)
491491
TARGET_LINK_LIBRARIES(galaxy-s8-global-test PRIVATE cpuinfo_mock gtest)
492492
ADD_TEST(galaxy-s8-global-test galaxy-s8-global-test)
493493

494+
ADD_EXECUTABLE(galaxy-s9-us-test test/mock/galaxy-s9-us.cc)
495+
TARGET_INCLUDE_DIRECTORIES(galaxy-s9-us-test PRIVATE test/mock)
496+
TARGET_LINK_LIBRARIES(galaxy-s9-us-test PRIVATE cpuinfo_mock gtest)
497+
ADD_TEST(galaxy-s9-us-test galaxy-s9-us-test)
498+
494499
ADD_EXECUTABLE(huawei-mate-8-test test/mock/huawei-mate-8.cc)
495500
TARGET_INCLUDE_DIRECTORIES(huawei-mate-8-test PRIVATE test/mock)
496501
TARGET_LINK_LIBRARIES(huawei-mate-8-test PRIVATE cpuinfo_mock gtest)

jni/Android.mk

+7
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,13 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock
529529
LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest
530530
include $(BUILD_EXECUTABLE)
531531

532+
include $(CLEAR_VARS)
533+
LOCAL_MODULE := galaxy-s9-us-test
534+
LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-s9-us.cc
535+
LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock
536+
LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest
537+
include $(BUILD_EXECUTABLE)
538+
532539
include $(CLEAR_VARS)
533540
LOCAL_MODULE := huawei-mate-8-test
534541
LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/huawei-mate-8.cc

scripts/android-arm64-mock.sh

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ adb push libs/arm64-v8a/galaxy-s7-global-test /data/local/tmp/galaxy-s7-global-t
1010
adb push libs/arm64-v8a/galaxy-s7-us-test /data/local/tmp/galaxy-s7-us-test
1111
adb push libs/arm64-v8a/galaxy-s8-global-test /data/local/tmp/galaxy-s8-global-test
1212
adb push libs/arm64-v8a/galaxy-s8-us-test /data/local/tmp/galaxy-s8-us-test
13+
adb push libs/arm64-v8a/galaxy-s9-us-test /data/local/tmp/galaxy-s9-us-test
1314
adb push libs/arm64-v8a/huawei-mate-8-test /data/local/tmp/huawei-mate-8-test
1415
adb push libs/arm64-v8a/huawei-mate-9-test /data/local/tmp/huawei-mate-9-test
1516
adb push libs/arm64-v8a/huawei-mate-10-test /data/local/tmp/huawei-mate-10-test
@@ -44,6 +45,7 @@ adb shell "/data/local/tmp/galaxy-s7-global-test --gtest_color=yes"
4445
adb shell "/data/local/tmp/galaxy-s7-us-test --gtest_color=yes"
4546
adb shell "/data/local/tmp/galaxy-s8-global-test --gtest_color=yes"
4647
adb shell "/data/local/tmp/galaxy-s8-us-test --gtest_color=yes"
48+
adb shell "/data/local/tmp/galaxy-s9-us-test --gtest_color=yes"
4749
adb shell "/data/local/tmp/huawei-mate-8-test --gtest_color=yes"
4850
adb shell "/data/local/tmp/huawei-mate-9-test --gtest_color=yes"
4951
adb shell "/data/local/tmp/huawei-mate-10-test --gtest_color=yes"

scripts/android-armv7-mock.sh

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ adb push libs/armeabi-v7a/galaxy-s7-global-test /data/local/tmp/galaxy-s7-global
2424
adb push libs/armeabi-v7a/galaxy-s7-us-test /data/local/tmp/galaxy-s7-us-test
2525
adb push libs/armeabi-v7a/galaxy-s8-global-test /data/local/tmp/galaxy-s8-global-test
2626
adb push libs/armeabi-v7a/galaxy-s8-us-test /data/local/tmp/galaxy-s8-us-test
27+
adb push libs/armeabi-v7a/galaxy-s9-us-test /data/local/tmp/galaxy-s9-us-test
2728
adb push libs/armeabi-v7a/galaxy-tab-3-7.0-test /data/local/tmp/galaxy-tab-3-7.0-test
2829
adb push libs/armeabi-v7a/galaxy-tab-3-lite-test /data/local/tmp/galaxy-tab-3-lite-test
2930
adb push libs/armeabi-v7a/galaxy-win-duos-test /data/local/tmp/galaxy-win-duos-test
@@ -92,6 +93,7 @@ adb shell "/data/local/tmp/galaxy-s7-global-test --gtest_color=yes"
9293
adb shell "/data/local/tmp/galaxy-s7-us-test --gtest_color=yes"
9394
adb shell "/data/local/tmp/galaxy-s8-global-test --gtest_color=yes"
9495
adb shell "/data/local/tmp/galaxy-s8-us-test --gtest_color=yes"
96+
adb shell "/data/local/tmp/galaxy-s9-us-test --gtest_color=yes"
9597
adb shell "/data/local/tmp/galaxy-tab-3-7.0-test --gtest_color=yes"
9698
adb shell "/data/local/tmp/galaxy-tab-3-lite-test --gtest_color=yes"
9799
adb shell "/data/local/tmp/galaxy-win-duos-test --gtest_color=yes"

test/cpuinfo/galaxy-s9-us.log

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
Processor : AArch64 Processor rev 12 (aarch64)
2+
processor : 0
3+
BogoMIPS : 38.40
4+
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp
5+
CPU implementer : 0x51
6+
CPU architecture: 8
7+
CPU variant : 0x7
8+
CPU part : 0x803
9+
CPU revision : 12
10+
11+
processor : 1
12+
BogoMIPS : 38.40
13+
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp
14+
CPU implementer : 0x51
15+
CPU architecture: 8
16+
CPU variant : 0x7
17+
CPU part : 0x803
18+
CPU revision : 12
19+
20+
processor : 2
21+
BogoMIPS : 38.40
22+
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp
23+
CPU implementer : 0x51
24+
CPU architecture: 8
25+
CPU variant : 0x7
26+
CPU part : 0x803
27+
CPU revision : 12
28+
29+
processor : 3
30+
BogoMIPS : 38.40
31+
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp
32+
CPU implementer : 0x51
33+
CPU architecture: 8
34+
CPU variant : 0x7
35+
CPU part : 0x803
36+
CPU revision : 12
37+
38+
processor : 4
39+
BogoMIPS : 38.40
40+
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp
41+
CPU implementer : 0x51
42+
CPU architecture: 8
43+
CPU variant : 0x6
44+
CPU part : 0x802
45+
CPU revision : 13
46+
47+
processor : 5
48+
BogoMIPS : 38.40
49+
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp
50+
CPU implementer : 0x51
51+
CPU architecture: 8
52+
CPU variant : 0x6
53+
CPU part : 0x802
54+
CPU revision : 13
55+
56+
processor : 6
57+
BogoMIPS : 38.40
58+
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp
59+
CPU implementer : 0x51
60+
CPU architecture: 8
61+
CPU variant : 0x6
62+
CPU part : 0x802
63+
CPU revision : 13
64+
65+
processor : 7
66+
BogoMIPS : 38.40
67+
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp
68+
CPU implementer : 0x51
69+
CPU architecture: 8
70+
CPU variant : 0x6
71+
CPU part : 0x802
72+
CPU revision : 13
73+
74+
Hardware : Qualcomm Technologies, Inc SDM845

0 commit comments

Comments
 (0)