4717 Commits

Author SHA1 Message Date
Stanislav Zholnin
e727400676 Merge "Add logging atoms to record user actions in LocationAccessCheck (handheld devices only)" into qt-dev am: 762aa842ae
am: 9f7663e4b6

Change-Id: I769f1ce0b28f7fc8204e162d2340c145ebfdd960
2019-06-20 22:46:28 -07:00
Stanislav Zholnin
fe6ab956ea Merge "Add logging atoms to record user actions in LocationAccessCheck (handheld devices only)" into qt-dev
am: 762aa842ae

Change-Id: Idfe6b87ff2cc8567e6030f2eae7b18052a87a2cf
2019-06-20 22:26:48 -07:00
Stanislav Zholnin
9f7663e4b6 Merge "Add logging atoms to record user actions in LocationAccessCheck (handheld devices only)" into qt-dev
am: 762aa842ae

Change-Id: I66b9c6cfa8f19ea0c47f2004ab2193c0fafcd4ec
2019-06-20 22:26:45 -07:00
Stanislav Zholnin
3e0f9bcce0 Add logging atoms to record user actions in AppPermissionFragment
(handheld devices only)

Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 215
Bug:133401502
Bug:134581123

Change-Id: I2a0b15dfdd6398707a762c48602f970f14534b51
2019-06-21 05:23:33 +01:00
Stanislav Zholnin
375e2ab781 Add logging atoms to record user actions in LocationAccessCheck
(handheld devices only)

Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 214
Bug:133401502
Bug:134581123
Change-Id: I9f35d2b06cf953441e0986ab23cb842cd155144d
2019-06-20 23:59:59 +00:00
Steven Moreland
738d6b8950 Merge changes from topic "combine-libhidlbase-libhwbinder" into qt-dev
am: 303a891220

Change-Id: Ibc1c5fb1ccc095250f979b7720c6446ef71ea27b
2019-06-20 13:09:43 -07:00
Steven Moreland
303a891220 Merge changes from topic "combine-libhidlbase-libhwbinder" into qt-dev
* changes:
  libhwbinder users use libhidlbase
  libmedia2_jni: remove libhwbinder_noltopgo ref
2019-06-20 19:09:01 +00:00
Paul Duffin
4575c69608 Merge "Replace no_framework_libs: true with sdk_version: "core_platform"" into qt-dev-plus-aosp
am: 23b3ebfd24

Change-Id: Iad64ba777e996861fff3062a37c150a35a6d3618
2019-06-19 05:52:56 -07:00
Paul Duffin
56a34d9f9c Replace no_framework_libs: true with sdk_version: "core_platform"
Bug: 134566750
Test: m
Change-Id: Idb8e6c497b6caf972bec9cfdd23055730325a33c
Merged-In: I0260942108a13cc5e9bed1d6005abfb8daffe0ac
Exempt-From-Owner-Approval: minor build change
2019-06-19 13:49:08 +01:00
Paul Duffin
8fcace4404 Replace no_framework_libs: true with sdk_version: "core_platform"
(cherry picked from commit 7954524e3cc618830f0bf7b23687bf222ecd285b)

Bug: 134566750
Test: m
Change-Id: I0260942108a13cc5e9bed1d6005abfb8daffe0ac
Exempt-From-Owner-Approval: minor build change
2019-06-19 10:48:09 +01:00
Steven Moreland
3a8dbbe2e2 Merge "app_process: use libhidlbase" am: 1adf5f0407 am: 71b0c78d73
am: 39a565e218

Change-Id: I16c9dacac4cb136242dd01b130e0811234ee1ea8
2019-06-18 22:47:47 -07:00
Steven Moreland
39a565e218 Merge "app_process: use libhidlbase" am: 1adf5f0407
am: 71b0c78d73

