Device implementations:
[C-0-1] MUST support the Android Developer Tools provided in the Android SDK.
dumpsys
cmd stats
cmd testharness
. Upgrading device implementations from an earlier Android version without a persistent data block MAY be exempted from C-0-11.cmd stats
shell command and the StatsManager
System API class.If device implementations without a USB port support peripheral mode, they:
If device implementations support adb connections to a host machine via Wi-Fi, they:
AdbManager#isAdbWifiSupported()
method return true
.If device implementations support adb connections to a host machine via Wi-Fi and includes at least one camera, they:
AdbManager#isAdbWifiQrSupported()
method return true
.Dalvik Debug Monitor Service (ddms) * [C-0-7] MUST support all ddms features as documented in the Android SDK. As ddms uses adb, support for ddms SHOULD be inactive by default, but MUST be supported whenever the user has activated the Android Debug Bridge, as above.
Monkey * [C-0-8] MUST include the Monkey framework and make it available for applications to use.
SysTrace * [C-0-9] MUST support the systrace tool as documented in the Android SDK. Systrace must be inactive by default and there MUST be a user-accessible mechanism to turn on Systrace.
Perfetto * [C-SR] Are STRONGLY RECOMMENDED to expose a /system/bin/perfetto
binary to the shell user which cmdline complies with the perfetto documentation. * [C-SR] The perfetto binary is STRONGLY RECOMMENDED to accept as input a protobuf config that complies with the schema defined in the perfetto documentation. * [C-SR] The perfetto binary is STRONGLY RECOMMENDED to write as output a protobuf trace that complies with the schema defined in the perfetto documentation. * [C-SR] Are STRONGLY RECOMMENDED to provide, through the perfetto binary, at least the data sources described in the perfetto documentation.
Low Memory Killer * [C-0-10] MUST write a LMK_KILL_OCCURRED_FIELD_NUMBER
Atom to the statsd log when an app is terminated by the Low Memory Killer.
Test Harness Mode If device implementations support the shell command cmd testharness
and run cmd testharness enable
, they: * [C-2-1] MUST return true
for ActivityManager.isRunningInUserTestHarness()
* [C-2-2] MUST implement Test Harness Mode as described in Test Harness Mode documentation.
If device implementations report the support of Vulkan 1.0 or higher via the android.hardware.vulkan.version
feature flags, they: