summaryrefslogtreecommitdiff
path: root/core/proto
AgeCommit message (Collapse)Author
2021-03-18Remove network transport from core/protoTej Singh
Move the network transport type to proto_logging. It is needed in atoms.proto, and all atoms.proto dependencies should live in proto_logging. Previously, networkcapabilities.proto was in proto_logging, but the majority of that proto is not needed for logging and is used for incident reports. Test: m Bug: 182392879 Change-Id: I24ff96806e417ad4ee89d84f051ea790a416338f Merged-In: I24ff96806e417ad4ee89d84f051ea790a416338f
2021-03-18Move service/enums.proto to proto_loggingTej Singh
Add usb contaminent status to service/enums.proto. It was previously in usb.proto, but is an enum. Enums.proto is a better fit because other enums in usb.proto are located in enums.proto, and the enum is also used by atoms.proto. Additionally, move the enums.proto file to proto_logging, since all atoms.proto dependencies should be in proto_logging. Test: m Bug: 182392879 Change-Id: I9ea0a1482336694c446e950ea5cb46b95372b76d Merged-In: I9ea0a1482336694c446e950ea5cb46b95372b76d
2021-03-18Add usb and networkcapabilities back to core/protoTej Singh
usb.proto and networkcapabilities.proto were moved to proto_logging because they were needed in atom.proto. However, the majority of the protos aren't needed and belong in core/proto. This moves the files back in preparation for splitting the relevant enums back into proto_logging. Test: m Bug: 182392879 Change-Id: I055a3ca44b83921018697bdefec29161b483d0fe Merged-In: I055a3ca44b83921018697bdefec29161b483d0fe
2021-03-11Add MetricsTimeZoneSuggestion for metrics useNeil Fuller
This tracks an internal change. Bug: 172934905 Test: build / boot / treehugger Change-Id: I94ab695250cc7d0db294628f9578f3ffa77b998d
2021-03-11OWNERS change / new .proto fileNeil Fuller
Splitting out GeolocationTimeZoneSuggestionProto to time_zone_detector.proto. Test: build only Bug: 172934905 Change-Id: Ib7798955ae7ab3a486aa33d2bed85f4bbd8511e1
2021-03-02Merge "add to owners"Treehugger Robot
2021-02-25Implement memtagMode and nativeHeapZeroInit manifest attrs.Evgenii Stepanov
memtagMode allows an app to opt in to MTE in either sync or async mode. nativeHeapZeroInit enables automatic initialization of heap memory. Both attributes default to off and can be specified at either application or process level. Bug: 135772972 Bug: 177438394 Bug: 178038272 Test: CtsTaggingHostTestCases Change-Id: I6a481a9d2363997bf954f248d08224c79f0c2afb Merged-In: I6a481a9d2363997bf954f248d08224c79f0c2afb
2021-02-25add to ownersTodd Kennedy
Change-Id: I4d7c3892c7b97bb15e6a9e1a76050b393be4d7e3
2021-02-17Add support for tracking PANS data usageChris Weir
Adds support for tracking oemManagedNetwork types (OEM_PAID and OEM_PRIVATE). Bug: 174485293 Test: atest NetworkTemplateTest NetworkStatsCollectionTest NetworkStatsObserversTest NetworkStatsServiceTest NetworkIdentityTest Test: verify that the bytes go up in PansTest app only when `ping -I eth2 8.8.8.8` is run as root. Change-Id: I78660a835f16265ba8e44bb84332c6633dd72b84
2021-02-09Add a registerSystemDefaultNetworkCallback method.Lorenzo Colitti
This method allows internal components to track the system default network. This differs from registerDefaultNetworkCallback because that method sends callbacks for the default network for the UID that called it. This may not be the system default network, for example, when a VPN is up and applies to the UID. Bug: 173331190 Test: new unit tests in ConnectivityServiceTest Test: new unit tests in ConnectivityManagerTest Test: new CTS tests in ConnectivityServiceTest Test: new CTS tests in HostsideVpnTests in other CL in this topic Change-Id: Id02748a2183f71b71ff2a53a580466b9dcecaa93
2021-02-03Add persistence for app hibernation statesKevin Han
Persist hibernation states to disk. This CL persists the user-level and global hibernation states to disk. Bug: 175829330 Test: atest AppHibernationServiceTest Test: atest HibernationStateDiskStoreTest Change-Id: If58d648d720bed1693b9346c4d0e85074daec931
2021-01-07Addition of OWNERS / initial .proto fileNeil Fuller
Addition of OWNERS entry and the file it pertains to. Test: build only Bug: 172934905 Change-Id: I986957f7ead522fa8e13fbf7cbd514691d476858
2020-12-02Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855Xin Li
Bug: 172690556 Merged-In: I78222391b83a4add8e964340ec08bb8a1306e1c6 Change-Id: I28bbf40820674675ccf765c912aa8140d3f74ab2
2020-11-30Add owners for android accessibility team.Hongming Jin
Test: N/A Change-Id: I82e06f2124fa9151447446879d939fb2522b2adb
2020-11-30Merge "Revert "Add OWNERS block to facilitate in migration""Baligh Uddin
2020-11-30Revert "Add OWNERS block to facilitate in migration"Baligh Uddin
This reverts commit 9e569671a3752c4edd95367f483355ad31fac8d4. Reason for revert: atoms and associated protos have been migrated. Removing migration block. Change-Id: Ia1e4a73001ebc9509b8550c7957135172ce8938d BUG: 167962588 Test: TH
2020-11-25Move enums file to new directoryJeffrey Huang
Bug: 167962588 Test: m -j Change-Id: I29b21fdc98c6c795902d23f21ef3dfd11d3f3216 Merged-In: I29b21fdc98c6c795902d23f21ef3dfd11d3f3216
2020-11-22Add OWNERS block to facilitate in migrationBaligh Uddin
BUG: 167962588 Test: TH Change-Id: Ia8cdeb0c2bd0e98d8d6b8a44f49d42ccd0d04908
2020-11-09Introduce new App Ops permission for 3rd-party InCallServicesqian
This permission is intended to be used internally as a system App Ops permission, and let CompanionDeviceManager or RoleManager to grant with users. If it is granted by user, the corresponding companion app has the ability to query the details of the ongoing calls, and also manage its life cycle. Bug: 169595473 Test: atest ThirdPartyInCallServiceAppOpsPermissionTest Change-Id: Ie0f790aab2edcd52cfdbded2630347b9f8dd4d49 Merged-In: Ie0f790aab2edcd52cfdbded2630347b9f8dd4d49 (cherry picked from commit 334ab546e46ff5916eb6239f98ee3462498e87c9)
2020-11-03Import TLS handshake atom for ConscryptNikita Iashchenko
Bug: 160345816 Test: m droid Change-Id: I7ddf7626376bd649c8b10306d464b783cf16959b Merged-In: I142a792c34dced6b0e27b867ed3a1d95249a5f7f
2020-10-29Try to add AppOps Keys into Proto to unblock my projectShuo Qian
My code https://googleplex-android-review.git.corp.google.com/q/topic:%223rd-incall%22+(status:open%20OR%20status:merged), which is adding a proto enum for a new AppOps, is causing presubmit failure (https://android-build.googleplex.com/builds/tests/view?invocationId=I62800006309385464&redirect=http%3A%2F%2Fsponge2%2F8a607de5-e0c3-4349-b3c4-0ee397685e18&testResultId=TR55614315792892488). I cannot check in my code because of this failure. To solve this failure, one of the next step is: adding AppOps 100-102 there Test: Treehugger Bug: 169595473 Change-Id: Ibd0f85575c9bc3d7aca9d5b011f1e5f0cbf960c1 Merged-In: Ibd0f85575c9bc3d7aca9d5b011f1e5f0cbf960c1 (cherry picked from commit 503ee6ad3be976c3a436a783cb4ee65169d92c16)
2020-10-10Merge ab/6749736 in stage.Xin Li
Bug: 167233921 Merged-In: Iecef31f7bf10ad97b7e0075cf302ae94e248474a Change-Id: I9e9c873bc2e05a0cfe3af0bf74725500f3f108db
2020-09-28Merge "Add biometrics owners" am: ecea8deae9 am: b0db693fb2 am: 2d2124a26f ↵Kevin Chyn
am: 5914a15a52 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440471 Change-Id: Ic35995ff9582c4c3c09005dad888f8cdfb7b6802
2020-09-28Merge "Add biometrics owners" am: ecea8deae9 am: b0db693fb2Kevin Chyn
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440471 Change-Id: Icc5f94c45eb6ff9f805087fca545c2f793c73bce
2020-09-27Add biometrics ownersKevin Chyn
Test: Builds Bug: 169459906 Change-Id: I45a1e2211477aa52c02cf884f38d09a1ab8494c5
2020-09-25Merge "Add roosa to ONWERS" am: ee1693c4f8 am: cb4ed8dcc4 am: 0857ac2716 am: ↵Adrian Roos
bf81503306 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1438333 Change-Id: If9df4c8545011511aa400270dbfb9d8b10720a7b
2020-09-25Merge "Add roosa to ONWERS" am: ee1693c4f8 am: cb4ed8dcc4Adrian Roos
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1438333 Change-Id: Ideca46a51dc10255081acc8d8e3045e0039a320b
2020-09-25Merge "Add roosa to ONWERS"Adrian Roos
2020-09-25Add roosa to ONWERSAdrian Roos
Change-Id: I3b12aedc128c5acdd1856ba01e8e344b0349d26e
2020-09-23Merge "Adds Assistant Handles learning state to backed up settings" into ↵Govinda Wasserman
rvc-qpr-dev am: 01c000eff1 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12656264 Change-Id: Id9a1336991a0745f62b33c85250c45cc0f66b4b9
2020-09-23Adds Assistant Handles learning state to backed up settingsGovinda Wasserman
This solves the issue where the device would forget the learned state when restoring from a backup. Test: Tested locally BUG: 159807978 FIX: 159807978 Change-Id: Ia1d5926621c4b45402036aaf06cbab19c12869bd Merged-In: Ia1d5926621c4b45402036aaf06cbab19c12869bd
2020-08-24Merge "Add a SettingsProvider key for Adaptive connectivity" into ↵TreeHugger Robot
rvc-qpr-dev am: b0df580193 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12383606 Change-Id: I7421c1f07d89d1b7c5371c83ed8a94f7f4ae9c71
2020-08-24Add a SettingsProvider key for Adaptive connectivityArc Wang
Adaptive connectivity is a feature to manage 5G connectivity for better battery life. Bug: 162871294 Test: compile Change-Id: I719e44a29a54ee886e5d3a7180fd3ad9a7dff599 Merged-In: I719e44a29a54ee886e5d3a7180fd3ad9a7dff599
2020-08-14Rename game driver to updatable driver.Peiyong Lin
Game driver is considered a production name. We should use the term updatable driver instead of the production name. Bug: b/164449016 Test: build Change-Id: I787f97b4801dcc7b5ec2acd569a7ce284c9a1f18
2020-07-29Use more inclusive terms.Peiyong Lin
BUG: b/162288333 Test: N/A Change-Id: Icd58adb5eb19395548f20bd9349639e84a0cce88
2020-07-27Use more inclusive terms inside GraphicsEnvironment.Peiyong Lin
Bug: b/162288333 Test: N/A Change-Id: I2f1f13a892be0c8ff3f89e0ceabe39058390727d
2020-07-15[DO NOT MERGE] Rollup changes from R related to CertInstaller and KeyChainRubin Xu
This change includes the following commits that are related to CertInstaller and KeyChain: 7a5c8fe4afd KeyChain: Unify manual and programmatic key installation flows a894225c7da Added functionality to select type of certificate to be installed from the Settings app a9131939a35 Add KeyChain.KEY_ALIAS_SELECTION_DENIED constant. 485be505f19 Fix KeyChain.KEY_ALIAS_SELECTION_DENIED Bug: 161347472 Test: builds & manual testing Change-Id: I560bade479b41a5b88f81ea6dfdecba689c2f4ad
2020-07-13Merge "Don't count proxied jobs toward scheduling limit." into rvc-dev am: ↵TreeHugger Robot
9994c816a8 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12122206 Change-Id: I8935806ef8c466be9283107dc33fe73698fabd80
2020-07-10Don't count proxied jobs toward scheduling limit.Kweku Adams
1. Some API calls (such as SyncManager calls) can result in multiple job schedule calls. Given that underlying implementation detail, we don't count jobs scheduled via proxy towards the source app's schedule limit. Calls using scheduleAsPackage for itself will still count. 2. Limit the number of times we log that a specific app has exceeded the limit to once per minute. 3. Update the error message and documentation to help developers identify what to do when they encounter the issue. Bug: 160796417 Test: atest JobSchedulerServiceTest Test: atest JobSchedulingTest Change-Id: Ia682aa889ec2a26d373d0309e8c0324570f7d816 Merged-In: Ia682aa889ec2a26d373d0309e8c0324570f7d816
2020-06-23Merge "Add Setting for NR screen off indications"Sarah Chin
2020-06-22Add Setting for NR screen off indicationsSarah Chin
Test: build Bug: 154241884 Change-Id: Ifa485230f6d27eaa7a665a396e3eac33e00feadb Merged-In: Ifa485230f6d27eaa7a665a396e3eac33e00feadb
2020-06-22Merge "Correct the name of enum UserType item" into rvc-dev am: 06cfd49914TreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11932651 Change-Id: I75103ba087a2539c987a85b73976a9a0a77aa391
2020-06-22Merge "Correct the name of enum UserType item" into rvc-devTreeHugger Robot
2020-06-22Correct the name of enum UserType itemlifr
Test: Run statsd_testdrive Bug: 153942334 Change-Id: Ibefb4a9c03ae0bf3ea9cd2ce186223860aa42e74 Merged-In: Ibefb4a9c03ae0bf3ea9cd2ce186223860aa42e74 (cherry picked from commit ad14a26c2c971e7cc6f861293810e9a4a731cb8d)
2020-06-22Correct the name of enum UserType itemlifr
Test: Run statsd_testdrive Bug: 153942334 Change-Id: Ibefb4a9c03ae0bf3ea9cd2ce186223860aa42e74
2020-06-20Merge "Adding Network Tethering Metrics/atoms in the statsd"Frank Li
2020-06-19Merge "Statsd notif logs: important conversations." into rvc-dev am: 263c7f9bc1TreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11931359 Change-Id: Ia5a8345f679b20f410857eef9227ceca7b573d94
2020-06-19Merge "Statsd notif logs: important conversations." into rvc-devTreeHugger Robot
2020-06-19[DO NOT MERGE] Support toggling resumption in Settings am: c1bc307bceBeth Thibodeau
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11817534 Change-Id: Ie0520c407c27112a05049ef6627528e204ffdff2
2020-06-19Statsd notif logs: important conversations.Will Brockman
Adds an importance level for "important conversation" to the notification posted and notification channel updated logs. Bug: 155064930 Change-Id: Ib5a47aeb2da4d8614bfc778f3771479256220b23 Test: atest PreferencesHelperTest NotificationManagerServiceTest Test: statsd_testdrive