Revise code (sync with the latest commercial one)
1. Optimize the text parser (desc parser)
ugly "realloc" is removed from the parser.
there is only ONE memory allocation for parsing the text data.
2. Shared view concept is introduced.
If client tries to add several instances using one package,
viewer will creates fake handles using common real handle.
Even if user creates 100000* dboxes, there is only A real handle.
All other handles just duplicates its contents.
This will save the power consumption, decrease the memory pressure, optimize the IPC overhead.
3. Refactoring the livebox handle structure. for supporiting the "2."
Change-Id: Id8607cc247fd61fde8a251858bf2d23dd2a1119d
12 files changed: