Commit Graph

446 Commits

Author SHA1 Message Date
c3249681f0 [u-boot] remove unnecessary version.h includes
Various files are needlessly rebuilt every time due to the version and
build time changing. As version.h is not actually needed, remove the
include.

Signed-off-by: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Cc: Firefly <service@t-firefly.com>
Reviewed-by: Firefly <service@t-firefly.com>
Reviewed-by: Firefly <service@t-firefly.com>
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:55:37 +08:00
598eb39e76 [u-boot] armv8: fix interrupt error when update the commit:
commit 2bb7b264fddff962806af0a8ba60e1192e426076
    Author: Firefly <service@t-firefly.com>
    Date:   Mon Mar 9 10:53:21 2015 +0100

        armv8: make multientry conditional

Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:55:29 +08:00
f3dfe1c0da [u-boot] armv8: make multientry conditional
While ARMv8 SoC will enter U-Boot both on a master and a secondary
(slave) CPU, this is not the common behaviour on ARMv8 platforms.
The norm is that U-Boot is entered from the master CPU only,
while the other CPUs are kept in WFI (wait for interrupt) state.

The code determining which CPU we are running on is using the
MPIDR register, but the definition of that register varies with
platform to some extent, and handling multi-cluster platforms
(such as the Juno) will become cumbersome. It is better to only
enable the multiple entry code on machines that actually need
it and disable it by default.

Make the single entry default and add a special
ARMV8_MULTIENTRY KConfig option to be used by the
platforms that need multientry and set it for ARMv8 Soc.
make it conditional in the generic start.S code.

This makes the Juno platform start U-Boot properly.

Signed-off-by: Firefly <service@t-firefly.com>
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:55:20 +08:00
ca9ace90b1 [u-boot] rk3368: trust bl30 v2.08. 2015-12-31 16:55:12 +08:00
61216a2879 [u-boot] hdmi:rk3288:support output 4K60Hz RGB444/YCbCr444/YCbCr422.
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:55:04 +08:00
6538343c6e [u-boot] hdmi:rk3288:support output 10bit and YCbCr color.
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:54:56 +08:00
51b696715b [u-boot] rk fb:rk3288: redefine 10bit output
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:54:47 +08:00
c31a785815 [u-boot] rk3368: trust v1.0, ddr/bl31/miniloader bin update. 2015-12-31 16:54:39 +08:00
55ee98a675 [u-boot] rk charger: resovle problem of charging wakeup need press more than once. 2015-12-31 16:54:31 +08:00
cf9e42b4f6 [system/vold] fix: vold crash 2015-12-31 16:54:23 +08:00
6ce4b790be [system/vold] fix :vold crash by umount process 2015-12-31 16:54:15 +08:00
16ee7c08e3 [system/vold] fix remove volume do umount alway return true 2015-12-31 16:54:07 +08:00
229a7e0364 [system/vold] Fix ld error for vold
Signed-off-by: Firefly <service@t-firefly.com>
(cherry picked from commit 0b3e9b18c17aae7519ac9b793ad2422d361a3271)
2015-12-31 16:53:59 +08:00
eb757ad20f [system/vold] Revert "App2Sd support ."
This reverts commit 8034f0cd8536a275df53bdfe2da39a46a0679e62.
2015-12-31 16:53:51 +08:00
b51b0861b4 [system/vold] App2Sd support . 2015-12-31 16:53:42 +08:00
f8e52a9a29 [system/security] Merge tag 'android-5.1.1_r24' into dev
Android 5.1.1 release 24

Conflicts:
	keystore/keystore.cpp
2015-12-31 16:53:34 +08:00
1198650d7e [system/security] From cc2c83e7565813d6ce67a67aae9427a8682198e5 Mon Sep 17 00:00:00 2001
From: Firefly <service@t-firefly.com>
Date: Wed, 12 Aug 2015 13:40:31 -0700
Subject: [PATCH] Properly check for Blob max length
sizeof(mBlob.value) is incorrect because writeBlob pads up to the nextAES_BLOCK_SIZE

Bug:22802399
Change-Id: I377edca2c7ea2cf4455f22f5f927fdad79893729
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:53:26 +08:00
7cd2eb335b [system/displayd] aux display resolution set by android
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:53:18 +08:00
f6d3ce6476 [system/displayd] modify process, avoid being closed and reopen when CVBS display
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:53:10 +08:00
3df6a78831 [system/core] libutils: Fix integer overflows in VectorImpl.
Use external/safe-iop to check for overflows on arithmetic
operations.

Also remove an unnecessary copy of Vector/SharedBuffer from
codeflinger and use the copy from libutils instead.

