47050 Commits

Author SHA1 Message Date
Scott Main
b645122852 docs: update screens dashboard and add opengl dashboard
Change-Id: Ic810bc9bb2a917ef1489f3d5f6c30b1bb75cb2e1
2011-05-06 16:49:53 -07:00
Scott Main
c0bf19ac3c docs: update uses-feature doc with USB features, add TOC at the top and revise some other stuff
Change-Id: Ic721ff03aeea04f4a37d4256eea7f6d2b6dcd256
2011-05-06 16:38:02 -07:00
Irfan Sheriff
fba19ff5e8 DO NOT MERGE Define Protocol class
Adds a common namespace for communication across
different state machines

Change-Id: Ib6a29715c651371f91a950348a8525275b6026a0
2011-05-06 16:05:53 -07:00
Irfan Sheriff
c351f52a4a DO NOT MERGE Handle GET_POWER failures
Return a failure when GET_POWER returns a non-conforming
format

Bug: 4380317
Change-Id: Ie723c424ab07774f2be2594aa5deeaa5cd5ac280
2011-05-06 15:06:30 -07:00
Scott Main
223a94d2ef docs: de-new the dev guide toc
Change-Id: I11ab2fcb8472876aa0776383490390d502475e39
2011-05-06 09:53:29 -07:00
Scott Main
9f7054fea2 Merge "docs: add package description for mtp and a little more info to MtpDevice" into honeycomb-mr1 2011-05-06 08:31:40 -07:00
Scott Main
f88b52fbf6 Merge "docs: version notes for tools 11" into honeycomb-mr1 2011-05-05 18:32:42 -07:00
Scott Main
19f72015c9 docs: version notes for tools 11
Change-Id: Id33ba830b550d8d99b23f012501023b4675ba3eb
2011-05-05 18:27:49 -07:00
Scott Main
46524f83a5 Merge "docs: add package description for RTP" into honeycomb-mr1 2011-05-05 17:59:24 -07:00
Scott Main
034d89d9a4 docs: cherrypick Change-Id: I3d871d494cf1f626df701efaa43058b66893259e
docs: add info about customizing the density of an AVD from command line;
and a few editorial things like fix the TOCs

Change-Id: I4e301fe005d8fb4d04550b7db5afe2b63fe66802
2011-05-05 17:47:40 -07:00
Scott Main
de9acb76d9 docs: add package description for RTP
Change-Id: I02c181a48101be288fb4aabf497f573f00038f90
2011-05-05 17:32:01 -07:00
Scott Main
0cdd9f7def docs: add package description for mtp and a little more info to MtpDevice
Change-Id: I44b3926c4a286f624de525a7f0cc896879582bf5
2011-05-05 15:53:44 -07:00
Bill Gruber
0369cf9874 Cherry pick from Honeycomb Change ID I8d57d12828afab700d76f9b19195817a0adfe080
IAB docs: adds best practices for pending transaction UI

Change-Id: I9e27f3421e57b20c5b5961fc680fe89e3d5e865b
2011-05-05 15:49:25 -07:00
Scott Main
1c71fffeb5 update platform version number for docs
Change-Id: If0866ab1544ce0f5e70bbbe93d30ed27c4403406
2011-05-05 14:49:47 -07:00
Teng-Hui Zhu
a8f6a0d90c DO NOT MERGE: Don't send pause again when coming back from full screen
When we enter full screen, the inline video has been paused.
When we re-play in the inline mode, we don't need to paused the previous video,
which is the full screen one.

bug:4259109
Change-Id: I577edf43563116b0d1a9266d741e6a8aabbca779
2011-05-05 14:34:26 -07:00
Scott Main
e6746acde2 Merge "docs: update homepage to announce 3.1" into honeycomb-mr1 2011-05-05 08:33:03 -07:00
Robert Ly
7157b7c314 Merge "doc change: a misplaced link removed" into honeycomb-mr1 2011-05-04 16:55:59 -07:00
Robert Ly
d834113247 doc change: a misplaced link removed
Change-Id: If8b12e5409b44a095593b126a18fa6c0d572cc59
2011-05-04 16:41:40 -07:00
Katie McCormick
62922c361e Cherry pick from honeycomb. Change-Id: I542fc39ef017346694cd0b376421bfec03ebe340
Change-Id: I9633f380f701bfa63453c9e969eeb0236a37894e
2011-05-04 15:34:28 -07:00
Scott Main
ad3b87aa0d cherrypick from honeycomb cl 742100b0ff66bb2a6fec706931e9cfeee8035ad3
docs: update dashboard for platform versions

