It looks like the empty branding view was causing the underlying
view to bleed through it so ensuring that it is removed if empty.
Bug: 182708883
Change-Id: I868931768bed5b083433fd5222720724bfe3e60e
Netd should be obtained via getSystemService, and
ModuleNetworkStackClient must be used instead of NetworkStackClient for
modules.
Bug: 171540887
Test: m
Change-Id: Ibe703ac56dd70673115cd8b95b44b856a7fc01f3
Constructor of JobStatus may update the network request in the
JobInfo parameter. NetworkRequest is moving into the incoming
connectivity module. The hidden methods and members usage will
not allowed anymore, so it requires to rebuild the network
request for any update in the network request. Expose a new
Builder constructor as a helper method to construct from an
existing JobInfo instance which will helpful for such cases
that need to clone the JobInfo and update only specific items.
Also, JobStatus which is inside the platform could not refer
to the hidden members or methods of classes in the connectivity
mainline module. Callers who want to construct a network
request should use the formal NetworkRequest.Builder. Update
the usage accordingly to resolve the hidden usage.
Bug: 172183305
Test: atest JobInfoTest
Test: atest com.android.server.job.controllers.JobStatusTest
Change-Id: Ifb74d44e29e13f0e3b995be638c5bfe435a09106
Minor cleanup that allows us to restrict access/usage of the scheduler
itself for cleaner and more robust future work. For example, if we
want to abstract the scheduler away from the AIDL provider.
Bug: 181984005
Test: atest CtsBiometricsTestCases
Change-Id: I5850cae1f30f9479a29565b7b7c0d43108d0f7bd
Split it up into more generic and useable components that are not as
location specific.
Bug: 182491144
Bug: 181665909
Test: presubmits
Change-Id: I2d6d5e70328657a7430e170531402cb3acbed028
* changes:
Add trace for tracking the performance of new starting window
Force enable hardware accelerated for starting window
Pre-draw AdaptiveIconDrawable and cache it before doFrame
The connection service will become the mainline module.
Remove the hidden API usage of NetworkAgent.
Bug: 170598012
CTS-Coverage-Bug: 170598012
Test: atest FrameworksNetTests FrameworksTelephonyTests
atest FrameworksWifiTests
Change-Id: I4e4040ae7f94bdf479c7df9ec2ffabafbe06331c
+ simplify adding new callbacks on storage state
+ streamline lock story for ifs members
Bug: 183101753
Fixes: 183101753
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I86fffa7101eeb42ebccca67ae7f5d133c1ab9dfa
This CL reworks our previous CL [1], which entirely moved IMMS dump
into critical section in bugreport as a side effect while achieving
Bug 167948910.
What's unexpected in that CL is that InputMethodManagerService#dump()
also tries to extract data from InputMethodService process and IME
client process by using Binder IPC. Unfortunately such operations
aren't guaranteed to complete within the given timeout for critical
dump, which is currently set to 500msec. As a result, we sometimes
completely lose the log from those two processes when they take some
time to complete.
With this CL, InputMethodManagerService#dump() will be registered for
both critical dump and normal dump, and those potentially expensive
out-of-process dumps will be performed only for normal dump phase like
we did before that CL.
[1]: Ie87eb8423e2bb70f28c330983d45b95e2e07062d
ac24994aaa
Fix: 177462676
Test: Manually verified that bugreport contains IMMS section of:
* Critical text dump without dump from IMS and IME client.
* Critical proto dump.
* Normal text dump with dump from IMS and IME client.
* Normal proto dump.
Change-Id: I3828f8eab5739939edabccaa5c76320567f9d7c1
This CL reworks our previous CL [1], which enabled "adb bugreport" to
include ime-tracing files into bugreport with some unpleasant
side-effect described in Bug 177462676.
Basically what this CL aims to do is to mirror my CL [2] for
InputMethodManagerService. Instead of relying on heuristics, this CL
introduces a clear and dedicated command
adb shell cmd input_method tracing save-for-bugreport
so that "adb bugreport" can explicitly tell IMMS to dump the tracing
files.
See the corresponding CL for frameworks/native [3] about how it's
triggered from "adb bugreport".
[1]: Ie87eb8423e2bb70f28c330983d45b95e2e07062d
ac24994aaa
[2]: I887ae6941b4844a606675b447f67ecee88d7f192
96a51f9971
[3]: I62105334e4efbb4514390ffa8be5416482ca3b29
02b1d2c70b2f4703a9dd51ba69d78604d66916e1
Bug: 177462676
Test: Manually done as follows.
1. adb shell cmd input_method tracing start
2. adb logcat -d -s imeTracing:*
Make sure ime tracing is running
3. adb shell dumpsys input_method \
--dump-priority CRITICAL --proto > /dev/null
4. adb logcat -d -s imeTracing:*
Make sure ime tracing has not been stopped.
5. adb shell cmd input_method tracing save-for-bugreport
6. adb logcat -d -s imeTracing:*
Make sure ime-tracing was dumped and is still running.
7. adb root && adb shell ls /data/misc/wmtrace/ -al
Make sure ime tracing files are saved.
Test: Manually done as follows.
1. adb shell cmd input_method tracing start
2. adb logcat -d -s imeTracing:*
Make sure ime tracing is running
3. adb bugreport bugreport.zip
4. adb logcat -d -s imeTracing:*
Make sure ime-tracing was dumped and is still running.
5. unzip -v bugreport.zip | grep ime_trace_
Make sure ime_trace_{clients,service,managerservice}.pb are
included.
Change-Id: Ib106e077a10eb6a4f37b38aa9172e7c99a81f898
This is a safe no-op CL that removes mis-specified
@GuardedBy("mMethodMap")
annotations from InputMethodManagerService, which was added while we
were trying to introduce proto-based event logging [1]. Otherwise our
lint would keep false-alarming even if those methods were correctly
used.
Anyway, this CL should have zero impact on generated code since
@GuardedBy annotation is used only for static code analysis.
[1]: Icbfb8c11e882f29eb45dea9d4c23315c48e9d619
5e68eeac86
Bug: 154348613
Bug: 177462676
Test: presubmit
Change-Id: I92fb0f9f8957ad0649bfad6196356bb3f9698e04
The API is the getter couterpart for setprocnetwork.
Use it in NetworkUtils so that the NDK API can be the source of truth
for the process network.
Bug: 171540887
Test: atest CtsNetTestCases
Tests in change I311b58585033c2ca50ce5477ea9cd94b6f127507
Change-Id: Ie8f68cf1fa57deddb63324c1abf3d6fd5b0ef500