Add a whitelist of commands to the NetUtils wrappers.
Currently, the whitelist only logs unexpected commands. In the future, it could log these to netd for later recovery/analysis using dumpsys, or return failure. Tested by ensuring that "adb logcat -s NetUtilsWrapper" never logs anything. Bug: 36463595 Test: boot marlin, swap SIMs, make cell/wifi calls, use mobile data, hotspot, toggle airplane mode Test: new unit test passes Change-Id: I4edae4e1b30ceac7f6c8582ff719c8468b8ca0b9
Loading
Please register or sign in to comment