Change-Id: I21ddf27d0ad5bba817f6995ae716c6dc1029c0a5
2011-05-04 15:03:38 -07:00
Scott Main
4170376681 docs: typo in menu doc
Change-Id: Ic67cce880406a7daeb98d37312dd34c6a681a7af
2011-05-04 14:36:56 -07:00
Scott Main
7017c94249 docs: fix issue 4383086
Change-Id: I43fa88645b6b81102452d4a977ce5579275a2235
2011-05-04 14:33:46 -07:00
Scott Main
8f5379b4d7 docs: update homepage to announce 3.1
Change-Id: Ide4175f48b765484f0a1bbb5be3bc56e79e97612
2011-05-04 13:38:05 -07:00
Robert Ly
762481f0b5 Merge "adding the usb apis to the resources browser" into honeycomb-mr1 2011-05-04 13:10:54 -07:00
Robert Ly
fd7974f531 Merge "Doc change: adding usb docs and removed ADK doc. ADK doc will be in another CL" into honeycomb-mr1 2011-05-04 12:18:09 -07:00
Mike Lockwood
c56ad54bd9 DO NOT MERGE MediaScanner: Add special casing of WMP album art files to isNoMediaPath()
This will prevent MediaProvider from adding these files to the images table

Change-Id: Ibc4128762f221b370a00e331aca633aafae0ad70
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:57 -04:00
Mike Lockwood
71b3342a58 DO NOT MERGE MediaScanner: Fix bug in "no media" handling logic
Don't let the "no media" status of one directory leak to the remaining files
and directories in the same parent.

Bug: 4364077

Change-Id: Ie756ccd06b1962b06143fc02a1a3927c3aba143a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:57 -04:00
Mike Lockwood
710a206445 DO NOT MERGE MTP: Implement GetThumb command
This allows the PC to access thumbnails in JPEG files over MTP/PTP

Bug: 3219495

Change-Id: Id61f353ba70e896fae9a47338bf7871c0f185d3e
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:57 -04:00
Mike Lockwood
7fc3bebb5e DO NOT MERGE MTP: Fix file descriptor leak in file editing extensions
Change-Id: Ie0b979b5cfd9b5f9e9196c5f8c8ecccef6ed84c3
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:57 -04:00
Mike Lockwood
371279f802 DO NOT MERGE MTP: Add extended operations to support in-place editing of files
MTP does not support partial writes of files (the entire file must be transferred at once).
This makes it impossible to implement a FUSE file system for MTP
with acceptable performance.
To fix this problem, this change adds extended MTP operations to allow
partial writes to files:

SendPartialObject - allows writing a subset of a file, or appending to the end of a file

TruncateObject - allows changing the size of a file

BeginEditObject - must be called before using SendPartialObject and TruncateObject

EndEditObject - commits changes to a file after it has been edited with SendPartialObject or TruncateObject

We also add GetPartialObject64, which is the same as GetPartialObject
but has a 64 bit offset rather than 32.

Change-Id: Id5365e1c4dc55a2d819c16c9db0a3ac2260f9309
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:56 -04:00
Mike Lockwood
9c112a86de DO NOT MERGE MediaScanner: reimplement the ".nomedia" feature for hiding files from the media provider
Previously we ignored any files and directories that had name started with '.'
and ignored any directories that contained a ".nomedia" file.
Now to support transferring any file via MTP, we now add these previously ignored files
to the media database, but will not mark them as audio, video, image or playlist files.
That way they will be included in the files table but will be hidden from the
audio, video, images and playlist views that are used by apps like Music and Gallery.

Bug: 3405327

Change-Id: Ibb37bb2856a0684ce9f685ed565ad35347622834
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:56 -04:00
Marco Nelissen
1cf74fb3c4 DO NOT MERGE Fix media scanner uri handling.
If a file was originally considered a video file (because it had
a .mp4 extension, for example), but was then discovered to have
only an audio track, it would update the type, but not the URI
for insertion into the media provider.

Change-Id: I25652a031b98d2ec2433263dd6f344ba90d2d112
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:56 -04:00
Mike Lockwood
f60ba87f07 DO NOT MERGE Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"
We need this to allow MTP to access secondary external storage devices

