Add 2 fields to check if watchdog is really working as well as we think
it is.
Bug: 75001353
Test: compile, run ./frameworks/base/wifi/tests/runtests.sh
Change-Id: If547bd962f12773f4a4b36fb8fc3e50aff259dac
LocationManager.isProviderEnabled should return true for a test provider if:
1. A test provider is added through LocationManager.addTestProvider
2. The test provider is enabled through LocationManager.setTestProviderEnabled
This fix changes the logic if LocationManager.isProviderEnabled and
LocationManager.setProviderEnabledForUser to allow users get/set test
location provider status.
Bug: 72647543
Bug: 77238940
Test: Manual
Test: run cts --module CtsLocationTestCases -t android.location.cts.LocationManagerTest
Change-Id: Ib241e5b487fd873c1fa0d7ac34b82b8592fc0906
This isn't a definitive fix but should
make the symptoms less visible.
Bug: 71913808
Test: cover prox sensor, uncover it
Change-Id: I49976d5ba09d416e96cc5e623e49d55ecacf5567
Adds support for a new AppOp to permit services to
use IpSec tunnel mode. The IpSecService now needs
a context so change the service mode to a cached
service rather than a static service.
Bug: 66955045
Test: runtest frameworks-net
Change-Id: I17a4a286225b432c3e15ea1587d946189931b4f4
- CollapsedStatusBarFragment now listens to DISABLE_CLOCK so that it can
be requested to hide with disable flags (fixes SUW)
- PhoneStatusBarTransitions cares about the entire left side as a unit
instead of just notifications.
Test: atest frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/CollapsedStatusBarFragmentTest.java
Test: go through SUW, also change users from guest -> owner from lock
screen.
Change-Id: Ia693386b9ef0438a4fe341d056731e2ba6e973a0
Fixes: 71512617
Fixes: 71360226
reason to repropose this is because of some changes like ag/3619568.
We don't want to allow this happens again.
Bug: 77277590
Test: N/A
Change-Id: Icfbbced7b441c2503a937eae8e6ca51485885040
Check whether the tracker has been started before
trying to return stats.
Add unit test to check empty lists are returned
rather than null.
Bug: 76008231
Test: atest BrightnessTrackerTest
Change-Id: Icc7ef0ee43a95eb182cb1b0b9452f122363e67ba
These are used to clear accessibility cache in tests driven by
UIAutomator.
Bug: 77401534
Test: n/a
Change-Id: Id0bb808e94e0efdd8ddc59f94ddd5ea71394c8a2
Follow ConnectivityManager.getNetworkWatchlistConfigHash() javadoc,
it should return null when watchlist config file does not exist
Bug: 76212923
Test: NULL
Change-Id: Ice2de0732cb07f5159d1e068fb8f95b979191d1a
Some WiFi hotspots send excessive multicast IPv6 ping requests which
cause considerable power drain. Thus, drop all multicast ICMPv6 ping
requests while the device is in doze mode.
Bug: 66930077
Test: runtest -x tests/net/java/android/net/apf/ApfTest.java
Test: manual - compared generated APF bytecode using apf_disassembler
Test: manual - force idle mode while sending multicast pings to device
Change-Id: I25dbf99985cf4413b4d0e3920d281fe6d663197a
(cherry picked from commit e2c70f8a60)