This change saves and loads a different brightness setting when the user
goes in and out of VR Mode.
Test: runtests frameworks-core
Test: Turn vr mode on and change brightness (should remain separate from
normal brightness)
Bug: 30984614
Change-Id: If3c3e81b592e0c6fd037e5783559683e5cb58379
This change saves and loads a different brightness setting when the user
goes in and out of VR Mode.
Bug: 30984614
Change-Id: If3c3e81b592e0c6fd037e5783559683e5cb58379
Needed a new action for when the user chooses to skip
displaying the support disclaimer in future requests
for support.
Test: Is logging change
Bug: 33414180
Change-Id: I685a539c33d1c51fcc77385726cab0a3b3ca47ff
Port all system UI notifications to use the registry. Retain stable
integer IDs where they exist. Assign new stable IDs where resource IDs
were previously used.
Using "message" rather than "notification" since we may eventually
want to include dialogs and toasts.
Bug: 32584866
Bug: 30995038
Test: runtest systemui
Change-Id: Iec4d7cebbd88683e339ada29a279315222699942
(cherry picked from commit 5e6c0ffd3e91cf0c5872de3e2d99e225ad1468f4)
Port all system UI notifications to use the registry. Retain stable
integer IDs where they exist. Assign new stable IDs where resource IDs
were previously used.
Using "message" rather than "notification" since we may eventually
want to include dialogs and toasts.
Bug: 32584866
Bug: 30995038
Test: runtest systemui
Change-Id: Iec4d7cebbd88683e339ada29a279315222699942
... to clarify ambiguities about the purpose and goal of the
LinkLayer/Transport enum.
This renaming is safe because at the moment there is no reader or
writer of this field anywhere in google3 or android.
Test: $ runtest frameworks-net
Change-Id: I6775cc2df3438d3bd8609a86ed1f4b4bf6296816
This change saves and loads a different brightness setting when the user
goes in and out of VR Mode.
Bug: 30984614
Merged-In: Ie5578bbd6ea346f0eb34fe4abbfd604a5d7c0c93
Change-Id: Ie5578bbd6ea346f0eb34fe4abbfd604a5d7c0c93
This change saves and loads a different brightness setting when the user
goes in and out of VR Mode.
Bug: 30984614
Change-Id: Ie5578bbd6ea346f0eb34fe4abbfd604a5d7c0c93
This does not increase log size, because they replace old Setting pages.
Bug: 33812754
Test: make framework
Change-Id: I17067c75d4dd5aa892c150963c92015ad0380cdd
This patch defines 4 new constants in metrics_constants.proto
corresponding to the 4 network notifications shown by
NetworkNotificationManager.
Estimates for the average number of notifications:
- SIGN_IN: 3/day/device
- NO_INTERNET: 5/day/device
- LOST_INTERNET: 5/day/device
- NETWORK_SWITCH: 3/day/device (turned off right now)
Test: no functional change
Bug: 32198726
Bug: 33030620
(cherry pick from commit 74264329da5c52fbbafc1d20457056fdeabe19dc)
Change-Id: I74702938694fea9b573524d1a2ae3c20ce52b54d
This patch defines 4 new constants in metrics_constants.proto
corresponding to the 4 network notifications shown by
NetworkNotificationManager.
Estimates for the average number of notifications:
- SIGN_IN: 3/day/device
- NO_INTERNET: 5/day/device
- LOST_INTERNET: 5/day/device
- NETWORK_SWITCH: 3/day/device (turned off right now)
Test: no functional change
Bug: 32198726
Bug: 33030620
Change-Id: I31bd9b5562b94d62aac499f7174a3e115671bda8
This patch introduces a ConnectStatistics message for collecting
Android devices connect() statistics.
It also changes DNS latency events to be grouped by (query_type,
query_return_value) to optimize space usage. For this purpose, a new
DNSLookupLatencies message is introduced and DNSLookupBatch is
deprecated. New counter fields are added for the number of queries,
and number of responses with A and AAAA records.
Test: manually taking a diff with reference ipconnectivity.proto
Bug: 32198976
Change-Id: I6cccd539d2c3d703f2d6eb0c56f54cdcc1631a6c
This patch adds a transport field dimension to IpConnectivityEvent for
replacing interface name, and eventually network ids.
At the moment the transport field is not populated.
Test: manually taking a diff against reference ipconnectivity.proto
Bug: 32198976
Change-Id: Ia66cabda0b08076c87dc83c4f6ff98581f750884
If the device has a secure lockscreen and the device'
SIM card is removed, lock the device.
Change-Id: I0369af81297169d65254b85bc9a056e4f4a02b7b
Merged-In: I5b0deea8851b38781059732a3cf6fa0a4a00e3ca
Fixes: 30997251
If the device has a secure lockscreen and the device'
SIM card is removed, lock the device.
Change-Id: I5b0deea8851b38781059732a3cf6fa0a4a00e3ca
Fixes: 30997251
Test: set up lock screen, insert SIM card, unlock phone, remove SIM card, observe that screen is locked
grants, denials and requests are logged in the package installer
Test: Revoked some permissions via settings and looked at event log.
Change-Id: I9a4ade82b68293f8aa9732c9ca288d37e9a7f611
Bug: 32572232
Test: Manually confirmed that stats were sent for logging by checking
adb logs according to go/tron-howto.
Change-Id: I1ea09174190247c219ce42f70c7db75148033685
This CL adds a metrics constant for the Enterprise Privacy page in
the Settings app.
Test: None
BUG: 32692748
Change-Id: Ifd5429b7db6c2d85858ed4128a5fba4f788911ac
Happens once, when the device is provisioned. It shouldn't be more than
10 times in device's life.
Test: NA
Bug: 31425628
Bug: 32438787
Bug: 31423584
Bug: 32439982
Bug: 32474640
Change-Id: Ib69805a2ebae3396968b47ec1f4821b567afa0d7
Changes to ART are causing nano-proto's generated java base classes
to conflict with their duplicates in other projects, leading to a
NullPointerException.
Moving wifi.proto to the same build as other framework service protos in order
for them to share and not generate a duplicate CodedOutputByteBufferNano
classes.
wifi.proto previously lived at:
frameworks/opt/net/wifi/service/proto/wifi.proto
Bug: 32261442
Test: Builds, and existing Unit tests pass
Change-Id: Ia30391453e8d6614edc7f4397e9c17cfe95cf63e
Moved ipconnectivity.proto from services.core.jar to
framework-protos.jar.
Replaced 'mergeFrom' MessageNano base class calls, with 'parseFrom'
IpConnectivityLog calls.
This solves an issue where the services.jar would conflict with
duplicate nano proto base class definitions in other .jars
(wifi-service.jar).
Bug: 32261442
Test: Existing unit tests pass
Change-Id: I49100935fcae2e85e12eaa7f3462864f3a340b97
Added metrics variable to log provisioning entry points. Happens
once, when the device is provisioned. It shouldn't be more than
10 times in device's life.
Test: NA
Bug: 31424428
Bug: 31425628
Change-Id: I3ada95d5cfac0adf2aaa6433bc2669b989d2ba41
Just adding a new constant to the proto
for the refactored bluetooth dialogs.
Test: Manual
Bug: 32180625
Change-Id: I7e59ea6abd65db777d48bd0f2927db7260c67965
Added metrics variable to log provisioning extra.
Happens not more than 30 times, when the device is provisioned.
It shouldn't be more than 300 times in device's life.
Test: Not required
Bug: 31425014
Bug: 31425628
Change-Id: I99771677e64829fc75bdfbebc5817fe9f6fe6869
Added mertrics variable to log provisioning action.
Happens only once, when the device is provisioned.
It shouldn't be more than 10 times for a device's life.
Test: Not required
Bug: 31425628
Bug: 31426356
Change-Id: I254f0232ede6338313084d123b0a06883b82c267
Added mertrics variable to network type used while provisioning.
Happens only once, when the device is provisioned.
It shouldn't be more than 10 times for a device's life.
Test: Not required
Bug: 31425625
Bug: 31425628
Change-Id: I5eccbda7ffd93f1bcceb37b8d485895598fa59a8
Add metric constants to track time taken by each activity. Update
metric constant used for DPC installer. These will be logged from
Managed provisioning.
Bug:31425628
Bug:31425755
Change-Id: I6ba966720375b6710f880114395c1c84e244b3f6
Add metric constants to track DPC package name and DPC Installed from
play or not. These will be logged from Managed provisioning.
Bug: 31425628
Bug: 31426019
Change-Id: Ifc9a10d428a40006abfbab35ea455f95c02a14de
Add new metrics event constant for Settings->Help & Feedback, and log it
whenever user selects the help option menu, passing the context extra for
the corresponding settings preference where the help menu is launched.
Change-Id: I971e8e50b959a5451ed085e5da5fd8504111e6c3
Fixes: 30140281