Update the atom logging as the time_in_last_state_millis field is being
removed.
Bug: 187224817
Test: atest AppHibernationServiceTest
Test: atest CtsStatsdAtomHostTestCases:AppHibernationStatsTest
Test: run statsd_testdrive 370. Run the hibernation job from cmd and see
correct pushed data
Change-Id: I53fa09b8dd822c158db983544500566cc0127837
Dexopt acquires system level locks (e.g. installd locks) so it should
not be called by artbitrary apps via `adb shell` commands.
Test: manual
Bug: 180652564
Change-Id: I385d5346df7721d95edf40c45d06b969870e4bda
This change allows the VCN to trigger the application of IpSecTransforms
as in the FWD path, ensuring that tethering works across interfaces
Bug: 185495453
Test: atest FrameworksVcnTests
Test: manual testing with cross-device tethering
Change-Id: I90fc77226ca971dbd8ac549b96a4828da1079cd5
This change adds support for IPsec forward policies, which are necessary
for packets to be allowed to be forwarded to another interface, as is
the case with tethering. This is necessary and useful only within the
system server, and as such is not exposed as a public API.
This change is safe, since the addition of a FWD policy on IPsec tunnel
interfaces will by default block forwarded traffic (as would be the case
without this patch). In the event that the (system) owner of the tunnel
requires support for forwarded packets (eg tethering), this patch allows
application of transforms in the FWD direction as well.
This will be used to ensure that the VCN can be used as the underlying
network for the purposes of tethering.
Bug: 185495453
Test: atest IpSecServiceTest
Test: atest IpSecServiceParameterizedTest
Test: manual testing with tethering over VCN
Change-Id: I74ecea71f1954029f6fbdbe34598c82e0aac386b
This behavior could be turned OFF via the flag kill_fas_cached_idle
in device_config.
Bug: 152573287
Test: atest FrameworksServicesTests:ActivityManagerTest
Test: atest FrameworksMockingServicesTests:AppStateTrackerTest
Change-Id: Ifa6950582fbf6a24595b36163810f3c7e9345394
For auto enter PiP from landscape when no source rect hint is specified,
we should actually use the skew instead scale values to set the matrix
transform.
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/dpLVOQzIVjdJpn5kg7T4Fc
Bug: 179720719
Test: manual use ApiDemos app, see video
Change-Id: Ic7072e8354329584f9cb75876911c3d58d78e7f5
In ag/13985751 [e62a4eb007fc0266be6955c837d188a204c11cc2], we added calls to persist LITE after each mutation api
call. However, VisibilityStore also creates a mutation in Icing lib - it
indexes a single VisibilityDoc. We should also call persist LITE after
this so that we can be sure not to lose the VisibilityDoc.
Bug: 180127220
Test: None
Change-Id: Ib8465a3b2f4adb8f4dc4308c3845fcc501f36c0b
Add the ability to create Handlers in TheadFactory, as well
as the ability to create Executors from Handlers.
Use these in ScreenDecorations. Also, use the executor rather than
then handler in ScreenDecorations where possible.
Bug: 177323724
Test: atest SystemUITests
Change-Id: Icaedbfe3dc89f5bbc00c780533cb46279c2d2088
The header wasn't translated at all in the default state, but
only when pulse expanding. Changing it to also be translated
by default fixes this.
Fixes: 187316916
Test: use bypass, observe no clipping
Change-Id: Ic20d717affa0a16f69480e472795e9cef2c692f3
This fixes a race condition that existed when using the test command
that allows force denying access to a nanoapp. This race condition
occurred when updateNanoAppAuthState was called immediately following
the force denial command invocation which meant that it was waiting on
the lock to be released after the force denial went through and was
using stale mForceDeniedNapps which caused the authorization to be
granted again.
Fixes: 187437820
Test: atest PtsChreTestCases
Change-Id: I39fc05abc95f3d7fe0c929ddce9b212f729506c5
Anticipate more than 8 channels (such as 7.1.4) on
future devices, but keep at 8 for now.
Test: atest AudioTrackTest#testImmersiveStreaming
Test: same test by manually adjusting to 24 channels.
Bug: 127896072
Bug: 187062102
Change-Id: I72c2ff0faa7794f22deaeb794920afb65788f40b
This feature was previously limited to high-end devices, but now that
there is a fallback when VRAM is limited, it will be enabled globally.
After the feature is rolled out to all major Skia clients, it will be
the only way things work.
Bug: 183612348
Change-Id: Ia99ec154b498ab9315ec5f5285241fde8136c4ab
Adds the new NR registration technology for devices
that support IMS over NR so that the APIs can report
this technology.
Bug: 179724463
Test: atest CtsTelephonyTestCases
Merged-In: I4b0f9882dcf36e2ff7151778cbadb8e83513df5a
Change-Id: I4b0f9882dcf36e2ff7151778cbadb8e83513df5a
If the calling thread releases the SurfaceControl passed
to SyncRtSurfaceTransactionApplier concurrently with the
applier preparing the transaction, this can lead to a
synchronization error and a crash. Once the state is
inside the transaction no further synchronization is required
as the native transaction will hold its own sp<SurfaceControl>
reference. By constructing the Transaction on the calling thread
and deferring application to the RenderThread we enable the calling
thread to not have any release synchronization requirements with
RenderThread.
Bug: 186391509
Change-Id: I585e1a9d3baf9ea384b00408b6253f34487d5037
The content provider host app could be living in a different user from
the client app's expectation when it's singleton, this could result in
client app ignores notification of the start of the content provider
because of the discrepancy of user id. Now remember the original
expected user id so client app can clearly know whether the incoming
notification of the start of a content provider is what it expects or
not.
Bug: 181789697
Test: atest CtsContentTestCases:android.content.cts
Test: atest FrameworksCoreTests:android.content
Test: Manual - steps in b/181789697#comment1
Change-Id: Ic909620059e1f989a5e7c8cf3ede2b8d63814a96
Support next alarm appearing next to DnD. If weather is showing, show
inline, otherwise below the smartspace content. Next alarm will not
fade out but DnD will.
Fixes: 185678563
Test: atest KeyguardZenAlarmViewControllerTest
Change-Id: I21e95470d0013bfb6900c1c228dda69f5707c9e6
With our headerless notifications, this ends up being very jarring, because you always show the entire headerless notification, but when tapping expand the icon and expander disappear.
Fixes: 182011099
Test: expand a HUN
Change-Id: I2bfdd1b7740af5e65cb7007b1e2afc0d7e27cce2