When emitting a method or field, verify that we're able to reference
all mentioned types. This ensures that we don't accidentally
reference undefined classes/interfaces.
Test: manual inspection of API files
Bug: 69791141
Change-Id: I84e0c87fe83daa118661f61dbdf17b58ea5282d4
When an anomaly is detected by statsd, it passes to incidentd the
information specified in the config.
Test: manual (using the fake config) saw in logcat that incidentd was
called (reportIncident)
Change-Id: I0a257b49db706d7b14a2976fb7e62c3c3535725f
Passpoint Provisioning status and failure codes to be used by callback
API to provide information to the caller about the provisioning flow
Bug: 67914151
Test: Unit test
Change-Id: If1bf28ac8e2e0b7d8141d1b9cb12e3a6e46cb126
Fixes a few items in AnomalyTracker, especially to do with what happens
when an anomaly alarm fires.
Test: unit tests still pass
Change-Id: Ia89bd617442e952e587336b890c3ca67430b5e21
Created a new hidden API to be called for starting subscription
provisioning with a certain provider. Create a callback interface and a
callback object to be used by the caller to get provisioning status
updates.
Bug: 67645546
Test: Unit tests
Change-Id: I9592222cfe79c5859c455c5a658956120558059f
Record the scroll position whenever recents scrolls. When screen is
rotated, reapply the same position to match it from last orientation.
Test: manual - rotate screen
Change-Id: I129bb91a01161c512736a17738a52e5b6bd0e35e
Fixes: 64291223
This commit adds the statistics for multicast wakelocks (count/time)
in dump of battery-stats.
This enables debugging of power issues due to extensive wakeup of host
processor due to arrival of multicast packets, and help identify the
blamed application
Bug: 33649966
Test: Manual Test
Change-Id: I882f945dd36fa2881c59776b4954017bf3c76cd7
Signed-off-by: Ahmed ElArabawy <arabawy@google.com>
This is the preliminary change in order to make the new data call
setup API for IWLAN refactoring.
Test: Telephony sanity tests + unit tests
bug: 64132030
Merged-In: Ib96dc3dd577def0a428e2f5cdb5fb7f742120020
Change-Id: Ib96dc3dd577def0a428e2f5cdb5fb7f742120020
(cherry picked from commit fc84bb5f5c6e30db0eca589eb67b406bf4bfadbe)
Fix nine patch scaling for assets that don't match the DPI.
Sometimes nine patches were scaled up with divs bigger than
width/height. This is fixing incorrect SearchView control draw
for 213dpi material theme in ThemeHostTest.
Test: Ran CtsGraphicsTestCases, CtsUiRenderingTestCases tests
Change-Id: Ifb8037e8ece97b802e723f911d9b74ccd8fe5400
In several locations we were passing both a parsed Package object
and a scanFile File object. But, the Package object was parsed from
the scanFile! Instead, just pass the singular Package object and
pull the scanned file from it.
Bug: 63539144
Test: bit FrameworksServicesTests:com.android.server.pm.
Change-Id: Ibd200fb567e005869de61d9c123f211fa9a38f0a
vold already complains about calls that are FDE specific, which
results in a lot of wtf() noise, so skip those operations outright.
Throw from failed mkdir() back to caller instead of wtf().
Test: builds, boots
Bug: 68736572, 68736551
Change-Id: I4dc06bdedacd2b66a1e7ae8e1434b194a875a756
make -j32 FrameworksLocationTests can not find the location module
Added one extra make file to help the ninja find the current make file.
To run the tests, use any of this:
1. runtest frameworks-location
2. forrest test FrameworksLocationTests
Bug: 69375757
Test: make -j32 FrameworksLocationTests
Change-Id: I7572cc494f1851ea6167e99c91af8244efaf15b5
Update public docs to hide the fact that NetworkCapabilities is only
used inside NetworkRequest as an implementation detail.
Take up less room on the wire when passing NetworkCapabilities around
via NetworkRequest.
Sanity check that the roaming state between NetworkInfo and
NetworkCapabilities is in agreement.
Test: bit FrameworksNetTests:android.net.,com.android.server.net.,com.android.server.connectivity.,com.android.server.ConnectivityServiceTest
Bug: 67040695
Change-Id: I982b4c3c41a140934bbad3b8ca8f12dc3814e86c