CN104503875A - Test method and test system of Android device - Google Patents

Test method and test system of Android device Download PDF

Info

Publication number
CN104503875A
CN104503875A CN201410743522.0A CN201410743522A CN104503875A CN 104503875 A CN104503875 A CN 104503875A CN 201410743522 A CN201410743522 A CN 201410743522A CN 104503875 A CN104503875 A CN 104503875A
Authority
CN
China
Prior art keywords
test
testing
function
camera
button
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410743522.0A
Other languages
Chinese (zh)
Inventor
张小平
龙剑
蔡晓平
蔡鸿辉
袁琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI ALONG ELECTRONIC CO Ltd
Original Assignee
SHANGHAI ALONG ELECTRONIC CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI ALONG ELECTRONIC CO Ltd filed Critical SHANGHAI ALONG ELECTRONIC CO Ltd
Priority to CN201410743522.0A priority Critical patent/CN104503875A/en
Publication of CN104503875A publication Critical patent/CN104503875A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention provides a test method and test system of an Android device. The test method comprises main interface integration test and single-item test, wherein the main interface integration test comprises DDR (Double Data Rate) capacity test, Flash test, SD card test, OTG (On-The-Go) U disk test, battery test, sensor test, camera preview test, automatic backlight luminance regulation test, sound recorder and loudspeaker test, key test, WiFi test and Bluetooth test. The single-item test comprises GPS (Global Position System) test, FM test, video display test, left sound channel test, right sound channel test, touch screen test and screen defective pixel test. The test method and the test system of the Android device has the benefits that all the hardware and software functions of the Android deice can be tested in one interface; the time and cost for testing a machine by testers can be greatly reduced; the test method and the test system of the Android device areespeciallyembodied in the condition of large-batch test of production lines of factories; meanwhile, all peripheral hardware test functions can support hot plug; the data is updated in real time.

Description

