OSDN Git Service
Chris Phoenix [Sat, 21 Jan 2017 04:06:28 +0000 (20:06 -0800)]
sensors HAL uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.
Test: builds; verify HAL still works
Bug:
33844934
Change-Id: I83295febf0fd9e63cbbbc0b3c57962ec5961cee5
Chris Phoenix [Sat, 21 Jan 2017 02:51:31 +0000 (02:51 +0000)]
Merge "vibrator HAL uses "default" service name"
Jesse Hall [Sat, 21 Jan 2017 02:46:04 +0000 (02:46 +0000)]
Merge "libEGL: Add initialization tracing" into nyc-mr2-dev-plus-aosp
am:
a348fabfe0
Change-Id: I12aa15717824cb9e6b6430f1d404620a4be34f15
Chris Phoenix [Thu, 19 Jan 2017 23:53:00 +0000 (15:53 -0800)]
vibrator HAL uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.
Test: builds; verify HAL still works
Bug:
33844934
Change-Id: Ifd6c601c854a87ee60c14bb2e73d95d25236690e
Jesse Hall [Sat, 21 Jan 2017 00:51:04 +0000 (16:51 -0800)]
resolve merge conflicts of
1508ae60c to master
Test: make
Change-Id: I414f4299ae637c6cc21d556e568d93378e49fa5d
Jesse Hall [Fri, 20 Jan 2017 23:57:58 +0000 (23:57 +0000)]
Merge "libEGL: Add initialization tracing" into nyc-mr2-dev-plus-aosp
Jeff Sharkey [Fri, 20 Jan 2017 23:12:30 +0000 (23:12 +0000)]
Merge "Add Binder support for Parcelable exceptions." am:
7ebfeb9d1c am:
fa418b2b15 am:
cd9254082d
am:
f0ad79668f
Change-Id: Ia256ad9a6bf073f5b3000985217b9dac04bd306f
Jeff Sharkey [Fri, 20 Jan 2017 23:03:51 +0000 (23:03 +0000)]
Merge "Add Binder support for Parcelable exceptions." am:
7ebfeb9d1c am:
fa418b2b15
am:
cd9254082d
Change-Id: I0ab52eaf2b93da53396cec416a8a0a0e30220b4c
Jeff Sharkey [Fri, 20 Jan 2017 22:56:56 +0000 (22:56 +0000)]
Merge "Add Binder support for Parcelable exceptions." am:
7ebfeb9d1c
am:
fa418b2b15
Change-Id: I59c64df526ae8ba0c07532f983a224b72b427060
Jeff Sharkey [Fri, 20 Jan 2017 22:49:47 +0000 (22:49 +0000)]
Merge "Add Binder support for Parcelable exceptions."
am:
7ebfeb9d1c
Change-Id: Ia9fe213e51fef0fe2b000ed188b943079f9c9535
Jeff Sharkey [Fri, 20 Jan 2017 22:45:03 +0000 (22:45 +0000)]
Merge "Add Binder support for Parcelable exceptions."
Jesse Hall [Fri, 20 Jan 2017 01:43:26 +0000 (17:43 -0800)]
libEGL: Add initialization tracing
The first call to eglGetDisplay() loads drivers and initializes
dispatch tables. This currently takes significant time (85-100 ms),
and can must be done before the first frame of an app can be shown.
This change adds systrace markers for the major parts of this process,
as a precursor to optimizing them.
Bug:
34404021
Test: manual systrace of calculator app startup on bullhead
Change-Id: If1ecb5a81f9d33daf72c6f3e5b403972f8529b2d
Michael Wright [Fri, 20 Jan 2017 20:18:17 +0000 (20:18 +0000)]
Merge "Add i2c tracing support to atrace" am:
2630e78f53 am:
8b6f035960 am:
1fd4f885dc
am:
decf4e53b1
Change-Id: If9efc719e961e94e408380f483d8f32dd119b235
Michael Wright [Fri, 20 Jan 2017 20:15:25 +0000 (20:15 +0000)]
Merge "Add i2c tracing support to atrace" am:
2630e78f53 am:
8b6f035960
am:
1fd4f885dc
Change-Id: Ic643712f08bad7561b3d490513d25da94ac64c20
Michael Wright [Fri, 20 Jan 2017 20:12:55 +0000 (20:12 +0000)]
Merge "Add i2c tracing support to atrace" am:
2630e78f53
am:
8b6f035960
Change-Id: Ie9ec292bfaa8f2ea6f29daeca624edda6c5e18af
Michael Wright [Fri, 20 Jan 2017 20:10:25 +0000 (20:10 +0000)]
Merge "Add i2c tracing support to atrace"
am:
2630e78f53
Change-Id: Icc06121228858c35b90ef5ad0d4a0ecc470a3909
Polina Bondarenko [Fri, 20 Jan 2017 20:08:31 +0000 (20:08 +0000)]
Merge "Add feature flag for TelephonyManager#get/setAllowedCarriers" am:
c4fc77792c am:
969f4742f4 am:
1b11e44b94
am:
3b16cc25fd
Change-Id: Ic6c5756c217273b31dc2c5770f30da133a84a7e4
Treehugger Robot [Fri, 20 Jan 2017 20:07:13 +0000 (20:07 +0000)]
Merge "Add i2c tracing support to atrace"
Polina Bondarenko [Fri, 20 Jan 2017 20:05:42 +0000 (20:05 +0000)]
Merge "Add feature flag for TelephonyManager#get/setAllowedCarriers" am:
c4fc77792c am:
969f4742f4
am:
1b11e44b94
Change-Id: Ied26a01c8b70c897fe5cb775436447620d1baa97
Polina Bondarenko [Fri, 20 Jan 2017 20:03:12 +0000 (20:03 +0000)]
Merge "Add feature flag for TelephonyManager#get/setAllowedCarriers" am:
c4fc77792c
am:
969f4742f4
Change-Id: I7e755924f2a3e1556fcdc47068c0a863276ce984
Polina Bondarenko [Fri, 20 Jan 2017 20:01:12 +0000 (20:01 +0000)]
Merge "Add feature flag for TelephonyManager#get/setAllowedCarriers"
am:
c4fc77792c
Change-Id: I4368431b3537bde427d8bb68f33fc8b6cf876f15
Treehugger Robot [Fri, 20 Jan 2017 19:55:15 +0000 (19:55 +0000)]
Merge "Add feature flag for TelephonyManager#get/setAllowedCarriers"
TreeHugger Robot [Fri, 20 Jan 2017 19:24:22 +0000 (19:24 +0000)]
Merge "Added device name to bugreport file."
Michael Wright [Thu, 18 Aug 2016 18:56:43 +0000 (19:56 +0100)]
Add i2c tracing support to atrace
Cherry-picking from internal master
Test: None
Change-Id: Iaf0daa0982bd8d2355d3590d43ad78711e764ee0
Ian Elliott [Fri, 20 Jan 2017 16:15:48 +0000 (09:15 -0700)]
Fix typo in new enum, VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE
Test: build
Change-Id: I5ed26459e7ab2c358dad731025e4b83ae71b3de0
TreeHugger Robot [Fri, 20 Jan 2017 04:09:59 +0000 (04:09 +0000)]
Merge "Add wide color gamut and HDR resource qualifiers"
Chris Forbes [Thu, 19 Jan 2017 23:50:17 +0000 (12:50 +1300)]
vulkan: return OUT_OF_DATE from GetSwapchainStatus if not current
We don't yet have good ways to detect other ways in which the swapchain
may have gone bad, but it's easy to detect the case where the swapchain
is not current for the surface it targets.
Test: build
Change-Id: Id882a4a699d65f323e8a5e181f0e25e903039f21
TreeHugger Robot [Thu, 19 Jan 2017 23:21:58 +0000 (23:21 +0000)]
Merge "Direct report mode support in sensor service and client"
Romain Guy [Thu, 19 Jan 2017 00:36:21 +0000 (16:36 -0800)]
Add wide color gamut and HDR resource qualifiers
Test: aapt tests
Bug:
32984164
Change-Id: I2bd81f6a08ef1b4fa4ba7eb05b6a923f82fcc78a
TreeHugger Robot [Thu, 19 Jan 2017 22:46:20 +0000 (22:46 +0000)]
Merge "Minor tweaks to VK_GOOGLE_display_timing"
Jeff Sharkey [Thu, 19 Jan 2017 22:11:50 +0000 (22:11 +0000)]
Merge "Measure external storage using new GIDs." am:
f5a21ba425 am:
973d5aeb17 am:
9715247a54
am:
3801d6668c
Change-Id: Iced41d9d4d5ccc146e044de68046b8ee48d2fc52
Jeff Sharkey [Thu, 19 Jan 2017 22:09:20 +0000 (22:09 +0000)]
Merge "Measure external storage using new GIDs." am:
f5a21ba425 am:
973d5aeb17
am:
9715247a54
Change-Id: Ic1687f3b78ba2b3be689eb9462f568e7a68c54d8
Jeff Sharkey [Thu, 19 Jan 2017 22:06:49 +0000 (22:06 +0000)]
Merge "Measure external storage using new GIDs." am:
f5a21ba425
am:
973d5aeb17
Change-Id: If3e585b5a35faa1f0151351affa23b382976dc4a
Jeff Sharkey [Thu, 19 Jan 2017 22:04:19 +0000 (22:04 +0000)]
Merge "Measure external storage using new GIDs."
am:
f5a21ba425
Change-Id: Id8f48276b4768a9e49b943e7142c33d7a365374a
Jeff Sharkey [Thu, 19 Jan 2017 22:00:50 +0000 (22:00 +0000)]
Merge "Measure external storage using new GIDs."
Peng Xu [Thu, 3 Nov 2016 18:57:10 +0000 (11:57 -0700)]
Direct report mode support in sensor service and client
Added SensorDirectConnection to represent the direct channel.
The life-cycle is similar to that of SensorEventConnection.
Modified SensorDevice and SensorDeviceTreble to support new
HAL API. Added support in SensorManager, SensorService, binder
classes. Also added related helper functions in Sensor and dumpsys
support in SensorList.
Test: manual test with demo app
Bug:
30985702
Change-Id: I8750294b6aab717ed7f525299be642f1f0b85558
Ian Elliott [Thu, 19 Jan 2017 18:02:13 +0000 (11:02 -0700)]
Minor tweaks to VK_GOOGLE_display_timing
Test: Manually tested with a modified cube demo, that changes its timing as a
result of the data returned from this extension.
Change-Id: I80795ae9e10e285e00382bd565f22f2bfdb37177
Ian Elliott [Thu, 19 Jan 2017 17:38:08 +0000 (17:38 +0000)]
Merge "Enumerate initial version of VK_GOOGLE_display_timing"
Jeff Sharkey [Thu, 19 Jan 2017 16:34:04 +0000 (16:34 +0000)]
Merge "First pass at updated cache clearing logic." am:
45270e18cc am:
fe40750da2 am:
19c96b49b5
am:
4aaed0fc6d
Change-Id: If99a870507c953ff92ac56653fe26cd7f29597d6
Jeff Sharkey [Thu, 19 Jan 2017 16:29:34 +0000 (16:29 +0000)]
Merge "First pass at updated cache clearing logic." am:
45270e18cc am:
fe40750da2
am:
19c96b49b5
Change-Id: Ide4a9e17f76b3f136c2f13b0558a6130865226f4
Jeff Sharkey [Thu, 19 Jan 2017 16:25:10 +0000 (16:25 +0000)]
Merge "First pass at updated cache clearing logic." am:
45270e18cc
am:
fe40750da2
Change-Id: I54afc93c8d39857a63906b0cb8ec72f4aba4f6d4
Jeff Sharkey [Thu, 19 Jan 2017 16:21:36 +0000 (09:21 -0700)]
Measure external storage using new GIDs.
We just defined a new range of GIDs that will be used to mark per-app
data files stored on external storage, so start measuring them.
Also measure all OBB files using another new GID that was defined.
Note that we're relying on the per-app cache GIDs to track cache
usage on *both* internal and external storage, which means that stats
and extStats won't always add up. (The framework already combines
these values together, and we didn't want to waste precious GID
space on explicitly tracking cache files on external storage.)
Test: builds, boots
Bug:
27948817,
34263266
Change-Id: Ife087df299ff8ee1a75fce1e39b4b737cf9375d5
Jeff Sharkey [Thu, 19 Jan 2017 16:20:50 +0000 (16:20 +0000)]
Merge "First pass at updated cache clearing logic."
am:
45270e18cc
Change-Id: Icade9c982866bb45c63cc484b77820fb9c1b77ea
Jeff Sharkey [Thu, 19 Jan 2017 16:16:02 +0000 (16:16 +0000)]
Merge "First pass at updated cache clearing logic."
Ian Elliott [Thu, 19 Jan 2017 16:05:58 +0000 (09:05 -0700)]
Enumerate initial version of VK_GOOGLE_display_timing
The implementation seems correct with the exception that it is not obtaining
the refresh durations from SurfaceFlinger/HAL. A maximum of 10 TimingInfo's
(containing the timing for previous presents) are stored, and timestamps are
only queried from SurfaceFlinger for presents (a.k.a. frames) that occured 5
presents/frames ago.
Test: Manually tested with a modified cube demo, that changes its timing as a
result of the data returned from this extension.
Change-Id: I199614ed58877b64eab2568a76ba517acca3bf87
TreeHugger Robot [Thu, 19 Jan 2017 03:03:37 +0000 (03:03 +0000)]
Merge "TYPE_DYNAMIC_SENSOR_META type should be wake up sensor"
Felipe Leme [Thu, 15 Dec 2016 16:54:22 +0000 (08:54 -0800)]
Added device name to bugreport file.
New format is now: bugreport-DEVICE-BUILD-TIMESTAMP
Fixes:
33257711
Test: manual verification
Test: dumpstate_test passes
Change-Id: Id5abf30c7beeeb4f5b2fcc7219673ea3e7a20478
Chris Forbes [Thu, 19 Jan 2017 01:52:43 +0000 (01:52 +0000)]
Merge changes I81297d6c,Id974ffb2,I8654961f
* changes:
vulkan: enable shared buffer mode and auto refresh if desired
vulkan: Set front buffer bit for image creation
vulkan: Offer frontbuffered present modes
Chris Forbes [Wed, 18 Jan 2017 05:07:05 +0000 (18:07 +1300)]
vulkan: enable shared buffer mode and auto refresh if desired
First turn these off as part of the reset process, then set them based
on the present mode.
Test: build
Change-Id: I81297d6cfcdab1a569cd0c9d57ed3fcb4c534146
Peng Xu [Thu, 19 Jan 2017 01:37:06 +0000 (01:37 +0000)]
Merge "TYPE_DYNAMIC_SENSOR_META should be wake up sensor" am:
29280addfd am:
4925ffcbec am:
ce7bcb28ff
am:
dd912650f2
Change-Id: Iedfd745699cd937c54e345fe7c0d9dc35052afe8
Peng Xu [Thu, 15 Sep 2016 18:05:08 +0000 (11:05 -0700)]
TYPE_DYNAMIC_SENSOR_META type should be wake up sensor
Bug:
31068976
Change-Id: I97197df248a9e89af6b72af3bee3c536a58c8df2
Peng Xu [Thu, 19 Jan 2017 01:26:57 +0000 (01:26 +0000)]
Merge "TYPE_DYNAMIC_SENSOR_META should be wake up sensor" am:
29280addfd am:
4925ffcbec
am:
ce7bcb28ff
Change-Id: I9a241d3ecf5c7bee929f42bcba4438a60e36f94c
Peng Xu [Thu, 19 Jan 2017 01:21:12 +0000 (01:21 +0000)]
Merge "TYPE_DYNAMIC_SENSOR_META should be wake up sensor" am:
29280addfd
am:
4925ffcbec
Change-Id: Id48ac0e29a62e17495ae0ae7f4b5741e89e93121
Peng Xu [Thu, 19 Jan 2017 01:17:56 +0000 (01:17 +0000)]
Merge "TYPE_DYNAMIC_SENSOR_META should be wake up sensor"
am:
29280addfd
Change-Id: I45ad2448abf8da0ab2d1cdc4e29c7d2d30d3affe
Peng Xu [Thu, 19 Jan 2017 01:11:49 +0000 (01:11 +0000)]
Merge "TYPE_DYNAMIC_SENSOR_META should be wake up sensor"
Calin Juravle [Thu, 19 Jan 2017 00:57:40 +0000 (00:57 +0000)]
Merge "Clean up and simplify the logic in dexopt" am:
57eb11ed2d am:
617b5a2bf9 am:
f136f947d6
am:
e2f5c16e09
Change-Id: I5c115ee77930866958d12097db87ce902039f451
Josh Gao [Thu, 19 Jan 2017 00:44:59 +0000 (00:44 +0000)]
Merge changes from topic 'kill_debuggerd' am:
134a7193a0 am:
b1a94fb6e5 am:
2f7864a3a5
am:
a90b68d768
Change-Id: Ia31867b74bd1d08e291030627db40de305ceb7b7
Josh Gao [Thu, 19 Jan 2017 00:14:03 +0000 (16:14 -0800)]
resolve merge conflicts of
9c65f4f50 to master
Change-Id: Icc63b82a4852222275c0bbafd84d4f535a0f8f10
Calin Juravle [Thu, 19 Jan 2017 00:05:50 +0000 (00:05 +0000)]
Merge "Clean up and simplify the logic in dexopt" am:
57eb11ed2d am:
617b5a2bf9
am:
f136f947d6
Change-Id: Iaaa9430484e8d30f5e70df193a4a56ed08bfc12a
Josh Gao [Thu, 19 Jan 2017 00:01:25 +0000 (16:01 -0800)]
resolve merge conflicts of
467ecaff0 to master
Change-Id: Ia24f84fa163411da8172db12d918c37313c54183
Josh Gao [Wed, 18 Jan 2017 23:58:35 +0000 (23:58 +0000)]
Merge changes from topic 'kill_debuggerd' am:
134a7193a0 am:
b1a94fb6e5
am:
2f7864a3a5
Change-Id: Ie88f3881c3ca210cf7950138b5f28659de14ed03
Josh Gao [Wed, 18 Jan 2017 23:58:23 +0000 (23:58 +0000)]
dumpstate: use O_APPEND for anr file. am:
989b812dcd am:
b0f08f67fd
am:
67e3e53dd9
Change-Id: I446b797e3f8cb9d4299509fb34b84f5b25336300
Calin Juravle [Wed, 18 Jan 2017 23:57:34 +0000 (23:57 +0000)]
Merge "Clean up and simplify the logic in dexopt" am:
57eb11ed2d
am:
617b5a2bf9
Change-Id: I296990f67265262156b96d9b1353ce5d24e744ec
Calin Juravle [Wed, 18 Jan 2017 23:52:24 +0000 (23:52 +0000)]
Merge "Clean up and simplify the logic in dexopt"
am:
57eb11ed2d
Change-Id: I9571ed4171d592d78e76278ffbeee9f978d4de43
Calin Juravle [Wed, 18 Jan 2017 23:49:13 +0000 (23:49 +0000)]
Merge "Clean up and simplify the logic in dexopt"
Josh Gao [Wed, 18 Jan 2017 23:45:52 +0000 (23:45 +0000)]
Merge changes from topic 'kill_debuggerd' am:
134a7193a0
am:
b1a94fb6e5
Change-Id: I62a2dee60f16c47be0614b9688e92a290e4f45c7
Josh Gao [Wed, 18 Jan 2017 23:45:40 +0000 (23:45 +0000)]
dumpstate: use O_APPEND for anr file. am:
989b812dcd
am:
b0f08f67fd
Change-Id: Ic0fb8b7a328edcaa62c725d84aea74d9404e6ee9
Josh Gao [Wed, 18 Jan 2017 23:43:23 +0000 (23:43 +0000)]
resolve merge conflicts of
f79a82d6a to nyc-mr1-dev-plus-aosp
am:
27cdfc3e9d
Change-Id: I0219baebce53482f730cfb73ae600be01bbeb224
Josh Gao [Wed, 18 Jan 2017 23:39:44 +0000 (15:39 -0800)]
resolve merge conflicts of
f79a82d6a to nyc-mr1-dev-plus-aosp
Change-Id: I5a9fbde2637d746bfd32d5b7546777708746e6d9
Josh Gao [Wed, 18 Jan 2017 23:19:49 +0000 (23:19 +0000)]
Merge changes from topic 'kill_debuggerd'
am:
134a7193a0
Change-Id: Icb705df114dc073ef66507c59884e77ea1cf828b
Josh Gao [Wed, 18 Jan 2017 23:19:31 +0000 (23:19 +0000)]
dumpstate: use O_APPEND for anr file.
am:
989b812dcd
Change-Id: Ibaa04b99195886df0ff14b2f6569e37918373619
Amit Pundir [Wed, 18 Jan 2017 23:18:08 +0000 (23:18 +0000)]
Merge "libGLES_android: Add generic 32bpp BGRA EGLConfig" am:
0233bd47ed am:
190197d914 am:
354b20fe58
am:
295f4fdd48
Change-Id: I233d73f073b70f660c533c00e00c3f7bb399e294
Josh Gao [Wed, 18 Jan 2017 23:16:29 +0000 (23:16 +0000)]
dumpstate: switch to using libdebuggerd_client.
am:
d2db024a86
Change-Id: I219627b359a88b8a694b4f4cd46de9cea9767655
Amit Pundir [Wed, 18 Jan 2017 23:08:21 +0000 (23:08 +0000)]
Merge "libGLES_android: Add generic 32bpp BGRA EGLConfig" am:
0233bd47ed am:
190197d914
am:
354b20fe58
Change-Id: I5e2ff1378104c2e520d7a58762d88c4fc0981c0e
Amit Pundir [Wed, 18 Jan 2017 23:06:20 +0000 (23:06 +0000)]
Merge "libGLES_android: Add generic 32bpp BGRA EGLConfig" am:
0233bd47ed
am:
190197d914
Change-Id: I2136f3da54052e56344d6c491bbe94e9303d01b9
Amit Pundir [Wed, 18 Jan 2017 23:04:54 +0000 (23:04 +0000)]
Merge "libGLES_android: Add generic 32bpp BGRA EGLConfig"
am:
0233bd47ed
Change-Id: Ie6f7c202ceb22e76e28ad5973cf668bddd3b8552
Josh Gao [Wed, 18 Jan 2017 23:04:08 +0000 (23:04 +0000)]
Merge changes from topic 'kill_debuggerd'
* changes:
dumpstate: use O_APPEND for anr file.
dumpstate: switch to using libdebuggerd_client.
Treehugger Robot [Wed, 18 Jan 2017 23:00:41 +0000 (23:00 +0000)]
Merge "libGLES_android: Add generic 32bpp BGRA EGLConfig"
Calin Juravle [Wed, 18 Jan 2017 21:10:00 +0000 (21:10 +0000)]
Merge "Clean up and simplify the logic in dexopt"
Calin Juravle [Sun, 15 Jan 2017 00:23:30 +0000 (16:23 -0800)]
Clean up and simplify the logic in dexopt
Make some order in dexopt logic by extracting independent parts in their
own helpers.
It will make further updates of dexopt simpler and easier to reason
about (e.g. for secondary dex files).
Test: device boots
adb shell cmd package compile -m speed|speed-profile packageName
install new packages
Bug:
32871170
(cherry picked from commit
4a391f80601d7f65d7e63353363e6d32868161d5)
Change-Id: If0c96174e904519a4332e54553690b691ff63149
Chris Forbes [Wed, 18 Jan 2017 19:35:57 +0000 (19:35 +0000)]
Merge changes I6ea2e33e,Iccfce003
* changes:
vulkan: Add function stub & plumbing for KHR_swapchain_front_buffered
vulkan: Add KHR_swapchain_front_buffered to header and api
Jeff Sharkey [Wed, 18 Jan 2017 01:05:54 +0000 (18:05 -0700)]
First pass at updated cache clearing logic.
The old clearing algorithm is very naive and it sorts all cached files
globally by modified time. This sadly lets apps gamify the system by
setting their modified times far in the future, and it's very
expensive because it requires a global filesystem traversal to free
up even the smallest amount of data.
Instead, this CL introduces a much more fair cache clearing algorithm
that deletes files from specific UIDs based on how much cache space
that UID is using proportional to the space allocated to them. This
new design has several nice properties:
-- It uses the recently added quotactl() feature to rapidly target
the apps that are using the most space.
-- We only need to traverse the filesystem for UIDs that actively
enter the crosshairs of the clearing algorithm.
-- Disciplined apps who stay under their allocated quota will be
the last to have their cached data cleared.
-- This design can be easily adapted to support additional features
such as atomic purging and tombstones.
In summary, the new algorithm is extremely efficient when freeing up
the typical small-to-medium amounts of disk space, and is only
moderately less efficient than the old algorithm when forced to clear
all cached data.
Test: builds, boots, clearing strategy looks sane
Bug:
33965858
Change-Id: I66f95089cb33f1add3f31fcf1082ab2469870fda
Polina Bondarenko [Thu, 12 Jan 2017 20:14:14 +0000 (21:14 +0100)]
Add feature flag for TelephonyManager#get/setAllowedCarriers
Add android.hardware.telephony.carrierlock feature flag declaration.
Bug:
33480084
Test: cts
Change-Id: Ib6ede97d7ee8d6e924c1483ee51f52bdfa09950b
TreeHugger Robot [Wed, 18 Jan 2017 14:35:56 +0000 (14:35 +0000)]
Merge "Remove window obscurement information from ACTION_OUTSIDE events."
Chris Forbes [Wed, 18 Jan 2017 03:57:02 +0000 (16:57 +1300)]
vulkan: Set front buffer bit for image creation
Test: build
Change-Id: Id974ffb24c13941919be62d9a0cae2155da967d5
Chris Forbes [Wed, 18 Jan 2017 03:55:07 +0000 (16:55 +1300)]
vulkan: Offer frontbuffered present modes
Test: build
Change-Id: I8654961f0ceb01a7015321b61472f201005a527f
Jeff Sharkey [Wed, 18 Jan 2017 01:35:31 +0000 (01:35 +0000)]
Merge "Add systrace details to storage measurements." am:
a693382d94 am:
b0858a472e am:
6248cde3b3
am:
64a2155e1d
Change-Id: I93d3eba418b98081eca6a2b0cabda58db5649057
Jeff Sharkey [Wed, 18 Jan 2017 01:29:12 +0000 (01:29 +0000)]
Merge "Add systrace details to storage measurements." am:
a693382d94 am:
b0858a472e
am:
6248cde3b3
Change-Id: I2d259e341128528ef0d81e9dea4631527efd48dc
Jeff Sharkey [Wed, 18 Jan 2017 01:22:27 +0000 (01:22 +0000)]
Merge "Add systrace details to storage measurements." am:
a693382d94
am:
b0858a472e
Change-Id: I37efa4372b36d97e0fbbac362d74e66957eca569
Jeff Sharkey [Wed, 18 Jan 2017 01:17:47 +0000 (01:17 +0000)]
Merge "Add systrace details to storage measurements."
am:
a693382d94
Change-Id: I4bdc09bd3e62dfbc522b527537bcd526a391fbaf
Jeff Sharkey [Wed, 18 Jan 2017 01:10:59 +0000 (01:10 +0000)]
Merge "Add systrace details to storage measurements."
Sandeep Patil [Wed, 18 Jan 2017 00:55:02 +0000 (00:55 +0000)]
Merge "servicemanager: selinux: set selinux callbacks early" am:
bfbe2d711c am:
a7575ec40f am:
f32881a401
am:
46dd875465
Change-Id: I7f203727aa257adf80d92e777013e0da6bfae481
Sandeep Patil [Wed, 18 Jan 2017 00:51:16 +0000 (00:51 +0000)]
Merge "servicemanager: selinux: set selinux callbacks early" am:
bfbe2d711c am:
a7575ec40f
am:
f32881a401
Change-Id: I0d6dfd8a807cec0b9cdefab79f3bcfe817976579
Sandeep Patil [Wed, 18 Jan 2017 00:46:46 +0000 (00:46 +0000)]
Merge "servicemanager: selinux: set selinux callbacks early" am:
bfbe2d711c
am:
a7575ec40f
Change-Id: Id220cef18e1b003f5c0edd3a8da4d2871d2055a9
Sandeep Patil [Wed, 18 Jan 2017 00:41:34 +0000 (00:41 +0000)]
Merge "servicemanager: selinux: set selinux callbacks early"
am:
bfbe2d711c
Change-Id: I0e3e088eb3d8404d1707ac61aa18eda5f0cbad8d
Treehugger Robot [Wed, 18 Jan 2017 00:36:55 +0000 (00:36 +0000)]
Merge "servicemanager: selinux: set selinux callbacks early"
Chris Forbes [Wed, 18 Jan 2017 00:33:53 +0000 (13:33 +1300)]
vulkan: Add function stub & plumbing for KHR_swapchain_front_buffered
Test: build
Change-Id: I6ea2e33e708067f11069bda19c4b5ea167158913
Chris Forbes [Tue, 17 Jan 2017 22:45:17 +0000 (11:45 +1300)]
vulkan: Add KHR_swapchain_front_buffered to header and api
This is tacked in by hand since the extension MR hasn't landed yet in
the Khronos repo.
Test: build
Change-Id: Iccfce0032f27fca982cdb4e9ee414df036f01613
Jeff Sharkey [Tue, 17 Jan 2017 22:25:01 +0000 (15:25 -0700)]
Add systrace details to storage measurements.
Can be used to find bottlenecks, and confirm that quota stuff is
being used when expected.
Test: builds, boots
Bug:
34341727
Change-Id: Ifefc155e5d3b0c74245e0d287e84df699ce09d16
Josh Gao [Sat, 14 Jan 2017 06:09:40 +0000 (22:09 -0800)]
dumpstate: use O_APPEND for anr file.
Bug: http://b/
30705528
Test: ran dumpstate, grepped dmesg for new selinux denials
Change-Id: I28814edcf37a7edbde79279feff0e7def64316f2