- Oct 02, 2018
-
-
Sundong Ahn authored
com.android.media.remotedisplay is built with java_sdk_library and api files are added by running "make update-api". The com.android.media.remotedisplay.xml is removed since it will be made auto generation by soong when the library is built with java_sdk_library. Bug:77577799 Test: make -j Test: make checkapi Test: adb shell cmd package list libraries |\ grep com.android.media.remotedisplay And check the com.android.media.remotedisplay library Merged-In: I40e2d5456877a434f7c1ae70b6ec3692db106537 Change-Id: I40e2d5456877a434f7c1ae70b6ec3692db106537 (cherry picked from commit 6e038837)
-
Chih-hung Hsieh authored
-
Treehugger Robot authored
-
- Oct 01, 2018
-
-
Treehugger Robot authored
-
Eric Holk authored
This is an initial step towards a tool for pre-compiling layout XML files. It accepts an XML file and produces a Java language class called CompiledView with a static method, inflate. Calling CompiledView.inflate should then return a view object that is equivalent to calling LayoutInflater.inflate on the same resource. There are still several important limitations, but this works well enough to do some experimentation. The limitations include: * Currently only one layout can be compiled at a time. * `merge` and `include` nodes are not supported. * View compilation is a manual process that requires code changes in the application. * The tests in this CL do not yet exercise any interesting behavior. Bug: 111895153 Change-Id: I3e6880b08c52087d24ae7486495bd7fa282f4ff7
-
Brad Ebinger authored
-
Chih-Hung Hsieh authored
Bug: 116614593 Test: build with WITH_TIDY=1 Change-Id: Ic3993d88eb3066aef402d74c4d543c56a1dfd5c3
-
Treehugger Robot authored
-
Jeff Sharkey authored
* changes: Add OEM_SOUNDS_DIR variable Fix the bug that secondary storage path is judged as internal Revert "MediaStore.Audio.Media.getContentUriForPath() returns unexpected content"
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Alan Stokes authored
Test: atest Change-Id: I2a92ab9f32faf905aa6dc591e1991ba30c6a26c9
-
Rafal Slawik authored
This whitelist is used when calling Process.getPidsForCommands. That method reads all pid directories under /proc and returns only those which /proc/pid/cmdline matches the whitelist. Statsd returns /system/bin/statsd in its cmdline and therefore was not included in the results and ignored from reporting. Bug: 116784348 Test: cat /proc/pid/cmdline for statsd Change-Id: I2c37a25dd26baac1ac043f9a559a391bdc32041e
-
Treehugger Robot authored
-
Luke Huang authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Lorenzo Colitti authored
By construction, this WTF should never happen, since it's in an if (nri.request.isRequest()) and by definition requests can only be satisfied by one network at a time. I don't think we've ever seen this particular WTF in an APR report, which suggests that it's not happening in practice. Test: atest FrameworksNetTests CtsNetTestCasesLegacyApi22 CtsNetTestCasesLegacyPermission22 android.net.cts.ConnectivityManagerTest Change-Id: Icf4c7d2bb1da3c7db695cf0bcebc5806190a1677
-
Chalard Jean authored
Test: runtest FrameworksNetTests Change-Id: I8abb6de84dad79f6b15ef3af80da49da1d356cff
-
Luke Huang authored
This is the first step for ConnectivityService call into INetd directly. Import INetd and get it by using NetdService. Test: runtest frameworks-net passes Test: manual testing of wakeupAdd/DelInterface works Change-Id: I643dba5206c66958134152d062f3f3a19a34cf2c
-
Lorenzo Colitti authored
Everything in the system should now be using proper multinetwork APIs instead of this insecure and error-prone API. Make this method do nothing when called by the system. For now, keep the code around for backwards compatibility for apps targeting Android releases before M. Bug: 25824776 Bug: 25876485 Test: FrameworksNetTests pass Test: CtsNetTestCasesLegacyApi22 pass Test: CtsNetTestCasesLegacyPermission22 pass Test: android.net.cts.ConnectivityManagerTest passes Change-Id: I9b3557faccccc95c7b954db6a13b853b4c7edea0
-
Luke Huang authored
-
Luke Huang authored
-
Chiachang Wang authored
-
Treehugger Robot authored
* changes: Enable new DHCP server by default Use new DHCP server in TetheringTest
-
- Sep 29, 2018
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
- Sep 28, 2018
-
-
Hall Liu authored
-
Nathan Harold authored
-
Jin Dong authored
Vendor can add notice header at the top of "Third-party licenses" by overlay the string notice_header. Fixes: 116298367 Change-Id: If80d69180664970441d0addccd81d65d7ab55c3b Merged-In: If80d69180664970441d0addccd81d65d7ab55c3b
-
Brad Ebinger authored
Reverting the only user of this interface. Bug: 109762920 Bug: 116766786 Test: GTS/Unit tests for ImsService Merged-In: I9c8cc1c4401590865f33fa13402152287063cecf Change-Id: Id2e1ac2e4fbbcb7f019e79568f21ee56c94b6c1f
-
Treehugger Robot authored
-
Tri Vo authored
This change only replaces libsuspend's suspend loop with the one in android.system.suspend@1.0. Native wake lock behavior is unaffected as they are still handled via /sys/power/wake_[un]lock. Bug: 78888165 Test: device boots, suspends when left alone Change-Id: I5e1e9048b0fc316aa6692687684ac11f44466f7e
-
Jeff Vander Stoep authored
Bug: 116849885 Test: atest InetDiagSocketTest Change-Id: I3b036818cccd0959feb3a93bc722d70e3ef2c4d7
-
Torne (Richard Coles) authored
socket_bind_local checks if the name is null before using it, but socket_connect_local doesn't, resulting in a segfault if you pass null as the socket name. Check for this and convert it to NullPointerException to make the crash more reasonable. Test: am instrument -w -e class android.net.LocalSocketTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner Change-Id: I67dedbe9ca1be6425e047496d0ead92eb7f64691
-
Chiachang Wang authored
Idle timer rule is not cleared as expected if there is a default network replacement. Bug:37080406 Test: 1.run frameworks-net 2.check iptables rule with default network replacement Change-Id: I6bd29d79e4ca3e8de4b867c4fcb5f81d02ba6de4
-
Treehugger Robot authored
-