OSDN Git Service

android-x86/frameworks-base.git
10 years agoam 2b033dce: Merge "Clean up KeyguardSecurityCallback documentation and add copyright...
Jim Miller [Tue, 28 Jan 2014 23:28:42 +0000 (15:28 -0800)]
am 2b033dce: Merge "Clean up KeyguardSecurityCallback documentation and add copyright header."

* commit '2b033dce9f252ae30ac88c9ba1569d18afaaf2cf':
  Clean up KeyguardSecurityCallback documentation and add copyright header.

10 years agoMerge "Clean up KeyguardSecurityCallback documentation and add copyright header."
Jim Miller [Tue, 28 Jan 2014 23:25:47 +0000 (23:25 +0000)]
Merge "Clean up KeyguardSecurityCallback documentation and add copyright header."

10 years agoClean up KeyguardSecurityCallback documentation and add copyright header.
Jim Miller [Wed, 15 Jan 2014 02:57:03 +0000 (18:57 -0800)]
Clean up KeyguardSecurityCallback documentation and add copyright header.

Bug 12135931

Change-Id: I9f2e20fb4c1a2cb6a9fb49f4b6939fd7687ef262

10 years agoam 5e1814e2: Merge "Remove logging of DisplayList staleness"
Chris Craik [Tue, 28 Jan 2014 23:22:12 +0000 (15:22 -0800)]
am 5e1814e2: Merge "Remove logging of DisplayList staleness"

* commit '5e1814e2ebf5614f8f4f7edd063e1a79bd929844':
  Remove logging of DisplayList staleness

10 years agoam ab5e0895: Merge "Fix bug #12467741 Java crash in com.android.settings: java.lang...
Fabrice Di Meglio [Tue, 28 Jan 2014 23:22:09 +0000 (15:22 -0800)]
am ab5e0895: Merge "Fix bug #12467741 Java crash in com.android.settings: java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification."

* commit 'ab5e089585e01fd14ad7854391c10e6d8ae07144':
  Fix bug #12467741 Java crash in com.android.settings: java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification.

10 years agoam ef4aad22: Merge "Fix bug #12422326 Unable to change text direction programmaticall...
Fabrice Di Meglio [Tue, 28 Jan 2014 23:18:48 +0000 (15:18 -0800)]
am ef4aad22: Merge "Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API"

* commit 'ef4aad220fbd2e79cd44e11a09657d3aab58a673':
  Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API

10 years agoam fa551051: Merge "Fix new TimePicker accessibility"
Fabrice Di Meglio [Tue, 28 Jan 2014 23:18:45 +0000 (15:18 -0800)]
am fa551051: Merge "Fix new TimePicker accessibility"

* commit 'fa55105137e5b84e467aeb25e847859437e80de0':
  Fix new TimePicker accessibility

10 years agoMerge "Remove logging of DisplayList staleness"
Chris Craik [Tue, 28 Jan 2014 23:18:05 +0000 (23:18 +0000)]
Merge "Remove logging of DisplayList staleness"

10 years agoMerge "Fix bug #12467741 Java crash in com.android.settings: java.lang.IllegalStateEx...
Fabrice Di Meglio [Tue, 28 Jan 2014 23:16:08 +0000 (23:16 +0000)]
Merge "Fix bug #12467741 Java crash in com.android.settings: java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification."

10 years agoMerge "Fix bug #12422326 Unable to change text direction programmatically using setTe...
Fabrice Di Meglio [Tue, 28 Jan 2014 23:15:24 +0000 (23:15 +0000)]
Merge "Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API"

10 years agoam e143e58c: Merge "Move majority of security-related logic from KeyguardHostView...
Jim Miller [Tue, 28 Jan 2014 23:15:17 +0000 (15:15 -0800)]
am e143e58c: Merge "Move majority of security-related logic from KeyguardHostView to KeyguardSecurityContainer."

* commit 'e143e58cfddac03bf7427eca2951c8ce3afc5abc':
  Move majority of security-related logic from KeyguardHostView to KeyguardSecurityContainer.

10 years agoMerge "Fix new TimePicker accessibility"
Fabrice Di Meglio [Tue, 28 Jan 2014 23:14:49 +0000 (23:14 +0000)]
Merge "Fix new TimePicker accessibility"

10 years agoMerge "Move majority of security-related logic from KeyguardHostView to KeyguardSecur...
Jim Miller [Tue, 28 Jan 2014 23:13:31 +0000 (23:13 +0000)]
Merge "Move majority of security-related logic from KeyguardHostView to KeyguardSecurityContainer."

10 years agoam c0877962: Adding the print and accessibility pacelables to framework.aidl
Svetoslav Ganov [Tue, 28 Jan 2014 23:02:27 +0000 (15:02 -0800)]
am c0877962: Adding the print and accessibility pacelables to framework.aidl

* commit 'c0877962b3dc49edb42aeda766593123c81613f1':
  Adding the print and accessibility pacelables to framework.aidl

10 years agoAdding the print and accessibility pacelables to framework.aidl
Svetoslav Ganov [Tue, 21 Jan 2014 23:22:26 +0000 (15:22 -0800)]
Adding the print and accessibility pacelables to framework.aidl

