In Android.bp, all dependencies of a test should be declared explicitly, so that test infrastructure could only provide the needed dependencies instead of all to run a test. This change adds the missing dependency that is used in test config file but not declared in Android.bp.
Bug: 222438068
Test: atest NetworkStagedRollbackTest
Change-Id: I94525c74165eefd76cccf71ca11b23f45e36d0cf
After the test is completed, the notification is not closed,
so that subsequent test cannot get the focus.
Close notification in tearDown to solve the issue.
Bug: 241723484
Test: run InputMethodStressTest pass
Change-Id: I876173e83488e18a884d8bc180f9681e726fff1d
After upgrading libc++, there are errors complaining about the the
incomplete Clip type in the "std::vector<Clip> mClipStack" member of
SkiaCanvas. The "SkiaCanvas::SkiaCanvas() {}" ctor can call ~vector
(maybe when an exception is thrown), and ~vector needs to know the size
of Clip.
(I'm not sure why this wasn't a problem before, but this seems to fix
the problem.)
Bug: http://b/175635923
Test: treehugger
Change-Id: I1d689c91be3b0530272836eeb727709ff1084545
The ArrayEquals, ArrayHashCode, ArrayToString, and
ArraysAsListPrimitiveArray errorprone findings were
demoted from errors to warnings. Fix existing
occurrences of them so they can be made errors again.
Bug: 242630963
Test: RUN_ERROR_PRONE=true m javac-check
Change-Id: Ia6f216cc36ad0a5758f39fd9b34962cd4adf9d8e
This disallows calls to runtime.gc() in the new version of Android.
Explicit GC calls are blocking and can thus cause runtime overhead.
They used to be performed as a pattern in order to avoid GC_FOR_ALLOC.
However, that was only the case for Dalvik, that is now discouraged for
ART.
Bug: 3400644
Test: m
Test: atest StrictModeTest
Change-Id: I4720f2b4c4047bb90a88b924c539690e3c202e08
Split SysTrace.h into SysTrace.cpp to avoid defining ATRACE_TAG
in the clients of SysTrace.h
This is in preparation to land aosp/2190022
Test: m
Bug: 161393989
Change-Id: I0ed94c9f66043aa83a59e8042ec9e61ee47db0f2
Extended handover rule to support the scenario that
handover should be blocked when source network goes
out of service.
Test: Basic testing + Wifi calling handover test + atest DataNetworkControllerTest
Bug: 234095834
Merged-In: I68c23f970af2a554ab438f630363be4591664cbb
Change-Id: I68c23f970af2a554ab438f630363be4591664cbb
Have a method to stop VPN and send
CATEGORY_EVENT_DEACTIVATED_BY_USER event to VPN app.
Both of prepareInternal() and stopVpnProfile() have the same
behavior, so have a method for them to reduce the duplicate.
Bug: 236409954
Test: atest FrameworksNetTests:VpnTest
Change-Id: I54b550e6f972a13f61cbcf15ee1fb9fe3c313d7b
Emptyness of a String8 variable was not checked correctly.
As a result, even when no arguments were provided,
`app_process` was still launching runtime.
Test: adb shell app_process64
Change-Id: Ia303edb5a74b61efad24b475008a3642a07ab789
This API is not used: marked as @hide with a commented out @SystemApi;
the AIDL server is not implemented in AOSP nor internally. There is one
extra client from the SEPolicy: wpantund; but there is no build rule for
this binary, and no reference for it in AOSP. This API appears be an
artifact from the initial import of Android Things back in 2017.
I confirmed with the previous owners that there is no intention to use
this API in the future (see bug).
This changes reduces the size of framework.jar by 77kb on
bramble-userdebug.
Bug: 235018188
Test: TH
Change-Id: Id66f5ed23ed26c7185f36454f168e34997be3f8f
Merged-In: Id66f5ed23ed26c7185f36454f168e34997be3f8f
(cherry picked from commit 7640656825ede6ff7a90ccea9593394179fcc218)
Added new team members, and alphabetized existing out-of-order folks
Bypassing Presubmit, which is not relevant for this cl (b/243418664)
Bug: 243065055
Test: n/a
Change-Id: I61793b7ea1c64a68e61f4d90095550687592ee8b