diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 048ebee3abd39..65857935b07fe 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -7708,7 +7708,34 @@ public class DevicePolicyManager { /** * Called by a device owner to control the network logging feature. * - *

Network logs contain DNS lookup and connect() library call events. + *

Network logs contain DNS lookup and connect() library call events. The following library + * functions are recorded while network logging is active: + *

+ * + *

Network logging is a low-overhead tool for forensics but it is not guaranteed to use + * full system call logging; event reporting is enabled by default for all processes but not + * strongly enforced. + * Events from applications using alternative implementations of libc, making direct kernel + * calls, or deliberately obfuscating traffic may not be recorded. + * + *

Some common network events may not be reported. For example: + *

+ * + *

It is possible to directly intercept layer 3 traffic leaving the device using an + * always-on VPN service. + * See {@link #setAlwaysOnVpnPackage(ComponentName, String, boolean)} + * and {@link android.net.VpnService} for details. * *

Note: The device owner won't be able to retrieve network logs if there * are unaffiliated secondary users or profiles on the device, regardless of whether the