Age | Commit message (Collapse) | Author |
|
|
|
Note that the exact toybox equivalent of `memeater 2` is
`nohup memeater 2m` (other suffixes like `k` or `g` work too, and
`nohup` lets you run any command in a way that's immune to being
killed when its controlling terminal goes away).
Test: treehugger
Change-Id: Ibd0073e358692bbe9b13bd4785380d61f2bdd752
|
|
This CL is created as a best effort to migrate test targets to the new Android ownership model.
It is based on historical data from repository history and insights from git blame.
Given the nature of this effort, there may be instances of incorrect attribution. If you find incorrect or unnecessary
attribution in this CL, please create a new CL to fix that.
For detailed guidelines and further information on the migration please refer to the link below,
go/new-android-ownership-model
Bug: 304529413
Test: N/A
Change-Id: I4d1f107d18f767c06f88da57c1bd7dad2b1230a1
|
|
This makefile installs files in an unusual way that doesn't work with
hermetic partition builds.
I don't think this test is used, because:
- It appears to be a host test that interacts with the device, given
that it runs adb and fastboot. So it shouldn't need to be installled
on the device.
- It doesn't install the adb or fastboot libraries, so it won't run
on device.
- The only references to it are in instructions in google3 to run the
python files directly for manual testing.
However, there are also references to it in old branches, so keep the
module definition around for now.
Bug: 205632228
Test: Presubmits
Change-Id: I187be3751b8b2683f6bd4026b2cd977e758a475c
|
|
xt_qtaguid is long dead
Prior to this 'atest socketTag' results in:
x86 socketTag: Passed: 0, Failed: 15, Ignored: 0, Assumption Failed: 0,
15 tests failed
---------------
SocketTaggingTest#TagData
SocketTaggingTest#InsufficientArgsFails
SocketTaggingTest#BadCommandFails
SocketTaggingTest#NoTagNoUid
SocketTaggingTest#InvalidTagFail
SocketTaggingTest#ValidTagWithNoUid
SocketTaggingTest#ValidUntag
SocketTaggingTest#ValidFirsttag
SocketTaggingTest#ValidReTag
SocketTaggingTest#ValidReTagWithAcctTagChange
SocketTaggingTest#ReTagWithUidChange
SocketTaggingTest#Valid64BitAcctTag
SocketTaggingTest#TagAnotherSocket
SocketTaggingTest#TagInvalidSocketFail
SocketTaggingTest#UntagInvalidSocketFail
This was on:
generic/aosp_cf_x86_phone/vsoc_x86:VanillaIceCream/AOSP.MASTER.3db28b2a/eng.maze.20230608.191305:userdebug/test-keys
6.1.25-android14-6-00267-g43fd17a54294-ab10189583
but there is no qtaguid enabled kernel support since IFIRC S.
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Idf645ab8d38923df9015a18fb5b95a9d361c37bb
|
|
Fixes: 261015480
Test: they pass for me
Change-Id: I568c1e35ea0a07ef318a78a491a6cd375df33277
|
|
run cts-on-gsi -m CtsKernelConfigTestCases
will failed on device with kernel not enabled
CONFIG_PSTORE_PMSG. If CONFIG_PSTORE_PMSG not enabled
/dev/pmsg0 device node will not exists, but
echo HELLOWORLD > /dev/pmsg0 will tries to create a file
in /dev folder which will failed.
Since CONFIG_PSTORE_PMSG is not a mandatory config,
add a checking to see if /dev/pmsg0 exist first before
echo/write into it.
Bug: 215043302
Test: On device kernel without CONFIG_PSTORE_PMSG enabled
run cts-on-gsi -m CtsKernelConfigTestCases
Change-Id: I5009558fc3a853772c27e5967eb49bd44f171ae0
(cherry picked from commit 745b67e86f2e1d44462dbda25f9ae7166d1511b8)
|
|
This allows sharding to occur and optimize preparation
better.
Test: presubmit
Bug: 201822981
Change-Id: I1755de3741e1fdd8ffb33e0178612a7581870e8c
|
|
Convert the Make file to a Soong one
Bug: 186677673
Test: compared the results built by Make and Soong
Test: TreeHugger
Change-Id: Ia10f65e2c1fb688e034eb7158853debc196a5e9c
|
|
Add a va_end() call to pair with our va_start().
Bug: 168890623
Test: TreeHugger
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Change-Id: I23455e463067b84552daea6c5c2b63d5ddb8cd5f
|
|
We add a va_end() call to pair with our va_start().
Bug: 168890623
Test: TreeHugger
Change-Id: Id6e391589d93c34719e6810458c1eadc4fe0e8e3
|
|
Added SPDX-license-identifier-Apache-2.0 to:
alloc-stress/Android.bp
app-launcher/Android.bp
boot_control_copy/Android.bp
bootctl/Android.bp
boottime_tools/bootanalyze/stressfs/Android.bp
boottime_tools/bootio/Android.bp
brillo_config/Android.mk
checkpoint_gc/Android.bp
cppreopts/Android.bp
crypto-perf/Android.bp
ext4_utils/Android.bp
ext4_utils/Android.mk
f2fs_utils/Android.bp
ioblame/Android.bp
ioshark/Android.bp
iotop/Android.bp
kexec_tools/Android.bp
latencytop/Android.bp
libfec/Android.bp
libfec/test/Android.bp
libfscrypt/Android.bp
libfscrypt/tests/Android.bp
libjsonpb/parse/Android.bp
libjsonpb/verify/Android.bp
memory_replay/Android.bp
memtrack/Android.bp
mmap-perf/Android.bp
module_ndk_libs/libnativehelper/Android.bp
multinetwork/Android.bp
pagecache/Android.bp
partition_tools/Android.bp
partition_tools/aidl/Android.bp
perf2cfg/Android.bp
postinst/Android.bp
preopt2cachename/Android.bp
profcollectd/Android.bp
profcollectd/libprofcollectd/Android.bp
profcollectd/libprofcollectd/bindings/libflags/Android.bp
pssbench/Android.mk
puncture_fs/Android.bp
runconuid/Android.bp
sane_schedstat/Android.bp
showslab/Android.bp
simpleperf/Android.bp
simpleperf/runtest/Android.bp
simpleperf/scripts/inferno/Android.bp
simpleperf/simpleperf_app_runner/Android.bp
slideshow/Android.mk
sound/Android.bp
squashfs_utils/Android.bp
su/Android.mk
taskstats/Android.bp
tests/Android.bp
tests/audio/alsa/Android.bp
tests/binder/benchmarks/Android.bp
tests/bootloader/Android.mk
tests/cpueater/Android.bp
tests/crypto/Android.bp
tests/directiotest/Android.bp
tests/ext4/Android.mk
tests/framebuffer/Android.bp
tests/fstest/Android.bp
tests/icachetest/Android.bp
tests/iptables/qtaguid/Android.bp
tests/kernel.config/Android.mk
tests/lib/Android.bp
tests/lib/testUtil/Android.bp
tests/memeater/Android.mk
tests/pagingtest/Android.mk
tests/pftest/Android.bp
tests/schedtest/Android.bp
tests/storage/Android.bp
tests/suspend_stress/Android.bp
tests/tcp_nuke_addr/Android.bp
tests/timetest/Android.bp
tests/uevents/Android.bp
toolchain-extras/Android.bp
vbmeta_tools/Android.bp
verity/Android.bp
verity/fec/Android.bp
zram-perf/Android.bp
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to:
cpustats/Android.bp
Added SPDX-license-identifier-BSD to:
ANRdaemon/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Ia559848af903a7b6746d9b12b7de8b83bc57f99d
|
|
Bug: 168890623
Test: make pcmtest -j24
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Change-Id: Ib80abfbf08173165e520e611a81ac1e3e34dbf20
|
|
Enable the bpfmt hook to automatically format Android.bp files. Fix
current Blueprint files.
This change has been generated using:
$ find . -name Android.bp -exec bpfmt -w {} \;
Test: cd system/extras; mm
Change-Id: I4c6cc60a1afc13783c3da751291325b7160d52b3
|
|
The tests are only needed in vts10 suite.
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL removes vts10 tests from vts suite.
It won't change test logic or behavior.
Change-Id: Idadd1f99ba3620c36a7aca4f648a013da40bd3a0
|
|
This is to prepare renaming vts to vts10.
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL adds all tests in vts to a new
suite vts10. vts10 will be the new name of existing vts suite. This CL
won't change test logic or behavior.
Change-Id: I8de7cef925c2c20607e4ef18d7e58efcc24d3c9b
|
|
Bug: N/A
Test: binderAddInts
Change-Id: I331be78c9b29b93894a6667d8357e3d36efa827a
|
|
Marks this CTS test module as NOT supporting secondary_user, meaning that
the tests are not eligible to be run from a regular Android user other
than the system user (i.e. other than user 0).
The reason for lack of elligibility is that the module restarts before running
the tests - the device ends up in user 0 by default upon reboot.
Tradefed infrastructure does not support restarting into different users at
the moment.
Bug: 141773058
Test: module passed with secondary_user params
(--enable-optional-parameterization --module-parameter secondary_user)
Change-Id: I39fca13fe40b497cf7cb7a014d11f96e8174c953
|
|
Test: build
Change-Id: I60bd71671ef18b62f3d4152e3061133eafa935f8
|
|
It links to libcutils statically.
Test: builds
Change-Id: Ia1ddc848777f67b4aae3abfb901f84e38d397f62
|
|
|
|
Test: build
Bug: 123366017
Change-Id: Iee201980e62e0ad2f4e9b1ae018e8002a0a44119
|
|
Test: treehugger
Change-Id: I6de8debc6756a831b3cdda8767b72c94a318ed9b
|
|
Instead, su has been added to PRODUCT_PACKAGES_DEBUG in
build/make/target/product/base_system.mk
memeater didn't appear to have anything that needed it in every eng
build, so I've just removed the tag. If it's necessary, add it to the
list above.
I removed LOCAL_MODULE_TAGS and LOCAL_MODULE_PATH from libsimpleperf, as
static libraries are not impacted by either setting.
Test: treehugger
Change-Id: Iec2610bdb4452f955b0baf5d817e99a2ebf15594
|
|
This is really only useful for 32 bit devices, and it's not all that useful.
It was designed to check the different memory instructions and indicate which
would likely give the best results for memcpy/memset.
However, we aren't doing any active performance improvements for these 32 bit
routines any more and it can be confusing that this is 32 bit only, so it's
time to go.
Test: NA
Change-Id: Ib56a2ca0a603ac9477422431c3c13f3112366473
|
|
Bug: 120614316
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,cert-dcl16-c
Change-Id: Ib341908467f11ed5fccd6eddb8909fe5170fea9e
|
|
am: 834d6740eb
Change-Id: I57b2cc286ced486930ab523e8bb44e8266d6200c
|
|
|
|
If setpriority failed, we wouldn't free this. Just use a unique_ptr to
handle the lifetime for us.
Caught by the static analyzer.
Bug: None
Test: Built. Static analyzer seems happy now.
Change-Id: I10d3e8ff8ba0c10a43d21d9002d73134cef18651
|
|
am: 02c5bd86da
Change-Id: I4d049be663ae2d66fcb76244e45b0d904afa6ffb
|
|
|
|
am: b0dab39f3b
Change-Id: I54e5f09d3779f43feff18da69ba288fcd63229ae
|
|
am: c020daebb6
Change-Id: Iffe91f55a285041dcd3619ae28f6b03f4f91f1d3
|
|
See build/soong/README.md for more information.
Some modules are no longer installed by default on eng/debug builds, but
I didn't see any automatic references to them. If they're commonly used
by users, they can be added into build/make with PRODUCT_PACKAGES_ENG /
PRODUCT_PACKAGES_DEBUG. Otherwise everyone's compiles get a little
smaller.
Some modules also moved from /system/xbin to /system/bin, as we've
deprecated xbin. I checked codesearch for references to the full paths
and couldn't find any.
Test: cd system/extras/tests; mma
Test: for the modules changing locations, check cs/ for references
Change-Id: Ia91f12051519814a8d45d5af4a7f7700ffee288f
|
|
It's been disabled by default, and no longer builds due to quite a few
errors.
Test: cs/sdcard_perf_test
Test: b/sdcard_perf_test (no recent references)
Change-Id: Id45eae5409296346ce1d9c53d99dd37818caf836
|
|
See build/soong/README.md for more information.
Some modules are no longer installed by default on eng/debug builds, but
I didn't see any automatic references to them. If they're commonly used
by users, they can be added into build/make with PRODUCT_PACKAGES_ENG /
PRODUCT_PACKAGES_DEBUG. Otherwise everyone's compiles get a little
smaller.
Some modules also moved from /system/xbin to /system/bin, as we've
deprecated xbin. I checked codesearch for references to the full paths
and couldn't find any.
Test: cd system/extras; mma
Test: for the modules changing locations, check cs/ for references
Change-Id: I4ffd99d3dcf50e4d5cb2197824abc11973214133
|
|
b849b1878c
am: 4e3637bba3
Change-Id: I55815b0bca398c5ff513a3699714170e5591dc7d
|
|
This change augments the NOT_CONFIG_SYSVIPC test, such that in addition
to being evidence-based (by inspecting some paths in /proc), it also
tries to invoke the syscalls. This is done because in some platforms
like Chrome OS, the SYSVIPC kernel config is enabled (because some parts
of the system require that to boot), but when Android is running, all
SYSVIPC syscalls are blocked by an LSM in the kernel.
It also changes the /proc/sysvipc path check from using access(2) and
F_OK to R_OK, since the paths itself is present and visible.
Bug: 77490033
Test: CtsKernelConfigTestCases
Change-Id: I79df1816e0e5d3618da2a0e242c3d685352b7220
|
|
am: 95b60bb00c
Change-Id: Iabfac97640a0b3b105362d642cb61961546aefbf
|
|
Clean up the code a little.
The removed TEMP_FAILURE_RETRY is actually wrong. The others are either
superfluous or needed.
Be more direct with error returns.
For EBUSY, loop at most ten times, with sleep.
Use unique_fd for descriptor tracking/close.
Bug: 76008092
Test: atest time-unit-tests
Change-Id: Id7176e0237a416a4bb19d72c47b8e1a2f6b57ca5
|
|
am: 7e56c8eeb0
Change-Id: Ice73848e2a83bc7ad7bb11dde80cfd77f5f9e70c
|
|
* bandwidth.h contains thumb mode only instructions.
Test: normal build.
Change-Id: Ib40dfda63f668949370405e7ec53f5f9828200e6
|
|
359559dbc7 am: ef0302e644
am: 1252bda01a
Change-Id: I3d5278121d033e5d3268584ebcb4ec272f56f1fb
|
|
Bug: N/A
Test: builds
Change-Id: If1f064bce92e5c64768fd6d9042206c7e6a3aa69
|
|
Test: build
Bug: 65303193
Change-Id: Ibfe14df9e9c4e4f9017dd4a9e1d146c68247e3d7
|
|
Change-Id: I0a0f6a3057951735943b846270c2d445e5cb4c7b
|
|
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I54abb8bc402c78d2c8d6993296f51ae79648f45b
|
|
am: c500bdd557
Change-Id: Icb8574c2f32ec41a126e550bcac7c63a03487ae2
|
|
am: aa317f0c4c
Change-Id: I4792be67f2a33c61f0e740ba9093c06df4613921
|
|
* Remove unused variables.
* Fix redefined macro warnings.
* Fix sign-compare warnings.
* Fix 'return false' in main().
* Keep existing warnings to fix later.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ib92ef5297693595fb84ed4f8e61665bda4cee312
|