Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Bad boy #16

Closed
wants to merge 10,000 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
586ef26
Add ParseFloat (in parsedouble.h).
smore-lore Aug 8, 2018
856b7ec
fastbootd: Allow returning errors from getvar handlers.
dvandercorp Aug 9, 2018
e74c526
Merge "base: move unique_fd fdsan tests into bionic."
Aug 9, 2018
4842b1b
Merge "ParseDouble: allow validation only."
Aug 9, 2018
2d3f234
Merge "Revert^2 "Prepare to fail in RefBase destructor if count is un…
hboehm Aug 9, 2018
52e54a6
llkd: switch to std::literals
Aug 7, 2018
9ce0de0
Merge "Add ParseFloat (in parsedouble.h)."
smore-lore Aug 9, 2018
4264b7f
Merge "fastbootd: Allow returning errors from getvar handlers."
Aug 9, 2018
075c351
Merge "fastboot: `fastbootd` uses `libadbd.so`."
Aug 9, 2018
12211d1
fastbootd: Enable erase and flash commands for physical partitions.
dvandercorp Jul 24, 2018
e85b2ad
init: clarify comment for the restorecon of second stage init
Aug 9, 2018
f1911f4
ParseFloat/ParseDouble, also take std::string
smore-lore Aug 9, 2018
88ef0b1
fastbootd: Add support for flashing logical partitions.
dvandercorp Aug 9, 2018
424ffa2
Merge "init: clarify comment for the restorecon of second stage init"
Aug 9, 2018
3cf9f9b
Merge changes Id2a61d35,Ibe802c36
Aug 9, 2018
d88b52e
Merge changes from topic "squashfs+overlayfs"
Aug 9, 2018
edc9cee
Merge "ParseFloat/ParseDouble, also take std::string"
smore-lore Aug 9, 2018
0d4277d
fastbootd: Add commands for logical partitions.
dvandercorp Jul 31, 2018
d9ba061
fastbootd: Add is-userspace variable.
dvandercorp Aug 2, 2018
18eae78
Merge changes If7c8d38f,I7117dd19,Iaa5006e3,I3a568361,I37df06e4, ...
jmgao Aug 9, 2018
770395d
Merge "fastbootd: Add commands for logical partitions."
Aug 9, 2018
6d5b931
Merge "fastbootd: Add is-userspace variable."
Aug 9, 2018
b4bf8c6
fs_mgr: Small fix in overlayfs setup/teardown
gitkaiser Aug 10, 2018
0e7dc30
Merge "llkd: switch to std::literals"
Aug 10, 2018
5f42ee1
Merge "fs_mgr: Small fix in overlayfs setup/teardown"
Aug 10, 2018
67bf7df
Merge changes I78f273db,I2fdaa9d3,Ib6e1df87
Aug 10, 2018
282ad1a
lmkd: Add meminfo logging after each kill for easy troubleshooting
surenbaghdasaryan Jul 26, 2018
e032387
adb: minor cleanup.
jmgao Aug 10, 2018
043fbec
adb: add environment variables to disable usb, emulators, mdns.
jmgao Aug 10, 2018
50acca7
Increase fastboot timeout to 30 seconds
wizard97 Aug 10, 2018
8a40c8a
adb: switch reconnect_queue to std::set.
jmgao Aug 10, 2018
7bb1ae2
Merge "lmkd: Add meminfo logging after each kill for easy troubleshoo…
surenbaghdasaryan Aug 11, 2018
389e950
Merge changes I784c1dcc,Ic6a06cdc,I874b10c2
Aug 11, 2018
991eedd
base: remove execute bit from utf8.h
CompareAndSwap Aug 11, 2018
2a58811
Merge "base: remove execute bit from utf8.h"
Aug 12, 2018
f6dff6d
Build ld.config.txt for older VNDK versions
Jul 25, 2018
61f474f
Add '.bak' for sed -i that is required by BSD sed
Aug 10, 2018
f6c6aaa
Parse the list of supported vndk snapshot versions
Aug 10, 2018
acecaf7
llkd: llkSplit should prevent empty entries
Aug 10, 2018
3b984c7
Merge "Increase fastboot timeout to 30 seconds"
ccfries Aug 13, 2018
3195e6e
Allow C++17 in fastboot.
dvandercorp Aug 13, 2018
08d470b
Replace (unsigned) short with (u)int16_t.
chih-hung Aug 13, 2018
088d18e
Merge "Allow C++17 in fastboot."
Aug 13, 2018
ba02863
Merge "Replace (unsigned) short with (u)int16_t."
Aug 13, 2018
902dace
adb: make disconnect stop reconnection immediately.
jmgao Aug 10, 2018
45e3e95
adb: add better logging for connection failure.
jmgao Aug 10, 2018
75cff06
Merge changes from topic "linker-config"
Aug 14, 2018
7aa4608
fs_mgr: Drop some unneeded dependencies.
Aug 14, 2018
0caf3c1
adb: Drop the unneeded dependency on libfec_rs.so.
Aug 14, 2018
890c538
Merge "llkd: llkSplit should prevent empty entries"
Aug 14, 2018
5f6b069
fs_mgr: use ro.persistent_properties.ready
Jun 13, 2018
7186787
fs_mgr: correct error handling
Jun 13, 2018
2426197
Add Keymaster 3.0 binderized Trusty HAL
robepereira Jul 30, 2018
b5dfc75
Switch from old style KM2 HAL to new KM3 HAL
robepereira Jul 11, 2018
3f04e9e
Merge "fs_mgr: use ro.persistent_properties.ready"
Aug 14, 2018
16c8702
Merge "fs_mgr: correct error handling"
Aug 14, 2018
9066874
Merge "adb: make disconnect stop reconnection immediately."
Aug 14, 2018
066fcdf
Include some warnings about vendor_available for fsmgr.
Aug 14, 2018
a5d5c9d
Merge changes I31b6a66a,I682e5c98
robepereira Aug 14, 2018
f8398ee
Remove libsuspend from VNDK.
Aug 14, 2018
3231be6
Merge "Add sideload, fastboot as reboot targets in init"
Aug 14, 2018
cecf548
Merge "Include some warnings about vendor_available for fsmgr."
Aug 14, 2018
c489431
Merge "lmkd: Do not downgrade/ignore events when swap is full"
Aug 14, 2018
79ab0e3
fastbootd: Complete the implementation of getvar has-slot.
dvandercorp Aug 14, 2018
904bbd8
Remove init_second_stage.recovery dep.
Aug 14, 2018
1e6a318
Merge "fastbootd: Complete the implementation of getvar has-slot."
Aug 15, 2018
53c96da
fs_mgr: add overlayfs for small-space filesystems
Jun 13, 2018
3ff87d8
fs_mgr: add fs_mgr_has_shared_blocks and make default if overlayfs
Jul 2, 2018
d262346
Merge "fs_mgr: Drop some unneeded dependencies."
Aug 15, 2018
308129d
Merge "adb: Drop the unneeded dependency on libfec_rs.so."
Aug 15, 2018
1738693
Merge "Remove libsuspend from VNDK."
Aug 15, 2018
6a581b7
Merge "Remove init_second_stage.recovery dep."
Aug 16, 2018
d449e2e
libdm: remove libbase dependency in header.
Aug 16, 2018
ad58bf9
s/PRODUCTSERVICES/PRODUCT_SERVICES/g
dariofreni Aug 16, 2018
c0f60b7
Merge "s/PRODUCTSERVICES/PRODUCT_SERVICES/g"
dariofreni Aug 17, 2018
ba61ea4
charger: screen blank on disconnect and 0% not displayed
Jul 17, 2018
157a2e7
Merge "charger: screen blank on disconnect and 0% not displayed"
Aug 17, 2018
cdad28c
Merge "Add NDK folks to OWNERS for library configuration."
Aug 17, 2018
7b6751d
libutils: remove unused strzcmp16_h_n.
enh-google Aug 17, 2018
f4f7620
Check sp<>::clear() for data races
hboehm Aug 17, 2018
572d333
Merge "libutils: remove unused strzcmp16_h_n."
enh-google Aug 17, 2018
59cd823
Merge "Check sp<>::clear() for data races"
hboehm Aug 17, 2018
e82b832
Install ld.config.recovery.txt to $(TARGET_RECOVERY_ROOT_OUT)/system/…
Aug 17, 2018
ab5583b
s/product-services/product_services/g
dariofreni Aug 17, 2018
de39afd
Merge "s/product-services/product_services/g"
Aug 21, 2018
15eb065
Merge "Integrate adb with fastdeploy"
Aug 21, 2018
3488d9f
storaged: Fix-up private variable names in uid_monitor.
dvandercorp Jul 26, 2018
0026a14
storaged: Don't duplicate uid_records from proto files.
dvandercorp Jul 26, 2018
dec6a88
storaged: Cap io_history when loading stats from disk.
dvandercorp Jul 27, 2018
ca10a6f
Merge changes Ic3c5095c,I87bc3e37,Ifd21e25b
Aug 21, 2018
1d19793
Fix MacOS SDK build error caused by deprecated stl call.
idrieshamadi Aug 21, 2018
ec54ef7
Merge "Fix MacOS SDK build error caused by deprecated stl call."
jmgao Aug 21, 2018
3e27bd5
debuggerd: delete accidentally merged log spam.
jmgao Aug 14, 2018
92cd59f
adb: fix test_adb.py's adb server spawning on Windows.
jmgao Aug 21, 2018
627a74b
Merge "adb: add better logging for connection failure."
Aug 21, 2018
7151d20
Merge "debuggerd: delete accidentally merged log spam."
Aug 21, 2018
7cbebb2
Merge "Install ld.config.recovery.txt to $(TARGET_RECOVERY_ROOT_OUT)/…
Aug 21, 2018
c720aa1
liblp: FlashPartitionTable should update all slots.
dvandercorp Aug 15, 2018
6d2ace3
Merge "adb: fix test_adb.py's adb server spawning on Windows."
Aug 22, 2018
56d079b
Merge "libdm: remove libbase dependency in header."
Aug 22, 2018
9812b58
Add support to fastboot_driver for sending sparse images with CRC check
wizard97 Aug 22, 2018
00737b3
Create fuzzy-fastboot pen tester
wizard97 Jul 20, 2018
d1d0610
Merge "liblp: FlashPartitionTable should update all slots."
Aug 22, 2018
f122290
liblp: Always copy geometry to LpMetadata.
dvandercorp Aug 15, 2018
1eb3ea3
liblp: Refactor ParseMetadata to read from non-descriptors.
dvandercorp Aug 15, 2018
ee4075d
liblp: Add ReadImageFromBlob.
dvandercorp Aug 15, 2018
1572771
Merge "Add support to fastboot_driver for sending sparse images with …
ccfries Aug 22, 2018
95c34a7
bionic supplies PR_SET_VMA now.
enh-google Aug 22, 2018
895c13f
Merge changes I9ad08b0d,I7fb1ef4f,I5b24b9d9
Aug 22, 2018
4b42ea5
logd: crash dumps on userdebug only
Aug 15, 2018
5a0a51b
Add /dev/stdin, /dev/stdout, and /dev/stderr.
enh-google Aug 22, 2018
22c1eef
Merge "logd: crash dumps on userdebug only"
Aug 22, 2018
8e3f0b1
Fix two ParseInt edge cases
Aug 22, 2018
38b3c7a
fastbootd: Add an update-super command to sync the super partition.
dvandercorp Aug 15, 2018
ab434c7
init: accept -1 or 'unlimited' for an infinite rlimit
Aug 22, 2018
860cc5a
adbd: use unique_fd for the usb file descriptors.
jmgao Aug 21, 2018
2096558
init: always allow clearing a property
Aug 22, 2018
6ec934b
Merge "Add /dev/stdin, /dev/stdout, and /dev/stderr."
Aug 22, 2018
5d799cd
adb: fix spurious usb write failure on Windows.
jmgao Aug 22, 2018
7e7ab56
adb: don't spew push/pull progress to dumb terminals.
jmgao Aug 22, 2018
e37c5ca
Merge "Create fuzzy-fastboot pen tester"
Aug 23, 2018
9dc6f90
Merge "adbd: use unique_fd for the usb file descriptors."
Aug 23, 2018
3a6b3e4
Merge "bionic supplies PR_SET_VMA now."
Aug 23, 2018
e41cb2e
Merge "fastbootd: Add an update-super command to sync the super parti…
Aug 23, 2018
792fb8e
Merge changes Ie28ff622,I0179b42e
Aug 23, 2018
d68121f
Merge "init: always allow clearing a property"
Aug 23, 2018
958fcbd
Fix typo in parseint.untouched_on_failure test
Aug 22, 2018
ddb2bfe
Merge "adb: don't spew push/pull progress to dumb terminals."
Aug 23, 2018
f6d707b
Merge "adb: fix spurious usb write failure on Windows."
Aug 23, 2018
e58548e
Merge "Fix typo in parseint.untouched_on_failure test"
Aug 23, 2018
7f51e00
Address style and efficiency post-merge feedback from previous change…
idrieshamadi Aug 23, 2018
d8f419d
Merge "Address style and efficiency post-merge feedback from previous…
Aug 23, 2018
c3ade7f
fastboot: Use _WIN32 instead of WIN32.
dvandercorp Aug 23, 2018
32e376f
fastbootd: Support flashall with logical partitions.
dvandercorp Aug 16, 2018
4590a2a
Switch root to /system in first stage mount
Aug 7, 2018
5d3edb1
Merge changes from topic "fastbootd-flashall"
Aug 23, 2018
37996b6
trusty_keymaster_ipc: Use ALOGV instead of ALOGE for info/debug message
robepereira Aug 23, 2018
c86b01b
Merge "trusty_keymaster_ipc: Use ALOGV instead of ALOGE for info/debu…
Aug 24, 2018
a5ad20a
Fix mac build breakage due to missing usb_osx.cpp in
wizard97 Aug 24, 2018
ab26455
Added support to fuzzy_fastboot for more sparse tests
wizard97 Aug 22, 2018
a37dada
Merge "Fix mac build breakage due to missing usb_osx.cpp in Android.c…
Aug 24, 2018
66209ca
init: init_defaults uses more shared libraries.
Jul 26, 2018
07c2c9a
Merge "Added support to fuzzy_fastboot for more sparse tests"
Aug 24, 2018
a3d36a8
init: Build init_tests only for the first arch.
Aug 24, 2018
38e9f23
getevent: O_RDWR -> O_RDONLY | O_CLOEXEC
nickkral Aug 24, 2018
ed59ff4
Remove ashmem from system/core
Aug 24, 2018
eff7027
Merge changes from topic "init_defaults"
Aug 24, 2018
8fb0fb8
fastboot: allow automatic detection of super location
Aug 24, 2018
993ae1f
Merge changes Ifab22a4c,I03eb9c78
Aug 25, 2018
472223e
Merge "getevent: O_RDWR -> O_RDONLY | O_CLOEXEC"
Aug 25, 2018
84fc271
adb: win32: fix Ctrl-C of adb server nodaemon
CompareAndSwap Aug 26, 2018
3a6c751
Merge "fastboot: allow automatic detection of super location"
Aug 27, 2018
7c2020b
adb: use fs_mgr_has_shared_blocks
Jul 2, 2018
3487e22
Use multiple patterns and emails in per-file syntax.
chih-hung Aug 23, 2018
7ab971a
keychords.cpp: O_RDWR -> O_RDONLY
nickkral Aug 27, 2018
31e5fc5
Merge "keychords.cpp: O_RDWR -> O_RDONLY"
Aug 27, 2018
763ccaa
libsysutils: add some rudimentary tests
codewiz Jun 5, 2018
ca76859
SocketListener: use poll() instead of select()
codewiz May 23, 2018
53ba407
Merge changes I4a8f1804,I3aa44c5a
Aug 27, 2018
4843c18
debuggerd_handler: receive abort messages via sigqueue(DEBUGGER_SIGNAL).
jmgao Aug 27, 2018
bf06a40
debuggerd_test: add test for fdsan abort message.
jmgao Aug 27, 2018
d3dc3c8
fs_mgr: correct support for ro.build.system_root_image
Jun 13, 2018
7bb77d3
Merge "adb: use fs_mgr_has_shared_blocks"
Aug 28, 2018
1d88743
fastboot: Automatically reboot to userspace fastboot.
dvandercorp Aug 27, 2018
c77f9d3
Open zips using _wopen on windows.
RyanMitch16 Aug 25, 2018
33f91de
Merge "Use multiple patterns and emails in per-file syntax."
chih-hung Aug 28, 2018
3563862
fs_mgr: Better error messages in fs_mgr_update_verity_state.
dvandercorp Aug 27, 2018
9adafe2
Merge "fastboot: Automatically reboot to userspace fastboot."
Aug 28, 2018
abf8ff7
Merge "fs_mgr: Better error messages in fs_mgr_update_verity_state."
Aug 28, 2018
95d4093
fastboot: Flash boot partitions before rebooting to fastbootd.
dvandercorp Aug 28, 2018
4832a8b
llkd: clear PR_SET_DUMPABLE
Aug 15, 2018
0651208
Merge changes from topic "fdsan_abort_msg"
jmgao Aug 28, 2018
6fd4b9b
libcutils test: make set_sched_policy optional
dpursell Aug 28, 2018
065cdf3
Merge "fs_mgr: correct support for ro.build.system_root_image"
Aug 28, 2018
62aeb16
fs_mgr: overlayfs skip mount points that are more specific
Aug 24, 2018
85528e8
Move off safe-iop.
enh-google Aug 28, 2018
8808f6c
libdebuggerd: decode fdsan owner tags.
jmgao Aug 28, 2018
1645312
Merge "Open zips using _wopen on windows."
RyanMitch16 Aug 28, 2018
24f4ec6
Merge "llkd: clear PR_SET_DUMPABLE"
Aug 28, 2018
0debda0
fastboot: Clean up the image array a bit.
dvandercorp Aug 28, 2018
d2b29eb
Merge "fs_mgr: overlayfs skip mount points that are more specific"
Aug 28, 2018
40b45b8
fs_mgr: set overlayfs_file context
Aug 27, 2018
9177927
Merge "libdebuggerd: decode fdsan owner tags."
Aug 29, 2018
49c4cd4
Merge "fs_mgr: set overlayfs_file context"
Aug 29, 2018
11cd49c
Merge "Move off safe-iop."
enh-google Aug 29, 2018
1735516
Merge "libcutils test: make set_sched_policy optional"
dpursell Aug 29, 2018
379e099
Merge "fastboot: Flash boot partitions before rebooting to fastbootd."
Aug 29, 2018
90cd262
Merge "fastboot: Clean up the image array a bit."
Aug 29, 2018
f5ca0f7
Remove unused -I of external/safe-iop.
enh-google Aug 29, 2018
7b02605
Merge "Switch root to /system in first stage mount"
Aug 29, 2018
9d3f453
Set errno for all error return cases.
cferris1000 Aug 28, 2018
c735bfe
Fix bug in fs_mgr with calling vdc
PaulLawrenceGoogle Aug 29, 2018
5667514
fastboot: remove 'powerdown'
Aug 29, 2018
0a10040
adb should #include <sys/sysmacros.h>
vanaf Aug 29, 2018
e51dadb
fastboot: remove 'verify'
Aug 29, 2018
c8ad0ca
adb: really make kill-server wait for server death
CompareAndSwap Aug 29, 2018
cf444f3
fastboot: Use a single codepath for flashall and update.
dvandercorp Aug 29, 2018
6014311
libpixelflinger: Avoid using x18 register in blend implementation.
pcc Aug 29, 2018
5dea98f
Merge "Remove unused -I of external/safe-iop."
Aug 30, 2018
24b861d
Merge "Fix bug in fs_mgr with calling vdc"
Aug 30, 2018
2dd1ec6
Merge "adb should #include <sys/sysmacros.h>"
Aug 30, 2018
6316be2
Merge "libpixelflinger: Avoid using x18 register in blend implementat…
pcc Aug 30, 2018
dd2ef11
Merge changes I11ff0aed,Ia442a41d
Aug 30, 2018
f32c201
Show bootanimation after decrypt
Jul 26, 2018
5a139a0
Merge "Show bootanimation after decrypt"
Aug 30, 2018
ab971b5
Convert fastboot to Soong
danw Aug 29, 2018
fc2e56f
adb: don't try to reconnect emulators.
jmgao Aug 30, 2018
7f6dab5
Merge "Set errno for all error return cases."
cferris1000 Aug 30, 2018
3cc906b
Merge "Remove ashmem from system/core"
Aug 30, 2018
c47c508
Merge "fastboot: Use a single codepath for flashall and update."
Aug 30, 2018
eafc1c3
init: First Stage Mount observe nofail mount flag
Aug 29, 2018
5fdd77b
Merge "adb: don't try to reconnect emulators."
Aug 30, 2018
96505fa
llkd: Add stack symbol checking
Aug 7, 2018
ebb631b
Merge "init: First Stage Mount observe nofail mount flag"
Aug 30, 2018
4d89297
Merge "Convert fastboot to Soong"
danw Aug 30, 2018
822465a
Fix the mac fastboot build
danw Aug 31, 2018
640ceee
Merge "Fix the mac fastboot build"
Aug 31, 2018
02699e3
Remove unused ART build dependencies
ohodson Aug 23, 2018
7f3c01c
Make sync and remount support product_services.
Aug 31, 2018
1fb3fd7
fastbootd: Refactor for getvar all.
dvandercorp Aug 31, 2018
0f62663
fastbootd: Implement getvar all.
dvandercorp Aug 31, 2018
40babf0
adb: win32: fix ReportServerStartupFailure
CompareAndSwap Sep 3, 2018
07fd6d0
Merge "Remove unused ART build dependencies"
Sep 3, 2018
aa31cfc
Merge "llkd: Add stack symbol checking"
Sep 4, 2018
56c533d
Fix disagreement of client_id/app_data pointer semantic
Aug 23, 2018
d230bcf
Merge "Fix disagreement of client_id/app_data pointer semantic"
Sep 4, 2018
304308c
Merge "fastbootd: Refactor for getvar all."
dvandercorp Sep 4, 2018
a3c8688
libbase: add Fdopen that takes a unique_fd.
jmgao Sep 4, 2018
ab08933
Make unzip available.
enh-google Sep 4, 2018
33dcdb8
Merge "fastbootd: Implement getvar all."
dvandercorp Sep 4, 2018
eea85c9
Add Start/Stop/Reset to CapturedStdFd.
cferris1000 Aug 30, 2018
03de645
fastbootd: Fix transport ownership.
dvandercorp Sep 4, 2018
5efd2ab
Merge "Make unzip available."
Sep 4, 2018
6c30f6e
fuzzy_fastboot: Use uint64_t for partition sizes.
dvandercorp Sep 4, 2018
4758967
fastbootd: Fix partition size testing issues.
dvandercorp Sep 4, 2018
5ee058d
Merge "fastbootd: Fix transport ownership."
dvandercorp Sep 5, 2018
82a098c
Merge "fuzzy_fastboot: Use uint64_t for partition sizes."
dvandercorp Sep 5, 2018
a00f91b
adb: syntax_error: add compile time format string checking
CompareAndSwap Sep 5, 2018
481e9a0
Merge "fastbootd: Fix partition size testing issues."
Sep 5, 2018
4931a29
Merge "adb: win32: fix Ctrl-C of adb server nodaemon"
Sep 5, 2018
1f8147f
Merge "Make sync and remount support product_services."
Sep 5, 2018
538f1bb
fs_mgr: liblp: spelling mistake
Sep 4, 2018
9fa35cc
fs_mgr: liblp: add check failure for sectors_per_block
Sep 4, 2018
60ba994
Merge "adb: syntax_error: add compile time format string checking"
enh-google Sep 5, 2018
54ecb7f
Merge "fs_mgr: liblp: spelling mistake"
Sep 5, 2018
f33d19f
Merge "libbase: add Fdopen that takes a unique_fd."
Sep 5, 2018
4a16630
Merge "Add Start/Stop/Reset to CapturedStdFd."
cferris1000 Sep 5, 2018
91a2577
Merge "adb: really make kill-server wait for server death"
Sep 5, 2018
76bf370
Merge "fs_mgr: liblp: add check failure for sectors_per_block"
Sep 5, 2018
484f72a
Merge "adb: win32: fix ReportServerStartupFailure"
Sep 5, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .clang-format
9 changes: 9 additions & 0 deletions .clang-format-2
@@ -0,0 +1,9 @@
BasedOnStyle: Google
AllowShortFunctionsOnASingleLine: Inline
ColumnLimit: 100
CommentPragmas: NOLINT:.*
DerivePointerAlignment: false
IndentWidth: 2
PointerAlignment: Left
TabWidth: 2
UseTab: Never
11 changes: 11 additions & 0 deletions .clang-format-4
@@ -0,0 +1,11 @@
BasedOnStyle: Google
AccessModifierOffset: -2
AllowShortFunctionsOnASingleLine: Inline
ColumnLimit: 100
CommentPragmas: NOLINT:.*
DerivePointerAlignment: false
IndentWidth: 4
ContinuationIndentWidth: 8
PointerAlignment: Left
TabWidth: 4
UseTab: Never
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
*~
*.pyc
6 changes: 6 additions & 0 deletions Android.bp
@@ -0,0 +1,6 @@
filegroup {
name: "android_filesystem_config_header",
srcs: ["include/private/android_filesystem_config.h"],
}

