Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
278 commits
Select commit Hold shift + click to select a range
0a8103e
Merge "Fix unresponsive home key after waking device with a long pres…
rmcc Oct 11, 2013
a36ae8a
Merge "SystemUI: SK translations" into cm-10.2
therbom Oct 12, 2013
b1aef0a
Merge "base: CS translation" into cm-10.2
therbom Oct 12, 2013
2487e96
core: zh-rTW translations
louiswpf Oct 10, 2013
98d10e8
IPV6 tethering: Check info for null before removeUpstreamV6Interface
Oct 17, 2013
e4fe135
Camera: Video HDR Feature Integration.
Jul 30, 2013
46820e1
Camera: Adds support for meta data callbacks
Aug 12, 2013
f274625
Frameworks: Enhance face detection
Feb 16, 2012
e0c114f
Frameworks: QCFace framework added
Aug 22, 2013
c5fada3
Camera: Adds support for longshot configuration
Aug 15, 2013
235f202
Cleanup and improve ringer tile code.
maniac103 Oct 17, 2013
227ec12
Fix compilation for non QCOM hardware after 'Enhance face detection' …
thoemy Oct 17, 2013
913f365
Merge "Cleanup and improve ringer tile code." into cm-10.2
maniac103 Oct 18, 2013
2062351
MediaRecorder: add pause interface
Aug 29, 2013
980bf5b
Telephony: Add new apn.sim.operator_numeric property
Jun 18, 2012
7eaefaf
Telephony: Add functionality to handle ICC IO error
Feb 6, 2013
9a51a3d
Telephony: Managed Roaming feature re-design.
Jan 3, 2013
cf1e402
Telephony: Few PIN/PUK fixes
Jan 21, 2013
2f1e206
Telephony: SMS over IMS
Aug 7, 2012
28aded5
Telephony: Add tethering definitions
Nov 28, 2012
5c4cd15
Frameworks: Add TD-SCDMA support
May 30, 2013
dfa6de7
telephony: IMS changes for VoLTE and VT
Mar 2, 2012
94c446b
Telephony: Add enable/disable APIs for Cdma CMAS
Jun 17, 2013
ed5b95c
Telephony: STK CC feature implementation
Oct 19, 2012
e74d017
Telephony: Initialize GsmCellLocation class members properly
Oct 21, 2012
f0c330f
Telephony(MSIM): Add support for MultiSim
Jun 18, 2013
c907d58
Ims: Fix the NullPointerException in getCountryIso() function
May 31, 2013
c201757
Telephony(DSDS): MMS Auto Download.
Oct 26, 2012
d357978
Telephony: Change Default subscription property name.
Jul 8, 2013
efc934f
Telephony(MSIM): Add StatusBar support for MultiSim.
Nov 1, 2012
29b593e
Fix for data and roaming icons
Nov 16, 2011
622b7b6
Ims: Fix for Phone App crash and NullPtrException in getCountryIso API
Jul 8, 2013
c8cb5b9
Telephony: Add TD-SCDMA support
Apr 1, 2013
7db8630
Telephony: Add RIL request and event for OMH support
Jun 7, 2013
c1f8161
Telephony(MSIM): Set priority when send sms
Jul 18, 2013
45dcf94
Telephony(MSIM): MultiSim support for PIN/PUK & Operator Name.
Jun 4, 2013
d6da6fa
Telephony: Added ME Depersonalization support.
Mar 26, 2013
bcf3b86
Telephony: Add DETECTED state and PIN/PUK retry count.
Jul 8, 2013
4461979
Telephony: Remove CDMA cellbroadcast API's
Jul 18, 2013
7c514bc
CSVT: Introduce Circuit-Switch Video Telephony.
Jul 15, 2013
b9ba471
Telephony(MultiSim): Add support for emergency calls
Jan 25, 2013
4d88cdb
Telephony: Add support for NETWORK_TYPE_GSM
Aug 10, 2013
a781753
Telephony(MSIM): Define invalid subscription constant
Aug 21, 2013
4215629
Add onDataRatChanged trigger to DcTracker
Aug 26, 2013
737ff0b
frameworks/base: Add constants for call_state and vsid
Jun 5, 2013
084877b
audio: Manage audio focus for QCHAT
Mar 26, 2013
4d46205
frameworks/base: Add support for QCHAT call.
vkathota Jul 30, 2013
cf72e39
media: Configure audio encode parameters only for valid audio codec
Jul 23, 2013
f60d364
frameworks/base: Add wifi display to fixed volume devices
May 1, 2013
a6c7dce
frameworks/base: Add support for QCHAT concurrencies.
Aug 13, 2013
a69d6c4
Frameworks: Do not send Radio Power Off on SIM_RESET
Nov 26, 2012
37b6d7f
Telephony(MSIM): Add prompt support for SMS
Jul 4, 2013
f624969
Telephony: Add support for tune away and priority sub
Mar 19, 2013
bf5a4d8
Fix compilation after upstream merge
hyperb1iss Oct 8, 2013
9d63924
Correcting NULL pointer when callerApp is not set
Oct 7, 2013
afeba31
Frameworks : Fix face detection
Danesh Oct 18, 2013
0b8f6c0
DeviceKeyHandler : Allow handling keyevents while screen off
Danesh Oct 20, 2013
170a6da
Fix removal of dock battery views in PhoneStatusBar
veeti Oct 20, 2013
98dab83
Fix misspelled comment
veeti Oct 20, 2013
b22d67e
Merge "Correcting NULL pointer when callerApp is not set" into cm-10.2
maniac103 Oct 20, 2013
e26c0ef
Merge changes Id13737b3,I56745059 into cm-10.2
maniac103 Oct 20, 2013
b9d164e
Correct padding for status bar icons
veeti Oct 20, 2013
85cf9cc
Merge "DeviceKeyHandler : Allow handling keyevents while screen off" …
Danesh Oct 20, 2013
e622c7f
qs: Add torch and GPS tiles by default if supported
hyperb1iss Oct 20, 2013
eaae8f7
QCFace: Fix package path
jruesga Oct 19, 2013
dc94198
Support GESTURE_SENSOR input device type with GestureService
intervigilium Oct 8, 2013
4948cdb
Merge branch 'qcril' into cm-10.2
rmcc Oct 22, 2013
dbb6917
Hide InputDevice.SOURCE_GESTURE_SENSOR from API
intervigilium Oct 22, 2013
37d5a2a
Merge "Correct padding for status bar icons" into cm-10.2
maniac103 Oct 22, 2013
952184b
framework/base: IT translations
Oct 20, 2013
3301245
Quiet Hours: allow disabling of system sounds (1 of 2)
invisiblek Oct 22, 2013
c6557eb
PieInputFilter: Fix the check for the input device type
rmcc Oct 23, 2013
3c8090a
Merge "PieInputFilter: Fix the check for the input device type" into …
rmcc Oct 23, 2013
36cc222
QuietHours: clean up and consolidate code
invisiblek Oct 22, 2013
2731704
framework/base: CS translation
Keltek Oct 23, 2013
115150d
NetworkController: Hide signal strength icon when no SIM icon is shown
intervigilium Oct 24, 2013
a2e75c2
TD_SCDMA signal strength support
trulyliu Oct 24, 2013
af64bc6
telephony: disable the use of SMS_EXPECT_MORE by default (1/2)
pawitp Oct 24, 2013
ae44434
Merge "NetworkController: Hide signal strength icon when no SIM icon …
rmcc Oct 24, 2013
fc96fb1
core: HU translation
tothtamassyman Oct 24, 2013
b1b9e7c
frameworks_base: ES translations
Oct 24, 2013
8bc226c
ISms.aidl: Add callingPkg to sendTextWithPriority.
koush Oct 25, 2013
858d67d
Remote display framework support.
koush Sep 15, 2013
7c61089
Merge "ISms.aidl: Add callingPkg to sendTextWithPriority." into cm-10.2
koush Oct 25, 2013
bba7d60
Fix checkapi
koush Oct 25, 2013
12d0721
NetworkController: Fix hiding signal strength icon when no SIM icon s…
intervigilium Oct 25, 2013
b55b056
Merge "core: HU translation" into cm-10.2
therbom Oct 25, 2013
b5f2971
Merge "frameworks_base: ES translations" into cm-10.2
therbom Oct 25, 2013
7eea613
Make lock screen menu button actions work regardless of rebinding
doopl Oct 24, 2013
6fd588a
Merge "framework/base: CS translation" into cm-10.2
therbom Oct 25, 2013
64bafae
Merge "framework/base: IT translations" into cm-10.2
therbom Oct 25, 2013
35b195f
Revert "Frameworks/base: move custom string in cm_strings.xml file"
therbom Oct 25, 2013
52a6350
core: NL translations
therbom Oct 25, 2013
71cb141
Merge "Make lock screen menu button actions work regardless of rebind…
rmcc Oct 25, 2013
db6e470
Merge "NetworkController: Fix hiding signal strength icon when no SIM…
rmcc Oct 25, 2013
e301d80
Merge "TD_SCDMA signal strength support" into cm-10.2
rmcc Oct 25, 2013
9bf0b99
core: EL translations
mikeNG Oct 25, 2013
9873af3
ringtones: Rename 'Bootes' ringtone
intervigilium Oct 25, 2013
196b762
Remove 'Allow custom buttons' checkbox (1/2)
doopl Oct 25, 2013
f476305
Merge "core: NL translations" into cm-10.2
therbom Oct 27, 2013
71c9774
Status bar brightness control improvements
doopl Oct 25, 2013
1ad4a6d
telephony-msim: Fix package directory
hyperb1iss Oct 27, 2013
7a6f358
Bluetooth: Add Get/Set socket option to the Bluetooth Socket
Sep 29, 2013
d9d387a
Bluetooth: DUN: Add framework changes to support DUN
Sep 29, 2013
75e2441
core: Romanian translations
johnnyslt Oct 29, 2013
353c085
Merge "ringtones: Rename 'Bootes' ringtone" into cm-10.2
intervigilium Oct 30, 2013
dac68b1
MiniThumbFile: Fix image/bitmap retrieval
rmcc Oct 30, 2013
d1132f9
Merge "MiniThumbFile: Fix image/bitmap retrieval" into cm-10.2
rmcc Oct 30, 2013
f9a07cb
Move CM config options after AOSP config options
intervigilium Oct 30, 2013
087015c
core: IT translations
rheeze Oct 27, 2013
3263f5c
Merge "core: Romanian translations" into cm-10.2
therbom Oct 31, 2013
dee3db5
SystemUI: Romanian translations
johnnyslt Oct 29, 2013
a0423cf
Merge "core: IT translations" into cm-10.2
therbom Nov 1, 2013
c8900d1
Merge "SystemUI: Romanian translations" into cm-10.2
therbom Nov 1, 2013
dd3cf35
Camera button support: useful features & bugfixes (1/2)
VladislavKoldobskiy Oct 6, 2013
62cc275
Frameworks: QS performance profiles tile
jruesga Oct 14, 2013
e7ab084
SystemUI: CA translations
arnaullv Nov 2, 2013
dd9a878
core: zh_CN translations
douglarek Oct 28, 2013
8116e72
Merge "Quiet Hours: allow disabling of system sounds (1 of 2)" into c…
DvTonder Nov 4, 2013
ccdca3f
Merge "QuietHours: clean up and consolidate code" into cm-10.2
DvTonder Nov 4, 2013
35b48d3
Frameworks_base: PT-BR update translations
Gustav0ar Nov 4, 2013
287a7e8
Merge "Frameworks: QS performance profiles tile" into cm-10.2
maniac103 Nov 4, 2013
eae4d03
frameworks_base: DA translation
Fidoble Nov 4, 2013
2039add
PhoneWindowPolicy: Fix NPE race condition by excessive screen on delay
jruesga Nov 4, 2013
3a52425
Frameworks_base: PT-BR update translations
Gustav0ar Nov 5, 2013
8303347
Merge "frameworks_base: DA translation" into cm-10.2
therbom Nov 5, 2013
652e1bd
Merge "SystemUI: CA translations" into cm-10.2
therbom Nov 5, 2013
2ba3762
frameworks_base: DA translation
Fidoble Nov 5, 2013
3583f78
Framework: NL translation
crxed9 Nov 4, 2013
7ab6784
Don't show phone unlock targets for devices without voice (1/2)
veeti Nov 5, 2013
6f4da51
core: RU translation
Nov 5, 2013
26f3ce3
Merge "PhoneWindowPolicy: Fix NPE race condition by excessive screen …
maniac103 Nov 6, 2013
0099282
Base: SV translations
tedlundwall Nov 6, 2013
c1d48c1
core: SK translations
MatoDroid Nov 6, 2013
87b20f5
Move android-4.3_r3.1 config options
intervigilium Nov 6, 2013
b168905
Merge "Framework: NL translation" into cm-10.2
therbom Nov 6, 2013
e601d3d
Merge "Move android-4.3_r3.1 config options" into cm-10.2
rmcc Nov 6, 2013
eebb40b
Merge "Status bar brightness control improvements" into cm-10.2
rmcc Nov 7, 2013
7edca8c
Merge "Base: SV translations" into cm-10.2
therbom Nov 7, 2013
521d6a7
Merge "core: SK translations" into cm-10.2
therbom Nov 7, 2013
c2a45ef
Merge "core: RU translation" into cm-10.2
therbom Nov 7, 2013
5a75a68
p2p: Flush the p2p scan result on group remove event
Oct 2, 2013
750d44e
Wifi: wifi not connecting, once the APN gets disabled state
Jul 9, 2013
1f7e4ad
Revert "p2p: Fix for discovery failure until AP is connected in WFD c…
Oct 18, 2013
6cecdf6
p2p:Fix for discovery failure until STA is connected to AP.
Oct 18, 2013
cae7ab1
Clear the scan list when an empty list is received
Oct 16, 2013
4d03a8c
Tighten condition for calling checkMobileProvisioning.
Sep 14, 2013
96015df
Fix captive portal detection on IPv6 networks.
lcolitti Oct 8, 2013
d8c29bd
frameworks/base: Free BufferedReader class object
Oct 28, 2013
1c99da8
Tighten test for warm sim and add more debug.
Sep 6, 2013
002a0d5
checkMobileProvisioning should not block.
Sep 13, 2013
ebdf3a2
Use networkType to display wifi and mobile notification separately.
Oct 3, 2013
1888d8a
Merge "Frameworks_base: PT-BR update translations" into cm-10.2
therbom Nov 9, 2013
1b18e9e
Merge "core: zh_CN translations" into cm-10.2
therbom Nov 9, 2013
4dd3f32
Merge "frameworks_base: DA translation" into cm-10.2
therbom Nov 9, 2013
45fbca4
AppOpsService: Add MODE_ASK support to AppOps.
Aug 16, 2013
6a12d12
AppOps: Add support for whitelist of packages.
Sep 4, 2013
10af37e
wifi: Confirm user permission before toggling wifi.
Sep 4, 2013
f7676eb
AppOps: Add Bluetooth enable control into AppOps
Sep 6, 2013
347acbe
AppOps: Add data connect control into AppOps
Aug 31, 2013
e17f5f5
frameworks/base: Fix memory leak in BitmapRegionDecoder
Sep 26, 2013
862a29b
GestureInput : Allow doubletap/longpress configuration
Danesh Nov 11, 2013
7330271
Framework: Update German translations
elektroschmock Oct 22, 2013
2068033
services: Add hook to run device specific shutdown code.
Jan 4, 2013
42ded4a
services: Fix device-specific shutdown hook to support restart
May 7, 2013
b437a74
EMFILE exception in system_server due to socket fd leaks
Sep 18, 2013
7ed4570
frameworks/base: Fix race conditions on resume/suspend using power key
Oct 30, 2013
9231058
/platform/frameworks/base: Fix SystemUI crash on Recent App
Oct 11, 2013
3d901f7
Merge "Framework: Update German translations" into cm-10.2
maniac103 Nov 12, 2013
6328145
Merge "AppOpsService: Add MODE_ASK support to AppOps." into cm-10.2
Danesh Nov 12, 2013
26cac19
Merge "AppOps: Add support for whitelist of packages." into cm-10.2
Danesh Nov 12, 2013
ef0ed7c
Merge "wifi: Confirm user permission before toggling wifi." into cm-10.2
Danesh Nov 12, 2013
2141fc7
Merge "AppOps: Add Bluetooth enable control into AppOps" into cm-10.2
Danesh Nov 12, 2013
6f0c8b9
Merge "AppOps: Add data connect control into AppOps" into cm-10.2
Danesh Nov 12, 2013
543565f
AppOps: Fix resetAllModes() in AppOpsService
sam3000 Nov 10, 2013
2a09988
[2/2] AppOps: Add alarm wakeup op
sam3000 Sep 28, 2013
da6d881
[2/2] AppOps: Add per Op allowed and ignored counters
sam3000 Oct 3, 2013
aaa4d9c
AppOps: track op persistence by name instead of id
sam3000 Oct 21, 2013
9e6266f
core:AF Translations
isimobile Nov 4, 2013
09447ec
core: ES translations
Nov 12, 2013
3ba869f
Merge "Remove 'Allow custom buttons' checkbox (1/2)" into cm-10.2
ciwrl Nov 13, 2013
05856c2
camera: Better fix for face detection score issue
hyperb1iss Nov 13, 2013
1de8fb2
Shell user needs UPDATE_APP_OPS_STATS
hyperb1iss Nov 14, 2013
d3ad2a6
Avoid IndexOutOfBounds Exception in ActivityManager
Sep 26, 2013
05a51ca
Merge "GestureInput : Allow doubletap/longpress configuration" into c…
Danesh Nov 14, 2013
e9ba9cf
Frameworks/base: zh_CN translations
douglarek Nov 14, 2013
ba912eb
frameworks_base: DA translation
Fidoble Nov 14, 2013
068b5f4
AudioService : Ensure uri is not null
Danesh Nov 15, 2013
927c044
Show owner info creation if no owner is set for UserTile
intervigilium Nov 15, 2013
8bd6bf2
Merge "Show owner info creation if no owner is set for UserTile" into…
Danesh Nov 15, 2013
816e30d
Revert "/platform/frameworks/base: Fix SystemUI crash on Recent App"
hyperb1iss Nov 16, 2013
fc7b6ff
core: EL translations
mikeNG Nov 16, 2013
2f916d8
frameworks/base: IT translations
Nov 17, 2013
1ba6b06
Fix stencil buffer bug.
Sep 24, 2013
749fd72
Update the layer's alpha value upon composition of the layer
Oct 31, 2013
75bb919
framework: NL translation
crxed9 Nov 16, 2013
58c5923
telephony: Add support for additional emergency numbers
hyperb1iss Nov 19, 2013
e30568c
Merge "core: EL translations" into cm-10.2
therbom Nov 20, 2013
efc1d04
Merge "frameworks_base: DA translation" into cm-10.2
therbom Nov 21, 2013
9754c3f
Merge "frameworks/base: IT translations" into cm-10.2
therbom Nov 21, 2013
955cf35
Merge "framework: NL translation" into cm-10.2
therbom Nov 21, 2013
528f035
Merge "Frameworks_base: PT-BR update translations" into cm-10.2
therbom Nov 21, 2013
91f5533
Merge "Frameworks/base: zh_CN translations" into cm-10.2
therbom Nov 21, 2013
176f7e8
Merge "core:AF Translations" into cm-10.2
therbom Nov 21, 2013
21e215b
Merge "core: ES translations" into cm-10.2
therbom Nov 21, 2013
6530cb8
framework: NL translation
crxed9 Nov 21, 2013
6a2cee4
PackageManager: Prevent themes from going into ASEC containers
rmcc Nov 23, 2013
38e88ee
core: HU translation
tothtamassyman Nov 21, 2013
0c011a2
FrameworkBase: CS translation
Keltek Nov 14, 2013
5eef141
Core: Update DE translation for AppOps
elektroschmock Nov 14, 2013
3d58505
Set subscription_mode in the database to a default value
Jul 3, 2013
0411dcf
mdpi: Override only the required dimensions
mikeNG Nov 28, 2013
ccf72b3
Fix resource id of networkAttributes
hyperb1iss Nov 28, 2013
e63e4d1
api: Add networkAttributes to the public resource list
rmcc Nov 28, 2013
7f66ca6
WMS: fix no thumbnail image of Gallery in the recent tasks list.
Nov 4, 2013
3beab6d
Merge "FrameworkBase: CS translation" into cm-10.2
therbom Nov 30, 2013
9b38b0d
Merge "Core: Update DE translation for AppOps" into cm-10.2
maniac103 Nov 30, 2013
9723791
Core: CA translations
arnaullv Nov 30, 2013
5655bc0
Core & SystemUI: RU translation
VladislavKoldobskiy Nov 30, 2013
55c0173
Update Lithuanian translations
Frant1c Nov 11, 2013
cfaedc8
Fix navbar editor for RTL layouts.
maniac103 Dec 3, 2013
9a20383
Merge "mdpi: Override only the required dimensions" into cm-10.2
maniac103 Dec 4, 2013
e356317
Fix a bootloop problem when /data/system/usagestats/usage-history.xml…
oubeichen Nov 15, 2013
52ced3f
Merge "Update Lithuanian translations" into cm-10.2
therbom Dec 4, 2013
15cf135
Merge "Core & SystemUI: RU translation" into cm-10.2
therbom Dec 4, 2013
130aee4
Merge "Core: CA translations" into cm-10.2
therbom Dec 4, 2013
87f08cd
Merge "Don't show phone unlock targets for devices without voice (1/2…
Danesh Dec 5, 2013
6909f21
Fix showing owner info creation from UserTile if no owner is set
intervigilium Dec 6, 2013
e5b947e
core: add AST support
therbom Dec 6, 2013
aeb8b53
Revert "core: add AST support"
therbom Dec 7, 2013
7c10821
Merge "Fix navbar editor for RTL layouts." into cm-10.2
maniac103 Dec 7, 2013
60fcb04
Merge "Fix a bootloop problem when /data/system/usagestats/usage-hist…
hyperb1iss Dec 8, 2013
d034bb8
Show default profile name if no profile exists
intervigilium Dec 7, 2013
995a2b3
UserTile : Check if profile has a photo
Danesh Dec 9, 2013
5a2e9ff
Fix bluetooth and data enable with ProfileManager
Qaweck Dec 6, 2013
ef86fc5
CircleBattery : Add RTL support
Danesh Dec 9, 2013
a396485
Add RTL variants for HSPAP H+ icon
intervigilium Dec 9, 2013
682bf19
CircleBattery : Fix alignment regression from RTL
Danesh Dec 9, 2013
2d7344d
CircleBattery : Use consistent padding for layoutDirection
Danesh Dec 11, 2013
bfe1d69
Frameworks: LT translations
Frant1c Dec 14, 2013
b1684ed
SystemUI: PL translations
tompopielarczyk Dec 16, 2013
ab8ca41
Core: PL translations
tompopielarczyk Dec 16, 2013
8e8f4ff
Merge "SystemUI: PL translations" into cm-10.2
therbom Dec 18, 2013
5abad21
Merge "Core: PL translations" into cm-10.2
therbom Dec 18, 2013
2e1eb88
Fixed stylus eraser being rejected by palm rejection
FPtje Dec 27, 2013
94b1834
core: Add support for Asturian
therbom Dec 28, 2013
29fbca6
Merge "Fixed stylus eraser being rejected by palm rejection" into cm-…
rmcc Jan 20, 2014
e55224b
BluetoothManagerService: fix enabling/disabling BT from Quictsettings…
mik9 Dec 17, 2013
3e30670
GlobalActions: Set the initial status of airplane mode toggle
Christopher83 Jan 31, 2014
677b2c0
Fix the screen-off animation ignoring value set in ro.sf.hwrotation
bokbokan Mar 3, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,12 @@ LOCAL_SRC_FILES += \
core/java/android/bluetooth/IBluetoothManagerCallback.aidl \
core/java/android/bluetooth/IBluetoothPbap.aidl \
core/java/android/bluetooth/IBluetoothStateChangeCallback.aidl \
core/java/android/bluetooth/IBluetoothHandsfreeClient.aidl \
core/java/android/bluetooth/IBluetoothGatt.aidl \
core/java/android/bluetooth/IBluetoothGattCallback.aidl \
core/java/android/bluetooth/IBluetoothGattServerCallback.aidl \
core/java/android/bluetooth/IBluetoothSap.aidl \
core/java/android/bluetooth/IBluetoothDun.aidl \
core/java/android/content/IClipboard.aidl \
core/java/android/content/IContentService.aidl \
core/java/android/content/IIntentReceiver.aidl \
Expand All @@ -121,8 +123,10 @@ LOCAL_SRC_FILES += \
core/java/android/content/pm/IPackageStatsObserver.aidl \
core/java/android/database/IContentObserver.aidl \
core/java/android/hardware/ISerialManager.aidl \
core/java/android/hardware/display/IDisplayDevice.aidl \
core/java/android/hardware/display/IDisplayManager.aidl \
core/java/android/hardware/display/IDisplayManagerCallback.aidl \
core/java/android/hardware/display/IRemoteDisplayAdapter.aidl \
core/java/android/hardware/input/IInputManager.aidl \
core/java/android/hardware/input/IInputDevicesChangedListener.aidl \
core/java/android/hardware/location/IGeofenceHardware.aidl \
Expand Down Expand Up @@ -154,6 +158,7 @@ LOCAL_SRC_FILES += \
core/java/android/service/notification/INotificationListener.aidl \
core/java/android/service/dreams/IDreamManager.aidl \
core/java/android/service/dreams/IDreamService.aidl \
core/java/android/service/gesture/IGestureService.aidl \
core/java/android/service/pie/IPieService.aidl \
core/java/android/service/pie/IPieActivationListener.aidl \
core/java/android/service/pie/IPieHostCallback.aidl \
Expand Down Expand Up @@ -236,9 +241,12 @@ LOCAL_SRC_FILES += \
media/java/android/media/IRingtonePlayer.aidl \
telephony/java/com/android/internal/telephony/IPhoneStateListener.aidl \
telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
telephony/java/com/android/internal/telephony/msim/IPhoneSubInfoMSim.aidl \
telephony/java/com/android/internal/telephony/ITelephony.aidl \
telephony/java/com/android/internal/telephony/msim/ITelephonyMSim.aidl \
telephony/java/com/android/internal/telephony/ISms.aidl \
telephony/java/com/android/internal/telephony/ITelephonyRegistry.aidl \
telephony/java/com/android/internal/telephony/ITelephonyRegistryMSim.aidl \
telephony/java/com/android/internal/telephony/IWapPushManager.aidl \
wifi/java/android/net/wifi/IWifiManager.aidl \
wifi/java/android/net/wifi/p2p/IWifiP2pManager.aidl \
Expand Down Expand Up @@ -350,7 +358,9 @@ aidl_files := \
frameworks/base/location/java/com/android/internal/location/ProviderRequest.aidl \
frameworks/base/telephony/java/android/telephony/ServiceState.aidl \
frameworks/base/telephony/java/com/android/internal/telephony/IPhoneSubInfo.aidl \
frameworks/base/telephony/java/com/android/internal/telephony/msim/IPhoneSubInfoMSim.aidl \
frameworks/base/telephony/java/com/android/internal/telephony/ITelephony.aidl \
frameworks/base/telephony/java/com/android/internal/telephony/msim/ITelephonyMSim.aidl \