Change-Id: Ib00749de2df46562f3dfee2416f52780501b7967
2019-06-18 21:25:05 -07:00
Steven Moreland
6c65bb208e libhwbinder users use libhidlbase
libhwbinder symbols are being moved into libhidlbase in order to
optimize linking/memory usage. libhwbinder will no longer be
required in the future (however removing references to it will come
separately).

Bug: 134961554
Test: boot
Change-Id: Iab3cc1b3abf8e648254a903c89a4ab9e8eee68c8
Merged-In: I128a007749356d4a8d75eba3e2c678c0f66c59fe
2019-06-18 17:20:06 -07:00
Steven Moreland
1adf5f0407 Merge "app_process: use libhidlbase" 2019-06-19 00:18:35 +00:00
Frank Li
aee26c026c Merge "Refine the proto dns_resolver.proto" am: 257719b2d5 am: 0592abbce1
am: 61cd00fd15

Change-Id: Iaf7abac6170d5818a263392731069d7bf021d981
2019-06-18 05:45:25 -07:00
Frank Li
61cd00fd15 Merge "Refine the proto dns_resolver.proto" am: 257719b2d5
am: 0592abbce1

Change-Id: I542ab5e79429ba1134dd3c75f6f6ff6fe8bd1705
2019-06-18 05:28:54 -07:00
Stanislav Zholnin
9918986ed0 Adding atom for logging GrantPermissionsActivity buttons presented and pressed. am: bdf620b5bd
am: c136634c33

Change-Id: I5e06e093544f62dec8ae3d4de9209efa2014972f
2019-06-18 05:24:27 -07:00
Stanislav Zholnin
886afba6c3 Adding atom for logging GrantPermissionsActivity buttons presented and pressed.
am: bdf620b5bd

Change-Id: Ibb0945f5d95b483797b1711113c10d64973a1210
2019-06-18 05:16:35 -07:00
Stanislav Zholnin
c136634c33 Adding atom for logging GrantPermissionsActivity buttons presented and pressed.
am: bdf620b5bd

Change-Id: Ia2f95b336d7e2eafc0949a90526d31f7865c69fd
2019-06-18 05:16:34 -07:00
Frank Li
257719b2d5 Merge "Refine the proto dns_resolver.proto" 2019-06-18 11:54:12 +00:00
Stanislav Zholnin
bdf620b5bd Adding atom for logging GrantPermissionsActivity buttons presented and pressed.
Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 213
Bug:133401502
Bug:134581123
Change-Id: I4c74d590266f89b192605be6f94d038bc2e1bd5a
2019-06-18 11:11:33 +01:00
Steven Moreland
ef6a7da0f9 app_process: use libhidlbase
libhwbinder symbols are moving into libhidlbase for memory/performance.
This change is preparing for this (and also to avoid a merge conflict).
Later changes will be added to remove dependencies on libhwbinder once
it is no longer required.

Bug: 134961554
Test: N/A
Change-Id: I128a007749356d4a8d75eba3e2c678c0f66c59fe
2019-06-17 15:23:41 -07:00
Stanislav Zholnin
057b962517 Merge "Atoms for logging permission grants during system upgrade." into qt-dev am: 58c51d17d1
am: ec9cbdb220

Change-Id: I51325b66d39f5888fade65ce07587256b6857c08
2019-06-17 14:41:50 -07:00
Stanislav Zholnin
b38e7b71a9 Merge "Atoms for logging permission grants during system upgrade." into qt-dev
am: 58c51d17d1

Change-Id: I08cf66e049f3668e00de6cc8607b246e1138f6bf
2019-06-17 13:19:06 -07:00
Stanislav Zholnin
ec9cbdb220 Merge "Atoms for logging permission grants during system upgrade." into qt-dev
am: 58c51d17d1

Change-Id: I90a927891a207971c86b8abebc8cc9c5457a5f2e
2019-06-17 13:16:29 -07:00
Stanislav Zholnin
247d1b75cd Atoms for logging permission grants during system upgrade.
Test: manually verified
Bug:133401502
Bug:134581123
Change-Id: I004704e39c8936de91300b6f98e722d925142c14
2019-06-14 13:13:35 +01:00
lifr
ad9beccd2a Refine the proto dns_resolver.proto
1. refine the enum type Transport
   The name of 1st enum value is TRANSPORT_UNKNOWN
