Age | Commit message (Collapse) | Author |
|
rename server.cc/.h to dbus_server.cc/h and also raname class Server
to DBusServer to align with other dbus specific files and classes, such
as dbus_protocol and dbus_request. Also, make it clear we support two
separate IPC mechanisms, Binder and DBus, and those implementations are
the files start with binder_ and dbus_ respectively.
Change-Id: I245bdbdab442b7c6c5d8dcd4a6f6a6de75e727e9
Signed-off-by: Bin Chen <pierr.chen@gmail.com>
|
|
Make permissions and file ownership more granular.
Bug: 26337609
(cherry picked from commit caf21c4b3caef0dff696a057c9e3fa5454910356)
Change-Id: I29f5e95a0d51c16232d5549077cdfb7b6178105d
|
|
am: 8c979eb3ba
Change-Id: I9e9380e227fc9e847764e1da7766c3f61fab0847
|
|
am: 79e714cf7d
Change-Id: Icc1ce09f866f8514fd28a3ff0122ca2b246d4ce2
|
|
Always include the .h of the same class first and always specify
the directory of the .h file.
Change-Id: I3fb10e7fb98617686435fb3b112f58bbf6086970
Signed-off-by: Bin Chen <pierr.chen@gmail.com>
|
|
fake_encryptor.h was never used. Encryptor::CreateDefaultEncryptor
was used to create the specific cryptor implementation.
Change-Id: I9d261dcc6a48fa7f9bee905b7806df5b9b5dbebd
Signed-off-by: Bin Chen <pierr.chen@gmail.com>
|
|
am: 86e9b67b87
Change-Id: I3e8a859a682a963582c3ef52bd41829161e1deaf
|
|
Replaced with PRODUCT_PACKAGES_DEBUG in brillo_base.mk
Change-Id: I2d0c0e31dd72a0ddf82d27c560cf35401a2b5be2
|
|
am: 67cb971d4b
Change-Id: If9a7c894452fd26b2a9b4626e462d0003f871470
|
|
* Use const reference type for parameters and
for-loop index variables to avoid unnecessary copy.
Bug: 30407689
Bug: 30413223
Change-Id: I7e9c4906ae3f48baefe860d5cd1e651d3095f2b6
Test: build with WITH_TIDY=1
|
|
am: a7054911b8
Change-Id: I89dba8f0d1e3ea08164f492b07bca165cedcca4f
|
|
The new libchrome has been ported from Chromium and some APIs have
changed. Make necessary changes at call sites.
Notable changes from libchrome:
- base::ListValue::iterator now exposes std::unique_ptr<base::Value>
instead of raw base::Value*.
Bug: 29104761
Change-Id: I01a79fec3329bc0155a8f119e25854b094082aec
|
|
am: 37af68a2d3
Change-Id: I3a52056328e423e7bd52618f060bdc12f7e381bc
|
|
* Declare explicit conversion constructors.
Bug: 28341362
Change-Id: I021116a30fc7bc95c5445b1dec0e77a5ca48bc87
Test: build with clang-tidy
|
|
am: 99b40acc67
Change-Id: Icd8c75a6b0e843d39e18fa5fcc0f2718bee27422
|
|
am: 643a319eb7
Change-Id: I56eb65228e1a6a727a57b4400961e6f840da6556
|
|
With a new build change, including yourself in your local libraries
causes a dependency loop. So break that loop.
Change-Id: I085d9b21921e5cd190b95bb3269b7663aba254a0
|
|
am: af3c60e883
* commit 'af3c60e88375953835026dd95a13377041ce7bf5':
Removing username and groupname.
Change-Id: I25df876a2a8e5cf595f3083eaf2d5b105c3967a8
|
|
am: b470b41a11
* commit 'b470b41a117a213f5b8cf2d7badcc208da001b72':
Removing username and groupname.
Change-Id: I0c1e25c6166e5181a1d25e3df580ccf1ff60558b
|
|
Change-Id: I9d91459f77e339abee8474e4932a0df3695aabe3
|
|
8ed6084aa6
am: accc54a007
* commit 'accc54a007d8b02d256baf1af0f86bca21ebd46f':
Created seccomp policy for webservd and modified webservd startup.
Change-Id: I8b5efb52cd39e237bb3b1922ce21278ceb8d2d53
|
|
am: 8ed6084aa6
* commit '8ed6084aa6bd1d8cab5dbbd29cf7d9d85207bf9f':
Created seccomp policy for webservd and modified webservd startup.
Change-Id: I0215218618ac1f04ff8875f22364df82167cb3f4
|
|
webservd is also now run under minijail instead of using
libminijail.
This was manually tested under strace and minijail with the -L flag. The next step is dogfood.
Change-Id: If7b62014f0e932977985be4070a5d8ec2b9bf3f2
|
|
am: 87136aa
* commit '87136aa7a233fbdbaeebf291c9598876adaa11b2':
Replace ScopedFd with unique_fd
Change-Id: I3df1d0f8ab413c067a144ca769f014b9e347362b
|
|
am: 7fb886f
* commit '7fb886f9463d8d213c3ffd687c20e4098c2fad23':
Replace ScopedFd with unique_fd
Change-Id: I0804813e42e4ee8a77bff37d343bcbc521e9cec9
|
|
This will be the new aidl-cpp type used for this purpose going forward.
Bug: 27804373
Change-Id: Ia33dafa467a442742aeace2beffc05751c116b30
Test: Compiles.
|
|
am: 4a00983
* commit '4a009833247895286a403cb43af20c44d4135847':
Fix google-explicit-constructor warnings.
Change-Id: I62ff553e3a198791bb15c55d9119dd94f9d11ab5
|
|
am: 3bd5dfd
* commit '3bd5dfdf36ffa7978d2c1212d48770ce2b827bb5':
Fix google-explicit-constructor warnings.
Change-Id: Ia86758d5f7a5d997ec78b31896e8d671b2743862
|
|
Bug: 28341362
Change-Id: I8c5e5b0ceb4fa8fc511d15d58966d241ca8f8671
|
|
am: 87c507181e
* commit '87c507181e0b5a82aa1c11fa18c1bca07a7e18b6':
webservd: Fix README
Change-Id: Idf1e966f2a13bf38b2fefdd303311703ee55a38f
|
|
am: f6fb4ff5ba
* commit 'f6fb4ff5baae61f42d4aca05f5c5100a9e613735':
webservd: Fix README
Change-Id: I24e39725632ab3f0cf5d5dd1e9cdec646c3385fc
|
|
webservd interface has switched from D-Bus to Binder.
Change-Id: I79246fd68f2da553e05d8aff63e149ebda89824d
Signed-off-by: Bin Chen <bin.chen@linaro.org>
|
|
am: f11c276
* commit 'f11c2765a2a60b830cf099680488d727237a5af9':
Revert "Replace ScopedFd with unique_fd"
Change-Id: I3d18b13fa1192a856c035dafbcfd4d55c29da922
|
|
am: 07bc213
* commit '07bc213376c1db1db568574b7a23767dd46e8df6':
Revert "Replace ScopedFd with unique_fd"
Change-Id: Ib8c44c8564e3d83b806d6a73d038e5cef5b85775
|
|
This reverts commit 2e27eff7622d8fd96ab20555821eb9c642058eb9.
Change-Id: I643b7fa7a782a6b52ef0de64c04da6869e5d8907
|
|
am: ea66d41
* commit 'ea66d41d95d089724dff511356b9d36163ba9df0':
Replace ScopedFd with unique_fd
Change-Id: I73fd5387cfd29e8e15c0adabb5f488eb802e148b
|
|
am: 2e27eff
* commit '2e27eff7622d8fd96ab20555821eb9c642058eb9':
Replace ScopedFd with unique_fd
Change-Id: Iea132b29ecffcda51567d8ca50d25992b9efdc0e
|
|
This will be the new aidl-cpp type used for this purpose going forward.
Bug: 27804373
Change-Id: Iaa0095ca26cc18d38b335d8e6656f622a6845a81
Test: Compiles.
|
|
am: 9d30713
* commit '9d307138240240d972080329234b78627e78a1ee':
Resolve ambiguous base::File reference
Change-Id: Idefef094b65136e81399b845f96d34d8aee040e8
|
|
am: e28b420
* commit 'e28b4207c2218c91ee1f172fd27e8c350d941b0f':
Resolve ambiguous base::File reference
Change-Id: I5017a94f8c967b045cbf0d277549499c6c2a42c8
|
|
When libchrome includes libbase headers, the compiler looks for
base::File in ::android::base rather than ::base, because we're
inside the android namespace.
Bug: 28117776
Change-Id: I3b423845bfe5bacd1519a8973acf5243e665c315
Test: Compiles in that situation.
|
|
am: fd38bbf
* commit 'fd38bbf28b8cb2f723fa8847f9136193c2cca77b':
libwebservd: Use toString8 when logging binder::Status
Change-Id: I768f01dc6dfb98337763f902e2609caf15270b7f
|
|
am: 9419e66
* commit '9419e66f14a093fc18a32fde20daa66cca450453':
libwebservd: Use toString8 when logging binder::Status
Change-Id: I02383e1a4a899ef5132e1eadd4e4f2beccc16993
|
|
BUG=28171901
Change-Id: I9af9b29cd0e76f6fbf31c0d1f0957c341ed83494
|
|
am: d0b36f5
* commit 'd0b36f50d87757a229ce07b483966019ebb2458d':
webservd: Remove release/aquire semantic from scoped_ptr/unique_ptr
Change-Id: Idbe2cffa02c2f6fc01cd37c263c0b177492f469c
|
|
am: bce6fbc
* commit 'bce6fbc44bcca5ae6dd6fdf36f08db835a45b2ab':
webservd: Remove release/aquire semantic from scoped_ptr/unique_ptr
Change-Id: I73524c07807fc27a296dbc06c8141db360b3fa4f
|
|
Now that scoped_ptr is just a type alias to unique_ptr, there is no
longer a need to convert between the two by using .release() and
constructing the other with a raw pointer.
BUG: None
TEST: Built for dragonboard, all unit tests pass (except for update_engine,
but those tests failed before these changes too).
Change-Id: I2ff27213f4e2f2121b25ca4d22eb556cea5d4254
|
|
am: a1d5f07
* commit 'a1d5f07e895c04002c9d57e620734f7ff98d1704':
libwevserv: Forgot one more virtual function in the Response base class
|
|
am: 29dd160
* commit '29dd1605f71fbbe2f6281f67fa2dcc70737c13c1':
libwebserv: Fix mock Response object to be used in unit tests
|
|
AddHeader must also be virtual to let MockResponse override it.
Change-Id: Id01ca3624a8f65703cab6106954a6395ba28a57b
|