Start a service running if it is not already running. Note that this is not synchronous, and even if it were, there is no guarantee that the operating system’s scheduler will execute the service sufficiently to guarantee anything about the service’s status. See the exec_start command for a synchronous version of start.
applyDebuggerSystemProperty:
Applies debugger system properties to the zygote arguments.
For eng builds all apps are debuggable with JDWP and ptrace.
On userdebug builds if persist.debug.dalvik.vm.jdwp.enabled is 1 all apps are debuggable with JDWP and ptrace. Otherwise, the debugger state is specified via the “–enable-jdwp” flag in the
spawn request.
On userdebug builds if persist.debug.ptrace.enabled is 1 all apps are debuggable with ptrace.
将调试器体系属性应用于 zygote 参数。
对于 eng 版本,所有应用均可使用 JDWP 和 ptrace 进行调试。
在 userdebug 版本中,如果 persist.debug.dalvik.vm.jdwp.enabled 为 1,则所有应用均可使用 JDWP 和 ptrace 进行调试。否则,调试器状态通过 spawn 请求中的“–enable-jdwp”标志指定。
在 userdebug 版本中,如果 persist.debug.ptrace.enabled 为 1,则所有应用均可使用 ptrace 进行调试。