- Apr 11, 2019
-
-
Andreas Gampe authored
Use app_process and reflection to find the class state. This is expected to break when internals change, so include a test for expectations. Bug: 130206915 Test: atest PreloadCheck Change-Id: I7ecdb88a19efcfcfa1c7aa5c7e67d1990306166e
-
Rubin Xu authored
-
Treehugger Robot authored
-
Lorenzo Colitti authored
-
Treehugger Robot authored
-
Chiachang Wang authored
-
Neil Fuller authored
-
Neil Fuller authored
Switch from Byte.toHexString() to HexEncoding equivalents. Bug: 124232146 Test: build only Exempt-From-Owner-Approval: Cherry-picking OWNERS approved internal version Merged-In: Id244e5247eb87c67446cbd65eb5d320f3617b8cd Change-Id: Id244e5247eb87c67446cbd65eb5d320f3617b8cd
-
Xiao Ma authored
Bug: 122621524 Test: atest FrameworksNetTests NetworkStackTests Change-Id: I123b3d4516cc6ba6d17629eb74daf448ba7121eb
-
Michele Berionne authored
-
Chiachang Wang authored
Follow up commit to fix nit in aosp/937891 Bug: 120013793 Test: Build Change-Id: I61a6306d3c439a2d72323ab56e2b47771cc60d48
-
Remi NGUYEN VAN authored
-
Treehugger Robot authored
-
- Apr 10, 2019
-
-
Michele authored
Remove @hide from builder of CarrierRestrictionRules class. Bug: 124325937 Test: compilation Change-Id: If05e7d950b6737a6bb92af962816c7cbc36b00d1
-
Jack Yu authored
-
David Brazdil authored
-
Jeff Vander Stoep authored
Apps may (and do) assume that libraries are readable. To avoid app breakage, mark execute-only sections of as read+execute for apps with targetSdkVersion<Q. Bug: 128907672 Test: Check libc for app with targetSdk==current cat /proc/25950/maps | grep libc.so 77c01e3000-77c028b000 --xp 00041000 07:20 106 /apex/com.android.runtime/lib64/bionic/libc.so Test: Check libc for app with targetSdk<current cat /proc/26355/maps | grep libc.so 77c01e3000-77c028b000 r-xp 00041000 07:20 106 /apex/com.android.runtime/lib64/bionic/libc.so Change-Id: I90b5c91923c8008ae4b4818985842fe3e354a850 Merged-In: I90b5c91923c8008ae4b4818985842fe3e354a850 (cherry picked from commit 739c0b51)
-
David Brazdil authored
Clarify the intended use and properties of the default class loader. Bug: 128524313 Test: n/a Change-Id: Iae82554f9294d5248b98f1fa72fc1a47993e86fd
-
Nathan Harold authored
-
Benedict Wong authored
* changes: Enable checks for MANAGE_TEST_NETWORKS in TestNetworkService Cleanup of Test Network service
-
Rubin Xu authored
When a fully-routed VPN is running, we want to prevent normal apps under the VPN from receiving packets originating from any local non-VPN interfaces. This is achieved by using eBPF to create a per-UID input interface whitelist and populate the whitelist such that all non-bypassable apps under a VPN can only receive packets from the VPN's TUN interface (and loopback implicitly) This is the framework part of the change that build the whitelist. The whitelist needs to be updated in the following cases: * When a VPN is connected and disconnected This will cover the change to allowBypass bit, since that can't be changed without reconnecting. * When a VPN's NetworkCapabilites is changed (whitelist/blacklist app changes) * When a new app is installed * When an existing app is removed * When a VPN becomes fully-routed or is no longer fully-routed New user/profile creation will automatically result in a whitelist app change transition so it doesn't need to be handled specially here. Due to the limitation of the kernel IPSec interacting with eBPF (sk_buf->ifindex does not point to the virtual tunnel interface for kernel IPSec), the whitelist will only apply to app VPNs but not legacy VPN connections, to prevent breaking connectivity with kernel IPSec entirely. Test: atest PermissionMonitorTest Test: atest android.net.RouteInfoTest Test: atest com.android.server.ConnectivityServiceTest Test: atest HostsideVpnTests Bug: 114231106 Change-Id: I143b03d60e46cb1b04732b4a4034f5847b4d1b1a
-
Cody Kesting authored
-
Treehugger Robot authored
-
Tobias Thierer authored
make warns when a @deprecated javadoc tag is not matched by a corresponding annotation. The other @deprecated fields in this class have both. Fixes: 71706673 Test: Treehugger Change-Id: I3749a54acc9f63dabdacac77849add34d4085561
-
Lorenzo Colitti authored
-
Narayan Kamath authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Lorenzo Colitti authored
Test: builds, boots Change-Id: I88bfd7f37c0ba0228f8288fe92212618ce134e4f
-
Benedict Wong authored
This commit re-enables enforcement of the MANAGE_TEST_NETWORK permission, which is only granted to the shell. CTS tests using this permission should use UiAutomation.adoptShellPermissionIdentity() to gain access. Bug: 72950854 Test: IPsec CTS tests using this passing Change-Id: I98573a5c68e45abbbaddef01f6ac74a6a18e26f9
-
Chiachang Wang authored
-
Chiachang Wang authored
From mainline perspective, we should use android flag api instead of using Settings. Thus, move the definitions into NetworkStack. Bug:120013793 Test: atest NetworkStackTests SettingsBackupTest Change-Id: I8e1fb5b47fff3bf624131ba1f5732daabd991e6d Merged-In: I8e1fb5b47fff3bf624131ba1f5732daabd991e6d Merged-In: I0a2a1e5d3de14ea86556ca471e26064df3481412
-
Chiachang Wang authored
-
Remi NGUYEN VAN authored
This freezes the interface as of the latest beta build, although it has not changed since then. This change adds the necessary implementations for getInterfaceVersion. Test: flashed, WiFi working Bug: 128803828 Change-Id: I43a6a38685d5fbc669cd573c4d7e7f99bd596952
-
Remi NGUYEN VAN authored
-
Kiyoung Kim authored
-
Amit Mahajan authored
-
- Apr 09, 2019
-
-
Benedict Wong authored
This follow-up change performs some cleanup changes without affecting functionality Bug: 72950854 Test: Compiles, CTS tests using this pass Change-Id: Ic7394f24f11d713c9374b438182e29d2a02ea236
-
Amit Mahajan authored
Test: manual, atest FrameworksTelephonyTests:ApnSettingTest Bug: 130167974 Merged-in: Ia029df91781ee125078a2b4cc4d0364919c95fd6 Change-Id: Ia029df91781ee125078a2b4cc4d0364919c95fd6 (cherry picked from commit 72ea0fd5)
-
Chenbo Feng authored
Since the Framework net test require jni library libnetworkstatsfactorytestjni, but the test fails to load that library unless *all* the dependencies of that library are explicitly listed in jni_libs, whenever any of the dependencies changes the framework net test will start failing and it might not be catched since the change might not related to frameworks/base. And this smoke test is aimed to spot those native library changes and it should be stable enough to put in global presubmit. Bug: 124764595 Test: FrameworksNetSmokeTests Change-Id: Id24e7f0558b5643e4ad7393e85f1f0a2bd875615
-