158 Commits (5ff38a77c5759f57c097d38acf5b6b7ee811b51c)
 

Author SHA1 Message Date
Ethan Chen 5ff38a77c5 crackling: Shift to new device fragment model
* Use make fragments for various subsystems
* Move dexopt flags to device
* Move SSR script to common

Change-Id: I2a002f24c308481664b516a761b7978292c3efca
10 years ago
Ethan Chen 084e3d6930 crackling: Update to match msm8916-common
* msm8916-common now supports msm8939 as well, which required some
  changes. Track those changes here.

Change-Id: I30c7b37026a6dcdc781321ed953f724bd0edbdeb
10 years ago
Arvin Quilao 14037789f4 crackling: ship Gello
Change-Id: I32742ac4d53f218cd2a80887247c18bcbc95f862
10 years ago
Pat Erley 30272eee85 crackling: enable subsystem restart on user builds
REF: KIPPER-688
Change-Id: I9aed6ad2ec0143c232ef5ff2df1a05788d56e685
10 years ago
Michael Bestas 60374abfe6 Revert "init: Enable backlight trigger for LCD"
* Moved to common

This reverts commit 9cf2e86221.

Change-Id: Ibbc6bcf088dd8ec0258c1d6cf058c450c9d9c692
10 years ago
Zhao Wei Liew 745edc5e70 crackling: Set USB MIDI IDs
For now, we set it as the default IDs provided.

Also remove the obsolete charging ID.

Change-Id: Ie42f1ed0e19757e20f70756c5e94613daadb01fc
10 years ago
Zhao Wei Liew 73da044e6f crackling: Clean up bluetooth config
The features making use of MAX_ACL_CONNECTIONS and MAX_L2CAP_CONNECTIONS
are already initialised, by default, as 7 and 16 respectively.

BTA_SKIP_BLE_READ_REMOTE_FEAT, BTA_BLE_SKIP_CONN_UPD, and
BLE_PERIPHERAL_ADV_NAME are no longer used.

Change-Id: I2251332619eb206809d01279bf5c1bfd67199a30
10 years ago
Michael Bestas fb9b3cf9e1 crackling: Remove unneeded libqct_resampler
Change-Id: I2ca1b8af9bfb4c73fae1cab56e90957e3c0477a4
10 years ago
Zhao Wei Liew b5e35f273e crackling: Support 12K and 24K offload sampling rates
Support has been added in the HAL and the kernel. All we gotta
do now is enable it.

Change-Id: I6dafc1ba7ea9c36773f1e8af0a57b4cd643fef42
10 years ago
Zhao Wei Liew 9daa986638 crackling: Configure per-process reclaim
Change-Id: Ib9fcaecc7182a1a1b3e1df4436d8500a7bcddcb3
10 years ago
Zhao Wei Liew f964d5dd52 crackling: Use DEVICE_PATH for tree reference
Since we define it, let's use it.

Change-Id: I975118f844d5d7e47869d0142faae8fc59790481
10 years ago
TheStrix 0a65a5046c crackling: Use LOCAL_PRIVILEGED_MODULE for qcrilmsgtunnel
* To copy qcrilmsgtunnel.apk to /system/priv-app

Change-Id: I61ddb1fa5ca7609a7a2748646d134c3e049da066
10 years ago
Zhao Wei Liew 82fae7e057 crackling: Remove deprecated power mode nodes
The updated nodes are handled in msm8916-common.

Change-Id: Icd1d97057fc093bac51435f3fb1bf49a32422b59
10 years ago
Adam Lesinski 6aa30b7310 Remove density from PRODUCT_AAPT_CONFIG
AAPT ignores densities in PRODUCT_AAPT_CONFIG.
The use of PRODUCT_AAPT_PREF_CONFIG for density is
encouraged, as AAPT is able to determine the fallback
density to use if a resource of the specified density
does not exist.

Change-Id: If2b43a44593bc234118045d03bd48cd9820dc05a
10 years ago
Zhao Wei Liew fc83513522 crackling: Format /cache during boot if unformatted
Change-Id: Idf823a438f5aafb2eaf3f44207b7fbb25ccfb7a0
10 years ago
Steve Kondik bacf69612a crackling: Enable secure discard
* This is required per CDD now. A lot of devices disable it because it
   can be absurdly slow (as it is in this case). We'll make sure it's
   only used where necessary.

Change-Id: I636bb78cc6bd920c7c39727a561d3cd835fd975e
10 years ago
Nick Kralevich 7a2b06e1f2 remove persist.sys.usb.config override
The variable persist.sys.usb.config is no longer honored by the framework,
and it's presence causes unnecessary toggling of the USB driver, which
disonnects ADB and makes the device's connection unstable.

Delete it.

