An and other running sub-software can help mobile phone users to understand the performance of their phones, this feature caters to the needs of most people, so Ann Rabbit is more popular. Of course, there is more than one running software on the market, these run the software is similar, the basic principle is: through the simulation of user operations (such as playing games, doing arithmetic, listening to music, etc.) to test cpu,gpu,mem,wifi,bluetooth,modem,ddr and so on performance, to each of the points scored , and finally form the total score.
Seriously do technology chip supplier, integrated Chamber of Commerce constantly break through the existing technology, thereby improving product performance, and a lot of three flow of the non-inflow of enterprises are not so, and now I say how these enterprises improve running points.
First introduce a way to be spurned by everyone:
(1), the current market common benchmark keywords recorded in a list;
Softwarelist.add ("Antutu");
Softwarelist.add ("benchmark");
Softwarelist.add ("Ludashi");
Softwarelist.add ("Cfbench");
Softwarelist.add ("Quicinc.vellamo");
Softwarelist.add ("Geekbench");
Softwarelist.add ("Greenecomputing.linpack");
Softwarelist.add ("Nenamark");
Softwarelist.add ("Performance.test");
Softwarelist.add ("Quadrantstandard");
(2) When the Systemserver is started, a service is opened, a thread is opened in the Serice, a while (true) is used in the threads, and a task that is currently running in the system is obtained in a Do while (true) every sleep 5 seconds. The names of these tasks and the keywords saved in the list are compared to determine if there is a benchmark run, if there is benchmark run, then write the System Properties Systemproperties.set ("Ctl.stop", "Inputfreq"), This triggers the/system/bin/inputfreq.sh defined in Init.rc, and the performance policy is turned on in inputfreq.sh. In most cases, the user's phone is not installed benchmark, run benchmark less opportunities, and so a boot on the service in the background to run, rather wasteful, for the mobile phone end users to consider it?
If you really want to cheat, also want to consider for the end user as far as possible!
broadcast messages for packet installation and uninstallation are received with a broadcast receiver, and once a benchmark package is found to be installed, the background service monitoring is turned on, Do not monitor if all benchmark software is uninstalled. or found that the system has benchmark installed in startactivity where the monitoring is not benchmark software activity, if it is, then set the system to performance, so that no background monitoring.
Where there is a trade, where there is harm ah!
Engineer a little effort, can make a great contribution to society, why not?
How to improve Android system Aututu benchmark running points