The method of testing of Android device and system
Technical field
The present invention relates to field tests, particularly relate to method of testing and the system of Android device.
Background technology
The hardware-software test of current Android device is a project spending very much manpower and materials always, and testing different functions needs to use different software, carry out different settings, and different functions switches.Such as testing camera needs installation to take pictures software, and test video is play needs copy video then to select player plays to machine, and testing sensor data will install special software reading data especially.Also to plug SD card, USB, recording simultaneously, find recording file and then play.Optical tests of getting off like this machine just needs to spend upper ten minute.In the face of major company's equipment of upper 100,000 up to ten thousand easily, test this link required time spent and well imagine.Android device needs the project of test also to run far deeper than so simultaneously, and this link have impact on production efficiency greatly.
Domestic general MTK scheme business does not all have oneself testing software, and system test needs to enter factory test mode, needs to switch a lot of option back and forth and just can complete all tests.And have a lot of limitation under this pattern, such as left and right acoustic channels, video playback, bluetooth Mac address, WiFi Mac address, DDR, Flash, screen bright spot, TP etc. cannot test.
Any one test above-mentioned is all required a great deal of time, such as bluetooth test, need video, the dissimilar file copy such as audio frequency is in storer, then be machine burning bluetooth Mac address (a lot of manufacturer Android device of dispatching from the factory is all adopt unified bluetooth Mac address), then open the Bluetooth pairing of bluetooth and an other Android device, finally enter file manager and associated documents are sent.Whole test is got off bothersome effort, adds that the time that other functional tests spend will be very long, has a strong impact on launch speed, add the R&D cycle of product.
Summary of the invention
In order to solve the problems of the prior art, the invention provides a kind of method of testing of Android device.
The invention provides a kind of method of testing of Android device, comprise main interface integration testing and individual event test, main interface integration testing comprises DDR volume test, Flash test, the test of SD card, the test of OTG USB flash disk, battery testing, sensor test, camera preview test, backlight illumination regulate test automatically, recording and loudspeaker test, key testing, WiFi test, bluetooth test, described individual event test comprises GPS test, FM test, video playback test, left and right acoustic channels test, testing touch screen, screen bad point are tested.
As a further improvement on the present invention, Flash tests, SD card is tested, OTG USB flash disk is tested: for the test of storage area, MTK oneself is packaged, and API supplies Application layer call, the array of a StorageVolume type is returned by the getVolumeList calling StorageManager, StorageVolume object contains the information of partition holding, the catalogue of current bay carry can be got by getPath (), then the path got is passed in the constructor of StatFs class and creates a StatFs, by the getBlockSize () of this object, getAvailableBlocks (), getBlockCount () can calculate total size and the available size of corresponding subregion, then be set to supply user on TextView respectively and check storage information, a broadcast listening Intent.ACTION_MEDIA_MOUNTED can be registered in onCreate function, this broadcast can be triggered when any memory device is inserted in machine and carry is good, then repeat above-mentioned action in this broadcast.
As a further improvement on the present invention, battery testing: dynamic registration broadcast listening Intent.ACTION_BATTERY_CHANGED in the onCreate function of main Activity, when battery information has any change, this broadcast all can be triggered, the Intent simultaneously passed in the onReceive function of broadcast can carry all battery information data, obtain the state of battery respectively, voltage, electricity, connection information, then these information updatings are inquired about to corresponding TextView for tester, because this broadcast transmission frequency is larger, android system specifies that this broadcast can not adopt static registration to ensure system performance.
As a further improvement on the present invention, sensor test: the getSensorList (Sensor.TYPE_ALL) by calling SensorManager in onCreate function returns a List<Sensor>, then travel through this List obtain the Sensor situation of machine support and mark corresponding zone bit, then in onResume function, corresponding sensor is registered according to corresponding zone bit, what need to import into a SensorEventListener when registration realizes class object, such onSensorChanged (SensorEvent event) function will be adjusted back when sensing data changes, the value that values array entrained by the SensorEvent that biography is come obtains sensor is set to corresponding TextView simultaneously.
As a further improvement on the present invention, camera preview test: first pass through Camera.getNumberOfCameras () at onCreate function; Obtain the current camera quantity of machine, if quantity is 0, the Button of correspondence shows without camera, and the ImageView of background is shown in red, if camera quantity is 1, hide Button, quantity is 2 two and is then set to by the word of Button switch, and arranges this Button and can click; And in the event handling of this Button, arrange camera preview switch, wherein camera preview is realized by SurfaceView, then add callback interface to the SurfaceHolder of SurfaceView binding, in call back function surfaceCreated (SurfaceHolder holder), call Camera.open (currenCameraId); The startPreview () that then initialization camera calls Camera example realizes preview function; When user clicks switching push button, then first release Camera resource revises the value of currenCameraId more again by previous step initialization Camera.
As a further improvement on the present invention, backlight illumination regulates test automatically: can judge that current is carrying out backlight illumination test mode or non-test mode according to zone bit after user clicks luminance test button, if zone bit then can be updated to test mode by non-test mode, then start Timer often to cross 50ms and upgrade the value that an int type represents brightness, if this value is greater than 100, successively decrease 0.03 at every turn, if be less than 0, increase progressively 0.03 at every turn, and send message by handler, int value by arranging above in handleMessage (Message msg) function upgrades ProgressBar, simultaneously by upgrading the brightness value of the current Act ivity of screenBrightness variable update of WindowManager.LayoutParams object, if the test mode of being in, upgrade zone bit for non-test mode, stop Timer simultaneously.
As a further improvement on the present invention, recording test: user clicks recording test button, recordTime=4 (representative recording 4s) is set, recording test button is set to click state, then judge whether internal memory has enough storage spaces, if had, start recording, a timer is started while recording, per second recordTime is subtracted one, and send message by handler and upgrade recording countdown display, terminate recording when recordTime reduces to 0 and start playback flow process, finally record button is set to click state.
As a further improvement on the present invention, key testing: rewrite onKeyDown () function in main Activity, in this function for volume+, volume-, pressing of HOME key, return key, Menu key, search key carry out catching process, any one key is pressed and all the Button background colour of respective regions can be set to green;
Left and right acoustic channels is tested: by mediaPlayer.setVolume (int left, int right) function, arrange the volume of left and right parameter energy control action sound channel, can realize only playing L channel or only playing R channel.
As a further improvement on the present invention, this method of testing be also included in the onCreate function of main Activity call initView and initData by all controls of this Activity and data initialization complete.
The invention also discloses a kind of test macro of Android device, comprise main interface integration testing module and individual event test module, main interface integration testing module comprises DDR volume test, Flash test, the test of SD card, the test of OTG USB flash disk, battery testing, sensor test, camera preview test, backlight illumination regulate test automatically, recording and loudspeaker test, key testing, WiFi test, bluetooth test, described individual event test module comprises GPS test, FM test, video playback test, left and right acoustic channels test, testing touch screen, screen bad point are tested.
The invention has the beneficial effects as follows: in the present invention, Android device all hardware software function can complete test at an interface, saves tester's test machine time greatly; All peripheral hardware test functions can support hot plug simultaneously, real-time update data.
Accompanying drawing explanation
Fig. 1 is brightness regulation process flow diagram flow chart of the present invention.
Embodiment
The invention discloses a kind of method of testing of Android device, first call in the onCreate function of main Activity initView and initData by all controls of this Activity and data initialization complete.This method of testing comprises main interface integration testing and individual event test, main interface integration testing comprises DDR volume test, Flash test, the test of SD card, the test of OTG USB flash disk, battery testing, sensor test, camera preview test, backlight illumination regulate test automatically, recording and loudspeaker test, key testing, WiFi test, bluetooth test, described individual event test comprises GPS test, FM test, video playback test, left and right acoustic channels test, testing touch screen, screen bad point are tested.
Sensor comprises gravity sensing sensor and other sensors.
Flash test, the test of SD card, the test of OTG USB flash disk: for the test of storage area, MTK oneself is packaged, and API supplies Application layer call, the array of a StorageVolume type is returned by the getVolumeList calling StorageManager, StorageVolume object contains the information of partition holding, and it is internal storage space or SD card or OTG USB flash disk that the getDescription () method as by StorageVolume can obtain what have access to.The catalogue of current bay carry can be got by getPath (), then the path got is passed in the constructor of StatFs class and creates a StatFs, by the getBlockSize () of this object, getAvailableBlocks (), getBlockCount () can calculate total size and the available size of corresponding subregion, is then set to supply user on TextView respectively and checks storage information; Because when uncertain SD card and USB flash disk can be inserted into machine, so a broadcast listening Intent.ACTION_MEDIA_MOUNTED can be registered in onCreate function, this broadcast can be triggered when any memory device is inserted in machine and carry is good, then repeat above-mentioned action in this broadcast.In addition, if find that tester's fast insert-pull SD card or OTG USB flash disk likely can make access getVolumeList function throw exception through test, the strategy that we adopt is if this function repeats above-mentioned action after we can start a thread time delay 2S extremely.
Battery testing: dynamic registration broadcast listening Intent.ACTION_BATTERY_CHANGED in the onCreate function of main Activity, when battery information has any change, this broadcast all can be triggered, the Intent simultaneously passed in the onReceive function of broadcast can carry all battery information data, and we are by following code:
int status=intent.getIntExtra("status",-1);
int voltage=intent.getIntExtra("voltage",-1);
int level=intent.getIntExtra("level",-1);
int plugged=intent.getIntExtra("plugged",-1);
Obtain the state of battery, voltage, electricity, connection information respectively, then these information updatings are inquired about to corresponding TextView for tester, because this broadcast transmission frequency is larger, android system specifies that this broadcast can not adopt static registration to ensure system performance.
Sensor test: the getSensorList (Sensor.TYPE_ALL) by calling SensorManager in onCreate function returns a List<Sensor>, then travel through this List obtain the Sensor situation of machine support and mark corresponding zone bit, then in onResume function, corresponding sensor is registered according to corresponding zone bit, what need to import into a SensorEventListener when registration realizes class object, such onSensorChanged (SensorEvent event) function will be adjusted back when sensing data changes, the value that values array entrained by the SensorEvent that biography is come obtains sensor is set to corresponding TextView simultaneously, owing to having Register Sensor audiomonitor in Activity life cycle function onResume, so finally need cancel register in onPause.
Camera preview is tested: first pass through Camera.getNumberOfCameras () at onCreate function; Obtain the current camera quantity of machine, if quantity is 0, the Button of correspondence shows without camera, and the ImageView of background is shown in red, if camera quantity is 1, hide Button, quantity is 2 two and is then set to by the word of Button switch, and arranges this Button and can click.And in the event handling of this Button, arrange camera preview switch.Wherein camera preview is realized by SurfaceView, then add callback interface to the SurfaceHolder of SurfaceView binding, in call back function surfaceCreated (SurfaceHolder holder), call Camera.open (currenCameraId); The startPreview () that then initialization camera calls Camera example realizes preview function.When user clicks switching push button, then our first releaseCamera resource revises the value of currenCameraId more again by previous step initialization Camera.
Backlight illumination regulates test automatically: can judge that current is carrying out backlight illumination test mode or non-test mode according to zone bit after user clicks luminance test button, if zone bit then can be updated to test mode by non-test mode, then start Timer often to cross 50ms and upgrade the value that an int type represents brightness, if this value is greater than 100, successively decrease 0.03 at every turn, if be less than 0, increase progressively 0.03 at every turn, and send message by handler, int value by arranging above in handleMessage (Message msg) function upgrades ProgressBar, simultaneously by upgrading the brightness value of the current Activity of screenBrightness variable update of WindowManager.LayoutParams object, if the test mode of being in, upgrade zone bit for non-test mode, stop Timer simultaneously.
Brightness regulation code is as follows:
Window window=getWindow();
WindowManager.LayoutParams lp=window.getAttributes();
lp.screenBrightness=(float)(newBrightness/10.0f);
window.setAttributes(lp);
Brightness regulation process is as shown in process flow diagram 1.
Recording test: user clicks recording test button, recordTime=4 (representative recording 4s) is set, recording test button is set to click state, then judges whether internal memory has enough storage spaces, if had, start recording, recording part is implemented as follows:
Start a timer while recording, per second recordTime subtracted one, and send message by handler and upgrade recording countdown display, terminate recording when recordTime reduces to 0 and start playback flow process, concrete play realize as follows:
mediaPlayer=new MediaPlayer();
mediaPlayer.setDataSource(recordPath);
mediaPlayer.prepare();
mediaPlayer.start();
Finally record button is set to click state.
Key testing: rewrite onKeyDown () function in main Activity, in this function for volume+, volume-, pressing of HOME key, return key, Menu key, search key carry out catching process, any one key is pressed and all the Button background colour of respective regions can be set to green.
TP rules test: user starts TP line test will start a new Activity, and in the onResume function of this activity, arrange show_touches, pointer_location value is 1, is implemented as follows shown in code:
Settings.System.putInt(this.getContentResolver(),
"show_touches",1);
Settings.System.putInt(this.getContentResolver(),
"pointer_locat ion",1);
Then at onPause function, value is set to 0.
Left and right acoustic channels is tested: by mediaPlayer.setVolume (int left, int right) function, arrange the volume of left and right parameter energy control action sound channel, can realize only playing L channel or only playing R channel.
DDR tests: Android device ddr information is stored in/the first row of proc/meminfo file in, this file structure is as follows:
The first row of file read out by BufferedReader, then parse numerical portion by regular expression, finally changing into unit divided by 1024 is that the value of MB is set to corresponding TextView display.
The invention also discloses a kind of test macro of Android device, comprise main interface integration testing module and individual event test module, main interface integration testing module comprises DDR volume test, Flash test, the test of SD card, the test of OTG USB flash disk, battery testing, sensor test, camera preview test, backlight illumination regulate test automatically, recording and loudspeaker test, key testing, WiFi test, bluetooth test, described individual event test module comprises GPS test, FM test, video playback test, left and right acoustic channels test, testing touch screen, screen bad point are tested.
This sensor comprises gravity sensing sensor and other sensors.
In the present invention:
Android device all hardware software function can complete test at an interface, saves tester's test machine time greatly.All peripheral hardware test functions can support hot plug simultaneously, real-time update data.
This testing system software abnormal information can be saved in SD card, if program is collapsed, only needs log information to beam back to analyze.
This test provides multiple mechanism of resurveying, and ensures the accuracy of test event result; Provide complete cloning algorithm, MTK mainstream chip can support test.
Explanation of nouns:
Android:google company is based on the Mobile phone operating system of linux kernel development.
One of large assembly of Activity:Android tetra-, for each control provides a window.
Sensor: a kind of pick-up unit, measured information can be experienced, and the information that can will experience, the information being for conversion into electric signal or other desired forms according to certain rules exports, to meet the requirements such as the transmission of information, process, storage, display, record and control.It is the primary link realizing automatically detecting and automatically controlling.
DDR: Double Data Rate synchronous DRAM, its storage speed quickly, but can lose, similar computer memory by power failure data.
Flash: the storer of a kind of long-life non-volatile (still can keep stored data message under powering-off state), similar computer hard disc.
In the present invention, first start linux kernel after android device power, then kernel meeting initialization apparatus driver and data structure, and then startup first user level program init is completed process guiding by kernel.Init can start a very important process---and zygote, after this process initiation, the running space of android has just been set up, and from then on the basis of android establishes.Just System Service is started after Zygote starts.The service that all needs of Android system are used all is set up by it.After everything in readiness, android is just by startup first application program-Home, and the entrance of our system test system is loaded by its just and to realize.System test system is by monitoring start broadcast simultaneously, will start our system after system loads Home at once.
In use, machine is started shooting, and opens testing system software of the present invention, type, WIfi Mac address, bluetooth Mac address, DDR, Flash information, and each Sensor supports situation and data, Camera preview, and battery information just can detect at once.Native system software systems provide backlight test simultaneously, the soft hardware performances such as left and right acoustic channels is tested, and video playback is tested, and TP tests, the test of screen bright spot bad point test.And SD card and USB host detect and support hot plug, and tester first can open these software systems and insert memory device (as SD card or USB host) again, also can first insert memory device and open these software systems again.
The present invention has following technical advantage:
1, for SD card, OTG USB flash disk, the test such as WiFi have employed broadcast listening mechanism, can dynamic monitoring various functions, for first insert SD card open testing software again or first open testing software insert SD card again can proper testing.
2, the module abnormal for test with the addition of second test mechanism, such as software inserts SD card while reading memory module or USB flash disk likely causes reading to make mistakes, try catch block is with the addition of in these modules that may make mistakes, capture abnormal after can start a new thread, again detect once after then waiting for 2s.
3, be put in onResume function for sensing data registration acquisition, discharged in onPause function, software systems power saving can economize performance more.
4, if occur abnormal in program use procedure, under all abnormal informations being saved in the alongCache catalogue of internal storage space, tester only needs that the log file under this catalogue is sent to Alon and analyzes.
5, with the addition of to authorize and detect, this testing system software cannot be used for the scheme manufacturer do not obtained the authorization, to ensure the rights and interests of developer.
And substantially all test events of the present invention have all been put into main interface, all tests of machine can be completed with the shortest time when factory mass test, testing cost can have been saved greatly, save the expense of enterprise; There is oneself function of unloading at the main interface of software, can directly uninstall this software very easily after being completed at test interface, with traditional enter setting then find this software again unloading manner compare the work efficiency that can improve tester; Test is marked by item green, and test crash item red-label, which pass tester can find out at a glance, which fail, decreases artificial erroneous judgement problem.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, all should be considered as belonging to protection scope of the present invention.