gen := $(TARGET_OUT_COMMON_INTERMEDIATES)/framework.aidl
$(gen): PRIVATE_SRC_FILES := $(aidl_files)
Expand Down
1 change: 1 addition & 0 deletions api/current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ package android {
ctor public R.array();
field public static final int emailAddressTypes = 17235968; // 0x1070000
field public static final int imProtocols = 17235969; // 0x1070001
field public static final int networkAttributes = 17235989; // 0x1070015
field public static final int organizationTypes = 17235970; // 0x1070002
field public static final int phoneTypes = 17235971; // 0x1070003
field public static final int postalAddressTypes = 17235972; // 0x1070004
Expand Down
4 changes: 3 additions & 1 deletion cmds/input/src/com/android/commands/input/Input.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,15 @@ private void run(String[] args) {
return;
}
} else if (command.equals("touchscreen") || command.equals("touchpad")
|| command.equals("touchnavigation")) {
|| command.equals("touchnavigation") || command.equals("gesture")) {
// determine input source
int inputSource = InputDevice.SOURCE_TOUCHSCREEN;
if (command.equals("touchpad")) {
inputSource = InputDevice.SOURCE_TOUCHPAD;
} else if (command.equals("touchnavigation")) {
inputSource = InputDevice.SOURCE_TOUCH_NAVIGATION;
} else if (command.equals("gesture")) {
inputSource = InputDevice.SOURCE_GESTURE_SENSOR;
}
// determine subcommand
if (args.length > 1) {
Expand Down
4 changes: 2 additions & 2 deletions cmds/svc/src/com/android/commands/svc/WifiCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void run(String[] args) {
IWifiManager wifiMgr
= IWifiManager.Stub.asInterface(ServiceManager.getService(Context.WIFI_SERVICE));
try {
wifiMgr.setWifiEnabled(flag);
wifiMgr.setWifiEnabled("com.android.commands.svc", flag);
}
catch (RemoteException e) {
System.err.println("Wi-Fi operation failed: " + e);
Expand All @@ -75,4 +75,4 @@ public void run(String[] args) {
}
System.err.println(longHelp());
}
}
}
111 changes: 109 additions & 2 deletions core/java/android/app/AppOpsManager.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/*
* Copyright (c) 2013, The Linux Foundation. All rights reserved.
* Not a Contribution.
*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -59,6 +62,7 @@ public class AppOpsManager {
public static final int MODE_ALLOWED = 0;
public static final int MODE_IGNORED = 1;
public static final int MODE_ERRORED = 2;
public static final int MODE_ASK = 3;

// when adding one of these:
// - increment _NUM_OP
Expand Down Expand Up @@ -97,7 +101,55 @@ public class AppOpsManager {
public static final int OP_READ_CLIPBOARD = 29;
public static final int OP_WRITE_CLIPBOARD = 30;
/** @hide */
public static final int _NUM_OP = 31;
public static final int OP_WIFI_CHANGE = 31;
public static final int OP_BLUETOOTH_CHANGE = 32;
public static final int OP_DATA_CONNECT_CHANGE = 33;
public static final int OP_ALARM_WAKEUP = 34;
public static final int _NUM_OP = 35;

/**
* Map to check if each operation is strict or not, to determine default
* value of each operation.
* If strict then AppOpsService should assign MODE_ASK value to operation
* by default.
*/
private static boolean[] sOpStrict = new boolean[] {
true, //OP_COARSE_LOCATION
true, //OP_FINE_LOCATION
true, //OP_GPS
false, //OP_VIBRATE
true, //OP_READ_CONTACTS
true, //OP_WRITE_CONTACTS
true, //OP_READ_CALL_LOG
true, //OP_WRITE_CALL_LOG
false, //OP_READ_CALENDAR
false, //OP_WRITE_CALENDAR
true, //OP_WIFI_SCAN
false, //OP_POST_NOTIFICATION
false, //OP_NEIGHBORING_CELLS
true, //OP_CALL_PHONE
true, //OP_READ_SMS
true, //OP_WRITE_SMS
true, //OP_RECEIVE_SMS
false, //OP_RECEIVE_EMERGECY_SMS
true, //OP_RECEIVE_MMS
false, //OP_RECEIVE_WAP_PUSH
true, //OP_SEND_SMS
true, //OP_READ_ICC_SMS
true, //OP_WRITE_ICC_SMS
false, //OP_WRITE_SETTINGS
false, //OP_SYSTEM_ALERT_WINDOW
false, //OP_ACCESS_NOTIFICATIONS
true, //OP_CAMERA
true, //OP_RECORD_AUDIO
true, //OP_PLAY_AUDIO
false, //OP_READ_CLIPBOARD
false, //OP_WRITE_CLIPBOARD
true, //OP_WIFI_CHANGE
true, //OP_BLUETOOTH_CHANGE
true, //OP_DATA_CONNECT_CHANGE
false, //OP_ALARM_WAKEUP
};

/**
* This maps each operation to the operation that serves as the
Expand Down Expand Up @@ -139,6 +191,10 @@ public class AppOpsManager {
OP_PLAY_AUDIO,
OP_READ_CLIPBOARD,
OP_WRITE_CLIPBOARD,
OP_WIFI_CHANGE,
OP_BLUETOOTH_CHANGE,
OP_DATA_CONNECT_CHANGE,
OP_ALARM_WAKEUP,
};

/**
Expand Down Expand Up @@ -177,6 +233,10 @@ public class AppOpsManager {
"PLAY_AUDIO",
"READ_CLIPBOARD",
"WRITE_CLIPBOARD",
"WIFI_CHANGE",
"BLUETOOTH_CHANGE",
"DATA_CONNECT_CHANGE",
"ALARM_WAKEUP",
};

/**
Expand Down Expand Up @@ -215,8 +275,19 @@ public class AppOpsManager {
null, // no permission for playing audio
null, // no permission for reading clipboard
null, // no permission for writing clipboard
android.Manifest.permission.CHANGE_WIFI_STATE,
android.Manifest.permission.BLUETOOTH,
android.Manifest.permission.CHANGE_NETWORK_STATE,
null, // no permission for alarm wakeups
};

/**
* Check if given operation is strict or not.
*/
public static boolean opStrict(int op) {
return sOpStrict[op];
}

/**
* Retrieve the op switch that controls the given operation.
*/
Expand All @@ -232,6 +303,18 @@ public static String opToName(int op) {
return op < sOpNames.length ? sOpNames[op] : ("Unknown(" + op + ")");
}

/**
* Map a non-localized name for the operation back to the Op number
*/
public static int nameToOp(String name) {
for (int i = 0; i < sOpNames.length; i++) {
if (sOpNames[i].equals(name)) {
return i;
}
}
return OP_NONE;
}

/**
* Retrieve the permission associated with an operation, or null if there is not one.
*/
Expand Down Expand Up @@ -310,13 +393,18 @@ public static class OpEntry implements Parcelable {
private final long mTime;
private final long mRejectTime;
private final int mDuration;
private final int mAllowedCount;
private final int mIgnoredCount;

public OpEntry(int op, int mode, long time, long rejectTime, int duration) {
public OpEntry(int op, int mode, long time, long rejectTime, int duration,
int allowedCount, int ignoredCount) {
mOp = op;
mMode = mode;
mTime = time;
mRejectTime = rejectTime;
mDuration = duration;
mAllowedCount = allowedCount;
mIgnoredCount = ignoredCount;
}

public int getOp() {
Expand All @@ -343,6 +431,14 @@ public int getDuration() {
return mDuration == -1 ? (int)(System.currentTimeMillis()-mTime) : mDuration;
}

public int getAllowedCount() {
return mAllowedCount;
}

public int getIgnoredCount() {
return mIgnoredCount;
}

@Override
public int describeContents() {
return 0;
Expand All @@ -355,6 +451,8 @@ public void writeToParcel(Parcel dest, int flags) {
dest.writeLong(mTime);
dest.writeLong(mRejectTime);
dest.writeInt(mDuration);
dest.writeInt(mAllowedCount);
dest.writeInt(mIgnoredCount);
}

OpEntry(Parcel source) {
Expand All @@ -363,6 +461,8 @@ public void writeToParcel(Parcel dest, int flags) {
mTime = source.readLong();
mRejectTime = source.readLong();
mDuration = source.readInt();
mAllowedCount = source.readInt();
mIgnoredCount = source.readInt();
}

public static final Creator<OpEntry> CREATOR = new Creator<OpEntry>() {
Expand Down Expand Up @@ -555,4 +655,11 @@ public void setPrivacyGuardSettingForPackage(int uid, String packageName,
} catch (RemoteException e) {
}
}

public void resetCounters() {
try {
mService.resetCounters();
} catch (RemoteException e) {
}
}
}
10 changes: 10 additions & 0 deletions core/java/android/app/ContextImpl.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/*
* Copyright (C) 2006 The Android Open Source Project
* This code has been modified. Portions copyright (C) 2010, T-Mobile USA, Inc.
* Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -98,6 +100,7 @@
import android.os.SystemVibrator;
import android.os.UserManager;
import android.os.storage.StorageManager;
import android.telephony.MSimTelephonyManager;
import android.telephony.TelephonyManager;
import android.content.ClipboardManager;
import android.util.AndroidRuntimeException;
Expand Down Expand Up @@ -489,6 +492,13 @@ public Object createService(ContextImpl ctx) {
return new TelephonyManager(ctx.getOuterContext());
}});

if (MSimTelephonyManager.getDefault().isMultiSimEnabled()) {
registerService(MSIM_TELEPHONY_SERVICE, new ServiceFetcher() {
public Object createService(ContextImpl ctx) {
return new MSimTelephonyManager(ctx.getOuterContext());
}});
}

registerService(UI_MODE_SERVICE, new ServiceFetcher() {
public Object createService(ContextImpl ctx) {
return new UiModeManager();
Expand Down
19 changes: 18 additions & 1 deletion core/java/android/bluetooth/BluetoothAdapter.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* Copyright (C) 2013 The Linux Foundation. All rights reserved
* Not a Contribution.
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -18,6 +20,7 @@

import android.annotation.SdkConstant;
import android.annotation.SdkConstant.SdkConstantType;
import android.app.ActivityThread;
import android.content.Context;
import android.os.Binder;
import android.os.IBinder;
Expand Down Expand Up @@ -516,7 +519,7 @@ public boolean enable() {
return true;
}
try {
return mManagerService.enable();
return mManagerService.enable(ActivityThread.currentPackageName());
} catch (RemoteException e) {Log.e(TAG, "", e);}
return false;
}
Expand Down Expand Up @@ -1181,9 +1184,15 @@ public boolean getProfileProxy(Context context, BluetoothProfile.ServiceListener
} else if (profile == BluetoothProfile.SAP) {
BluetoothSap sap = new BluetoothSap(context, listener);
return true;
} else if (profile == BluetoothProfile.DUN) {
BluetoothDun dun = new BluetoothDun(context, listener);
return true;
} else if (profile == BluetoothProfile.HEALTH) {
BluetoothHealth health = new BluetoothHealth(context, listener);
return true;
} else if (profile == BluetoothProfile.HANDSFREE_CLIENT) {
BluetoothHandsfreeClient hfpclient = new BluetoothHandsfreeClient(context, listener);
return true;
} else {
return false;
}
Expand Down Expand Up @@ -1224,6 +1233,10 @@ public void closeProfileProxy(int profile, BluetoothProfile proxy) {
BluetoothSap sap = (BluetoothSap)proxy;
sap.close();
break;
case BluetoothProfile.DUN:
BluetoothDun dun = (BluetoothDun)proxy;
dun.close();
break;
case BluetoothProfile.HEALTH:
BluetoothHealth health = (BluetoothHealth)proxy;
health.close();
Expand All @@ -1236,6 +1249,10 @@ public void closeProfileProxy(int profile, BluetoothProfile proxy) {
BluetoothGattServer gattServer = (BluetoothGattServer)proxy;
gattServer.close();
break;
case BluetoothProfile.HANDSFREE_CLIENT:
BluetoothHandsfreeClient hfpclient = (BluetoothHandsfreeClient)proxy;
hfpclient.close();
break;
}
}

Expand Down
Loading