Narayan Kamath
e3e4b40577
am 9846fb69: am 50afaefd: Merge "AArch64: Make Binder and Parcel 64-bit compatible"
...
* commit '9846fb695a3c41aabde4ca0061d583b35f9621d1':
AArch64: Make Binder and Parcel 64-bit compatible
2014-01-29 10:48:52 +00:00
Ashok Bhat
8ab665dda4
AArch64: Make Binder and Parcel 64-bit compatible
...
Changes include
[x] Long is used to store native pointers
[x] Added new method obtain(long obj) to Parcel. Binder
uses this method instead of obtain(int obj).
[x] obtain(int) has been changed to throw unsupported
operation exception.
Change-Id: I408e0f2a24deb28c9277d86670653a51eb314266
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com >
Signed-off-by: Craig Barber <craig.barber@arm.com >
Signed-off-by: Kévin PETIT <kevin.petit@arm.com >
2014-01-23 16:25:19 +00:00
Narayan Kamath
42defa0233
am faa62aac: am 84ee7930: Merge "AArch64: Use long for pointers in android/os/MessageQueue"
...
* commit 'faa62aaca5f4a149f20487d42279fefc7d356428':
AArch64: Use long for pointers in android/os/MessageQueue
2014-01-16 07:35:20 -08:00
Narayan Kamath
31f10bb21b
am 80b3dd0d: am 27a647bf: Merge "AArch64: Use long for pointers in android/os/MemoryFile"
...
* commit '80b3dd0d8e333905e9f2a3a844bc524d41df7da2':
AArch64: Use long for pointers in android/os/MemoryFile
2014-01-16 07:34:53 -08:00
Narayan Kamath
84ee7930bb
Merge "AArch64: Use long for pointers in android/os/MessageQueue"
2014-01-16 12:12:15 +00:00
Narayan Kamath
27a647bf38
Merge "AArch64: Use long for pointers in android/os/MemoryFile"
2014-01-16 12:11:47 +00:00
Jeff Hao
56b1106494
am 9a5005a3: am f6730d26: Merge "Add sample profiling interface to startMethodTracing."
...
* commit '9a5005a3bfa419cb856a83ca34a67556d9fd5b74':
Add sample profiling interface to startMethodTracing.
2014-01-15 11:41:30 -08:00
Jeff Hao
d02e60fbd4
Add sample profiling interface to startMethodTracing.
...
Frameworks base side of this change. Also changed art and libcore.
Change-Id: Ib5ba0445163dca714d1ae66430750346ff8811be
2014-01-15 11:27:24 -08:00
John Spurlock
b343635909
am e05190ea: am 85f98508: Merge "Docfixes: three typos and escape */*." into klp-docs
...
* commit 'e05190eae74be57dd517bb5afbccf901543329bf':
Docfixes: three typos and escape */*.
2014-01-14 11:54:25 -08:00
John Spurlock
e05190eae7
am 85f98508: Merge "Docfixes: three typos and escape */*." into klp-docs
...
* commit '85f98508366e8422f71553d2a5e682eb804c7419':
Docfixes: three typos and escape */*.
2014-01-14 19:50:38 +00:00
Ashok Bhat
63a3715323
AArch64: Use long for pointers in android/os/MessageQueue
...
Long is used in android/os/MessageQueue class to store
pointers as native pointers can be 64-bit.
In addition, some minor changes have been done
to conform with standard JNI practice (e.g. use
of jint instead of int in JNI function prototypes)
Change-Id: I7e901b8515a5b5e3afe1dadaaf3e5c186955c2a0
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com >
Signed-off-by: Kévin PETIT <kevin.petit@arm.com >
2014-01-10 15:36:16 +00:00
Ashok Bhat
c20cadbdad
AArch64: Use long for pointers in android/os/MemoryFile
...
Long is used in android/os/MemoryFile class to store
pointers as native pointers can be 64-bit.
In addition, some minor changes have been done
to conform with standard JNI practice (e.g. use
of jint instead of int in JNI function prototypes)
Change-Id: I07afc010524c16b5c852273b89becb0c08ff27d7
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com >
Signed-off-by: Kévin PETIT <kevin.petit@arm.com >
2014-01-10 15:14:46 +00:00
John Spurlock
3390018c6b
Docfixes: three typos and escape */*.
...
Change-Id: I418d855b5d08a1a20eaca3d8e4d2e5d0fca23dd5
2014-01-06 11:44:42 -05:00
Marco Nelissen
69b4670730
am ce3bd309: Merge "Parse UUID string with Long.parseLong"
...
* commit 'ce3bd309b12e9552c05d5a59a06d7883618c5ca0':
Parse UUID string with Long.parseLong
2013-12-11 10:14:56 -08:00
Tom Marshall
17d5c1b181
Parse UUID string with Long.parseLong
...
Integer.parseInt throws an NPE for values greater than 0x7fffffff.
2013-12-06 21:04:25 +01:00
Dirk Dougherty
3eddb6213d
am a40420c9: am 43eea0a6: Merge "Doc change: Change description for BRAND. Bug:11431921" into klp-docs
...
* commit 'a40420c9c1c8216fd0251dc550bb22e9cc1dd177':
Doc change: Change description for BRAND. Bug:11431921
2013-11-21 11:53:27 -08:00
Dirk Dougherty
a40420c9c1
am 43eea0a6: Merge "Doc change: Change description for BRAND. Bug:11431921" into klp-docs
...
* commit '43eea0a640db07c4da05146f7e68eae567592bdb':
Doc change: Change description for BRAND. Bug:11431921
2013-11-21 19:49:46 +00:00
Dirk Dougherty
491b40d752
Doc change: Change description for BRAND.
...
Bug:11431921
Change-Id: Id08bb58a52699942e0cf626aeb577ac05c84c575
2013-11-21 09:31:40 -08:00
Dianne Hackborn
6f5d85377b
am 47b260d0: am 572b759a: Merge "Use index in SparseArray access properly"
...
* commit '47b260d071859a8c20bb0af2bcc095e253f7046c':
Use index in SparseArray access properly
2013-11-14 16:37:55 -08:00
Scott Main
af623b99da
am bb146981: am 29610421: Merge "Revised some text while reading up on traceview. this is what\'s left of this older CL that was left for dead: I5528b476d8110df51d45aaf690d878f72bc75c9f" into klp-docs
...
* commit 'bb1469816451aeb24eb8208fac1f2596f528aa80':
Revised some text while reading up on traceview. this is what's left of this older CL that was left for dead: I5528b476d8110df51d45aaf690d878f72bc75c9f
2013-11-12 18:58:13 -08:00
Igor Chernyshev
b94d654d36
Use index in SparseArray access properly
...
The original code was calling get() rather than valueAt(),
treating index as if it was a key.
Change-Id: I52539dfcb49b3d2ee3cb027d38c50b46f73b5ee7
Signed-off-by: Igor Chernyshev <igorc@google.com >
2013-11-12 18:56:21 -08:00
Scott Main
bb14698164
am 29610421: Merge "Revised some text while reading up on traceview. this is what\'s left of this older CL that was left for dead: I5528b476d8110df51d45aaf690d878f72bc75c9f" into klp-docs
...
* commit '29610421a32501661d6c20136c76ec426d6500fb':
Revised some text while reading up on traceview. this is what's left of this older CL that was left for dead: I5528b476d8110df51d45aaf690d878f72bc75c9f
2013-11-13 02:53:40 +00:00
Scott Main
c468240c1a
Revised some text while reading up on traceview.
...
this is what's left of this older CL that was left for dead:
I5528b476d8110df51d45aaf690d878f72bc75c9f
Change-Id: I42f784d693c0a2a2e2e8ed4c582cbc10180191e7
2013-11-12 18:49:21 -08:00
Robert Greenwalt
c3eef19047
am f1612bcf: am e8c51298: Merge "Add BatteryStats for Wifi Batched Scanning." into klp-dev
...
* commit 'f1612bcfdd2cb517948f14369fd0977ceb55d19c':
Add BatteryStats for Wifi Batched Scanning.
2013-11-07 10:39:43 -08:00
Robert Greenwalt
a029ea1318
Add BatteryStats for Wifi Batched Scanning.
...
bug:10690989
Change-Id: Ia39b715ee6d5733970095bc76de0ed40ff8208c0
2013-11-06 17:43:18 -08:00
Patrick Tjin
b4328566fa
am 5eecb9e8: am bd9513f3: Merge "Add HSPA+ to BatteryStats" into klp-dev
...
* commit '5eecb9e8d44b3864a3261a3c5ebfbb9c606e77f5':
Add HSPA+ to BatteryStats
2013-11-06 10:20:00 -08:00
Patrick Tjin
b71703cfdf
Add HSPA+ to BatteryStats
...
HSPA+ was being shown as connection type other in battery
statistics because it was not updated when TelephonyManager
was changed.
Bug: 11552902
Change-Id: I85ce7c393bf93010a4ac8437f14684015ad0391a
2013-11-06 17:29:33 +00:00
Jeff Brown
81b7caf0d1
resolved conflicts for merge of 5214dae4 to klp-dev-plus-aosp
...
Change-Id: I769e7acbe207b9c3a60ff1576d11b3ab40b8c66d
2013-10-29 18:28:57 -07:00
Jeff Brown
6dbbba4e9a
Merge "handle negative temperature"
2013-10-29 20:59:38 +00:00
Jeff Sharkey
8f54193832
am 23ac234e: am 704269ec: Merge "Mention external storage changes in KITKAT docs." into klp-dev
...
* commit '23ac234e9049512696c7e7c6f277e334fde50f7a':
Mention external storage changes in KITKAT docs.
2013-10-29 13:52:58 -07:00
Jeff Sharkey
3ec2f60ebd
Mention external storage changes in KITKAT docs.
...
Bug: 11388971
Change-Id: I97145472948867f54125f1d0f0237bf3b339535e
2013-10-29 12:23:19 -07:00
Marco Nelissen
a22010ebe5
am d19385bf: am 21657181: Merge "Add a method to set a list of uids for a wake lock" into klp-dev
...
* commit 'd19385bf58225069c8ea0a7ce5075ed28861b039':
Add a method to set a list of uids for a wake lock
2013-10-25 15:01:34 -07:00
Marco Nelissen
2165718153
Merge "Add a method to set a list of uids for a wake lock" into klp-dev
2013-10-25 21:55:55 +00:00
Jeff Sharkey
d8a81d06e4
am fd38f940: am ac4bf7fd: Merge "Skip writing PFD status when comm is closed." into klp-dev
...
* commit 'fd38f940f4283f9ea68142185426a7cf45d58ae0':
Skip writing PFD status when comm is closed.
2013-10-25 13:25:31 -07:00
Jeff Sharkey
ac4bf7fd9a
Merge "Skip writing PFD status when comm is closed." into klp-dev
2013-10-25 20:17:03 +00:00
Marco Nelissen
738ffdc9da
Add a method to set a list of uids for a wake lock
...
Cherrypicked from master.
b/9464621
Change-Id: Ia6a9d36d55129ae87d3ec070fbf10dc02f4b6cb4
2013-10-25 12:49:55 -07:00
Dianne Hackborn
f09a1b88ae
am aec8fbb3: am df033aed: Merge "Fix issue #11290095 : Parcel change causing crashing in KLP..." into klp-dev
...
* commit 'aec8fbb354621dc49a4ac971a64706bee01e5806':
Fix issue #11290095 : Parcel change causing crashing in KLP...
2013-10-25 12:21:26 -07:00
Jeff Sharkey
d99f9caba6
Skip writing PFD status when comm is closed.
...
If the remote side of PFD has already written a status message, then
they've also closed their end of the comm FD, and we're going to
EPIPE if we try sending our own status. So, skip writing status if
a remote status is present.
Only one end of the openFile() comm socket needs to be blocking,
otherwise detachFd() would end up blocking forever.
Bug: 11385467
Change-Id: I346d40cc1ca4a6683cec4c2d2b7db2b32ac94a55
2013-10-25 11:34:35 -07:00
Dianne Hackborn
8aee64d18b
Fix issue #11290095 : Parcel change causing crashing in KLP...
...
...when reading from empty byte[]
Better handling of empty bundles and parcels.
Change-Id: Ie9182e43a52b8f163e8fb20bd1d110e0832683e6
2013-10-25 10:41:50 -07:00
Jeff Brown
83bf440440
am 3e3296e5: am 82f31701: Merge "Log view root, input and looper state in bug reports." into klp-dev
...
* commit '3e3296e526663306237fe551527146286e14f4e4':
Log view root, input and looper state in bug reports.
2013-10-17 19:13:30 -07:00
Jeff Brown
82f3170114
Merge "Log view root, input and looper state in bug reports." into klp-dev
2013-10-18 02:08:20 +00:00
Jeff Sharkey
703840da8a
am 1a5804d7: am 0c0f1e2e: Merge "Include external storage devices in DocumentsUI." into klp-dev
...
* commit '1a5804d7aa253432f37fbd5d8eb89ac363501fe9':
Include external storage devices in DocumentsUI.
2013-10-17 18:53:26 -07:00
Jeff Sharkey
47938450b4
am 306bb90d: am 8f4c15d8: Merge "Plumb through physical device UUID and label." into klp-dev
...
* commit '306bb90d97da583c3728d35073ebcb7f7ca5c467':
Plumb through physical device UUID and label.
2013-10-17 18:53:15 -07:00
Jeff Sharkey
1f706c6cd1
Include external storage devices in DocumentsUI.
...
Include volume UUID in generated document IDs to uniquely identify
volumes over time. Show volume label to users. Watch for mount
changes to update available roots.
Bug: 11175082
Change-Id: Ia151bde768587468efde0c1d97a740b5353d1582
2013-10-17 10:55:32 -07:00
Jeff Sharkey
5aca2b8dc4
Plumb through physical device UUID and label.
...
vold now parse out UUID and label for inserted physical devices,
and reports them to framework. Add these to hidden StorageVolume
class for use by DocumentsUI and MediaProvider.
Remove last JNI method in FileUtils!
Bug: 11175082
Change-Id: I1cfcd1ade61767b103f693319ea2600008ee2e3c
2013-10-16 16:34:21 -07:00
Jeff Brown
5182c780a8
Log view root, input and looper state in bug reports.
...
Bug: 10948648
Change-Id: I956cce2a0fb516c02f9bbbc021f6238bcb226891
2013-10-15 20:31:52 -07:00
Jeff Sharkey
fc7c4b9d72
am 2a48dbce: am 905c50a2: Merge "Improve DocumentsProvider and contract docs." into klp-dev
...
* commit '2a48dbcee91a3a37dacaa96763c92f116d916a15':
Improve DocumentsProvider and contract docs.
2013-10-15 17:52:29 -07:00
Jeff Sharkey
e8c00d8ed4
Improve DocumentsProvider and contract docs.
...
Bug: 10567557
Change-Id: I71e7f7ad172e9986e58b9c9533b1c948c5530397
2013-10-15 16:44:22 -07:00
Jeff Sharkey
881cde3358
am 16c4b8c5: am ddf5a170: Merge "Relax user constraint on storage state." into klp-dev
...
* commit '16c4b8c5999b4365bde5ad7c2f00337cee988dab':
Relax user constraint on storage state.
2013-10-14 19:01:30 -07:00
Jeff Sharkey
a6d1999529
Relax user constraint on storage state.
...
Otherwise we wtf() when called various places in the system.
Bug: 11223886
Change-Id: I514d28603db02e3debd4af1cf20049af0c7399f4
2013-10-14 16:43:42 -07:00