Bug: 21404762
Bug: 18905620
Change-Id: Iaeded8a7617e9d787480b91387ca993d4e0a786c
10 years ago
Ricardo Cerqueira 62f8260006 audio: Add support for line-out
Change I0d1163d7f7716f9a0366f2be245d50adad55b0cc in the audio HAL
changes the output for line-out from headset to an explicit AUDIO_DEVICE_OUT_LINE,
with change I5c574dc08e26fa053f60337acb17fb5b73ebbaa1 extending it to speaker+line

Declare it here to avoid "no such HW module" errors.

Change-Id: Icd1b90604ad563885e08d7a6cc6d7fa4a243a4cf
Ref: CRACKLING-1028
10 years ago
Ricardo Cerqueira a616d5b234 fastboot: Update board identifier for new bootloader
Change-Id: Iba90e9fd10a0bf305ec39577058d8e327a245a95
10 years ago
Ricardo Cerqueira 569f3be6ad Revert "audio: Lower the max speaker volume a bit"
This reverts commit 6017ea120f, the
new acdb messes up a lot of other scenarios

Ref CRACKLING-1024

Change-Id: I0d66c5fee4665a543b7e0ddf079644736db8da07
10 years ago
Ricardo Cerqueira 6017ea120f audio: Lower the max speaker volume a bit
We're getting some gain distortion at the top volume. Clamp it down
a notch.

Ref CRACKLING-623 and CRACKLING-662

Change-Id: I23ba76e514bd92ca7707592e7c74e9b4d1357398
10 years ago
Ethan Chen 57691904f0 crackling: Sort system properties
Change-Id: I9a3284da97cb08aa531b6533e3ae3d14ce5d6d13
10 years ago
Ramswaroop Ghanshyam Somani cbf3d95fb5 crackling: Don't push background services to higher adj.
REF: TOMATOL-615, CRACKLING-831
Change-Id: Ibe5ec4f1eaa4ba1912fb630290c1af68795ab2ba
10 years ago
Ethan Chen 4b58ba0fb6 crackling: Remove duplicate charger service entry
Change-Id: I012a3872012f54af129af9f4fda6e204e8a7fc48
10 years ago
Ricardo Cerqueira 142d8fc1e4 build: Generate cache image
Change-Id: I6ba77d67ea85f2f6f875f51f0b41d1668cfd8e2c
10 years ago
Ricardo Cerqueira 0b8ee14be1 Revert "crackling: Add highspeed media profiles"
This reverts commit bde04da6bc.
It looks like you can only have profiles declared as "highspeed"
if the framerate is >= 100, regardless of resolution

----
    private static final int MIN_HIGH_SPEED_FPS = 100;
...
            case CamcorderProfile.QUALITY_HIGH_SPEED_720P:
                assertEquals(1280, profile.videoFrameWidth);
                assertEquals(720, profile.videoFrameHeight);
                assertTrue(profile.videoFrameRate >= MIN_HIGH_SPEED_FPS);
----

Fixes android.media.cts.CamcorderProfileTest#testGetWithId

Change-Id: I4ec23fcbda1993a7bbe4aba1b48aa8746d48c18d
10 years ago
Ricardo Cerqueira 7b0297c8ea sensors: Put the accel calibration tool in the sensors selinux context
Change-Id: I9727242f2cde9745cc148911cea1737654728c1a
10 years ago
Arvin Quilao 89cd42fb44 crackling: Disable CPP duplication mode
This addresses the issue when changing preview sizes in video mode.

Change-Id: Ied57617bba82c941bc06470fea6234e4922dee34
10 years ago
Ethan Chen 91b75564fe crackling: Remove QC location stack
* Don't use QC location APK, there are still issues with the fused
  provider.

REF: CYNGNOS-1514
Change-Id: I0896439ebdcb44e2706e206319da1a524fb78f51
10 years ago
Ethan Chen 4704eee1bc crackling: Enable GPS XTRA data
REF: CRACKLING-951
Change-Id: I862774387042b4cb5a46130e6c2c92ebd2d5398f
10 years ago
Ethan Chen dd87d4db0b crackling: Increase batch size to max
* Hardware supports 40

REF: CRACKLING-951
Change-Id: I075fff615814fa105ec1493c5bdde60b8abccf0e
10 years ago
Steve Kondik bde04da6bc crackling: Add highspeed media profiles
* Support 60FPS at 720p

Change-Id: Ie9249a3aa7be9df6efc6adfa17910ff7cc570162
10 years ago
Steve Kondik 412ffd3bae crackling: Sharpen the haptics
* Default haptics are clunky and exaggerated, making the device feel
   slow when using the keyboard and soft keys.
 * Sharpen up the response for a better UX.

Change-Id: Iddb3b55fa7d6245c529208a460b5bab73b0ed2f3
10 years ago
Arvin Quilao 3ef2b92988 crackling: Switch to Snap
Change-Id: I9da8f7ad9ff2544e87b661f4a07d1c93c465c1d0
10 years ago
Ethan Chen 9c70d85a4a crackling: Use default kernel branch
* amss-2.1 is the new default for 13.0