Note that some of the unit tests are somewhat useless due to
test-runner limitations : gtest's ability to filter on abort message
doesn't work when combined with messages formatted by android's logging
system.

bug: 22953624

(cherry picked from commit c609c31fb56ae434caa2d0153cd0a2f74a715071)

Change-Id: I61644633db6b54fa230683615de9724f7fabf6fb
2015-12-31 16:53:01 +08:00
533f28193e [system/core] libutils: fix overflow in String8::allocFromUTF8
Patch contributed in:
https://code.google.com/p/android/issues/detail?id=182908

Bug: 23290056

(cherry picked from commit 4eeacbeec0ae66e9d9395abbf83666709f2e11e3)

Change-Id: Ife1dc0791040150132bea6884f1e6c8d31972d1b
(cherry picked from commit ebabef275283f771151ec93c17469374b789b2c8)

Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:52:53 +08:00
71573fe208 [system/core] libutils: fix overflow in SharedBuffer [DO NOT MERGE]
See
https://code.google.com/p/android/issues/detail?id=181910

Bug: 22952485
(cherry picked from commit 66b6eb9490beeeabc804d790c1c4060ce047afd4)

Change-Id: Ic71dd0025b9a7588c4f3bb1c7be1bd13d2ff5105

Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:52:45 +08:00
c64a4791f1 [system/core] Fix compile failure after rIfe1dc0791040150132bea6884f1e6c8d31972d1b
Bug: 23290056
Change-Id: If6e22b0159de6635a8ca5305895b7718f15becc7

Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:52:37 +08:00
8490f28bff [system/core] Merge tag 'android-5.1.1_r13' into HEAD
Android 5.1.1 release 13

Signed-off-by: Firefly <service@t-firefly.com>

Conflicts:
	fs_mgr/fs_mgr_priv.h
2015-12-31 16:52:28 +08:00
cd64a7531b [system/core] healthd: charger: use images to display current capacity text
Add images to make up the value of capacity to make the size of
text bigger.

Also adds support display capacity text on four direction:
 - if the resolution of charging animation image is horizontal,
   the capacity text display on the top of charging animation image,
   but on the bottom if CHARGER_CAPACITY_TEXT_ROTATE_180 is selected;
 - and if the resolution of charging animation image is vertical,
   the capacity text display on the right of charing animation image,
   but on the left if CHARGER_CAPACITY_TEXT_ROTATE_180 is selected.

Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:52:20 +08:00
9a8107a0ed [system/core] healthd: charger: support display current capacity text
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:52:12 +08:00
2de3bbce37 [system/core] Revert "remove pixelflinger from healthd"
Use a few battery_*.png images to offer a more general
way of storing and loading frames of animation.

Also adds the battery_*.png image and removes the unused
battery_scale.png image.

Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:52:04 +08:00
13097eaccf [system/core] CGROUP : Fix duplicate setting the same policy
Get current schedule policy first before setting.

Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:51:55 +08:00
5cae4392b4 [system/core] healthd: remove EPOLLWAKEUP flag for epoll events
kernel will send wakeup events before enter suspend
mode if EPOLLWAKEUP flag set, this will prevent the
system from suspending

Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:51:47 +08:00
7b24108a67 [system/core] core: workaround to limited support bangcle free edition protection
This workaround provides the limited support apps of which dex files are
protected by bangcle free edition protection.

NOTE: Must be merged together with following workaround:
      https://android.intel.com/#/c/394523/
      https://android.intel.com/#/c/394524/
      https://android.intel.com/#/c/394526/

Change-Id: I876330738cbe0f10819e8be961f61f8011258d4b
Tracked-On: https://jira01.devtools.intel.com/browse/IMINAN-38665
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:51:39 +08:00
a760d6235d [system/core] LibNativeBridge: Version 2
Add a callback function to retrieve "signal handler" from the bridge,
if the bridge wants it to be managed by the runtime. The signal handler
will be invoked after the runtime's own one, and before any other
chained handler.
Add a callback function to check compatibility of the bridge with the
library.
Add a function to expose the native bridge version. Add a test for this
function.
Google Bug 20217701
Google Change Id Ic23a60b949f119c7d8b0e7cb27a61e6c16532a23

