Research and Implementation of Hardware Automated Test for Android Devices
- Author
- LiHao
- Advisor
- LiuWeiDong
- School
- Ocean University of China
- Major
- Electronics and Communication Engineering
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 2
- Citations
- 0
Abstract
With the smart phone and tablet computer market shares becoming larger andlarger, many communication terminal manufacturers join the manufacture of Androidsmart product. How to improve quality product to be reduces cost competitivenessbecame the most expect each terminal manufacturers goals. Hardware test is the veryimportant part in manufacturing test, so the paper take hardware automated test forAndroid devices as a subject, which present a new hardware automated testing planthrough analysis the weak points of other test program. The test system has someinnovation. First, modify the starting way of test system which makes the startoperation simpler. Second, the test program compiles with C language and run overthe Android Linux Kernel, which greatly shorten the startup time of test program.Third, using the file nodes and the test programs test hardware in the kernel layerwhich can reduce manual operation and improve test efficiency greatly.The test system mainly used in PCBA function test and whole machine test forAndroid products, such as smart phone and tablet computer. When using the systemyou can modify the configuration file to add or reduce test items according to thedifferences between PCBA and whole machine function test. The manufacturers mustmanufacture different productions to meet the market requirement. So it requires thatthe test system has better expandability and portability. In this case, the test systemcan be easily transplant to another product and add new test item. And In order tofacilitate debugging in the development process, the test system has rich log output,so it can greatly shorten the time of problem solving.At the beginning of paper it introduces the background of the subject, thenanalysis the system architecture and startup procedures of android by what design thestart way. Then introduces the interrelated knowledge, such as the principle of testautomation, process and thread, ADB, Android make files, init language. The fourthand fifth parts is very important because there are the detail of realize the test system, which contains demand analysis, file structure and implement processes of testprogram, the realization of key module. In the end, there are the principles of testingand implementation code about some test items. The sixth part is about the problemsin development and the debug ways. At the last of the paper, summarize advantagesand shorts of the test system, and forecast the development direction in the future.The test system already used in the production of smart phone and tabletcomputer, it play a significant role in enhance production efficiency and control thequality of product.
Table of contents
Summary 5-6
Abstract 6-10
1 Introduction 10-15
1.1 Background and Significance 10-12
1.2 current Status 12-14
1.3 The main 14
1.4 thesis structure 14-15
2 Android system Introduction 15-23
2.1 Android Introduction and development process 15-17
2.1.1 Android system Introduction development process nbsp 15
2.1.2 Android system ; 15-17
2.2 Android system architecture 17-19
2.3 Android system startup process 19-22
2.4 Summary 22 - 23
3 knowledge About 23-30
3.1 hardware testing and automated testing 23-24
3.1.1 hardware Test 23 <br / > principle 3.1.2 automated testing 23-24
3.2 processes and threads 24-25
3.2.1 process 24
3.2.2 thread 24-25
3.3 Android ADB 25-26
3.3.1 ADB About 25
3.3.2 ADB commonly used commands 25-26
3.4 Android compiled 26-27
3.5 init.rc initialization script language 27-29
3.6 Summary 29-30
4 test system needs analysis and preliminary design 30-42
4.1 Requirements Analysis 30-34
start 4.1.1 test system 30 -31
4.1.2 functional Requirements 31-32
4.1.3 performance requirements 32-33
test sequence using 4.1.4 and flags 33-34
4.2 summary of design 34-38
4.2.1 production test system execution flow 34-36
4.2.2 production Test system file structure 36-38
4.3 key technology 38-41
4.3.1 command cat realization 38-39
4.3.2 command echo realization 39-40
4.3.3 system function 40
4.3.4 via fork () creates a child process , the child process where by execl () execute scripts or commands 40
4.3.5 through sleep (), usleep () to achieve delay 40-41
4.4 Summary 41-42
5 test implementation of the system 42-62
5.1 start to realize 42-46
5.1.1 into test mode 42-44
5.1.2 start 44-46
5.2 functions to achieve 46-61
5.2.1 function call flow chart 46-50
5.2.2 test principle 50-51
5.2.3 testing program is designed 51-61
5.3 Summary commissioning and FAQs 61-62
6 test systems analysis nbsp 62-66
6.1 debug test system ; 62-63
6.2 mistakes and GDB 63-65
6.3 Summary 65 -66
7 summary and Outlook 66-68
References 68-70
Thanks 70-71
CVs 71
published papers 71-72
Related dissertations
- SOC Test Program Optimization for the High Efficiency
- The Design and Accomplishment of the Test Tool for Some Key Index of Security Gateway
- Design and Implementation of the Mobile Network Management System Testing
- Design and Implementation of MDS6800Visualization Command and Control System Test
- Design of Fibre Channel Node Function Test Module
- Assembly of the Mobile Navigation, Bluetooth and Multi-Media System for GM-Holden
- Research on the Test Methodology of CTCS3 Onboard Equipment
- Research on the Test Methodology of Radio Block Center (RBC)
- Neural network PID control in automotive generator performance automatic test system applications
- Application of High Voltage Converter in Power Plant Energy-saving Reform
- Test Technology Research of the LC82380 Circuit
- Research and Design on High Precision Multi-Function Power Quality Monitoring Instrument
- Analysis and Research for Software Test Management and Automatic Test Based on Rational Tools
- Advance belt conveyor protection device against vertical tear Research
- Research of Novel Small-World Optimization Algorithm and Its Application for Complex Thermal Power Control System
- Application & Research of Half-rate Technology in GSM Network Optimization
- Isolation and Functional Tests of Actived Substances Produced by Bacillus subtilis
- Research on Function Test System of Vehicle Body Module Based on CAN Bus
- Oil Level Sensor Function Test Automatic Design
- Research and Practice on the System of Data Network Management in Qinghai Mobile