summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-09-28Add libbinderthreadstate to LOCAL_JNI_SHARED_LIBS for some tests.android-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-1.0.5oreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-releaseJayant Chowdhary
libbinder and libhwbinder now also depend on libbinderthreadstate. Add this dependency to LOCAL_JNI_SHARED_LIBS since these libraries need to be packaged together. Bug: 110364143 Test: atest FrameworksLowpanApiNativeTests Change-Id: I174c6c30373ec7030082872b0bc8b5ee7ee72f22 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2018-08-06Merge Android Pie into masterandroid-o-mr1-iot-release-1.0.4android-o-mr1-iot-release-1.0.3Xin Li
Bug: 112104996 Change-Id: Ib34e4c6cf033cd092ac0c1b489258083e24f951d
2018-06-08Merge pi-dev-plus-aosp-without-vendor into stage-aosp-mastertemp_p_mergeXin Li
Bug: 79597307 Change-Id: Ia835254fd3ade501a9925ebf4a75c2175ccc5e66
2018-05-04Remove unnecessary references to libunwind. am: dab952b5d0Christopher Ferris
am: d8e22479a9 Change-Id: I4723645a6572605dc0b9322949034d35282e583d
2018-05-04Remove unnecessary references to libunwind.Christopher Ferris
am: dab952b5d0 Change-Id: Ie2ebdba7e873a6ce56ed8eeead5c3c20231a9009
2018-05-04Remove unnecessary references to libunwind.android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1Christopher Ferris
Bug: 79209464 Test: Builds. Change-Id: I0fa7cb3c472dbf1b83c5301281692ab7f992cb6b
2018-04-04Remove duplicate definitions of utility variables am: 4010f14244Dan Willemsen
am: 446004df9b Change-Id: I9c84cc08b2d26014afdd570a0182907577bf430f
2018-04-04Remove duplicate definitions of utility variablesDan Willemsen
am: 4010f14244 Change-Id: I8dc63c6b8f9bce73ae7645411a7b505020cc643e
2018-03-28Remove duplicate definitions of utility variablesandroid-wear-p-preview-2android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8o-mr1-iot-preview-8Dan Willemsen
These are set by the core build system, and are becoming read-only. Bug: 76424357 Test: diff build-aosp_arm.ninja Change-Id: Ia1ace7a6b3e3cb5524294421a2144dbed3dca520
2018-02-23frameworks/opt/net/lowpan: Set LOCAL_SDK_VERSION where possible. am: ↵android-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-devAnton Hansson
9a776a0133 am: 14c2f414cf am: 6253f9d9e6 Change-Id: I948e72eaca03e21a953696063eb97e08075491c5
2018-02-23frameworks/opt/net/lowpan: Set LOCAL_SDK_VERSION where possible. am: 9a776a0133Anton Hansson
am: 14c2f414cf Change-Id: Ic17d6e6fc62b6cbdbd4d24ce89358c8aaa5daef3
2018-02-23frameworks/opt/net/lowpan: Set LOCAL_SDK_VERSION where possible.Anton Hansson
am: 9a776a0133 Change-Id: I970c50fb6f7f880f50c1a060d357a469356d2f5a
2018-02-22frameworks/opt/net/lowpan: Set LOCAL_SDK_VERSION where possible.android-p-preview-1android-o-mr1-iot-preview-7o-mr1-iot-preview-7Anton Hansson
This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: Ic09937c20df784c5bcc99fab31f4ad4de86e123e
2018-02-05Fix for lowpan_hdlc_adapter not building on IoT buildsRobert Quattlebaum
Change-Id: I038d7465ddec583ec272ad03ab937ed590c8341d
2018-02-02Don't add rule for lowpan_hdlc_adapter if not building lowpan supportRobert Quattlebaum
This avoids breaking the build if the LoWPAN HAL isn't available on a given branch. Bug: b/70238897 Change-Id: I28d360aec9eedc43716fa5650538dbd3c2a6ebe6
2018-02-02Merge changes from `oc-mr1-iot-dev` into master.Robert Quattlebaum
Change-Id: Ie57475c22a8548c60184a82028e622607bba5e15
2017-12-07Manually merge changes from giant AOSP topicStephen Li
Change-Id: I0737abfc4e29fa20d261a27eebc745884f8b0e63
2017-12-07DO NOT MERGE: Merge Oreo MR1 into master am: d65ab13260 -s oursXin Li
am: d9816589f1 Change-Id: Iaa83191117dc7446573c0f427ea4f4d92c79edb5
2017-12-07DO NOT MERGE: Merge Oreo MR1 into masterXin Li
am: d65ab13260 -s ours Change-Id: I7696a64499c14ae48ea0070ab443401753b3a2ff
2017-12-06DO NOT MERGE: Merge Oreo MR1 into masterandroid-wear-8.0.0_r1Xin Li
Exempt-From-Owner-Approval: Changes already landed internally Change-Id: I4bdc4ff1c0313e76927996807892650a842396ba
2017-12-05Flatten dependency hierarchy of legacy-android-testPaul Duffin
Previous changes statically included legacy-android-test in preparation for removing android.test.* and junit.* classes from the android.jar. Unfortunately, that lead to duplicate classes between APKs and the bootclasspath which caused build problems (Proguard) and also runtime problems (when targeting and running on older releases). Switching from statically including the classes to using the runtime libraries cannot be done in one step because legacy-android-test is statically included in libraries which are used in many APKs and so removing it from those libraries requires that all APKs be updated at once. Doing that atomically across dozens of projects is not practical. This change modifies APKS that statically include the legacy-android-test library indirectly. * If the APK manifest uses the android.test.runner library then the APK is modified to stop statically including legacy-android-test and instead build against android.test.base/mock/runner libraries instead. * Otherwise, the APK statically includes legacy-android-test. Also, any libraries that statically include are modified to stop statically including it and if it has source dependencies on the classes is changed to build against the android.test.base/mock/runner libraries. The following change descriptions were generated automatically and so may be a little repetitive. They are provided to give the reviewer enough information to check the comments match what has actually been changed and check the reasoning behind the changes. * libandroid_net_lowpan/tests/Android.mk Added 'android.test.base' to LOCAL_JAVA_LIBRARIES because FrameworksLowpanApiNativeTests's source depends on its classes and because of these changes they are no longer present on the compilation path. The classes do not need to be statically included because the classes will be provided by the runtime, either from the default bootclasspath or from the android.test.runner library that FrameworksLowpanApiNativeTests specifies in its manifest. Bug: 30188076 Test: make checkbuild Change-Id: Ie345cefb69a7afcd2486c8d245148549d791fb97
2017-11-22lowpan_hdlc_adapter: Wait for Event::OPENED before calling sendFrame()Robert Quattlebaum
Part of the LoWPAN HAL contract is that the user of the device interface will wait until it receives LowpanEvent::OPENED before calling sending frames using the interface. The LoWPAN HDLC Adapter was breaking that contract, calling sendFrame pretty much immediately after calling open. This change makes sure that we wait for the OPENED event before calling sendFrame(). If we receive an ERROR event first, then we terminate. Bug: b/69687483 Change-Id: I6e0574dbda00775eab6fe8a8c617521e4c48c8cc
2017-11-06Added OWNERS fileRobert Quattlebaum
Change-Id: Ief0c091e401ef12e80b54e33798dbaf4bfb3e7e4
2017-10-12LowpanService: Reconstitute mIpManager every time we attachRobert Quattlebaum
I noticed that we only seem to be making it past the ObtainingIpState if it is the first time we have entered the state. After successfully getting past this state once, if we bring the interface down and then bring it back up we will be stuck in that state (and, thus, have no connectivity). Forcing IpManager to be reconstituted with every attempt fixes the problem. Bug: b/67718802 Test: manual Change-Id: Idb06068c721c2e432c9936d6a00b21ab8ea6febc
2017-10-10lowpanctl: Various minor fixes.Robert Quattlebaum
Change-Id: I46e81248766f29b63b39d78e2f34a215723565ba
2017-10-02lowpan_hdlc_adapter: New HAL adapter for wpantundRobert Quattlebaum
This tool is designed to quickly enable wpantund to use the ILowpanDevice HAL, introduced in change Ib4a1ee35d1a02e3a38be406825bae3fdf9b0072f. Long term, this capability should be built into wpantund, making this tool obsolete. This change also includes related updates to the product makefiles. Bug: b/64090883 Change-Id: I9d7a80df20c69b8c335b88d984d9f8909d483fcd
2017-09-26build: Fix paths in feature makefilesRobert Quattlebaum
Change-Id: Ia920447abc613ca0f5d22918344767d9aabc4af7
2017-09-21Merge "Rename `product` directory to `build`" into oc-mr1-iot-devTreeHugger Robot
2017-09-21Rename `product` directory to `build`Robert Quattlebaum
This better matches with the general Android directory structure. Change-Id: Id2473c8bd3d65bac887be71699462987f3437714
2017-09-08Merge branch goog/master into goog/oc-mr1-iot-devRobert Quattlebaum
Change-Id: I6e6005afea19fb9f703cf6912e7e5d03cc33935a
2017-09-07Add makefiles for LoWPAN-compatible productsRobert Quattlebaum
Change-Id: I286fb9de32aa3a781a0bfb3b39277417f0bcd16c
2017-09-07Test script updatesRobert Quattlebaum
Change-Id: I349f796f975419e152495c63af72ff8c5e2aa2e5
2017-08-31Fix test config for FrameworksLowpanApiNativeTestsSimran Basi
Updates the instrumentation runner to be correct. Bug: 65176822 Test: atest FrameworksLowpanApiNativeTests Change-Id: Ic970080e4536a5c4ca1e7fddd9264ac59ccc4fa1
2017-08-09LowpanServiceImpl: Add outstanding NetworkRequestRobert Quattlebaum
This change adds an outstanding NetworkRequest which makes sure that we keep LoWPAN networks around instead of shutting them down as unwanted. Bug: b/64482750 Change-Id: I2310f2499f161096af5410b27160b875de520c4a
2017-08-08Added support for Android Things permissions.Robert Quattlebaum
Change-Id: Ib2a01c7e1a633950b6e263b4aa19afc6d367b220
2017-07-25lowpanctl: Improve exception handling and argument helpRobert Quattlebaum
Change-Id: Ib3d4a3088280309ba1630720786a46199341ae25
2017-07-25LowpanInterfaceTracker: Cleanup/Shutdown at unregisterRobert Quattlebaum
Previously, we weren't properly cleaning ourselves up when we were unregistered. This change makes sure that we properly shut down all of the necessary bits (like IpManager) when we are unregistered. Bug: b/64031223 Test: Executed test scripts successfully. Change-Id: I8ff011fe2987549ef255c885d2ab6cb18154a16b
2017-07-25Test script updatesRobert Quattlebaum
Change-Id: I2aee676ddc53be87b83e92ebdeb22033b614c766
2017-07-18libandroid_net_lowpan: Reintroduce new unit tests for data classesoreo-mr1-devRobert Quattlebaum
This change introduces new unit tests which confirm that various data classes are being property marshalled between their Java and C++ implementations. This was originally added to platform/frameworks/base via change id I41d590b1e77dc41873c4b9e9bf1b7f1bf859f74e, but that change was reverted (via ag/2553741) due the failure of build 4190632 on the branch `git_wear-master`. Moving these specific tests into this repository avoids this failure case. This change is dependent on the following change id: I70fe6be8d71424e11a537daaa69c3f6cfae8e49d Bug: b/63707448 b/63708348 Change-Id: I41d590b1e77dc41873c4b9e9bf1b7f1bf859f74e Test: These tests both compile and pass
2017-07-17lowpan: Introduce C++ versions of various java classesRobert Quattlebaum
This change introduces C++ versions of the following java classes: * android.net.lowpan.LowpanIdentity * android.net.lowpan.LowpanCredential * android.net.lowpan.LowpanProvision * android.net.lowpan.LowpanBeaconInfo * android.net.lowpan.LowpanChannelInfo Bug: b/63707448 b/63708348 Test: Confirmed with unit tests from change id I41d590b1e77dc41873c4b9e9bf1b7f1bf859f74e Change-Id: I3dc7b9ca3b33b2ee5f92c8f76c28710997fb931d
2017-07-17LowpanInterfaceTracker: Add support for IpManager.InitialConfigurationRobert Quattlebaum
Note that this commit depends on the following change-id: I2c20ddee41d9a22b9c5f19a643072ffe99d6ed3f Bug: b/62988545 b/33073713 Test: Compiled and manually tested for any obvious regressions Change-Id: I08b55261b0444f0b023bd8f8fea4dcc378fbc529
2017-07-17LowpanService: Stop using properties.Robert Quattlebaum
This commit updates the LoWPAN Service to no longer use properties for fetching information about the interface, since this is no longer possible. Bug: b/63708348 Test: Compiled and tested manually by forming and scanning Change-Id: I4ee70b8b2a2e8f43239e36ae5f0626a51818e3ab
2017-07-17lowpanctl: Stop using properties.Robert Quattlebaum
This commit updates the `lowpanctl` tool to no longer use properties for fetching information about the interface, since this is no longer possible. Bug: b/63708348 Test: Compiled and tested manually by forming and scanning Change-Id: I8147b9e35780cf2114952cd59c384e5e3cead1aa
2017-07-07Added simple testing scriptsRobert Quattlebaum
Change-Id: I8859d5b88550db9b5da8d9dc3a297cf1d556e365
2017-07-07Added .gitignoreRobert Quattlebaum
Change-Id: I33b56ae5a9b67ace9380c0d1e9864f0b67eb0ea2
2017-07-06LowpanService: Updates to support IpManager.Robert Quattlebaum
Bug: b/33073713 Change-Id: Ia630b321a1974442bf1e0b4e38558a21b2f93556
2017-07-06Initial commit of LoWPAN Command (lowpanctl)Robert Quattlebaum
This is a command-line tool for managing LoWPAN networks. Bug: b/33073713 Change-Id: Id4a371bfe00c7de0ebb47f186eb1a286d81bad5a
2017-06-23Initial commit of Android LoWPAN Manager ServiceRobert Quattlebaum
Change-Id: I5fe40aa223c15110c753fe76a670e2fe8a01c5d0 Bug: b/33073713
2017-03-29Initial empty repositoryandroid-8.0.0_r34android-8.0.0_r33android-8.0.0_r27android-8.0.0_r26android-8.0.0_r25android-8.0.0_r24android-8.0.0_r23android-8.0.0_r22android-8.0.0_r21oreo-dr3-releaseoreo-dr2-releaseoreo-dr1-releaseoreo-dr1-devShirley Yuen