zoukankan      html  css  js  c++  java
  • Android CTS one function

    android.media.cts.MediaPlayerTest          
    -- testPlayMp3StreamNoLength fail junit.framework.AssertionFailedError at android.media.cts.MediaPlayerTest.streamTest(MediaPlayerTest.java:482)
    -- testPlayOggStream                   fail java.io.IOException: setDataSource failed.: status=0x80000000 at android.media.MediaPlayer.setDataSource(Native Method)
    -- testPlayOggStreamRedirect   fail java.io.IOException: setDataSource failed.: status=0x80000000 at android.media.MediaPlayer.setDataSource(Native Method)
    -- testPlayOggStreamNoLength fail java.io.IOException: Prepare failed.: status=0x1 at android.media.MediaPlayer.prepare(Native Method)
     
    adb -s 0123456789ABCDEF install -r CtsMediaTestCases.apk
    adb -s 0123456789ABCDEF install -r CtsTestStubs.apk
    adb shell am instrument -w -r -e class android.media.cts.MediaPlayerTest#testPlayMp3StreamNoLength com.android.cts.media/android.test.InstrumentationCtsTestRunner
     
    adb -s 0123456789ABCDEF install -r CtsAppTestCases.apk
    adb -s 0123456789ABCDEF install -r CtsTestStubs.apk
    adb shell am instrument -w -r -e class android.app.cts.SystemFeaturesTest#testCameraFeatures com.android.cts.app/android.test.InstrumentationCtsTestRunner
     
    adb devices list
    adb -s 0123456789ABCDEF install -r CtsHardwareTestCases.apk
    adb -s 0123456789ABCDEF install -r CtsTestStubs.apk
    adb shell am instrument -w -r -e package android com.android.cts.hardware/android.test.InstrumentationTestRunner > cts_log.txt

    ./adb install -r CtsHardwareTestCases.apk
    ./adb install -r CtsTestStubs.apk
    ./adb shell am instrument -w -r -e class android.hardware.cts.CameraTest#testLockUnlock com.android.cts.hardware/android.test.InstrumentationTestRunner 

    ================

    run cts -c android.hardware.cts.CameraTest

    run cts -c android.media.cts.CamcorderProfileTest -m testGetWithId

  • 相关阅读:
    视图
    触发器
    DNS
    DHCP
    SSH 详解
    apt-get
    java split
    数组指针 指针数组
    函数指针
    网络协议
  • 原文地址:https://www.cnblogs.com/eustoma/p/2415814.html
Copyright © 2011-2022 走看看