1. There are a few parcelable classes related to printing and accessibility
   which are public but not added in the framework.aidl list so third parties
   cannot write aidl interfaces that pass these classes. As these classes
   are public it is resonable for devepers to be able to pass them between
   processes.

Change-Id: I85da1de5198902b74f19d23e3fe16b45b4a11051

10 years agoFix bug #12467741 Java crash in com.android.settings: java.lang.IllegalStateException...
Fabrice Di Meglio [Tue, 28 Jan 2014 22:55:17 +0000 (14:55 -0800)]
Fix bug #12467741 Java crash in com.android.settings: java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification.

- add missing notifyDataSetChanged() call

Change-Id: I633b78be3805bc8610b4aaeb70b1988768f764b7

10 years agoam 5dadeba2: am 1ece04f3: Merge "BluetoothInputJava: Add broadcast action REPORT...
Mike J. Chen [Tue, 28 Jan 2014 20:47:09 +0000 (12:47 -0800)]
am 5dadeba2: am 1ece04f3: Merge "BluetoothInputJava: Add broadcast action REPORT" into klp-modular-dev

* commit '5dadeba229a9e844ef9064b1b0d67756deb7e91e':
  BluetoothInputJava: Add broadcast action REPORT

10 years agoam 1ece04f3: Merge "BluetoothInputJava: Add broadcast action REPORT" into klp-modular-dev
Mike J. Chen [Tue, 28 Jan 2014 20:44:25 +0000 (20:44 +0000)]
am 1ece04f3: Merge "BluetoothInputJava: Add broadcast action REPORT" into klp-modular-dev

* commit '1ece04f37fc93983ee058916e9913b6341e6de83':
  BluetoothInputJava: Add broadcast action REPORT

10 years agoMerge "BluetoothInputJava: Add broadcast action REPORT" into klp-modular-dev
Mike J. Chen [Tue, 28 Jan 2014 20:41:22 +0000 (20:41 +0000)]
Merge "BluetoothInputJava: Add broadcast action REPORT" into klp-modular-dev

10 years agoam 7f9a9bc7: resolved conflicts for merge of e9febcc0 to master
Narayan Kamath [Tue, 28 Jan 2014 20:21:52 +0000 (12:21 -0800)]
am 7f9a9bc7: resolved conflicts for merge of e9febcc0 to master

* commit '7f9a9bc7bfc3bf1ac7de4f20431017d37a28a315':
  Track 64bit changes to android/graphics.

10 years agoresolved conflicts for merge of e9febcc0 to master
Narayan Kamath [Tue, 28 Jan 2014 20:09:22 +0000 (20:09 +0000)]
resolved conflicts for merge of e9febcc0 to master

Resolved with "-s ours" because this change has already
been cherry-picked to master.

10 years agoam fa970bb1: am 8773d51e: resolved conflicts for merge of b82b2f98 to klp-dev-plus...
Narayan Kamath [Tue, 28 Jan 2014 20:01:44 +0000 (20:01 +0000)]
am fa970bb1: am 8773d51e: resolved conflicts for merge of b82b2f98 to klp-dev-plus-aosp

* commit 'fa970bb1e8ab3cd734f1719ac8590b43d1e40962':
  Track 64bit changes to android/graphics.

10 years agoam 8773d51e: resolved conflicts for merge of b82b2f98 to klp-dev-plus-aosp
Narayan Kamath [Tue, 28 Jan 2014 19:58:27 +0000 (19:58 +0000)]
am 8773d51e: resolved conflicts for merge of b82b2f98 to klp-dev-plus-aosp

* commit '8773d51eae2a40d95adfe517476e9098eec14166':
  Track 64bit changes to android/graphics.

10 years agoresolved conflicts for merge of b82b2f98 to klp-dev-plus-aosp
Narayan Kamath [Tue, 28 Jan 2014 19:47:58 +0000 (19:47 +0000)]
resolved conflicts for merge of b82b2f98 to klp-dev-plus-aosp

Change-Id: Ia110056e5fdd2387c207748b17c5c17d1a18ac5b

10 years agoam 8f5c89c4: am a35ca0ad: am 8697dc67: am be674bf6: am 23abbfbb: am 154614ab: Merge...
Narayan Kamath [Tue, 28 Jan 2014 19:42:04 +0000 (11:42 -0800)]
am 8f5c89c4: am a35ca0ad: am 8697dc67: am be674bf6: am 23abbfbb: am 154614ab: Merge "AArch64: Use long for pointers in graphics/Camera"

* commit '8f5c89c46ef266d60388ccc717ac0e71140d4fea':
  AArch64: Use long for pointers in graphics/Camera

10 years agoam de22998f: resolved conflicts for merge of 583b7b16 to master
Narayan Kamath [Tue, 28 Jan 2014 19:42:01 +0000 (11:42 -0800)]
am de22998f: resolved conflicts for merge of 583b7b16 to master

* commit 'de22998fdd0a78400c5b8e6fc3609744e90b09c9':
  AArch64: Make graphics classes 64-bit compatible

