Commit Graph

16 Commits

Author SHA1 Message Date
Dan Shi
b73a7a2f4c Add ApiDemos to device-tests as it's needed by JankMicroBenchmarkTests
Bug: 35882476
Test: local test
make -j32 JankMicroBenchmarkTests ApiDemos  && \
tradefed.sh run template/local --template:map test=JankMicroBenchmarkTests \
      --test-tag testname --log-level-display VERBOSE

Change-Id: I6d6eceaaefa1d78656630e950022e3b1636b6f05
2017-03-31 23:07:09 -07:00
Bo Hu
44de50be48 Merge "Revert "Emulator: enable predexopt for some sample apps"" into nyc-dev am: 4b0fd87660
am: 861f784752

* commit '861f784752c631e123b7dc6c0ec18bf1f8dab003':
  Revert "Emulator: enable predexopt for some sample apps"

Change-Id: I6fb0ba84480c19d0b982649829aa478c7fad3217
2016-05-02 17:39:35 +00:00
Bo Hu
14e8cd50f2 Revert "Emulator: enable predexopt for some sample apps"
because it breaks jank tests.
revert first


This reverts commit 59581fb6d4.

Change-Id: Ic4b07b28edd387826fc58df86b02bbab460c9074
2016-05-02 17:16:53 +00:00
Bo Hu
b33917dc92 Merge "Emulator: enable predexopt for some sample apps" into nyc-dev am: 4840343
am: 01297a1

* commit '01297a10f4b715230f02fc4a362bb4b741a1bdd4':
  Emulator: enable predexopt for some sample apps

Change-Id: I4d4cdab552915a232fd637db81340289ff2875d1
2016-04-28 00:33:44 +00:00
bohu
59581fb6d4 Emulator: enable predexopt for some sample apps
Some sample apps on emulator are placed on /data
partition and are not pre-dexopted.
Enable them to make the emulator system image a
little faster, especially for arm.
bug: 28312444

This should only impact SDK system images, not
real devices.

Change-Id: Icdb34512a3a6d95b4d6ffd2415835c6ba8c77fcc
2016-04-26 12:46:13 -07:00
Christopher Ferris
0e2da18081 Fix up the makefiles and some samples.
Add LOCAL_DEX_PREOPT := false to force the samples to build actual apks.

In addition, fix a couple of other small issues:

- TtsEngine didn't have the api level set properly.
- SimpleJNI used a non-ndk library and was using libc++.

Change-Id: I1fd7c187956eed4620049bb746f4d62babcd648a
2016-04-19 14:32:13 -07:00
Ye Wen
3ce7bebf21 Remove dependency on deprecated mms-common module
Change-Id: I81b34529f4394db9e5b2bfc2091be9750569f92d
2014-07-07 17:38:09 -07:00
Svetoslav Ganov
42c6250c9d Add print samples to the ApiDemos app.
1. Added a sample for printing a bitmap.

2. Added a sample for printing an on-screen WebView.

3. Added s sample for printing an off-screen WebView.

4. Fixed a bug in the custom layout print sample.

Change-Id: I35b2bbf8c7fd9bc39be795b1f793d9ea7bdfc8a0
2013-10-30 12:12:55 -07:00
Wink Saville
e8617bccd0 Use telephony-common and mms-common.
Change-Id: If2e6b49eb9ceafc43de107ce761163c654f3ee35
2012-07-11 14:57:38 -07:00
Dianne Hackborn
10c33528e0 Extract support lib samples out of ApiDemos and in to their own app.
Change-Id: I2ca344e5f1b44c4825de938c9a4f9375a523ede5
2011-05-27 18:40:15 -07:00
Dianne Hackborn
9fd3b6e993 New sample code for fragment support library.
Also tweak a few things to make the demos run on Donut.

Change-Id: I298fdf8fb0f12ee6db10e66657a22e19a527811a
2011-02-24 15:18:25 -08:00
Brett Chabot
fe905a8cb0 Add ApiDemos to the test build, and cts-permission2 tests to test_defs.xml.
This should enable the ApiDemos sample tests to run continuously again.
2009-06-19 18:34:39 -07:00
The Android Open Source Project
692ab02175 auto import from //branches/cupcake/...@137197 2009-03-09 11:52:11 -07:00
The Android Open Source Project
52d4c30ca5 auto import from //depot/cupcake/@135843 2009-03-03 19:29:09 -08:00
The Android Open Source Project
d4aee0c0ca auto import from //depot/cupcake/@135843 2009-03-03 18:28:16 -08:00
The Android Open Source Project
5c11852110 Initial Contribution 2008-10-21 07:00:00 -07:00