Commit graph

69184 commits

Author SHA1 Message Date
Steven Moreland
d64ba89b2a lshal: explain VINTF 'X' value in help
Bug: N/A
Test: manual
Change-Id: I0ee79ad300d63842613e79773a581cfce67986a7
2019-07-12 16:00:35 -07:00
Treehugger Robot
c08d593279 Merge "libbinder: remove unused deps" 2019-07-12 19:39:57 +00:00
Treehugger Robot
6955914221 Merge "libbufferhubqueue: remove unused deps" 2019-07-12 19:04:18 +00:00
Treehugger Robot
972cd4765a Merge "libandroid_runtime_lazy: remove unused deps" 2019-07-12 19:04:09 +00:00
Steven Moreland
392c8417d9 Merge "lshal: add wait command" 2019-07-12 16:47:44 +00:00
Treehugger Robot
a18cfb64c9 Merge "Add binder TEST_MAPPING files." 2019-07-12 03:36:37 +00:00
Steven Moreland
552e407f8e lshal: add wait command
Waits for an interface to start (e.g. for scripting certain tests).

Fixes: 135956088
Test: the following
$ adb shell lshal wait android.hardware.nfc@1.0::INfc/foo
Service not found (missing permissions or not in VINTF manifest?).
$ echo $?
128
$ adb shell lshal wait android.hardware.nfc@1.0::INfc/default
$ echo $?
0
Test: lshal_test

Change-Id: I355fc33f9e46bac573a38425205e8db81f19a36e
2019-07-12 00:44:27 +00:00
Steven Moreland
f5f81fbac3 libbinder: remove unused deps
Bug: 137311188
Test: library still builds
Change-Id: I63365aa006e78b6b1310c4933706a02b8cb60ed4
2019-07-11 16:11:28 -07:00
Steven Moreland
66d8028083 libandroid_runtime_lazy: remove unused deps
Bug: 137311188
Test: library still builds
Change-Id: I534fc5ad28ebb0e2a614f548d80ad918f9dd9433
2019-07-11 16:08:01 -07:00
Steven Moreland
e1403dceb4 libbufferhubqueue: remove unused deps
Bug: 137311188
Test: library still builds
Change-Id: Iea3359315b3eb2db17e438e88150dbd1c3d10d0d
2019-07-11 15:21:49 -07:00
Treehugger Robot
add824adfe Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master" 2019-07-11 03:52:59 +00:00
Treehugger Robot
f079d7874a Merge "libbinder: log driver name when it doesn't open" 2019-07-11 02:42:28 +00:00
Treehugger Robot
ea18143b0d Merge "binder: bpfix bp files" 2019-07-11 01:28:52 +00:00
Steven Moreland
8c78e2e2fc libbinder: log driver name when it doesn't open
Bug: N/A
Test: build and look at logs on device w/ a problem
Change-Id: I9742d958b3f1bfac8f94bdf22c4543079d9e16bd
2019-07-10 16:16:07 -07:00
Steven Moreland
67812c2df4 Add binder TEST_MAPPING files.
SM also includes these since binder tests tend to rely on the SM.

Test: atest binderDriverInterfaceTest binderValueTypeTest binderTextOutputTest
Bug: 137203409
Change-Id: I0f4822af3937bc320c733466b26ffb24e84d8598
2019-07-10 22:43:44 +00:00
Treehugger Robot
8cd96a1b87 Merge "binderDriverInterfaceTest: fix failure" 2019-07-10 21:16:28 +00:00
Steven Moreland
c7a30c81e2 binder: bpfix bp files
Mainly so that 'name' comes first.

Bug: 137203409
Test: N/A
Change-Id: I88fdcbe8f1fd1ef2565550609b9d640e1b4d044f
2019-07-10 13:13:24 -07:00
Steven Moreland
37f1892d61 binderDriverInterfaceTest: fix failure
After servicemanager was re-written in C++, it started returning a
4-byte payload for ping. Whereas before, in the C implementation, a zero
byte payload was returned.

