Bilingual Android in /system/core/init/readme.txt control document translation




Android Init Language                                                                                                 Andrews Init language
---------------------                                                                                                         ---------------------    


The Android Init Language consists of four broad                  classes of statements, Andrews Init languages include four categories of statements,
Which are Actions, Commands, Services, and Options.                                              They are Actions (action), Commands (Commands), Services (Services) and options (option).


All of these are line-oriented,                                 consisting of tokens separated by all of these lines are oriented, separated by spaces marked
whitespace. The c-style backslash escapes                            may be used to insert components. C-style backslash escape character can be used to
whitespace into a token. Double quotes may                       also be used to prevent adding spaces marked. Double quotes may be used to prevent
whitespace from breaking text into multiple tokens.                          The backslash, characters in the text box into which a plurality of partition marks. Backslash,
When Character IT IS ON The Last Line A, Line-On May BE Used for Folding.                            When it is in the last row, represents the following line in the same bank and row.


Lines which start with a # (leading                     whitespace allowed) are comments. Rows with '#' start (front to allow spaces) are comments.


And Services implicitly DECLARE A Actions new new Section. All Commands                        Actions (action) and Services (services) implicitly declares a new segment. All commands (command)
or belong to Options at The MOST Recently Logs in Section declared. Commands                         or options (option) is a section of the latest statement. Commands (Commands) before the first segment
or options before the first section are ignored                                                             . Or options (option) is ignored.


Services have have UNIQUE names and Actions. A SECOND, the If Action or Service                  Actions (action) and Services (services) have a unique name. If subsequently appeared in the same Actions (action)
IS declared at The Same, with name AS AN existing One, AS IT IS ignored                           or Services (service) name, as errors were ignored. (??? whether we should cover in place mechanisms to head
an error. (??? should we override                                                                 instead) before it is treated as error handling)



Actions                                                                                                                         The Actions (Action)
-------                                                                                                                             -------
the Actions are the named Sequences of Commands. A Trigger Which have have the Actions              the Actions (action) is the command sequence. The Actions (operation) with a trigger to determine when used
is used to determine when the action should occur. When an event                          action should occur. When a match triggering operation condition event
occurs which matches an action's trigger,                                that action is added to the event, this action is added to
the tail of a to-be-                                     executed queue (unless it is already on the queue of pending execution (unless it is already in the queue this).
queue).


Each action in the queue is dequeued in              sequence and each command in the queue to be performed sequentially for each column lists the actions and the operation of each command
that action is executed in sequence. Init                             handles other activities performed sequentially. Init deal with other activities
(Device Creation / Destruction, Property Setting, Process Restarting)                            (device creation / destruction, property setting, process restarting)
"the BETWEEN" at The Execution of Activities at The Commands in.                                            Between the execution of the command is active.


Take The form of the Actions:                                                                                            the Actions (operation) of the following format:


on <trigger>                                                                                                               on <trigger>
   <command>                                                                                                              <command>
   <command>                                                                                                              <command>
   <command>                                                                                                              <command>


Services                                                                                                                    Services (Services)
--------                                                                                                                         --------
Services Programs Which are init Launches and (OPTIONALLY) restarts                        Services (Services) is a program for init login and when Services (Services) exit (optionally) restart.
They Take The Exit Services When form of:.                                                               Services (service) is formatted as follows:
service <name> <pathname> [ <argument> ]*                                                        service <name> <pathname> [ <argument> ]*
   <option>                                                                                                                   <option>
   <option>                                                                                                                   <option>
   ...                                                                                                                              
...

Options                                                                                                                    Options (Options)
-------                                                                                                                        -------
Options are modifiers to Services. And How They Affect the when the init                          Options (option) is a service of the regulator. How do they affect and when
runs the service.                                                                                                      Operational service.





Published 34 original articles · won praise 12 · views 80000 +

Guess you like

Origin blog.csdn.net/phmatthaus/article/details/44591975