2. remove the wrong character "CR"

Bug: 133111380
Test: ./out/host/linux-x86/bin/statsd_testdrive 116
Change-Id: I49ce1d77d8fc6a48fc8cc99cde028a3c2a4158e7
2019-06-14 17:36:40 +08:00
Ryan Savitski
50758fff6b Merge "userdebug: support perfetto traces as a section in incident reports" into qt-dev am: cfff472c8e
am: 69b3390c9d

Change-Id: I09424d870a90c7b8f75c9dcf7d4030dc591c572b
2019-06-13 17:33:02 -07:00
Ryan Savitski
d205ee215d Merge "userdebug: support perfetto traces as a section in incident reports" into qt-dev
am: cfff472c8e

Change-Id: I6e023382bd1059c0081b748029a3aa201352a8cf
2019-06-13 17:31:40 -07:00
Ryan Savitski
69b3390c9d Merge "userdebug: support perfetto traces as a section in incident reports" into qt-dev
am: cfff472c8e

Change-Id: I98dcfaf8b40f2715c881023d41234508e37db238
2019-06-13 16:50:58 -07:00
Ryan Savitski
cfff472c8e Merge "userdebug: support perfetto traces as a section in incident reports" into qt-dev 2019-06-13 23:42:09 +00:00
Stanislav Zholnin
079da4cecf Merge "Add atom for logging of ReviewPermissionsFragment actions." into qt-dev am: 15ae30124d
am: 40a280a167

Change-Id: Id067b8cb3754c5597fb2663e4797614a1533faaa
2019-06-13 13:42:59 -07:00
Stanislav Zholnin
40a280a167 Merge "Add atom for logging of ReviewPermissionsFragment actions." into qt-dev
am: 15ae30124d

Change-Id: I6bce6a869671a99e534271d8291ca5111741df21
2019-06-13 13:29:47 -07:00
Stanislav Zholnin
32bf74150c Merge "Add atom for logging of ReviewPermissionsFragment actions." into qt-dev
am: 15ae30124d

Change-Id: Ideec2a7b87b5089e3b343212cb8656c3326a0e11
2019-06-13 13:27:34 -07:00
TreeHugger Robot
15ae30124d Merge "Add atom for logging of ReviewPermissionsFragment actions." into qt-dev 2019-06-13 20:15:35 +00:00
Dan Willemsen
61f8421024 Merge "Match src paths with aidl package name" into qt-dev-plus-aosp
am: 5c0613472f

Change-Id: I401901d7ce17c083af2a99a96c5a867682a6ff27
2019-06-11 06:56:21 -07:00
TreeHugger Robot
5c0613472f Merge "Match src paths with aidl package name" into qt-dev-plus-aosp 2019-06-11 13:46:15 +00:00
Roland Levillain
528f9f2111 Merge "Use suffixes instead of stems in the definition of module app_process." am: 9c2eef9841 am: 244f224221
am: 2899709c72

Change-Id: Ia6347223262fd8721005763c80d2397a230a14c6
2019-06-10 05:22:31 -07:00
Roland Levillain
2899709c72 Merge "Use suffixes instead of stems in the definition of module app_process." am: 9c2eef9841
am: 244f224221

Change-Id: I5b6b8b10d671b4cf48fca6f8f33a44b766a3d09d
2019-06-10 05:17:37 -07:00
Tej Singh
77a5575677 Merge "Persist metric activation across beta4/5 ota" into qt-dev am: 12ae95987b
am: 8e0212da7d

Change-Id: I4310b38631484ce7d1ddcf86c750eb67e6e41237
2019-06-08 09:11:32 -07:00
Tej Singh
8e0212da7d Merge "Persist metric activation across beta4/5 ota" into qt-dev
am: 12ae95987b