10 years agoam a35ca0ad: am 8697dc67: am be674bf6: am 23abbfbb: am 154614ab: Merge "AArch64:...
Narayan Kamath [Tue, 28 Jan 2014 19:40:08 +0000 (19:40 +0000)]
am a35ca0ad: am 8697dc67: am be674bf6: am 23abbfbb: am 154614ab: Merge "AArch64: Use long for pointers in graphics/Camera"

* commit 'a35ca0ada33757164003cd7aee635e6066d83893':
  AArch64: Use long for pointers in graphics/Camera

10 years agoresolved conflicts for merge of 583b7b16 to master
Narayan Kamath [Tue, 28 Jan 2014 19:37:23 +0000 (19:37 +0000)]
resolved conflicts for merge of 583b7b16 to master

merged with "-s ours" since this change has already
been cherry-picked to master.

10 years agoam 8697dc67: am be674bf6: am 23abbfbb: am 154614ab: Merge "AArch64: Use long for...
Narayan Kamath [Tue, 28 Jan 2014 19:26:36 +0000 (19:26 +0000)]
am 8697dc67: am be674bf6: am 23abbfbb: am 154614ab: Merge "AArch64: Use long for pointers in graphics/Camera"

* commit '8697dc674c7c5f33201d037e1c3ae59d9893a22d':
  AArch64: Use long for pointers in graphics/Camera

10 years agoam 39a789bf: am 7ae1726d: am aa9ba887: am 6e09eb4c: Merge "AArch64: Make graphics...
Narayan Kamath [Tue, 28 Jan 2014 19:26:29 +0000 (19:26 +0000)]
am 39a789bf: am 7ae1726d: am aa9ba887: am 6e09eb4c: Merge "AArch64: Make graphics classes 64-bit compatible"

* commit '39a789bf6efd5c3478a442e60e896cae371fd04c':
  AArch64: Make graphics classes 64-bit compatible

10 years agoam be674bf6: am 23abbfbb: am 154614ab: Merge "AArch64: Use long for pointers in graph...
Narayan Kamath [Tue, 28 Jan 2014 19:22:12 +0000 (19:22 +0000)]
am be674bf6: am 23abbfbb: am 154614ab: Merge "AArch64: Use long for pointers in graphics/Camera"

* commit 'be674bf688fec9ce4ec04e77c93644be8253d273':
  AArch64: Use long for pointers in graphics/Camera

10 years agoam 7ae1726d: am aa9ba887: am 6e09eb4c: Merge "AArch64: Make graphics classes 64-bit...
Narayan Kamath [Tue, 28 Jan 2014 19:22:07 +0000 (19:22 +0000)]
am 7ae1726d: am aa9ba887: am 6e09eb4c: Merge "AArch64: Make graphics classes 64-bit compatible"

* commit '7ae1726d0b962878cce4c1fe6c814a315f253293':
  AArch64: Make graphics classes 64-bit compatible

10 years agoam 23abbfbb: am 154614ab: Merge "AArch64: Use long for pointers in graphics/Camera"
Narayan Kamath [Tue, 28 Jan 2014 19:18:45 +0000 (19:18 +0000)]
am 23abbfbb: am 154614ab: Merge "AArch64: Use long for pointers in graphics/Camera"

* commit '23abbfbb814501b825edc056027270f03f39506b':
  AArch64: Use long for pointers in graphics/Camera

10 years agoam aa9ba887: am 6e09eb4c: Merge "AArch64: Make graphics classes 64-bit compatible"
Narayan Kamath [Tue, 28 Jan 2014 19:18:40 +0000 (19:18 +0000)]
am aa9ba887: am 6e09eb4c: Merge "AArch64: Make graphics classes 64-bit compatible"

* commit 'aa9ba887371e875ffbde49f43fa12bb5f123425b':
  AArch64: Make graphics classes 64-bit compatible

10 years agoam 9b0f4be0: Merge "Track 64bit changes to android/graphics."
Narayan Kamath [Tue, 28 Jan 2014 19:16:00 +0000 (11:16 -0800)]
am 9b0f4be0: Merge "Track 64bit changes to android/graphics."

* commit '9b0f4be0a20ee48a3ddf56438e846231955bd557':
  Track 64bit changes to android/graphics.

10 years agoam 154614ab: Merge "AArch64: Use long for pointers in graphics/Camera"
Narayan Kamath [Tue, 28 Jan 2014 19:15:57 +0000 (11:15 -0800)]
am 154614ab: Merge "AArch64: Use long for pointers in graphics/Camera"

* commit '154614abbcc819c265bfb79b2626fcee66333ac2':
  AArch64: Use long for pointers in graphics/Camera

10 years agoam 6e09eb4c: Merge "AArch64: Make graphics classes 64-bit compatible"
Narayan Kamath [Tue, 28 Jan 2014 19:15:47 +0000 (11:15 -0800)]
am 6e09eb4c: Merge "AArch64: Make graphics classes 64-bit compatible"

* commit '6e09eb4c6753f8e5cbd04f9b0c7b65046d27afdb':
  AArch64: Make graphics classes 64-bit compatible