This reverts commit 35a2ea2fbf156a503d1b0bc6ca7784e51e2462f4.

Conflicts:

	data/etc/platform.xml

Change-Id: I0b139a0f3b369c1080831a5b3a48f5d9a330b1bb
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:56 -04:00
Mike Lockwood
7ae938be1b DO NOT MERGE MTP and media provider support for multiple storage devices:
- MTP support for multiple storage units

- Add storage_id column to media database for MTP storage ID

- Add framework resource for defining mount points and user visible descriptions
for multiple volumes

- Clean up locking in MtpServer JNI code

Change-Id: Ide6d47bd9aa1698ed2a13d695613e03f2a9b29e3
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:56 -04:00
Mike Lockwood
91dd02c340 DO NOT MERGE MountService: Fix running media scanner at boot.
Change-Id: I67ff2ccde7e03143167b8c59726ffb741c96e028
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:56 -04:00
Mike Lockwood
b9135638c5 DO NOT MERGE Fix deadlock in MountService
It is not safe to call into vold with a lock held on mVolumeStates
since we will receive events back from vold on a different thread.
So in the boot completed handler we make a copy of the volume list and
then call vold to mount volumes after releasing the lock

Change-Id: Ic9836c2e1e8a5677d0c4e33476a72081f69823a0
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:56 -04:00
Mike Lockwood
d967f4664f DO NOT MERGE StorageManager: Add getVolumeList() and getVolumeState() methods
Change-Id: I43d5c1730b340f1288b58012234b38f801001b71
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:55 -04:00
Mike Lockwood
f097fc2fee DO NOT MERGE MountService: Add support for multiple volumes
Change-Id: I45ee0e5735a6d72c635f6d22320e8b13bccc3847
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-05-03 21:03:55 -04:00
Robert Ly
7c2d14d596 Merge "Doc change: fixing minor bug for xml resources bug 4376713" into honeycomb-mr1 2011-05-03 16:54:21 -07:00
Robert Ly
0cc4b8a787 Doc change: fixing minor bug for xml resources
bug 4376713

Change-Id: I4c969810eaaf053f8326721b71fbe494b542082d
2011-05-03 16:50:16 -07:00
Glenn Kasten
9d8c6215d1 Merge "Account for race condition when attaching HDMI." into honeycomb-mr1 2011-05-03 16:46:12 -07:00
Robert Ly
bde2b92f58 Doc change: adding usb docs and removed ADK doc. ADK doc will be in another CL
Change-Id: Ib6a5c3a958a77f5ef9322fb79b2da19763ec364d
2011-05-03 15:57:27 -07:00
Robert Ly
8cdb2e2d83 adding the usb apis to the resources browser
Change-Id: I79e9f93ebfa3aaf03e4f4deeb70d6c5a7a4ad07f
2011-05-02 17:49:05 -07:00
Dan Morrill
8325c3a891 Backporting I57c58c4083bd59f45095c184d6ca5a302f79ff6e to HC-MR1. New change
since file was renamed, making cherry-pick impossible.

Change-Id: Idc802af57fb9926a69ed52d4e776ef57d8b647c6
2011-05-02 14:06:06 -07:00
Scott Main
de506220d8 am 1462813a: Merge "docs: more documentation for ProgressBar" into honeycomb
* commit '1462813a28270d4255f9542b666960182e274a6e':
  docs: more documentation for ProgressBar
2011-04-29 14:55:43 -07:00
Scott Main
1462813a28 Merge "docs: more documentation for ProgressBar" into honeycomb 2011-04-29 14:52:20 -07:00
Scott Main
42f139c069 docs: more documentation for ProgressBar
Change-Id: Ief415c0b22da3e7d4ea318e321edc7d215603f0f
2011-04-29 14:51:05 -07:00
Scott Main
be2da3c9b6 am c7eb47fa: docs: tweak table headers for config qualifiers
* commit 'c7eb47fad4fe39bd85c6205e38426c1867b9ed92':
  docs: tweak table headers for config qualifiers
2011-04-29 14:42:55 -07:00
Scott Main
c7eb47fad4 docs: tweak table headers for config qualifiers
Change-Id: Idc8d48f1db9b6b87372a49095b034edff9baecfa
2011-04-29 14:12:24 -07:00
Eric Fischer
953d097e88 Import revised translations. DO NOT MERGE
Change-Id: If18189bb816828187274ff5a1ed122767decc817
2011-04-29 13:58:45 -07:00