Change-Id: I614602e2a4facb0ccdf40ab8599f875750ce0679
2019-06-08 09:06:34 -07:00
Tej Singh
52cfa0e455 Merge "Persist metric activation across beta4/5 ota" into qt-dev
am: 12ae95987b

Change-Id: I8d989540dd6807c539026e8c912c581de82b324c
2019-06-08 09:06:32 -07:00
Dan Willemsen
d1a5aa6a00 Match src paths with aidl package name
In order for the build system to track updates to the header files
during incremental builds, always specify the src files using the same
path as the package for C++ compilations.

Bug: 112114177
Test: treehugger
Change-Id: I584f43a0386840ce3d066479e9e4035de81da144
2019-06-08 15:43:36 +00:00
TreeHugger Robot
12ae95987b Merge "Persist metric activation across beta4/5 ota" into qt-dev 2019-06-08 14:38:06 +00:00
Tej Singh
cbf2c64024 Persist metric activation across beta4/5 ota
In beta 4, activeEventActivation proto object does not have a state
field and assumed to be active if it is written to disk. In beta 5, we
add a state field to support persisting metric activation status across
a system server crash. However, if a device updated from beta 4 to 5, we
don't have any knowledge of the state when we read. Therefore, assume
the lack of the state field as the event activation should be active for
the provided ttl.

Bug: 134795027
Test: used flashstation to flash a device to beta 4. Then manually push
and activate a simple config. Then use vendor/google/tools/flashall to
update to qt-dev + this change. Manually ensure metric/config are still
active.
Test: gts-tradefed run gts-dev --module GtsStatsdHostTestCases
Test: bit statsd_test:*

Change-Id: I8594d04efaa2ae1f669113aaffd33e5fa5851e73
2019-06-07 17:56:24 -07:00
Ryan Savitski
cc7d9973c6 userdebug: support perfetto traces as a section in incident reports
This set of patches adds a way for the perfetto command line client to
save a trace to a hardcoded location,
/data/misc/perfetto-traces/incident-trace, and call into incidentd to
start a report, which will include said trace in a new section.

This is not a long-term solution, and is structured to minimize changes
to perfetto and incidentd. The latter is currently architected in a way
where it can only pull pre-defined information out of the system, so
we're resorting to persisting the intermediate results in a hardcoded
location.

This will introduce at most two more linked files at the same time.

Bug: 130543265
Tested: manually on crosshatch-userdebug
Merged-In: Iaaa312d2d9da73ca329807211227a8c7a049102c
Change-Id: Iaaa312d2d9da73ca329807211227a8c7a049102c
(cherry picked from commit 09a847902fa428f97841c3689b9f11243cc60460)
2019-06-07 18:13:56 +01:00
Stanislav Zholnin
3d215df180 Add atom for logging of ReviewPermissionsFragment actions.
Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 211
Bug: 133401502
Bug: 134581123
Change-Id: I326731e70221c1a28568573a241592006d1bb59e
2019-06-07 14:33:42 +00:00
Roland Levillain
7103a89d39 Use suffixes instead of stems in the definition of module app_process.
Test: Device boot test
Change-Id: Ibbf888383b4fe3204b71978243267765092d51c6
2019-06-07 12:02:04 +01:00
Tej Singh
f94b9df698 Merge "Blacklist truncated atoms instead of whitelistnig" into qt-dev am: 85a3a4689c
am: 9c4a7fb13e

Change-Id: Ib442beaa97f07cf366e52d05b05b07f1efcd0381
2019-06-06 19:55:08 -07:00
Tej Singh
9c4a7fb13e Merge "Blacklist truncated atoms instead of whitelistnig" into qt-dev
am: 85a3a4689c

Change-Id: I6e36648f96564c8a8c49d85117cc54886fc0d894
2019-06-06 19:49:41 -07:00