10 years agoMerge "Track 64bit changes to android/graphics."
Narayan Kamath [Tue, 28 Jan 2014 19:12:33 +0000 (19:12 +0000)]
Merge "Track 64bit changes to android/graphics."

10 years agoMerge "AArch64: Use long for pointers in graphics/Camera"
Narayan Kamath [Tue, 28 Jan 2014 19:12:29 +0000 (19:12 +0000)]
Merge "AArch64: Use long for pointers in graphics/Camera"

10 years agoMerge "AArch64: Make graphics classes 64-bit compatible"
Narayan Kamath [Tue, 28 Jan 2014 19:12:16 +0000 (19:12 +0000)]
Merge "AArch64: Make graphics classes 64-bit compatible"

10 years agoam e0d1e295: am af17925f: am 45b68ac3: am 09325627: am 245b58d6: am baf2c7a4: Merge...
Craig Mautner [Tue, 28 Jan 2014 18:22:57 +0000 (10:22 -0800)]
am e0d1e295: am af17925f: am 45b68ac3: am 09325627: am 245b58d6: am baf2c7a4: Merge "[ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager"

* commit 'e0d1e295f15a5c70ca030732fd9309f0dc50b2cc':
  [ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager

10 years agoam af17925f: am 45b68ac3: am 09325627: am 245b58d6: am baf2c7a4: Merge "[ActivityMana...
Craig Mautner [Tue, 28 Jan 2014 18:19:50 +0000 (18:19 +0000)]
am af17925f: am 45b68ac3: am 09325627: am 245b58d6: am baf2c7a4: Merge "[ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager"

* commit 'af17925f94c3a293022a4c41fc284a0a9312dcb6':
  [ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager

10 years agoam 45b68ac3: am 09325627: am 245b58d6: am baf2c7a4: Merge "[ActivityManager]: Fix...
Craig Mautner [Tue, 28 Jan 2014 18:17:31 +0000 (18:17 +0000)]
am 45b68ac3: am 09325627: am 245b58d6: am baf2c7a4: Merge "[ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager"

* commit '45b68ac3a7acb7af95fdfc5c0e31560b3c28c9f8':
  [ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager

10 years agoam 09325627: am 245b58d6: am baf2c7a4: Merge "[ActivityManager]: Fix the activity...
Craig Mautner [Tue, 28 Jan 2014 18:13:55 +0000 (18:13 +0000)]
am 09325627: am 245b58d6: am baf2c7a4: Merge "[ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager"

* commit '093256279c308fd3cad290a1b01c5d313bace8af':
  [ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager

10 years agoam 245b58d6: am baf2c7a4: Merge "[ActivityManager]: Fix the activity visibility state...
Craig Mautner [Tue, 28 Jan 2014 18:11:13 +0000 (18:11 +0000)]
am 245b58d6: am baf2c7a4: Merge "[ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager"

* commit '245b58d6f47740c09ebd47b75e6021c7cfb691af':
  [ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager

10 years agoam baf2c7a4: Merge "[ActivityManager]: Fix the activity visibility state not sync...
Craig Mautner [Tue, 28 Jan 2014 18:08:18 +0000 (10:08 -0800)]
am baf2c7a4: Merge "[ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager"

* commit 'baf2c7a400ef27b1f33999498a80e2fb3e05a22f':
  [ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager

10 years agoMerge "[ActivityManager]: Fix the activity visibility state not sync between Activity...
Craig Mautner [Tue, 28 Jan 2014 18:05:30 +0000 (18:05 +0000)]
Merge "[ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager"

10 years agoTrack 64bit changes to android/graphics.
Narayan Kamath [Mon, 27 Jan 2014 14:24:16 +0000 (14:24 +0000)]
Track 64bit changes to android/graphics.

All pointers are now 64bits wide, so should be
represented as java longs and not ints.

Also changed DelegateManager and SparseWeakArray to
reflect the new world order.

(cherry picked from commit 88a8364c386c694f7ad56662ef89713dbf7c9d63)

Change-Id: Ic2f55dd6235751169c5014f9d2ccf3f544259a87

10 years agoAArch64: Use long for pointers in graphics/Camera
Ashok Bhat [Mon, 13 Jan 2014 20:44:05 +0000 (20:44 +0000)]
AArch64: Use long for pointers in graphics/Camera

For storing pointers, long is used in
android/graphics/Camera class, 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: Ic05ebf2051a225a1638a43f476bab6176c0b5c38
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
10 years agoAArch64: Make graphics classes 64-bit compatible
Ashok Bhat [Mon, 20 Jan 2014 20:08:01 +0000 (20:08 +0000)]
AArch64: Make graphics classes 64-bit compatible

Changes in this patch include

[x] Long is used to store native pointers as they can
    be 64-bit.

[x] Some minor changes have been done to conform with
    standard JNI practice (e.g. use of jint instead of int
    in JNI function prototypes)

[x] AssetAtlasManager is not completely 64-bit compatible
    yet. Specifically mAtlasMap member has to be converted
    to hold native pointer using long. Added a TODO to
    AssetAtlasManager.java to indicate the change required.

Change-Id: I940433f601c6db998c1a8ffff338f5361200d5ed
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>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
10 years agoam 3b02fe19: Merge "Fix invocation of notification callback in case the callback...
Andreas Huber [Tue, 28 Jan 2014 17:25:53 +0000 (09:25 -0800)]
am 3b02fe19: Merge "Fix invocation of notification callback in case the callback is modified"

* commit '3b02fe19c3512db7337beafd534a943bdf624039':
  Fix invocation of notification callback in case the callback is modified

10 years agoMerge "Fix invocation of notification callback in case the callback is modified"
Andreas Huber [Tue, 28 Jan 2014 17:22:54 +0000 (17:22 +0000)]
Merge "Fix invocation of notification callback in case the callback is modified"

10 years agoam 88a8364c: Track 64bit changes to android/graphics.
Narayan Kamath [Tue, 28 Jan 2014 16:58:14 +0000 (08:58 -0800)]
am 88a8364c: Track 64bit changes to android/graphics.

* commit '88a8364c386c694f7ad56662ef89713dbf7c9d63':
  Track 64bit changes to android/graphics.

10 years agoam 36bef0bf: AArch64: Make graphics classes 64-bit compatible
Ashok Bhat [Tue, 28 Jan 2014 16:58:11 +0000 (08:58 -0800)]
am 36bef0bf: AArch64: Make graphics classes 64-bit compatible

* commit '36bef0bf30d6bae48cf3837df351075ca4fce654':
  AArch64: Make graphics classes 64-bit compatible

10 years ago[ActivityManager]: Fix the activity visibility state not sync between ActivityManager...
louis_chang [Tue, 28 Jan 2014 10:38:06 +0000 (18:38 +0800)]
[ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager

Symptom:
When press Home key to home screen, user is able to see the activity's window shown on top of wallpaper and below launcher(widgets).

Root Cause:
The ensureActivitiesVisibleLocked() is called pretty often (for example when a new process bound).
If the top activity "B" was finishing, then the previous activity "A" should be visible.
Therefore, the activity "A" window will be set to visible and then launched activity "A", but it does not updates the visible state in ActivityRecord for "A".
There has a timing issue that if a new activity "C" is started, "C" becomes the new top activity and be resumed.
In that case, Activity "A" window will remain visible even if it is behind a full screen activity "C" because the ActivityRecord.visble of "A" is still false, so the window visibility won't be update.
So when user press home key and back to launcher, the surface of activity "A" will be composed on top of wallpaper.

Solution:
Updates ActivityRecord.visible to true for "A". After "C" is started, the "A" will be called WindowManagerService.setAppVisibility() to set invisible, then called onStop() when execute ensureActivitiesVisibleLocked() again.

Change-Id: I536ba04b95d8d274fea6d679a6493e620bc981e2

10 years agoTrack 64bit changes to android/graphics.
Narayan Kamath [Mon, 27 Jan 2014 14:24:16 +0000 (14:24 +0000)]
Track 64bit changes to android/graphics.

All pointers are now 64bits wide, so should be
represented as java longs and not ints.

Also changed DelegateManager and SparseWeakArray to
reflect the new world order.

Change-Id: Ic32b6b53818dbae9b949f03004c4fb6dae26cdbe

10 years agoAArch64: Make graphics classes 64-bit compatible
Ashok Bhat [Mon, 20 Jan 2014 20:08:01 +0000 (20:08 +0000)]
AArch64: Make graphics classes 64-bit compatible

This a merger of two commits submitted to AOSP by
the following authors:

ashok.bhat@arm.com, david.butcher@arm.coma
craig.barber@arm.com, kevin.petit@arm.com and
marcus.oakland@arm.com

Due to the very large number of internal conflicts, I
have chosen to cherry-pick this change instead
of letting it merge through AOSP because the merge
conflict resolution would be very hard to review.

Commit messages below:

================================================
AArch64: Make graphics classes 64-bit compatible

Changes in this patch include

[x] Long is used to store native pointers as they can
    be 64-bit.

[x] Some minor changes have been done to conform with
    standard JNI practice (e.g. use of jint instead of int
    in JNI function prototypes)

[x] AssetAtlasManager is not completely 64-bit compatible
    yet. Specifically mAtlasMap member has to be converted
    to hold native pointer using long. Added a TODO to
    AssetAtlasManager.java to indicate the change required.

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>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
==================================================================

AArch64: Use long for pointers in graphics/Camera

For storing pointers, long is used in
android/graphics/Camera class, 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)

Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
===================================================================

Change-Id: Id5793fa0ebc17ee8b1eecf4b3f327977fdccff71

10 years agoBluetoothInputJava: Add broadcast action REPORT
Mike J. Chen [Tue, 28 Jan 2014 01:55:40 +0000 (17:55 -0800)]
BluetoothInputJava: Add broadcast action REPORT

It's returned by getReport() when callback data is ready.

Change-Id: I751c9e31de3d82a454a62cb8485a230e722b740d
Signed-off-by: Mike J. Chen <mjchen@google.com>
10 years agoam 729b12c7: am bfa3f4fd: Merge "BluetoothInputDevice: make REPORT_TYPE values match...
Mike J. Chen [Tue, 28 Jan 2014 01:35:36 +0000 (17:35 -0800)]
am 729b12c7: am bfa3f4fd: Merge "BluetoothInputDevice: make REPORT_TYPE values match hal" into klp-modular-dev

* commit '729b12c7a91f9caa65af77197cf6a8814a5a2051':
  BluetoothInputDevice: make REPORT_TYPE values match hal

10 years agoam bfa3f4fd: Merge "BluetoothInputDevice: make REPORT_TYPE values match hal" into...
Mike J. Chen [Tue, 28 Jan 2014 01:32:53 +0000 (01:32 +0000)]
am bfa3f4fd: Merge "BluetoothInputDevice: make REPORT_TYPE values match hal" into klp-modular-dev

* commit 'bfa3f4fd5c30b0d53addc071ecf8e099529f2c77':
  BluetoothInputDevice: make REPORT_TYPE values match hal

10 years agoMerge "BluetoothInputDevice: make REPORT_TYPE values match hal" into klp-modular-dev
Mike J. Chen [Tue, 28 Jan 2014 01:28:36 +0000 (01:28 +0000)]
Merge "BluetoothInputDevice: make REPORT_TYPE values match hal" into klp-modular-dev

10 years agoam b40bbe7d: Merge "Remove defunct flag"
Selim Gurun [Tue, 28 Jan 2014 01:09:53 +0000 (17:09 -0800)]
am b40bbe7d: Merge "Remove defunct flag"

* commit 'b40bbe7d8e9a5a60f4b67ca439f31b2d095f2481':
  Remove defunct flag

10 years agoMerge "Remove defunct flag"
Selim Gurun [Tue, 28 Jan 2014 01:06:44 +0000 (01:06 +0000)]
Merge "Remove defunct flag"

10 years agoam 4a4cfbe7: Merge "Add "start time" timestamp to battery stats."
Dianne Hackborn [Tue, 28 Jan 2014 01:03:26 +0000 (17:03 -0800)]
am 4a4cfbe7: Merge "Add "start time" timestamp to battery stats."

* commit '4a4cfbe7d80256caea84e0f4bcf043178fd30d1c':
  Add "start time" timestamp to battery stats.

10 years agoMerge "Add "start time" timestamp to battery stats."
Dianne Hackborn [Tue, 28 Jan 2014 01:00:21 +0000 (01:00 +0000)]
Merge "Add "start time" timestamp to battery stats."

10 years agoam e742799c: Merge "Native-side proxy"
John Reck [Tue, 28 Jan 2014 00:48:13 +0000 (16:48 -0800)]
am e742799c: Merge "Native-side proxy"

* commit 'e742799cae886e0e9b2eb5514e58bab27e34a0ee':
  Native-side proxy

10 years agoMerge "Native-side proxy"
John Reck [Tue, 28 Jan 2014 00:45:44 +0000 (00:45 +0000)]
Merge "Native-side proxy"

10 years agoNative-side proxy
John Reck [Sat, 4 Jan 2014 02:09:17 +0000 (18:09 -0800)]
Native-side proxy

 Remove RemoteGLRenderer
 Remove reflection-based control

Change-Id: If17c2bbb61c7141986d88c4763def77ed1074985

10 years agoFix invocation of notification callback in case the callback is modified
Andreas Huber [Tue, 28 Jan 2014 00:30:09 +0000 (16:30 -0800)]
Fix invocation of notification callback in case the callback is modified

from a separate thread.

Change-Id: I741c1f2f9c796ec977a742a69cedcca10c5218ad

10 years agoBluetoothInputDevice: make REPORT_TYPE values match hal
Mike J. Chen [Tue, 28 Jan 2014 00:27:04 +0000 (16:27 -0800)]
BluetoothInputDevice: make REPORT_TYPE values match hal

So we don't have to do conversion when using getReport/setReport
and can pass the value to the BT HAL directly.

Change-Id: I8d4af72d2e040d43cc9ff8a8cddfbe6cc8cfdb9a
Signed-off-by: Mike J. Chen <mjchen@google.com>
10 years agoam 548061e5: am df8b604e: Merge "Fix NPE in deleteDatabase()." into klp-modular-dev
Jeff Brown [Tue, 28 Jan 2014 00:17:03 +0000 (16:17 -0800)]
am 548061e5: am df8b604e: Merge "Fix NPE in deleteDatabase()." into klp-modular-dev

* commit '548061e5b63913a71b5101e5887a87f818cffadd':
  Fix NPE in deleteDatabase().

10 years agoam d16c409e: am 065d998a: Merge "Hide an old debug function." into klp-modular-dev
Jeff Brown [Tue, 28 Jan 2014 00:17:00 +0000 (16:17 -0800)]
am d16c409e: am 065d998a: Merge "Hide an old debug function." into klp-modular-dev

* commit 'd16c409e55e3d0fbe3e6d18ceca5806415ed1c92':
  Hide an old debug function.

10 years agoam df8b604e: Merge "Fix NPE in deleteDatabase()." into klp-modular-dev
Jeff Brown [Tue, 28 Jan 2014 00:13:27 +0000 (00:13 +0000)]
am df8b604e: Merge "Fix NPE in deleteDatabase()." into klp-modular-dev

* commit 'df8b604e9bf49bcf9a620e4fe19ccf19c2c49487':
  Fix NPE in deleteDatabase().

10 years agoam 065d998a: Merge "Hide an old debug function." into klp-modular-dev
Jeff Brown [Tue, 28 Jan 2014 00:13:12 +0000 (00:13 +0000)]
am 065d998a: Merge "Hide an old debug function." into klp-modular-dev

* commit '065d998a4c3d597e924f42635d1a3699a6fcf34b':
  Hide an old debug function.

10 years agoMerge "Fix NPE in deleteDatabase()." into klp-modular-dev
Jeff Brown [Tue, 28 Jan 2014 00:09:42 +0000 (00:09 +0000)]
Merge "Fix NPE in deleteDatabase()." into klp-modular-dev

10 years agoMerge "Hide an old debug function." into klp-modular-dev
Jeff Brown [Tue, 28 Jan 2014 00:09:06 +0000 (00:09 +0000)]
Merge "Hide an old debug function." into klp-modular-dev

10 years agoMove majority of security-related logic from KeyguardHostView
Jim Miller [Wed, 15 Jan 2014 02:57:03 +0000 (18:57 -0800)]
Move majority of security-related logic from KeyguardHostView
to KeyguardSecurityContainer.

This removes and/or simplifies the interface between modules to
allow easier separation of KeyguardSecurityContainer into a stand-alone
component.

Bug 12135931

10 years agoam db7516e3: Merge "Use path outlines to define shadow shapes"
Chris Craik [Mon, 27 Jan 2014 22:33:13 +0000 (14:33 -0800)]
am db7516e3: Merge "Use path outlines to define shadow shapes"

* commit 'db7516e3bd24589525c42b9b4761381b547dc3be':
  Use path outlines to define shadow shapes

10 years agoMerge "Use path outlines to define shadow shapes"
Chris Craik [Mon, 27 Jan 2014 22:30:52 +0000 (22:30 +0000)]
Merge "Use path outlines to define shadow shapes"

10 years agoRemove logging of DisplayList staleness
Chris Craik [Mon, 27 Jan 2014 22:26:14 +0000 (14:26 -0800)]
Remove logging of DisplayList staleness

Change-Id: Ie6b3af3065d4d10ec0bc9b419223d3458d297ea8

10 years agoam cd53c257: Disable Drawable DisplayLists
Chris Craik [Mon, 27 Jan 2014 22:18:43 +0000 (14:18 -0800)]
am cd53c257: Disable Drawable DisplayLists

* commit 'cd53c257e3e75325eba70f5e52ecadfc1b2bf567':
  Disable Drawable DisplayLists

10 years agoDisable Drawable DisplayLists
Chris Craik [Mon, 27 Jan 2014 21:58:11 +0000 (13:58 -0800)]
Disable Drawable DisplayLists

bug:12581401
bug:12758460

DisplayLists of drawables aren't being cleared out correctly, and will
incorrectly store state across configuration changes. Disable them
temporarily until this is fixed.

Change-Id: Ic09f0674d30476127316cfb4ffe45eb34cc15aa0

10 years agoRemove defunct flag
Selim Gurun [Mon, 27 Jan 2014 21:39:24 +0000 (13:39 -0800)]
Remove defunct flag

Change-Id: Ib745f225f40a9cd7bf62a93f9546bd31f1507cbf

10 years agoam 2d434c8b: (-s ours) Merge "Import translations. DO NOT MERGE"
Baligh Uddin [Mon, 27 Jan 2014 21:33:35 +0000 (13:33 -0800)]
am 2d434c8b: (-s ours) Merge "Import translations. DO NOT MERGE"

* commit '2d434c8bdf5f980956854ea022db9588e66f445e':
  Import translations. DO NOT MERGE

10 years agoam 4af3fb87: (-s ours) Merge "Import translations. DO NOT MERGE"
Baligh Uddin [Mon, 27 Jan 2014 21:33:32 +0000 (13:33 -0800)]
am 4af3fb87: (-s ours) Merge "Import translations. DO NOT MERGE"

* commit '4af3fb87089268aa9e998b84cee659b4cbfd428b':
  Import translations. DO NOT MERGE

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Mon, 27 Jan 2014 21:31:36 +0000 (21:31 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Mon, 27 Jan 2014 21:31:32 +0000 (21:31 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoam 63c92ed4: Merge "Update PackageMonitor to recognize new \'replacing\' semantics"
Christopher Tate [Mon, 27 Jan 2014 21:11:14 +0000 (13:11 -0800)]
am 63c92ed4: Merge "Update PackageMonitor to recognize new \'replacing\' semantics"

* commit '63c92ed41ee5df6751734ce2d8a1dd46327ad3a8':
  Update PackageMonitor to recognize new 'replacing' semantics

10 years agoMerge "Update PackageMonitor to recognize new 'replacing' semantics"
Christopher Tate [Mon, 27 Jan 2014 21:09:47 +0000 (21:09 +0000)]
Merge "Update PackageMonitor to recognize new 'replacing' semantics"

10 years agoam 8a5703c8: Merge "bluetoothsocket fd leak, need close the file descriptor after...
Zhihai Xu [Mon, 27 Jan 2014 20:45:24 +0000 (12:45 -0800)]
am 8a5703c8: Merge "bluetoothsocket fd leak, need close the file descriptor after detachFd."

* commit '8a5703c8c89811431a423d41fa4fad38081216de':
  bluetoothsocket fd leak, need close the file descriptor after detachFd.

10 years agoMerge "bluetoothsocket fd leak, need close the file descriptor after detachFd."
Zhihai Xu [Mon, 27 Jan 2014 20:42:18 +0000 (20:42 +0000)]
Merge "bluetoothsocket fd leak, need close the file descriptor after detachFd."

10 years agoam ca5766cf: am 86824cf0: am 3a3def13: am 0e8f02d6: am 76dcacad: am 1ff4293e: Merge...
Christopher Tate [Mon, 27 Jan 2014 20:04:04 +0000 (12:04 -0800)]
am ca5766cf: am 86824cf0: am 3a3def13: am 0e8f02d6: am 76dcacad: am 1ff4293e: Merge "Fixed race condition in Spinner.DialogPopup on null reference."

* commit 'ca5766cf26c23deb123b10cd362ce2d57a36d21e':
  Fixed race condition in Spinner.DialogPopup on null reference.

10 years agoam 86824cf0: am 3a3def13: am 0e8f02d6: am 76dcacad: am 1ff4293e: Merge "Fixed race...
Christopher Tate [Mon, 27 Jan 2014 20:00:21 +0000 (20:00 +0000)]
am 86824cf0: am 3a3def13: am 0e8f02d6: am 76dcacad: am 1ff4293e: Merge "Fixed race condition in Spinner.DialogPopup on null reference."

* commit '86824cf0a994abc38f08ac5692cf6b73cd10526e':
  Fixed race condition in Spinner.DialogPopup on null reference.

10 years agoam 2f4e0c24: am 698d3673: am 4a750c1f: am 15594557: am 137d74d8: am db525724: Merge...
Mathieu Chartier [Mon, 27 Jan 2014 19:59:37 +0000 (11:59 -0800)]
am 2f4e0c24: am 698d3673: am 4a750c1f: am 15594557: am 137d74d8: am db525724: Merge "Fix dest == src bugs in Matrix.cpp."

* commit '2f4e0c24ab33895a60baf9918cb6cb47a989b81c':
  Fix dest == src bugs in Matrix.cpp.

10 years agoam 698d3673: am 4a750c1f: am 15594557: am 137d74d8: am db525724: Merge "Fix dest...
Mathieu Chartier [Mon, 27 Jan 2014 19:55:35 +0000 (19:55 +0000)]
am 698d3673: am 4a750c1f: am 15594557: am 137d74d8: am db525724: Merge "Fix dest == src bugs in Matrix.cpp."

* commit '698d36731700b168e5debf8c3904d1106f4da20a':
  Fix dest == src bugs in Matrix.cpp.

10 years agoam 3a3def13: am 0e8f02d6: am 76dcacad: am 1ff4293e: Merge "Fixed race condition in...
Christopher Tate [Mon, 27 Jan 2014 19:54:30 +0000 (19:54 +0000)]
am 3a3def13: am 0e8f02d6: am 76dcacad: am 1ff4293e: Merge "Fixed race condition in Spinner.DialogPopup on null reference."

* commit '3a3def1304b0fa9ed72003882716ad43e85b13d3':
  Fixed race condition in Spinner.DialogPopup on null reference.

10 years agoam 36ca2324: Merge "Clean up dhcp no-op logging"
Robert Greenwalt [Mon, 27 Jan 2014 19:52:40 +0000 (11:52 -0800)]
am 36ca2324: Merge "Clean up dhcp no-op logging"

* commit '36ca2324418f2169eb332d95190ea4c3b4dd140f':
  Clean up dhcp no-op logging

10 years agoMerge "Clean up dhcp no-op logging"
Robert Greenwalt [Mon, 27 Jan 2014 19:50:10 +0000 (19:50 +0000)]
Merge "Clean up dhcp no-op logging"

10 years agoam 4a750c1f: am 15594557: am 137d74d8: am db525724: Merge "Fix dest == src bugs in...
Mathieu Chartier [Mon, 27 Jan 2014 19:49:35 +0000 (19:49 +0000)]
am 4a750c1f: am 15594557: am 137d74d8: am db525724: Merge "Fix dest == src bugs in Matrix.cpp."

* commit '4a750c1f4a2760ae564fa56717c04a5f01396090':
  Fix dest == src bugs in Matrix.cpp.

10 years agoam 0e8f02d6: am 76dcacad: am 1ff4293e: Merge "Fixed race condition in Spinner.DialogP...
Christopher Tate [Mon, 27 Jan 2014 19:48:03 +0000 (19:48 +0000)]
am 0e8f02d6: am 76dcacad: am 1ff4293e: Merge "Fixed race condition in Spinner.DialogPopup on null reference."

* commit '0e8f02d68f8cfe14e14800520a8133bc7efd13b7':
  Fixed race condition in Spinner.DialogPopup on null reference.