Change-Id: Ia3a51ee5d7ca6523d66301a5353c0ab749132f54
Category: aosp improvement
Domain: AOSP-Framework-CoreService
Origin: 3rd-party Google
Upstream-Candidate: no, proprietary
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:51:30 +08:00
d373c36c82 [system/core] Revert "LibNativeBridge: Version 2"
This reverts commit 8093a94f4649fd0b2332713c56770f210d0ad438.
2015-12-31 16:51:22 +08:00
503b3e9bc9 [system/core] LibNativeBridge: Version 2
Add a callback function to retrieve "signal handler" from the bridge,
if the bridge wants it to be managed by the runtime. The signal handler
will be invoked after the runtime's own one, and before any other
chained handler.
Add a callback function to check compatibility of the bridge with the
library.
Add a function to expose the native bridge version. Add a test for this
function.
Google Bug 20217701
Google Change Id Ic23a60b949f119c7d8b0e7cb27a61e6c16532a23

Change-Id: Ia3a51ee5d7ca6523d66301a5353c0ab749132f54
Category: aosp improvement
Domain: AOSP-Framework-CoreService
Origin: 3rd-party Google
Upstream-Candidate: no, proprietary
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:51:14 +08:00
9255cf5034 [prebuilts/gcc/darwin-x86/x86/x86_64-linux-android-4.9] Update gold to build #2098274.
Built from toolchain/binutils 5b0b7aca66a30692402df9a9909ebbad7acac259

Contains Yiran's patch to work around overly aggressive hidden symbol
warning.

Bug: http://b/21502954
Change-Id: If30c8c74200d87931f177b38c2724d336750200c
2015-12-31 16:51:06 +08:00
16d5a0858c [packages/providers/TelephonyProvider] TelephonyProvider: add a column for whether APN editable
Add a column named is_locked in carriers table, defaule value is 0.
Property "ro.config.lock_apn" controls if this feature needed or not.
If feature needed , set is_locked to 1 when load prebuilt APNs.

Issue:GRANITEFLY-744
Change-Id: If16818f3693f31462d9de4ad1dabd7a9eb91d363
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:50:58 +08:00
d93dd0741a [packages/providers/MediaProvider] set android.process.media to persist to avoid being killed
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:50:50 +08:00
d16f0cc5de [packages/providers/MediaProvider] Revert "modify usbstate connect paramter in mtpreceiver"
MTP can only be used when it is configured.
Revert this to open MTP correctly.

This reverts commit ea120d66e912e26a88f52cb7d20628ccb1313ee0.

Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:50:42 +08:00
2989ef2dbc [packages/apps/SoundRecorder] full screen display 2015-12-31 16:50:34 +08:00
9617c16b71 [packages/apps/SoundRecorder] modify null exception when no mRunFromLauncher 2015-12-31 16:50:25 +08:00
c47ff34b57 [packages/apps/SoundRecorder] fix NullPointerException when use layout-xlarge 2015-12-31 16:50:17 +08:00
f4e7489609 [packages/apps/SoundRecorder] solve play recording bug 2015-12-31 16:50:09 +08:00
567f383614 [packages/apps/SoundRecorder] record save in SD card can be displayed in the list 2015-12-31 16:50:01 +08:00
5ebe13182b [packages/apps/SoundRecorder] probability can not save the recording 2015-12-31 16:49:53 +08:00
603a2d1402 [packages/apps/SoundRecorder] modify error tips 2015-12-31 16:49:45 +08:00
166307db44 [packages/apps/Settings] Merge tag 'android-5.1.1_r13' into zjwork
solve merger android-5.1.1_r13 conflict
Android 5.1.1 release 13

Signed-off-by: Firefly <service@t-firefly.com>

Conflicts:
	src/com/android/settings/sim/SimBootReceiver.java
2015-12-31 16:49:37 +08:00
f4e8ee44ff [packages/apps/Settings] Add translations for Security Patch Level.
Bug: 23946860
(cherry picked from commit 8e5f4987f27f52386a2de158fee0e7cb9fff789b)

Change-Id: I996da0f40af222467cf5d9302434927958c27907
2015-12-31 16:49:29 +08:00
efbee11f83 [packages/apps/Settings] DO NOT MERGE - Backport of ag/748147 - Security Patch Level in Settings CL#3/3
b/23946860

Change-Id: I2cfcfcbc28d6a1391cae55f505a2b981df9ade2c
(cherry picked from commit 6ceb2ba9b8928b33c30e0c639539c3fe2f27971e)
2015-12-31 16:49:21 +08:00
fbdcd2b58e [packages/apps/Settings] fix problem when set languageAndInputMethod 2015-12-31 16:49:13 +08:00
83d66155aa [packages/apps/Settings] add support HDMI zoom for rk3128-sdk-5.1
Signed-off-by: Firefly <service@t-firefly.com>
2015-12-31 16:49:05 +08:00
12b13ebac9 [packages/apps/Settings] Revert "fix hotspot disable bug"
This reverts commit 7083844fb1691d14cce29eb3439ce7998ade1c9f.
2015-12-31 16:48:57 +08:00