Allowing multiple values in this test to stop presubmit failures. As a
follow-up, I will try to determine if we can switch libbinder to a
0-byte ping (and revert this CL). Alternatively, once SM is in all
branches, if we want this behavior, we can restrict this test to 4-bytes
OR we can remove this expected value from this test altogether.

This test is allowing both values and being fixed in this strange way
because an investigation will follow, and our branching structure (and
vendor prebuilts) make it hard to revert the offending change.

Fixes: 136633463
Bug: 137203409
Test: binderDriverInterfaceTest passes
    (on devices with and w/o and updated SM)
Change-Id: I43a5d10c59ae71933db40d932716cd979f802cc5
2019-07-10 18:53:33 +00:00
Steven Moreland
5e343ea8db Merge "Hold onto linked binder." 2019-07-10 17:05:35 +00:00
Steven Moreland
6c1517874d Merge "binder: Bp: clear DRs in onLastStrongRef" 2019-07-10 17:05:35 +00:00
Xin Li
4d90373273 DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master
Bug: 136196576
Change-Id: Id1667c08d51f9bc0e8095f97944e35c8082e9bec
2019-07-09 15:15:55 -07:00
android-build-team Robot
6431a9bc8f Snap for 5622519 from 2062c5a408 to pi-platform-release
Change-Id: I639c25e8699af4faec2f40e5f1752d3b536c7fce
2019-07-08 23:31:23 +00:00
Steven Moreland
a904bb9522 Hold onto linked binder.
unlinkToDeath is no longer required, (this change in behavior is to
avoid leaks) so holding onto window manager here (still calling
unlinkToDeath to avoid a log, but may for instance remove all
unlinkToDeath calls in the future).

Bug: 134576445
Test: boot
Change-Id: I78259964b564d87c4bb9be254ee46d3ce04db5ad
2019-07-08 23:13:48 +00:00
android-build-team Robot
d3f04ec40b Snap for 5600800 from 42a149d853 to pi-platform-release
Change-Id: Ie2109a1040d23bddd1a42022c66b5a6291749fe6
2019-07-08 18:32:16 +00:00
Treehugger Robot
8add7a99c4 Merge "Add owners for package manger" 2019-07-04 20:16:32 +00:00
Martijn Coenen
e5500e6b13 Merge "otapreopt: remove transitive libapexd dependencies." 2019-07-04 11:01:33 +00:00
Martijn Coenen
8af07d93bf otapreopt: remove transitive libapexd dependencies.
And use the newly introduced libapexd-deps cc_defaults.

Bug: 136204843
Test: builds
Change-Id: Ia03c447f9016ff4ce6ebaaee1ec011371921d497
2019-07-03 15:53:02 +02:00
Treehugger Robot
0ba6a437d5 Merge "Fix lshal_test after updated defaults." 2019-07-02 18:36:43 +00:00
Andreas Gampe
ebc7a1e7b1 Merge "Installd: Add more owners" 2019-07-01 19:34:31 +00:00
Andreas Gampe
5c93e78fb2 Installd: Add more owners
Add rpl and mast.

Test: N/A
Change-Id: Ib4130548d0b0d00cb612f9865e54977b48950fd1
2019-07-01 09:26:16 -07:00
Treehugger Robot
b7f93deebc Merge "Replace StatusOr<T> with Result<T>" 2019-07-01 16:25:24 +00:00
Abhijeet Kaur
57bf6a993e Merge "Fix dumpstate_test test config" 2019-07-01 11:09:50 +00:00
Mohammad Samiul Islam
7dcfd3429b Replace StatusOr<T> with Result<T>
Bug: 133494354
Test: builds successfully
Test: atest apexservice_test
Change-Id: I49bd2797106fdc91205e76222120ce98ea021ecd
Merged-In: I49bd2797106fdc91205e76222120ce98ea021ecd
(cherry picked from commit 137fc81fb2)
2019-07-01 11:17:35 +01:00
Kansho Nishida
56a8c96e1f Merge "dumpstate: close socket after accepting" 2019-06-28 20:30:17 +00:00
Sidath Senanayake
5a39efd091 Merge "Update filesystem permissions for gpu frequency tracepoints" 2019-06-28 18:46:02 +00:00
Mathieu Chartier
a5e21a0481 Merge "Move to using boot image profile" 2019-06-28 15:54:07 +00:00
Paul Duffin
f24ffd64d1 Merge "Move libartimagevalues to art/libartimagevalues" 2019-06-28 09:30:39 +00:00
Mathieu Chartier
eaa784c05c Move to using boot image profile
Image classes is no longer supported.

