Add feature flag for statsd wifilock tests

On Android handheld devices such as phones, there are strong
expectations that the CPU power state and Wifi power state are
independent. There are therefore separate apis for keeping the CPU
awake (wakelocks) and for keeping the WiFi radio awake
(WifiManager.WifiLock and MulticastLock).

However on PC devices like Chrome Os devices this is typically not the
case and the WiFi chipset is turned off when the device goes to sleep.

On Chrome Os devices it is actually not supported by drivers to keep the
Wifi radio on, and the WifiLock and MulticastLock of WifiManager are not
implemented by ARC.

This causes some issues in CTS tests that expects these apis to have
some side effects such as event loggings.

This patch adds a feature flag on android.hardware.type.pc for such
tests failing in ARC environements. It might be the case that these
tests also fail for other environments such as automotive or tvs.

Bug: 77280656
Test: built, check that the feature flag is effective
Change-Id: I41b6c28e9b110dd1058cae5e79a8200abbd7d163
1 file changed