Support GSM AT commands for SMS over bluetooth (1/2)

Modifications required to support the older GSM "AT+" commands for SMS over
the bluetooth transport for use with car radios, etc. This must piggy back
on the existing handsfree code as the spec uses that channel for the commands.
(2 parts: frameworks/base and packages/apps/Phone)

frameworks/base:
Additions to JNI and supporting framework code to allow sending of individual
characters and to receive the PDU stream - neither of which are CR terminated.

IccSmsInterfaceManager.java requires a reversion in sendText() to use
enforceCallingOrSelfPermission() instead of enforceCallingPermission().  This
is apparently the only way Phone.apk can actually send an SMS.  (ICS used the
OrSelf variation while JB changed to use the stricter version.)

Change-Id: Icff0d2c55170e9c47302b21ce3f15ce863c8c756
Signed-off-by: Gary Dezern <garyd9@gmail.com>
frameworks/base: IPV6 tethering support

Added two APIs addUpstreamV6Interface and removeUpstreamV6Interface, required
to pass the interfaces to use to the Router Advertisement Proxy

Change-Id: I28985de9339f79984bad0e2d91112199f64c6dc0
SystemUI: Clock - right/center/off (Part 1 of 2)

Allow for clock to be placed to the right/centered/off

Ported from AOKP clock mod by Adam Fisch
http://gerrit.sudoservers.com/#/c/1963/

Change-Id: Ia06708f4ba7629d76d6625b87b22cca999d01e1b
Signed-off-by: Desterly <d3s7royer@gmail.com>
Implement resolving of icon attributes to resIds in AlertController

Platform code using AlertController directly currently has
no way to set the correct theme-specific dialog icon in a
generic way. This adds code to handle such usage.

Change-Id: I48beafa1183e4edf6d5378b3985a7f9be5fcda8b
Framework: Option to not lock automatically when a call ends (1/2)

When a call ends while the screen is off the phone is automatically locked. This commit adds an option to disable this behavior.

Navigate to Phone->Settings and uncheck the option Lock when call ends under the advanced settings section.

Commit includes option in english and translation to portuguese.

Change-Id: Ib37d1be2e2238d822c1db2cfc6d23353588a6127
LockscreenShortcuts : Minor code cleanup

- Reuse pre-existing launchActivity()
  - Now uses correct start flags
- Add check for secure lockscreen and act accordingly.

Change-Id: I6c2c3e1c87239267601d78eb38778d0388f4a41c
NavigationBar : Customization

Allows user to customize navigation bar.

Features :
 - Choose from 1-6 # of buttons
 - Re-arrange / assign buttons

Patchset 1  : Initial commit (No support for Nexus 7)
Patchset 2  : Same as patchset 1
Patchset 3  : Update recentPanel on configurationChange
Patchset 4  : Rebase
Patchset 5  : Add n7 support
Patchset 6  : Fix n7 layout issues
Patchset 7  : Theme change fixes (Update referenced resources on demand)
              Update a few deprecated api calls
Patchset 8  : Disable google now ring in edit mode
Patchset 9  : Fix n7 lowLight alignment issues
Patchset 10 : Fix ordering/button disappearing issues
Patchset 11 : Rework orientation logic (Fixes the small back button issue)
Patch Set 12: Rebase

Change-Id: Idc9f5f401f15d207504e49de47666bb5510a06ca
Navigation Bar: Ability to enable on every device 1/2

This adds a new Menu item Settings -> System -> Navigation Bar

Patch Set 5 : Just a rebase
Patch Set 6: Rebase
Patch Set 8: Rebase

Change-Id: I23a508fa3268e63fbbc9a8305d011db3ca7722a0