1. 25 Oct, 2013 1 commit
  2. 03 Oct, 2013 1 commit
    • Jeff Sharkey's avatar
      Test new READ/WRITE_EXTERNAL_STORAGE behavior. · 85fb765e
      Jeff Sharkey authored
      In KLP, the platform now makes package-specific directories on
      external storage available to apps without requiring they hold any
      storage permissions.  This change uses three different packages to
      verify behavior of apps with no permissions, with READ_EXTERNAL,
      and with WRITE_EXTERNAL.  All three packages run a set of common
      tests to verify that package-specific directories are always
      writable.
      
      Also verifies behavior of new APIs that provide access to secondary
      external storage devices.  Specifically, apps only get write access
      to their package-specific directories.  Apps holding WRITE_EXTERNAL
      can only write outside their package-specific directories on primary
      external storage.
      
      Bug: 10577541
      Change-Id: I467221c358fdc69f88d0df81d7ee50ad3c5ab5d5
      85fb765e
  3. 23 Sep, 2013 1 commit
  4. 21 Aug, 2013 1 commit
    • keunyoung's avatar
      add test to check usb serial == Build.SERIAL · b04de8ff
      keunyoung authored
      - follows cdd update for KLP
      - checks matches of serial, property ro.serialno, Build.SERIAL, and USB serial
      - also updated os.Build test regarding minimum length change
      - lsusb should be installed in host to make this test pass: apt-get install usbutils
      
      bug: 10298217
      Change-Id: Ibe83dcec34924da7d7d08e3e34cbfa11550b3219
      b04de8ff
  5. 08 Aug, 2013 1 commit
  6. 01 Jul, 2013 1 commit
    • Stuart Scott's avatar
      Moving Jank test to UI Automator. · 5e74e0ac
      Stuart Scott authored
      This allows us to reuse JankTestBase and will make it easier to create
      future jank tests which require UI interactions.
      
      Change-Id: I23250dcef6ce8faf183d275afd044a2e034dfefb
      5e74e0ac
  7. 25 Jun, 2013 1 commit
    • Stuart Scott's avatar
      Calculating jank from the timestamps. · 5ad50094
      Stuart Scott authored
      The reference benchmark was too heavy so instead the primitive benchmark
      is being run with the smallest workload. A thread then queries the
      timestamps from the device and calculates the jank.
      
      Also switched the host side test away from UI automator as it was no
      longer needed.
      
      Change-Id: Ibe6e34b5815f67bd51ef303bba8ac265cd04af10
      5ad50094
  8. 14 Jun, 2013 1 commit
  9. 21 May, 2013 1 commit
  10. 10 May, 2013 1 commit
    • Kenny Root's avatar
      AndroidKeyStore and AndroidKeyPairGenerator tests · f32bcbce
      Kenny Root authored
      Adds tests for AndroidKeyStore and AndroidKeyPairGenerator in the
      android.security package. Note that this test package is
      android.keystore since the android.security package is taken by some
      unrelated tests that tests platform security settings.
      
      Bug: 8608597
      Change-Id: I2d203bf6f685444dab06c84b173ade220ac7fc46
      f32bcbce
  11. 24 Apr, 2013 1 commit
    • Svetoslav's avatar
      Move accessibility CTS tests to UiAutomation and fixing all broken ones. · b647a5af
      Svetoslav authored
      Accessibility tests were using a delegating accessibility service that
      is reinstalled and enabled by the shell test driver since running
      instrumentation restarts the tested package which breaks the binding
      between the system and an accessibility service. Now that we have public
      UI testing APIs, this ugliness is not needed. This change moves the
      relevant accessibility tests to use the UiAutomationa APIs.
      
      bug:8695422
      bug:8657560
      
      Change-Id: I7130d91aeea32f86548f46ce24bd04a198700d36
      b647a5af
  12. 03 Apr, 2013 1 commit
    • keunyoung's avatar
      merge adb unit / stress tests · c767cbae
      keunyoung authored
      - cases involving reboot and fastboot all removed.
      - cases involving device APK removed. can be added later.
      - failing cases for user image also removed.
      - package name aadb is intentional to run it first.
      
      bug: 8400629
      
      Change-Id: I488573b69bbd1a3a07b18bb4be3c0bd4403ccc3c
      c767cbae
  13. 11 Jan, 2013 1 commit
    • Keun young Park's avatar
      merge PTS into CTS package · d93d0d1c
      Keun young Park authored
      - pts still have its own package list : PtsBenchmarkingList
      - except that all others are relying on CTS
      - CTS plan now includes PTS
      - SDK plan corresponds to the old CTS (no PTS)
      - No more distinction of PTS / CTS mode in several places
      
      Change-Id: Ifb2245880a92e0d37a57591f41cdb840010e36a4
      d93d0d1c
  14. 04 Dec, 2012 1 commit
  15. 03 Dec, 2012 1 commit
    • Brett Chabot's avatar
      Add UiAutomator test skeleton to CTS. (manual merge from jb-dev) · 87f4451c
      Brett Chabot authored
      This change adds a new uiautomator test type to CTS. Includes makefile changes
      to generate the package XML, as well as a skeleton test app and test.
      
      Bug 7510316
      
      Change-Id: I32472f737537ff7f5ebe08cd85121793b29a9680
      
      Conflicts:
      
      	tools/cts-java-scanner/src/com/android/cts/javascanner/DocletRunner.java
      	tools/tradefed-host/src/com/android/cts/tradefed/testtype/TestPackageDef.java
      87f4451c
  16. 26 Nov, 2012 1 commit
    • Brett Chabot's avatar
      Add UiAutomator test skeleton to CTS. · 27f0ee2f
      Brett Chabot authored
      This change adds a new uiautomator test type to CTS. Includes makefile changes
      to generate the package XML, as well as a skeleton test app and test.
      
      Bug 7510316
      
      Change-Id: I32472f737537ff7f5ebe08cd85121793b29a9680
      27f0ee2f
  17. 26 Oct, 2012 1 commit
    • Craig Mautner's avatar
      CTS tests for android.view.Display · a8e522fe
      Craig Mautner authored
      Create an overlay display on the device whose parameters
      we control. Test the Display API against this overlay display.
      
      Also remove Display test from tests/tests/view.
      
      Bug 7067202 fixed.
      
      Change-Id: I724e80b8a70aca46d8a7ab1c6dea050b3fe6a02b
      a8e522fe
  18. 23 Oct, 2012 1 commit
  19. 15 Oct, 2012 1 commit
    • Jeff Sharkey's avatar
      CTS tests to verify multi-user emulated storage. · 429cd4e7
      Jeff Sharkey authored
      Verifies that each user has its own isolated emulated storage, minus
      shared storage for OBB files.  Also tests to verify that legacy
      filesystem paths like "/sdcard" continue working.
      
      Adds early support for multi-user CTS tests, should eventually be
      moved into ITestDevice and RemoteAndroidTestRunner.
      
      Bug: 7048947
      Change-Id: I0573b9236b267ab798676926910ec4e1890fe7cb
      429cd4e7
  20. 03 Oct, 2012 1 commit
    • Keun young Park's avatar
      nuke webkit security tests · 25665383
      Keun young Park authored
      - Tests are broken and needs whole re-write
      
      Bug: 6950518
      Bug: 6950487
      Change-Id: I6e3ae169e10f9e83095e685fc6daeb84c2dd64b0
      25665383
  21. 23 Aug, 2012 1 commit
    • Thomas Tafertshofer's avatar
      New CTS test type for GLES tests · b5385a6e
      Thomas Tafertshofer authored
      Adds a new test type ("wrapped native") to CTS:
      GTests that are wrapped a Java layer, making it possible
      to access Java values/objects from the native tests.
      
      Change-Id: Ied851615af66d082edc6b7e0e05cd2b29ab42220
      b5385a6e
  22. 08 Aug, 2012 1 commit
    • Nick Kralevich's avatar
      Add unittests for "ambiguous" content providers · 380058bb
      Nick Kralevich authored
      Add CTS tests describing the behavior of "ambiguous" content providers.
      These are content providers where the provider doesn't specify an
      android:exported line.
      
      For API versions 16 and below, the default value of android:exported
      is "true". Add "PermissionDeclareAppCompat", with target API level
      16, and verify that it's content providers are visible.
      
      Update the current tests, and verify that content providers which
      don't have an "android:exported" line are not exported.
      
      Bug: 3306452
      
      Change-Id: Id7e8b0721bbc53d8e610a053c3f545fabd4ae596
      380058bb
  23. 13 Jun, 2012 1 commit
    • Brian Muramatsu's avatar
      Enable AccessibilityService tests · 523f646f
      Brian Muramatsu authored
      The accessibility tests are working after the redundant accessibility
      steps were removed from CtsRootDeviceSetup. So now try reenabling
      these accessibility service tests.
      
      Bug 6537582
      
      Change-Id: Ie7cb75561f50bfd3914a99ba9450d59efdb10f4e
      523f646f
  24. 08 Jun, 2012 1 commit
  25. 19 May, 2012 1 commit
  26. 08 May, 2012 1 commit
    • Jeff Sharkey's avatar
      Tests for READ_EXTERNAL permission. · b5a88dd3
      Jeff Sharkey authored
      Verify that app with no permissions is allowed (and blocked) from
      reading external storage.  Verify that app with only WRITE_EXTERNAL
      is always able to read/write.
      
      Bug: 6315473
      Change-Id: I53483110c2d296c53350b48d38967b0bf3f38148
      b5a88dd3
  27. 02 Apr, 2012 1 commit
  28. 21 Mar, 2012 1 commit
  29. 13 Mar, 2012 1 commit
    • Svetoslav Ganov's avatar
      Automated accessibility CTS tests and added more tests. · b803f80f
      Svetoslav Ganov authored
      1. Added test runners for the two accessibility sets of tests
         to the cts-tradefed test types. While these runners are
         specific to the accessibility tests, the CTS maintainers
         are fine adding specific tests to the CTS tradefed library
         since there is already such a precedent and it is not common
         for someone to need adding custom runners.
      
      2. Modified the build rule for a CTS package to take as an
         argument a runner class name. This enabled the package to
         specify which runner to invoke the tests in it.
      
      3. Added tests for the accessibility API to maximize CTS test
         coverage. Currently not tested are interfaces and callbacks
         invoked by the system.
      
      5. The accessibility tests can be used as an example for writing
         tests that require modification of the secure settings or
         generally require execution of shell commands from the host
         before and after running the tests.
      
      bug:5946699
      
      Change-Id: I3b68bff4fed846b374a88a2abe812801bd6f2c8f
      b803f80f
  30. 03 Mar, 2012 1 commit
    • Daniel Sievers's avatar
      Add TextureView stress test. · 395497bf
      Daniel Sievers authored
      This uses a TextureView with a GL producer on another thread
      that continuously produces frames, incl. heavy overrendering.
      
      BUG=6055356,6034123
      
      Change-Id: I49e629aaa7c94517a6637b290796812794383092
      395497bf
  31. 29 Feb, 2012 1 commit
    • Svetoslav Ganov's avatar
      Remove manual steps from the accessibility CTS tests. · 2d5d0435
      Svetoslav Ganov authored
      1. Added a host side test that serves as a runer for the CTS
         test which are instrumentation tests. The runner is responsible
         for installing all needed packages, enabling accessibility
         and the delegating accessibility service via shell commands,
         running the instrumentation tests on the device, and cleaning up.
         This test is pretty much a driver for running the remote tests.
         To fit the current state of the CTS test framework the driver
         has to declare as empty test method all remotely run tests so
         description of these tests to be added in the CTS test description
         XML because CTS allows only reporting results of declared tests.
      
      2. Updated the JarHost test to use the same class loader for each
         method of a test it ruts to enable sharing static state between
         test methods - this is useful to avoid doing expensive operations
         before every test.
      
      bug:5946699
      
      Change-Id: I41f4016c386c16c2ce517641f5b18045f67f46f1
      2d5d0435
  32. 23 Feb, 2012 1 commit
  33. 08 Feb, 2012 1 commit
  34. 06 Feb, 2012 1 commit
    • Brian Muramatsu's avatar
      Monkeying Around · a78e3ec9
      Brian Muramatsu authored
      Bug 5898005
      
      Spot check the package, category, seed, and verbosity flags.
      These tests are not very strict but make sure things appear to
      be working as expected.
      
      Change-Id: Ia5dd9662e8164d6151c37f6eeebd32d5f9dd97ec
      a78e3ec9
  35. 03 Feb, 2012 1 commit
    • Brian Muramatsu's avatar
      Tests for ActivityManager#isUserAMonkey · 1b15fd36
      Brian Muramatsu authored
      Bug 5882598
      
      - Add a host side test that installs an activity that logs whether or
        not the user is a monkey. The host executes "adb shell monkey" and
        the test then parses the lines looking for the log line printed out
        by the activity.
      
      - Creates a new top level CTS directory called "hostsidetests" to put
        all host side tests under rather than putting it under "tests"
        since that directory is more for the com.android.cts.stub package
        and I would like to avoid cluttering that directory as we add more
        host side tests.
      
      Change-Id: I9d7b571b0244867e84bdff14418a544c713578e1
      1b15fd36
  36. 02 Feb, 2012 1 commit
  37. 01 Feb, 2012 1 commit
    • Brian Muramatsu's avatar
      DO NOT MERGE Sync Coverage APKs with Master · 490f8ab6
      Brian Muramatsu authored
      Master records calls made from the security and
      support APKs like the accessibility one. This makes it so
      master and ics-mr1 are reporting the same thing...
      
      Change-Id: I106acb4c27f63300e5b37bc759793dc84f751156
      490f8ab6
  38. 21 Jan, 2012 1 commit
    • Brian Muramatsu's avatar
      Use Renamed replicaisland Package · 98b70769
      Brian Muramatsu authored
      Bug 5898230
      
      Use the full package name so that Tradefed can uninstall it after
      running the test. It assumes that the apk file name is the same
      as the application package name.
      
      Change-Id: Ib0a4cd3fa3e7c2e45e069e43fc85ef9fe76dfc41
      98b70769
  39. 19 Jan, 2012 2 commits
    • Keun young Park's avatar
      integrate media stress test : MediaPlay and MediaRecord only · 4d6809f3
      Keun young Park authored
      - media files are copied manually before test
      - one test class per each resolution and format
      - support of format is checked for each test case, and not-supported format
        will be just passed.
      
      Change-Id: I7828a27fdd7e9396cfbdf0c8cfe9c8e950d95316
      4d6809f3
    • Keun young Park's avatar
      Add GlAppSwitchTest · 0c51ce0b
      Keun young Park authored
       - switches between two Gl-using apps and forces recreating GlContext
       - replica island is used for one GL app.
       - if something goes wrong and rendering is blocked, watchdog timer
          in each app will fire
       - fixed a bug in GlPlanetsActivity as the original code freed vertex /
          index buffer and did not create after pause resume
         : Buffers are just kept to reduce resume time for this test
      
      Change-Id: Ie9f81f97f2746740c9bc37fe000a998bc4e90701
      0c51ce0b