Commit Graph

925 Commits

Author SHA1 Message Date
Xavier Ducrohet
03fd223a4d Remove the PlatformLibrary
This sample is not an application sample, but a framework sample.
It is moved to vendor/sample. A new "sample" vendor that will show how to create Android-based device
2009-05-12 17:55:35 -07:00
David Warren
b755508480 AI 148763: Adding STK to PDK.
Automated import of CL 148763
2009-05-12 15:44:40 -07:00
Android (Google) Code Review
e667fca809 Merge change 1392 into donut
* changes:
  Fixed bugs in the media player api demo application - release the MediaPlayer object when onPause - use onVideoSizeChanged listener to make sure that correct video size is known before starting playback
2009-05-11 18:35:42 -07:00
Android (Google) Code Review
bba5ffb847 Merge change 1347 into donut
* changes:
  Add a new program for checking the correctness of the computed stack from a trace.
2009-05-11 18:00:42 -07:00
Android (Google) Code Review
e14d320465 Merge change 1346 into donut
* changes:
  Better output for viewing the method trace.
2009-05-11 18:00:23 -07:00
Jack Veenstra
f55a4d1e9d Add a new program for checking the correctness of the computed stack from a trace.
The check_stack program checks that the generated stack that includes both
native functions and Java methods (generated from the emulator instruction
trace plus the method trace) is consistent with the stack of Java methods
that is computed from the method trace alone. (The method trace is
generated by the Dalvik interpreter).
2009-05-11 17:44:32 -07:00
Android (Google) Code Review
6b56383a3a Merge changes 1344,1345 into donut
* changes:
  Fix the tracing code that keeps track of the Java method stack.
  Add a "-d time" option to stack_dump to dump the stack at the given time.
2009-05-11 17:28:21 -07:00
Jack Veenstra
447a4e4fd6 Better output for viewing the method trace.
This now keeps track of the names of the methods on the stack instead
of just the addresses.  This makes it easier to debug when something goes
wrong.
2009-05-11 17:18:08 -07:00
Jack Veenstra
1298570eb8 Fix the tracing code that keeps track of the Java method stack.
This fixes a bug that was causing a "stack overflow" because it sometimes
wasn't popping off a Java method when it should have.  I also changed the
showStack() method so that instead of always printing to stderr, you can
pass in a FILE* object to print to.
2009-05-11 16:46:48 -07:00
Android (Google) Code Review
2822ae3711 Merge change 1343 into donut
* changes:
  Fix compiler warnings by changing "char*" to "const char*".
2009-05-11 15:13:07 -07:00
Xavier Ducrohet
60b2fc90b7 Update the NDK packaging script to generate zip archives for all platforms. 2009-05-11 13:58:02 -07:00
James Dong
bf4d838a88 Fixed bugs in the media player api demo application
- release the MediaPlayer object when onPause
- use onVideoSizeChanged listener to make sure that correct video size is known before starting playback
2009-05-11 13:51:43 -07:00
Android (Google) Code Review
ebcb72611b Merge change 1361 into donut
* changes:
  Remove hard-coded path to my home directory in build/tools/make-release.sh. Now you need to use the --prebuilt-path=<path> option to specify where to pick up the prebuilt toolchain tarballs instead, for example:
2009-05-11 11:54:41 -07:00
Android (Google) Code Review
3be3c99657 Merge change 1360 into donut
* changes:
  remove documentation for unsupported variable (LOCAL_STATIC_WHOLE_LIBRARIES)
2009-05-11 11:33:21 -07:00
Android (Google) Code Review
37fa8d40fc Merge change 1359 into donut
* changes:
  Remove references to 'cupcake' in all of NDK (replace with 'android-1.5')
2009-05-11 11:32:53 -07:00
David 'Digit' Turner
b25cd5fb97 remove documentation for unsupported variable (LOCAL_STATIC_WHOLE_LIBRARIES) 2009-05-11 17:23:10 +02:00
David 'Digit' Turner
56266b2d59 Remove hard-coded path to my home directory in build/tools/make-release.sh.
Now you need to use the --prebuilt-path=<path> option to specify where to pick up
the prebuilt toolchain tarballs instead, for example:

   build/tools/make-release.sh --prebuilt-path=/home/digit/android/ndk

Add also some other options to change the package prefix / release number / etc
2009-05-11 17:20:26 +02:00
David 'Digit' Turner
b20725d4a0 Remove references to 'cupcake' in all of NDK (replace with 'android-1.5') 2009-05-11 16:37:42 +02:00
David 'Digit' Turner
a07dedea97 Add docs/LICENSES.TXT which indicates where to find the toolchain sources, as well as the GPL/LGPL text files.
Note: the prebuilt binary packages used by "make-release.sh" have
been updated to include the COPYING and COPYING.LIB files.