Claims (10)

1. the method for testing of an Android device, it is characterized in that, comprise main interface integration testing and individual event test, main interface integration testing comprises DDR volume test, Flash test, the test of SD card, the test of OTG USB flash disk, battery testing, sensor test, camera preview test, backlight illumination regulate test automatically, recording and loudspeaker test, key testing, WiFi test, bluetooth test, described individual event test comprises GPS test, FM test, video playback test, left and right acoustic channels test, testing touch screen, screen bad point are tested.
2. method of testing according to claim 1, it is characterized in that, Flash tests, SD card is tested, OTG USB flash disk is tested: for the test of storage area, MTK is packaged, and API supplies Application layer call, the array of a StorageVolume type is returned by the getVolumeList calling StorageManager, StorageVolume object contains the information of partition holding, the catalogue of current bay carry can be got by getPath (), then the path got is passed in the constructor of StatFs class and creates a StatFs, by the getBlockSize () of this object, getAvailableBlocks (), getBlockCount () can calculate total size and the available size of corresponding subregion, then be set to supply user on TextView respectively and check storage information, a broadcast listening Intent.ACTION_MEDIA_MOUNTED can be registered in onCreate function, this broadcast can be triggered when any memory device is inserted in machine and carry is good, then repeat above-mentioned action in this broadcast.
3. method of testing according to claim 1, is characterized in that,
Battery testing: dynamic registration broadcast listening Intent.ACTION_BATTERY_CHANGED in the onCreate function of main Activity, when battery information has any change, this broadcast all can be triggered, the Intent simultaneously passed in the onReceive function of broadcast can carry all battery information data, obtain the state of battery respectively, voltage, electricity, connection information, then these information updatings are inquired about to corresponding TextView for tester, because this broadcast transmission frequency is larger, android system specifies that this broadcast can not adopt static registration to ensure system performance.
4. method of testing according to claim 1, is characterized in that,
Sensor test: the getSensorList (Sensor.TYPE_ALL) by calling SensorManager in onCreate function returns a List<Sensor>, then travel through this List obtain the Sensor situation of machine support and mark corresponding zone bit, then in onResume function, corresponding sensor is registered according to corresponding zone bit, what need to import into a SensorEventListener when registration realizes class object, such onSensorChanged (SensorEvent event) function will be adjusted back when sensing data changes, the value that values array entrained by the SensorEvent that biography is come obtains sensor is set to corresponding TextView simultaneously.
5. method of testing according to claim 1, is characterized in that,
Camera preview is tested: first pass through Camera.getNumberOfCameras () at onCreate function; Obtain the current camera quantity of machine, if quantity is 0, the Button of correspondence shows without camera, and the ImageView of background is shown in red, if camera quantity is 1, hide Button, quantity is 2 two and is then set to by the word of Button switch, and arranges this Button and can click; And in the event handling of this Button, arrange camera preview switch, wherein camera preview is realized by SurfaceView, then add callback interface to the SurfaceHolder of SurfaceView binding, in call back function surfaceCreated (SurfaceHolder holder), call Camera.open (currenCameraId); The startPreview () that then initialization camera calls Camera example realizes preview function; When user clicks switching push button, then first release Camera resource revises the value of currenCameraId more again by previous step initialization Camera.
6. method of testing according to claim 1, is characterized in that,
Backlight illumination regulates test automatically: can judge that current is carrying out backlight illumination test mode or non-test mode according to zone bit after user clicks luminance test button, if zone bit then can be updated to test mode by non-test mode, then start Timer often to cross 50ms and upgrade the value that an int type represents brightness, if this value is greater than 100, successively decrease 0.03 at every turn, if be less than 0, increase progressively 0.03 at every turn, and send message by handler, int value by arranging above in handleMessage (Message msg) function upgrades ProgressBar, simultaneously by upgrading the brightness value of the current Act ivity of screenBrightness variable update of WindowManager.LayoutParams object, if the test mode of being in, upgrade zone bit for non-test mode, stop Timer simultaneously.
7. method of testing according to claim 1, is characterized in that,
Recording test: user clicks recording test button, recordTime=4 (representative recording 4s) is set, recording test button is set to click state, then judge whether internal memory has enough storage spaces, if had, start recording, a timer is started while recording, per second recordTime is subtracted one, and send message by handler and upgrade recording countdown display, terminate recording when recordTime reduces to 0 and start playback flow process, finally record button being set to click state.
8. method of testing according to claim 1, is characterized in that,
Key testing: rewrite onKeyDown () function in main Act ivity, in this function for volume+, volume-, pressing of HOME key, return key, Menu key, search key carry out catching process, any one key is pressed and all the Button background colour of respective regions can be set to green;
Left and right acoustic channels is tested: by mediaPlayer.setVolume (int left, int right) function, arrange the volume of left and right parameter energy control action sound channel, can realize only playing L channel or only playing R channel.
9. the method for testing according to any one of claim 1 to 8, is characterized in that, this method of testing be also included in the onCreate function of main Activity call initView and initData by all controls of this Activity and data initialization complete.
10. the test macro of an Android device, it is characterized in that, comprise main interface integration testing module and individual event test module, main interface integration testing module comprises DDR volume test, Flash test, the test of SD card, the test of OTG USB flash disk, battery testing, sensor test, camera preview test, backlight illumination regulate test automatically, recording and loudspeaker test, key testing, WiFi test, bluetooth test, described individual event test module comprises GPS test, FM test, video playback test, left and right acoustic channels test, testing touch screen, screen bad point are tested.
CN201410743522.0A 2014-12-08 2014-12-08 Test method and test system of Android device Pending CN104503875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410743522.0A CN104503875A (en) 2014-12-08 2014-12-08 Test method and test system of Android device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410743522.0A CN104503875A (en) 2014-12-08 2014-12-08 Test method and test system of Android device