Change-Id: I3c5b33b507e5edf086f36b4e5e88d1ae42d33120
10 years ago
Ricardo Cerqueira b30343f0ae media_profiles: Adjust the characteristics for "low"
After the removal of qcif (the previous lowest resolution) in
change Ie85f72d1c2c24d3c6e3665f7a34dbbe325cc64d7, "low" must now
match the characteristics of the new lowest, qvga.

Fixes android.media.cts.CamcorderProfileTest#testGet, testGetWithId

Ref CRACKLING-962

Change-Id: I4193813d5c21a68c71a3ac13a21cf73e3eaaf746
10 years ago
Ricardo Cerqueira becd9eafd4 sensors: Raise the max limit on the magnetometer rate
Although the mag modules in the daemon were limited to 20hz, the HAL
was announcing 50hz. Fix the HAL value so that it matches the daemon
implementation

android.hardware.cts.SingleSensorTests#testMagneticFieldUncalibrated_100hz,
testMagneticFieldUncalibrated_100hz, testMagneticFieldUncalibrated_25hz,
testMagneticFieldUncalibrated_50hz, testMagneticFieldUncalibrated_fastest,
testMagneticField_100hz, testMagneticField_200hz, testMagneticField_25hz,
testMagneticField_fastest

Ref CRACKLING-962

Change-Id: Ia74473d72b2275a3f86e3ff4735b89fd89ddd294
10 years ago
Ricardo Cerqueira a6cd0bdc86 media: Add codec performance measurements
Ref CRACKLING-962

Change-Id: I638d31bf09483a8a4ea572d840cd00c249e03672
10 years ago
Ricardo Cerqueira 19f10ecc0d TeleService: Enable the AEC toggle
It looks like the scenarios in which the dual-mic echo cancellation
setup is problematic are confined. Surface a toggle for those users,
and leave it on by default for everyone else.

This reverts change I7af67e51c77d75d3803937ec2f5e783bee0bb518

Addresses CRACKLING-665, CRACKLING-617

Change-Id: Icd86af799355bc33c963932667d9b09806f8879a
10 years ago
Scott Mertz 38c3b2a455 crackling: remove libjni_livedisplay from OSS PRODUCT_PACKAGES
Change-Id: Iafa81b1568ab876d3bb4c442872fc2cf545c0ebc
10 years ago
Ethan Chen 9964644ee8 crackling: Don't use low latency primary
Change-Id: I7a0ab8e5a25186a82de596192b0548c8e5845ccb
10 years ago
Ethan Chen 2a481b3fe5 crackling: Add missing RIL library
Change-Id: I58cc1a2d984fe657ecb0c092afdb0e8cfb5a30c8
10 years ago
Valeri Atamaniouk f97838168e Location: reduce memory footprint
Reduce memory footprint by moving data sets into const
data segments. Update function parameters to accept const
parameters when appropriate.

CRs-fixed: 928770
Change-Id: I42955cf18de2b0541cfaed89359cdcf9ae6fea8a
10 years ago
Sampath Vangaveti 8df3194783 camera/QCamera2: HAL: Send Inactive AF state in landscape/sunset mode
Issue:
When scene mode is Landscape/Sunset, Backend AF mode is
set to Infinity and AF state is INACTIVE and then when
APP calls do AF, focus state is still Inactive and since
there is no change in AF state, HAL not sending the state
to frameworks and APP got stuck.

Fix:
Check backend AF mode is INFINITY and if its Active AF call
then send the corresponding AF INACTIVE state to frameworks.

Change-Id: I4663e29ecd3be8f257cfd18dd037c9208fb019ee
10 years ago
Ethan Chen eae58468ec crackling: Use full camera feature set
Change-Id: Ib71bfedfb84e1f8492dac4af256758293425aafb
10 years ago
Ethan Chen 2eae174d35 crackling: Build librmnetctl from source
Change-Id: I096c778eb28487465e3c8709c2d59be4c1418e49
10 years ago
Ethan Chen c0e0e3d5d0 crackling: Explicitly set RIL vendor library path
Change-Id: Ie910fdbef84eae8c3434e3b80fbb52691f327e51
10 years ago
Sampath Vangaveti 4b51e51ed8 QCamera2: HAL: Check feature mask for thumbnail reprocess
Issue :
Reprocess for thumbnail is triggered even though
feature mask is zero. So, Config stream is failing.

Fix :
Unmask all the features which are already applied
on online streams(preview/postview).
And then check feature mask for triggering thumbnail
reprocess

Change-Id: I189f558e5a00b4fae4987410296f7d40e1e216f5
10 years ago
Ethan Chen 0a869ae0e5 crackling indicate SD card is adoptable
Change-Id: I334717b2b64dc1a9da926ec9cb629866b7702328
10 years ago
Ethan Chen ff42e61838 crackling: Update external storage syntax
Change-Id: I265fdb4edddbc5484c47a8b7bd529f974deed433
10 years ago