Age | Commit message (Collapse) | Author |
|
Add statsd protos to platform_protos rule
BUG: 167962588
TEST: TH
TEST: Local build [ crosshatch-userdebug ]
Change-Id: I053f2a211ea28c2f181937af3d58ad16b235d096
|
|
|
|
Hooks up statsd's partial config update feature to use server-side
flags.
Test: atest statsd_test
Bug: 172842175
Change-Id: Iaf76172286d7259dc81b847fa0e6b7830482b014
|
|
Dimension_in_what, condition links, and state links should be a subset
of the dimensions in what.
Test: atest statsd_test
Bug: 167491517
Change-Id: Ibd776829e975f04bd3c992fa7c299f017801c948
|
|
Initialize a duration metric with the dimensions that are true if the
"what" predicate previously existed.
Assumes that the internal dimensions are a superset of the
dimensions_in_what, the condition links, and the state links
Test: atest statsd_test
Bug: 167491517
Change-Id: I8dd984fb9cb575d6d541f80cb3b1e626ce4e5f27
|
|
am: 150418acae am: aea4eb1c6e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1513010
Change-Id: Ic809e4649e7e89a5c38ea39a788579b015da00d7
|
|
|
|
This reverts commit 9e569671a3752c4edd95367f483355ad31fac8d4.
Reason for revert: atoms and associated protos have been migrated. Removing migration block.
Change-Id: Ia1e4a73001ebc9509b8550c7957135172ce8938d
BUG: 167962588
Test: TH
|
|
Bug: 167962588
Test: m -j
Change-Id: I29b21fdc98c6c795902d23f21ef3dfd11d3f3216
Merged-In: I29b21fdc98c6c795902d23f21ef3dfd11d3f3216
|
|
217301c36f7ffd500441cb879a4fa88b770092db
Change-Id: I81a8287ed5b055e7b6547794d01e7ac897f0f022
|
|
Revert "Add android bp to proto_logging"
Revert submission 13070789-atomsproto
Reason for revert: Breaks multiple git_master-without-vendor targets
```
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
error: frameworks/base/tools/stats_log_api_gen/Android.bp:49:1: "stats-log-api-gen-test" depends on undefined module "libstats_proto_host"
ninja: build stopped: subcommand failed.
```
Reverted Changes:
I184cf8bf8:Add android bp to proto_logging
I36ec354d2:Delete atoms.proto from statsd
Bug: 167962588
Change-Id: Idce97c5cf020473744eb7f96dcfbdc7677c094da
|
|
Use the atoms.proto in proto_logging as the source of truth. Also
migrates statsd log api gen to use the new atoms.proto
Bug: 167962588
Test: m -j && m CtsStatsdAtomHostTestCases
Change-Id: I36ec354d273dceace5245d7634c68ac63dc5a8cd
Merged-In: I36ec354d273dceace5245d7634c68ac63dc5a8cd
|
|
Use the atoms.proto in proto_logging as the source of truth. Also
migrates statsd log api gen to use the new atoms.proto
Bug: 167962588
Test: m -j && m CtsStatsdAtomHostTestCases
Change-Id: I36ec354d273dceace5245d7634c68ac63dc5a8cd
|
|
aa975f3fee am: 40a07c66a1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1507847
Change-Id: I846ecaa2f1c07c5eadfe67fdcd0b3cedaece7a8e
|
|
aa975f3fee
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1507847
Change-Id: Ib6425e5c6a000e8bf301b3a840d984dc170a2a15
|
|
BUG: 167962588
Test: TH
Change-Id: Ia8cdeb0c2bd0e98d8d6b8a44f49d42ccd0d04908
|
|
|
|
|
|
Test: Tested with local device.
Bug: 171820651
Change-Id: I19df36964d0fb9aeb1cdf6dff4a0574c0854ed3e
|
|
|
|
This is the base atom for all TIF metrics
Test: ./out/host/linux-x86/bin/statsd_testdrive
Bug: 165369586
Change-Id: I2e5c3e7f51abd2700611fcc0eaef91ec029513c8
|
|
Introduce camera system health atoms, including:
- Camera open, close, and session creation time
- Camera session and stream combination information,
- Stream statistics:
- stream width, height, format, dataspace, usage flag,
- max buffer count
- buffer loss
- first frame latency.
Test: ./out/host/linux-x86/bin/statsd_testdrive 227
Test: CTS PerformanceTest
Bug: 154159000
Change-Id: I858d64f3324bb9652a59e5857f2730c92c616a8e
|
|
An existing activity may be relaunched when moving from background
to front if the current configuration is changed and the activity
cannot handle the change.
The relaunch type was reported as a hot start because its process
is alive and the original activity exists. But the relaunch needs to
destroy the original activity and create a new instance, which may
even take longer time than a warm start. So the case should be
separated from hot start.
Also:
- Make WaitResult#launchState is always populated by
ActivityMetricsLogger, so "am start -W" can get consistent
launch type.
- Remove dead code in ActivityRecord#ensureActivityConfiguration
that it already early returns if !attachedToProcess.
Bug: 172528316
Test: atest ActivityMetricsLaunchObserverTests#testLaunchState
Change-Id: I3ef64ce1e23b2f13d42fa2b12bc31c0cdb4652fc
|
|
Test: not required
Bug: 171790175
Change-Id: I87c861d263a25db2ef05688007654622886f75a8
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13005358
Change-Id: I99aa9a670cde9df8317a3433c21fda47326e2875
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13005357
Change-Id: Id49f87dd43c69e29e0840fbdfba2a38361211e2a
|
|
* changes:
Add band mapping for GERAN and UTRAN
Add new metrics to VoiceCallSession atom.
|
|
Test: manual.
Bug: 150170384
Change-Id: I94efa3ec6af62b485c45f9bf17861722b73ecca3
Merged-In: I94efa3ec6af62b485c45f9bf17861722b73ecca3
|
|
the back gesture.
Test: manual
Bug: 150170384
Change-Id: Ic08bdea27fea085bcbb425dbac6682a88d29aa8a
Merged-In: Ic08bdea27fea085bcbb425dbac6682a88d29aa8a
|
|
|
|
Adds a unit test for updating states. Mostly to ensure that replaced
states are calculated correctly.
Also refactor the logic a bit to make it easier to test.
Test: atest statsd_test
Bug: 162323667
Change-Id: Ie0e72c25c879d1c4dd59c330d40e5757ef750ec5
|
|
|
|
|
|
Bug: 159337195
Test: make
Change-Id: Id0fef718bbcf131c71f50fccc020115e3a9481d4
|
|
|
|
Bug: 151843373
Test: manual
Change-Id: Ibd3338cbf64f5f079bb65f599a423b06699f1acc
|
|
* changes:
[am/incremental] add package loading info in main logcat for crash/ANRs
[metrics/incremental] add package loading info in ANR and crash metrics
|
|
On ANR or crash, ProcessRecord will obtain the package loading info from
Package Manager and log it as part of the Westworld metrics "ANROccurred".
BUG: 162600251
Test: atest CtsStatsdAtomHostTestCases:android.cts.statsdatom.statsd.UidAtomTests#testANROccurred
Change-Id: I4b527d731c59c6590771f898c26bfeacb16e6ad5
|
|
- init new/replaced metrics
- guardrails for number of metrics/matchers/conditions/alerts
- report update to statsdstats
- update if the config is active
Test: atest statsd_test
Bug: 162323476
Change-Id: Ieaa2d18903de8020fcee5bb128124ab19f10a152
|
|
Partial config update for:
- atoms allowed from any uid
- no report metrics
- installer/version strings in uidmap
- hash strings
- annotations
- config ttl
- persisting configs locally
Mostly just reset these fields.
BYPASS_INCLUSIVE_LANGUAGE_REASON=proto field that cant be renamed
Test: atest statsd_test
Bug: 162323476
Change-Id: I5e636f8eb240bd3d44f08a87811b1dfefc428191
|
|
Bug: 172692115
Test: m libhwui
Change-Id: I56df46ac5b8e00acc251f222bd6d0c1f4e0f17ac
|
|
bce0208847 am: d5cad5b37b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1484136
Change-Id: I34e7639f6fb4aa3516302d6d63fc74fd632dbcea
|
|
|
|
|
|
|
|
|
|
Completely resets the allowed log sources from scratch.
Also:
- renamed initLogSourceWhitelist to initAllowedLogSources.
- refactored tests to have cleaner asserts on data structures
Test: atest statsd_test
Bug: 162323471
Change-Id: Ie717da732eea82c764b5b1f272080a4d97a7a8eb
|
|
Bug: 160345816
Test: m droid
Change-Id: I7ddf7626376bd649c8b10306d464b783cf16959b
Merged-In: I142a792c34dced6b0e27b867ed3a1d95249a5f7f
|
|
|
|
* changes:
Update Alarms/Subscriptions
Partial config update for alerts/subscriptions
|