Publications (1)

Publication Number Publication Date
CN104503875A true CN104503875A (en) 2015-04-08

Family

ID=52945275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410743522.0A Pending CN104503875A (en) 2014-12-08 2014-12-08 Test method and test system of Android device

Country Status (1)

Country Link
CN (1) CN104503875A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809384A (en) * 2015-04-30 2015-07-29 惠州Tcl移动通信有限公司 Method and system for quickly starting camera based on eyeprint identification as well as mobile terminal
CN105373477A (en) * 2015-11-25 2016-03-02 普华基础软件股份有限公司 Volume test method
CN106093635A (en) * 2016-06-03 2016-11-09 深圳市樊溪电子有限公司 Mobile terminal ageing testing method, Apparatus and system
CN106201869A (en) * 2016-07-01 2016-12-07 惠州Tcl移动通信有限公司 A kind of high pass WiFi chip signal launch point surveys method and system
CN106887213A (en) * 2015-12-16 2017-06-23 研祥智能科技股份有限公司 The method of detection backlight regulation, test lead, tested end
CN108241560A (en) * 2016-12-26 2018-07-03 北京金山安全软件有限公司 Memory test method and device and electronic equipment
CN108572897A (en) * 2018-05-08 2018-09-25 北京旷视科技有限公司 Testimony of a witness all-in-one machine test method, device and testimony of a witness all-in-one machine
CN109327738A (en) * 2018-11-19 2019-02-12 四川长虹电器股份有限公司 A kind of Android television equipment function detecting method
CN109362017A (en) * 2018-10-18 2019-02-19 科大讯飞股份有限公司 The test method and test macro of intelligent terminal
CN109508276A (en) * 2018-11-09 2019-03-22 四川长虹电器股份有限公司 The method for improving equipment factory detection efficiency in Android platform
CN110262932A (en) * 2019-05-31 2019-09-20 深圳市杰科数码有限公司 Android plate test method, system and computer readable storage medium
CN111309587A (en) * 2019-01-30 2020-06-19 数源科技股份有限公司 Android-based automatic factory testing method
CN112100012A (en) * 2020-09-08 2020-12-18 深圳市创维群欣安防科技股份有限公司 Android device testing method, android device and storage medium
CN112363954A (en) * 2020-12-08 2021-02-12 南京大学 Software dynamic update test method based on object state consistency
CN117347755A (en) * 2023-09-27 2024-01-05 广州致远仪器有限公司 Test method, system, equipment and storage medium based on state machine

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103364659A (en) * 2013-06-28 2013-10-23 珠海全志科技股份有限公司 Android system-based electronic equipment test system and method
CN103744824A (en) * 2013-12-18 2014-04-23 乐视致新电子科技(天津)有限公司 Outgoing testing method and testing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103364659A (en) * 2013-06-28 2013-10-23 珠海全志科技股份有限公司 Android system-based electronic equipment test system and method
CN103744824A (en) * 2013-12-18 2014-04-23 乐视致新电子科技(天津)有限公司 Outgoing testing method and testing system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄琦: "Android智能手机应用软件自动化测试工具的设计和开发", 《中国优秀硕士学位论文全文数据库信息科技辑2012年》 *

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809384B (en) * 2015-04-30 2018-04-06 惠州Tcl移动通信有限公司 Method, system and the mobile terminal that camera based on eyeprint identification quickly starts
CN104809384A (en) * 2015-04-30 2015-07-29 惠州Tcl移动通信有限公司 Method and system for quickly starting camera based on eyeprint identification as well as mobile terminal
CN105373477A (en) * 2015-11-25 2016-03-02 普华基础软件股份有限公司 Volume test method
CN105373477B (en) * 2015-11-25 2022-01-11 普华基础软件股份有限公司 Capacity testing method
CN106887213A (en) * 2015-12-16 2017-06-23 研祥智能科技股份有限公司 The method of detection backlight regulation, test lead, tested end
CN106093635A (en) * 2016-06-03 2016-11-09 深圳市樊溪电子有限公司 Mobile terminal ageing testing method, Apparatus and system
WO2017206319A1 (en) * 2016-06-03 2017-12-07 深圳市樊溪电子有限公司 Mobile terminal aging test method, device and system
CN106201869A (en) * 2016-07-01 2016-12-07 惠州Tcl移动通信有限公司 A kind of high pass WiFi chip signal launch point surveys method and system
CN106201869B (en) * 2016-07-01 2019-10-29 Tcl移动通信科技(宁波)有限公司 A kind of high pass WiFi chip signal launch point survey method and system
CN108241560B (en) * 2016-12-26 2021-07-23 北京金山安全软件有限公司 Memory test method and device and electronic equipment
CN108241560A (en) * 2016-12-26 2018-07-03 北京金山安全软件有限公司 Memory test method and device and electronic equipment
CN108572897A (en) * 2018-05-08 2018-09-25 北京旷视科技有限公司 Testimony of a witness all-in-one machine test method, device and testimony of a witness all-in-one machine
CN109362017B (en) * 2018-10-18 2021-08-17 科大讯飞股份有限公司 Test method and test system of intelligent terminal
CN109362017A (en) * 2018-10-18 2019-02-19 科大讯飞股份有限公司 The test method and test macro of intelligent terminal
CN109508276A (en) * 2018-11-09 2019-03-22 四川长虹电器股份有限公司 The method for improving equipment factory detection efficiency in Android platform
CN109508276B (en) * 2018-11-09 2023-03-14 四川长虹电器股份有限公司 Method for improving equipment factory detection efficiency on Android platform
CN109327738A (en) * 2018-11-19 2019-02-12 四川长虹电器股份有限公司 A kind of Android television equipment function detecting method
CN111309587B (en) * 2019-01-30 2023-06-27 数源科技股份有限公司 Android-based automatic factory testing method
CN111309587A (en) * 2019-01-30 2020-06-19 数源科技股份有限公司 Android-based automatic factory testing method
CN110262932A (en) * 2019-05-31 2019-09-20 深圳市杰科数码有限公司 Android plate test method, system and computer readable storage medium
CN112100012A (en) * 2020-09-08 2020-12-18 深圳市创维群欣安防科技股份有限公司 Android device testing method, android device and storage medium
CN112100012B (en) * 2020-09-08 2023-10-31 深圳创维数字技术有限公司 Android device testing method, android device and storage medium
CN112363954B (en) * 2020-12-08 2021-07-30 南京大学 Software dynamic update test method based on object state consistency
CN112363954A (en) * 2020-12-08 2021-02-12 南京大学 Software dynamic update test method based on object state consistency
CN117347755A (en) * 2023-09-27 2024-01-05 广州致远仪器有限公司 Test method, system, equipment and storage medium based on state machine
CN117347755B (en) * 2023-09-27 2024-04-26 广州致远仪器有限公司 Test method, system, equipment and storage medium based on state machine