Test: make

Change-Id: I2d4197f6f80b1ed26ddf04e9ef0b3e5ff618eaeb
2019-06-27 15:07:58 -07:00
Treehugger Robot
58c115fb7f Merge "Moving /oat folder creation to installd." 2019-06-27 19:23:01 +00:00
Dan Shi
e177e8e0ca Fix dumpstate_test test config
Bug: 135189613
Test: atest dumpstate_test
Change-Id: Ie0105376f2db13d3b24f2a2630849633b95e3790
2019-06-27 09:59:25 -07:00
Treehugger Robot
6c10141800 Merge changes I7f697d1d,I60f47a48
* changes:
  Remove parse_radio_log
  Remove some obsolete TODOs
2019-06-27 15:22:49 +00:00
Paul Duffin
b3f16853d5 Move libartimagevalues to art/libartimagevalues
Bug: 136082807
Test: m otapreopt
Change-Id: I92f5c5e66505914dd89e159bdf31590abd837efd
2019-06-27 14:37:59 +01:00
Steven Moreland
eae1a0bd30 Fix lshal_test after updated defaults.
Also add TEST_MAPPING so that this doesn't happen again.

Bug: N/A
Test: N/A
Change-Id: Idd99b34e8e634b9f93652b756eabcf9f62256e7e
2019-06-26 18:20:28 -07:00
Alex Buynytskyy
17d8f820da Moving /oat folder creation to installd.
Change-Id: I93208d84ff2101f6b8ce63e04fc42c0331ce920b
Test: refactoring CL. Existing unit tests still pass.
Test: atest installd_dexopt_test
2019-06-26 14:01:50 -07:00
Sidath Senanayake
05b22d863e Update filesystem permissions for gpu frequency tracepoints
This tracepoint is used to log changes to the GPU clock speed
which is useful for developers and should be available in user
builds.

This tracepoint is used by Perfetto (see bug for details).

Bug: 136062452
Change-Id: If7e43bcf95e0f2162af618b20d3c26aad3264f97
2019-06-26 18:02:46 +01:00
Steven Moreland
e416f70786 Merge changes I9b41e78f,Ia66e5da5
* changes:
  liblshal: make static
  lshal: use pragma once
2019-06-26 15:26:36 +00:00
Steven Moreland
b8745de570 liblshal: make static
- reduce number of files on device
- allow testing lshal w/o flashing
- no need for dynamic linking (static lib will be more compact)

Bug: N/A
Test: lshal, lshal_test
Change-Id: I9b41e78f7e6a469505cd530eb578df6855f45a1f
2019-06-25 11:40:37 -07:00
Steven Moreland
0b8e38764c lshal: use pragma once
For simplicity when adding new files.

Bug: N/A
Test: N/A
Change-Id: Ia66e5da5ff680b9287c4431799a935b58de02307
2019-06-25 08:54:34 -07:00
Treehugger Robot
80b4d0a434 Merge "Brace Yourselves, R is Coming." 2019-06-24 22:29:08 +00:00
Nikita Ioffe
dd2f694038 Merge "Suppress warn_unused_result warning in otapreopt_chroot" 2019-06-24 18:08:48 +00:00