summaryrefslogtreecommitdiffstats
path: root/native/android
Commit message (Collapse)AuthorAgeFilesLines
* Udpate instrumentation codeWilliam Clark2015-11-302-3/+0
| | | | | | Added changes to support new features in QSSP Change-Id: I92c0a4eb3cb5363fbf08185f25644a3202c38788
* Merge tag 'android-6.0.0_r26' into HEADRicardo Cerqueira2015-11-051-4/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 6.0.0 release 26 Conflicts: cmds/bootanimation/BootAnimation.cpp core/java/android/accounts/AccountManager.java core/java/android/app/AppOpsManager.java core/java/android/os/PowerManagerInternal.java core/java/android/os/storage/IMountService.java core/java/android/provider/Settings.java core/java/com/android/internal/widget/ILockSettings.aidl core/res/res/values-mcc204-mnc12/config.xml core/res/res/values-mcc219-mnc02/config.xml core/res/res/values-mcc730-mnc07/config.xml core/res/res/values/config.xml core/res/res/values/symbols.xml packages/SystemUI/res/values/config.xml packages/SystemUI/src/com/android/systemui/doze/DozeService.java packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java packages/SystemUI/src/com/android/systemui/statusbar/ExpandableOutlineView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeParameters.java packages/SystemUI/src/com/android/systemui/statusbar/phone/DozeScrimController.java packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java packages/SystemUI/src/com/android/systemui/statusbar/stack/StackScrollAlgorithm.java services/core/java/com/android/server/LocationManagerService.java services/core/java/com/android/server/am/ActivityManagerService.java services/core/java/com/android/server/pm/PackageManagerService.java services/core/java/com/android/server/power/PowerManagerService.java telecomm/java/android/telecom/Phone.java telephony/java/android/telephony/CarrierConfigManager.java telephony/java/android/telephony/RadioAccessFamily.java telephony/java/android/telephony/ServiceState.java telephony/java/android/telephony/SignalStrength.java telephony/java/android/telephony/TelephonyManager.java telephony/java/com/android/ims/ImsCallProfile.java telephony/java/com/android/ims/ImsReasonInfo.java telephony/java/com/android/ims/ImsSuppServiceNotification.aidl telephony/java/com/android/ims/ImsSuppServiceNotification.java telephony/java/com/android/ims/internal/IImsRegistrationListener.aidl telephony/java/com/android/internal/telephony/RILConstants.java Change-Id: I99c6edb8e25a77145b5adef97d0d55bfbe676959
| * Call getInstanceForPackage instead of creating a new SensorManager instance.Aravind Akella2015-07-301-5/+1
| | | | | | | | | | Bug: 22529981 Change-Id: If077e042a4af940dfb1fc9c4ac8b9d352dd32685
* | SEEMP: Add more framework instrumentationWilliam Clark2015-10-062-1/+4
|/ | | | | | | | | Instrument framework files to log events of interest. Conflicts: core/java/android/accounts/AccountManager.java Change-Id: Ia45651e6352586f910039b51cac2356f65f80010
* Revert "Call getInstanceForPackage instead of creating a new SensorManager ↵Narayan Kamath2015-07-291-1/+4
| | | | | | | | instance." This reverts commit 5967ddbf05f146bdb6744207e3daed1aa76fc637. Change-Id: I6d58129585a30d7c2ef39c8cbe796fd696c93f56
* Call getInstanceForPackage instead of creating a new SensorManager instance.Aravind Akella2015-07-271-4/+1
| | | | | Bug: 22529981 Change-Id: Id3adfbcf55d1268db1a555c72a06456a5219c086
* Add native tracing APIChris Craik2015-06-102-0/+31
| | | | | | bug:21195272 Change-Id: I520de9fee7fc40d0570d6bef450d756ce42a1462
* Add -round and -notround qualifier to android runtime/aaptAdam Lesinski2015-05-151-0/+9
| | | | | | | | The round qualifier denotes a device with a screen shape that is round. The qualifier shows up after the 'long/notlong' qualifier and before the orientation 'port/land/square' qualifiers. Change-Id: I3044258b2703a9165694b79725bade770fa6cea1
* Fix broke NDK sensor manager APISvet Ganov2015-05-071-0/+18
| | | | Change-Id: I0f4e2a3ce20ce20e0aa5a7d38d1f988497c033c0
* Add body sensors app op - framework baseSvet Ganov2015-05-011-5/+0
| | | | Change-Id: Idd5cd573fab3405e5b2a6e51d2d9d115650826e9
* multinetwork API: native implementationErik Kline2015-04-152-3/+92
| | | | | Bug: 19537384 Change-Id: I04f4a7de2b1e583989b67a853df6ab50289c2185
* Frameworks/base: Wall Werror in native/androidAndreas Gampe2014-11-101-1/+3
| | | | | | Turn on -Wall -Werror in native/android. Change-Id: I28bab9ebd2fe3f6935878816773a04531e26450f
* Sensor related changes for NDK.Aravind Akella2014-08-051-0/+18
| | | | | | | | i) Add ASensor_isWakeUpSensor and ASensorManager_getDefaultSensorEx methods. Bug: 16399898 Change-Id: Icc252aad068fa337bef8b22f20584f98cd5a155d
* Add java APIs for Sensor reportingMode.Aravind Akella2014-06-091-0/+5
| | | | Change-Id: Iba6bb11f990d9966b86bf02d70ced7312f3e64a8
* am c7153377: am 73da981f: Merge "Remove getRequiredPermission from NDK." ↵Aravind Akella2014-05-231-5/+0
|\ | | | | | | | | | | | | into klp-modular-dev * commit 'c7153377cf03303e97185397544a13971a089961': Remove getRequiredPermission from NDK.
| * am 73da981f: Merge "Remove getRequiredPermission from NDK." into klp-modular-devAravind Akella2014-05-221-5/+0
| |\ | | | | | | | | | | | | * commit '73da981fd60f9dc855a04ea53e9fff59a011577e': Remove getRequiredPermission from NDK.
| | * Remove getRequiredPermission from NDK.Aravind Akella2014-05-221-5/+0
| | | | | | | | | | | | Change-Id: Ieb1e97e44ef335e6087ba9164058fe3535e9998a
* | | Bug fix for wakeup sensors.Aravind Akella2014-04-231-2/+5
|/ / | | | | | | | | | | | | | | SensorService should hold a wakelock till the app reads events from a wakeup sensor. Currently drivers hold a wakelock with a timeout while delivering events from a wake up sensor like Significant Motion. This hack can be removed now. Bug: 9774884 Change-Id: I6cab0147c63f57a494a61f4dfe2a64a27dfe1b4e
* | am cd4c1c71: Merge "Add stringType and requiredPermissions to ↵Aravind Akella2014-04-111-0/+20
|\ \ | |/ | | | | | | | | | | SensorManager.java, as well as a permission for the heart rate sensor" into klp-modular-dev * commit 'cd4c1c714c37a1bc7ba35ebd2509eca4f0f6a314': Add stringType and requiredPermissions to SensorManager.java, as well as a permission for the heart rate sensor
| * Add stringType and requiredPermissions to SensorManager.java, as well as a ↵Aravind Akella2014-04-111-0/+20
| | | | | | | | | | | | | | | | permission for the heart rate sensor This reverts commit 819239e5bec90ee3c861ac45fffac4a832a183a1. Change-Id: I4bbb222e5c9dc65aed03aa28fd9e0f00fe335819
* | am 819239e5: Revert "Add stringType and requiredPermissions to ↵Etienne Le Grand2014-04-051-20/+0
|\ \ | |/ | | | | | | | | | | SensorManager.java, as well as a permission for the heart rate sensor" * commit '819239e5bec90ee3c861ac45fffac4a832a183a1': Revert "Add stringType and requiredPermissions to SensorManager.java, as well as a permission for the heart rate sensor"
| * Revert "Add stringType and requiredPermissions to SensorManager.java, as ↵Etienne Le Grand2014-04-051-20/+0
| | | | | | | | | | | | | | | | well as a permission for the heart rate sensor" This reverts commit fd53d8352a4617941b0a0449390aa562a01ea1d3. Change-Id: I1c6322d1d992147bb5ef201238374966128c1a61
* | am fd53d835: Add stringType and requiredPermissions to SensorManager.java, ↵Etienne Le Grand2014-04-051-0/+20
|\ \ | |/ | | | | | | | | | | as well as a permission for the heart rate sensor * commit 'fd53d8352a4617941b0a0449390aa562a01ea1d3': Add stringType and requiredPermissions to SensorManager.java, as well as a permission for the heart rate sensor
| * Add stringType and requiredPermissions to SensorManager.java, as well as a ↵Etienne Le Grand2014-04-041-0/+20
| | | | | | | | | | | | permission for the heart rate sensor Change-Id: I16e5da68f860494e24cca64075be76fad02617bc
* | AArch64: Make AssetManager and related classes 64-bit compatibleAshok Bhat2014-01-311-2/+2
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | Following changes have been done: [x] Long is used to store native pointers as pointers can be 64-bit. [x] AssetManager openAsset native function returned -1 if file name was empty and java function considered any non-zero value as success. This has been fixed by native function throwing Illegal Argument Exception as well. [x] AssetManager incRefsLocked and decRefsLocked now accept long as input to support 64-bit native references. [x] AssetManager incRefsLocked method incorrecly used 'this.hashCode()' instead of the passed parameter id. This has been fixed. [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) Change-Id: I095b9f900d49e51f43ad6afc47cbc23116a6a64a 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>
* Track Looper decoupling from ALooperBrian Carlstrom2013-12-182-8/+16
| | | | Change-Id: I54f4d36f105e60eaaa453ae60f591d634c681fd7
* Move input library code to frameworks/native.Jeff Brown2013-07-012-2/+3
| | | | | | | | | No longer compile libandroidfw as a static library on the device since it already exists as a shared library. Keeping the static library would force us to provide a static library version of libinput for the device as well which doesn't make sense. Change-Id: I3517881b87b47dcc209d80dbd0ac6b5cf29a766f
* am 09377ddb: Merge "Fix AMotionEvent_getHistorical* to take const ↵Andrew Hsieh2013-05-281-12/+12
|\ | | | | | | | | | | | | AInputEvent* motion_event" * commit '09377ddb93a964b9e0def6d84b8beb3a515f4a18': Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_event
| * Fix AMotionEvent_getHistorical* to take const AInputEvent* motion_eventAndrew Hsieh2013-05-271-12/+12
| | | | | | | | | | | | See b.android.com/55873 Change-Id: Idff7b71480991e16f57e55748fafa57d5827b10b
* | Rewrite input handling for native applicationsMichael Wright2013-04-221-6/+21
| | | | | | | | | | Bug: 8473020 Change-Id: Ic4353d8924ab877bec21aff8c2dba9fe725bf906
* | Add liblogYing Wang2013-04-091-0/+1
|/ | | | | Bug: 8580410 Change-Id: I746aa8258866508c3a725d0773faf4518096548f
* Handle multi-user mountObb() requests.Jeff Sharkey2012-09-251-3/+12
| | | | | | | | | | | | | | | | | | | | | Since emulated external storage paths differ based on execution context, carefully fix up paths for various use-cases: 1. When sending paths to DefaultContainerService, always scope OBB paths as belonging to USER_OWNER. 2. When sending paths to vold, always build emulated storage paths visible to root. 3. Always use the original untouched path when talking with apps. Mount OBB containers using shared app GID, so that an app can read the mount point across users. Handle legacy paths like "/sdcard" by resolving the canonical path before sending to MountService. Move tests to servicestests, and add tests for new path generation logic. Bug: 7212801 Change-Id: I078c52879cd08d9c8a52cc8c83ac7ced1e8035e7
* Merge "Add support for "-rtl" in resources" into jb-mr1-devFabrice Di Meglio2012-09-041-0/+10
|\
| * Add support for "-rtl" in resourcesFabrice Di Meglio2012-08-231-0/+10
| | | | | | | | | | | | - fix bug #7035019 Need to have "-rtl" support for Resource Change-Id: Ic82145c2ac672729d8a6c695a5f343276a1a0a2c
* | Add plumbing for new surface flinger display API.Jeff Brown2012-08-271-1/+1
|/ | | | | | | | | | | | | | Cleaned up the implementation of Surface and SurfaceSession to use more consistent naming and structure. Added JNI for all of the new surface flinger display API calls. Enforced the requirement that all Surfaces created by the window manager be named. Updated the display manager service to use the new methods. Change-Id: I2a658f1bfd0437e1c6f9d22df8d4ffcce7284ca2
* libnativehelper is implicitly available.Elliott Hughes2012-05-031-2/+1
| | | | | | | (And is moving for the PDK.) Bug: 6369821 Change-Id: I9e082ef294cfb2d70384255eb06d97d8cb92b382
* Merge "ANativeWindow: support for application buffer dimensions"Jamie Gennis2012-04-111-6/+9
|\
| * ANativeWindow: support for application buffer dimensionsMichael I. Gold2012-04-101-6/+9
| | | | | | | | | | | | | | Make the NDK use the new native_window_set_buffers_user_dimensions to implement the ANativeWindow_setBuffersGeometry call. Change-Id: I2d5981cbd619ee2e090fe8f2ddc69217915c9d9e
* | Request key maps from input manager service.Jeff Brown2012-04-101-1/+0
|/ | | | | | | | | | | | | | | | | | Instead of each application loading the KeyCharacterMap from the file system, get them from the input manager service as part of the InputDevice object. Refactored InputManager to be a proper singleton instead of having a bunch of static methods. InputManager now maintains a cache of all InputDevice objects that it has loaded. Currently we never invalidate the cache which can cause InputDevice to return stale motion ranges if the device is reconfigured. This will be fixed in a future change. Added a fake InputDevice with ID -1 to represent the virtual keyboard. Change-Id: If7a695839ad0972317a5aab89e9d1e42ace28eb7
* fix libgui header locationMathias Agopian2012-02-271-1/+1
| | | | Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
* frameworks/base refactoringMathias Agopian2012-02-201-0/+1
| | | | | | create the new libandroidfw from parts of libui and libutils Change-Id: I1584995616fff5d527a2aba63921b682a6194d58
* frameworks/base refactoring.Mathias Agopian2012-02-173-5/+5
| | | | | | step 2: move libutils headers to their new home: androidfw Change-Id: I14624ba23db92a81f2cb929f104386e1fab293ef
* frameworks/base refactoring.Mathias Agopian2012-02-171-2/+2
| | | | | | First step. Move libui includes to their new home: androidfw. Change-Id: Ic042b52fdba72f30edc3cc6339bf30b4c1b99662
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-082-4/+4
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-1/+1
| | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
* Remove obsolete NativeWindow_fromSurfaceTextureGlenn Kasten2011-10-211-8/+0
| | | | Change-Id: I9351103929da515cb411fb2e7906bb9f27c4da20
* Remove ParcelSurfaceTexture and update MediaPlayerTed Bonkenburg2011-08-111-9/+1
| | | | | | | | | This removes the ParcelSurfaceTexture class since that functionality has been folded into Surface.java. The change also updates the MediaPlayer to get rid of setParcelSurfaceTexture() and modifies setTexture() to use the new Surface functionality in order to simplify the code. Change-Id: Iafa75ea3188263928128325d8a726786971b4de4
* Add set_scaling_mode() to ANativeWindow.Mathias Agopian2011-07-191-1/+9
| | | | | | | This allows to specify the scaling mode independently from the buffer size. Change-Id: Iaa2baa660445531a97d3fac192e580f4929c5d3b
* move lock/unlock implementaion outside of Surface into SurfaceTextureClientMathias Agopian2011-07-151-32/+2
| | | | | | | | | | This makes ANativeWindow_lock/ANativeWindow_unlockAndPost work with ANativeWindows implemented by Surface and SurfaceTextureClient. Also, Surface now inherits directly from SurfaceTextureClient. Bug: 5003724 Change-Id: I9f285877c7bae9a262e9a7af91c2bae78804b2ef
* Add ParcelSurfaceTexture Java class to enable ISurfaceTexture sharing via ↵tedbo2011-06-091-1/+9
| | | | | | | | | | | Binder. This adds a new ParcelSurfaceTexture.java class that can be instantiated with a SurfaceTexture and used to send the corresponding ISurfaceTexture interface to another process via Binder. The ParcelSurfaceTexture java object can then be used to create an ANativeWindow based on the SurfaceTextureClient interface. Change-Id: Ie38ea948b866e52f36a6d0f6cde19b54a8546817