Similar Documents

Publication Publication Date Title
CN104503875A (en) Test method and test system of Android device
CN103793323B (en) The automatic testing equipment and its automatic test approach of embedded software
CN105868105A (en) Application traversal testing method and device, and mobile terminal
CN103793256B (en) Manage the method and electronic equipment of storage card
KR20140053542A (en) Automatic testing apparatus for embedded software, automatic testing method thereof and test scenario composing method
CN105630686A (en) Traversal testing method and device for applications and mobile terminal
CN104063305A (en) Pressure testing method, device and system for intelligent terminal software
CN105676993A (en) Method and device for saving electric quantity and electronic equipment
CN105025141B (en) Terminal electricity consumption weight testing method and its device
CN105988843A (en) Firmware upgrade method and firmware upgrade device for mobile terminal
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
CN103364659A (en) Android system-based electronic equipment test system and method
CN106528158B (en) The method, device and mobile terminal of carry storage card
CN103744824A (en) Outgoing testing method and testing system
KR101298364B1 (en) System and method of reducing factory program time for wireless devices
CN107291626A (en) Date storage method and device
CN101441589A (en) Detection method of substrate management controller and server thereof
CN105159721A (en) Method of multi-mode startup intelligent equipment and system of multi-mode startup intelligent equipment
WO2022222293A1 (en) Storage device test method and apparatus, television, and storage medium
CN103763575A (en) Program scheduling method and device
WO2020206688A1 (en) Video playback method and apparatus, storage medium and electronic device
CN113866596B (en) Power consumption testing method, power consumption testing device and storage medium
CN109634782A (en) A kind of detection method of system robustness, device, storage medium and terminal
US6282595B1 (en) Method for testing interface card
CN106897045B (en) Audio frequency playing method, device and computer equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150408

RJ01 Rejection of invention patent application after publication