subdirs = ["*"]
22 changes: 22 additions & 0 deletions CleanSpec.mk
Expand Up @@ -56,3 +56,25 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/lmkd_intermediates/import_includes)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libsysutils_intermediates/import_includes)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/grep $(PRODUCT_OUT)/system/bin/toolbox)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/hw/gatekeeper.$(TARGET_DEVICE).so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/hw/gatekeeper.$(TARGET_DEVICE).so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/vendor)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.rc)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/libtrusty.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/libtrusty.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/hw/keystore.trusty.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/hw/keystore.trusty.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/hw/gatekeeper.trusty.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/hw/gatekeeper.trusty.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/secure-storage-unit-test)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/storageproxyd)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/tipc-test)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/trusty_keymaster_tipc)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/root)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/ld.config.txt)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/llndk.libraries.txt)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/vndksp.libraries.txt)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/ld.config.txt)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/llndk.libraries.txt)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/vndksp.libraries.txt)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/)
1 change: 1 addition & 0 deletions OWNERS
@@ -0,0 +1 @@
enh@google.com
5 changes: 5 additions & 0 deletions PREUPLOAD.cfg
@@ -0,0 +1,5 @@
[Builtin Hooks]
clang_format = true

[Builtin Hooks Options]
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
11 changes: 0 additions & 11 deletions adb/.clang-format

This file was deleted.

1 change: 1 addition & 0 deletions adb/.clang-format