After this patch is commited, you should be able to run "make-release.sh"
to re-generate release packages that contain docs/LICENSES.TXT as well as COPYING and COPYING.LIB
2009-05-10 01:05:25 +02:00
Jack Veenstra
ad6f253016 Add a "-d time" option to stack_dump to dump the stack at the given time. 2009-05-09 11:44:53 -07:00
Jack Veenstra
166d76cf4c Fix compiler warnings by changing "char*" to "const char*". 2009-05-09 11:33:44 -07:00
Xavier Ducrohet
3d25a3b264 More Clean up in the NDK Overview doc 2009-05-08 17:47:46 -07:00
Xavier Ducrohet
ba1aad8339 Remove unwanted comments in the NDK Overview doc. 2009-05-08 17:36:51 -07:00
Xavier Ducrohet
ad73286470 Fix source download location 2009-05-08 17:31:55 -07:00
Android (Google) Code Review
010c2ee6b8 Merge change 1307 into donut
* changes:
  Remove the ROADMAP NDK file as it shouldn't be packaged with the NDK
2009-05-08 17:24:44 -07:00
Xavier Ducrohet
5b6da2b185 Remove the ROADMAP NDK file as it shouldn't be packaged with the NDK 2009-05-08 17:21:58 -07:00
Android (Google) Code Review
9f6a426453 Merge change 1237 into donut
* changes:
  ADT #1715616: "New Android Test Project" wizard.
2009-05-08 16:43:03 -07:00
Raphael
0b62151cda ADT #1715616: "New Android Test Project" wizard.
Also updates eclipse/changes.txt
2009-05-08 14:06:44 -07:00
Android (Google) Code Review
9cd49a4416 Merge change 1160 into donut
* changes:
  Add ability to specify relative class paths when using runtest -c
2009-05-08 11:30:54 -07:00
Xavier Ducrohet
1f012b193f Fix the host setup script to work on mac 2009-05-07 19:00:00 -07:00
Xavier Ducrohet
0085f310cd Update the NDK docs to reflect the changes from 2 download (NDK+toolchain) to a single download. 2009-05-07 18:29:25 -07:00
Android (Google) Code Review
f44ba568f7 Merge change 1215 into donut
* changes:
  Fix host-setup.sh for cygwin: *-gcc.exe needs to be found
2009-05-07 17:59:48 -07:00
Android (Google) Code Review
bc139139b0 Merge change 1195 into donut
* changes:
  Use direct, native order Buffers for OpenGL data.
2009-05-07 17:00:54 -07:00
Raphael Moll
549442c6ab Fix host-setup.sh for cygwin: *-gcc.exe needs to be found 2009-05-07 17:00:20 -07:00
Xavier Ducrohet
dc4ba99cd7 Fix minor typos in the NDK docs. 2009-05-07 15:45:41 -07:00
Jack Palevich
d9b9c8eaaa Use direct, native order Buffers for OpenGL data. 2009-05-07 14:54:46 -07:00
Xavier Ducrohet
e0de1bc940 Fix the NDK packaging script to use git ls-files instead of git-ls-files 2009-05-07 14:35:27 -07:00
Android (Google) Code Review
5c569078a2 Merge change 1187 into donut
* changes:
  Change the NDK samples package names to be lower case. Also added minSdkVersion=3 in the manifests.
2009-05-07 14:10:11 -07:00
David 'Digit' Turner
66ce41fc33 generate zip files on Windows and OS X when packaging NDK releases 2009-05-07 23:07:40 +02:00
Xavier Ducrohet
f99249b80b Change the NDK samples package names to be lower case. Also added minSdkVersion=3 in the manifests. 2009-05-07 14:03:22 -07:00
David 'Digit' Turner
fdeb1d29f4 Make the release script work on OS X, and think about ensure the generated tarballs are readable by anyone 2009-05-07 22:51:10 +02:00
David 'Digit' Turner
f2b70edc0d Add a release packaging script 2009-05-07 21:58:22 +02:00
David 'Digit' Turner
3ff832786d fix the build. Gaaah 2009-05-07 21:56:40 +02:00
Xavier Ducrohet
6e90766992 Remove files from NDK samples that should not be there. 2009-05-07 12:25:24 -07:00
Android (Google) Code Review
34dc1e4b53 Merge change 1161 into donut
* changes:
  Initial import of new NDK into donut tree
2009-05-07 12:01:10 -07:00
David 'Digit' Turner
b9a8479e48 Initial import of new NDK into donut tree 2009-05-07 20:39:04 +02:00
Brett Chabot
292df41bb2 Add ability to specify relative class paths when using runtest -c
"runtest -c .<className>" will now be equivalent to
"runtest -c <package>.<className>", where package is the test-app's package as defined in test_defs.xml.
2009-05-07 11:09:40 -07:00
Mike Lockwood
d6326b5788 Ignore compiled python files.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-07 13:26:52 -04:00
Android (Google) Code Review
85972041d0 Merge change 1015 into donut
* changes:
  Make the simulator handle paths like '//data/data/...' the same way the device does.
2009-05-06 13:55:42 -07:00
Android (Google) Code Review
a123cea7c8 Merge change 1002 into donut
* changes:
  runtest.py bug fixes.
2009-05-06 10:31:01 -07:00