summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-21Add an example robolectric test.Joe LaPenna
This alos provides an override for SystemApi objects that are not part of the official robolectric distribution. Test: mma NetworkRecommendation RunNetworkRecommendationRoboTests Bug: 34944625 Change-Id: I4085cc7caef2d33c7d2e210b721499195a5b7b72
2017-02-16Add string "common_connecting."Joe LaPenna
Test: mma NetworkRecommendation RunNetworkRecommendationRoboTests Bug: 34944625 Change-Id: If23ef0883c7de03776d15d2fb8ff0e3bfe72bf32
2017-02-15Update util classesJoe LaPenna
Test: mma NetworkRecommendation RunNetworkRecommendationRoboTests Bug: 34944625 Change-Id: I35495c8a36e3b07caf56cb3882f29ed0f95675a4
2017-02-15Update to add config parameters, improved ssid handling.Joe LaPenna
Test: mma NetworkRecommendation RunNetworkRecommendationRoboTests Bug: 34944625 Change-Id: I9a8b17c80e0bf7e02566af3eabbe963f1094268b
2017-02-15Use google formatter rather than checkstyle.Joe LaPenna
Test: Updated changed files. Bug: 34944625 Change-Id: I017791dc14d112b5f4e39078996bb712961273f5
2017-02-09Merge "Update deps structure, add new Blog class for easier logging"TreeHugger Robot
2017-02-07Update deps structure, add new Blog class for easier loggingJoe LaPenna
Bug: 34944625 Test: adb shell am instrument -w com.android.networkrecommendation.tests/android.support.test.runner.AndroidJUnitRunner Change-Id: Id3dee19be4daf03d50ceb00445a0769f8dbe4aa7
2017-02-03Add robolectric support for netrec.Joe LaPenna
Bug: 34944625 Test: mm -j64 RunNetworkRecommendationRoboTests Change-Id: I1dd78e37db973c82e7742b35a3100b4424beb8fa
2017-02-02Move code around for better organization.Joe LaPenna
Bug: 34944625 Test: adb shell am instrument -w com.android.networkrecommendation.tests/android.support.test.runner.AndroidJUnitRunner Change-Id: If50a041009c1015319b1fad3dd30256e3c235a53
2017-01-20Renamed currentRecommendedWifiConfig to defaultWifiConfig. am: 80b6db66f6 ↵Jeremy Joslin
am: f401c4316e am: 4aa49102a8 am: 98734c16a4 -s ours Change-Id: I810b319484700f1fe0a3a7cd640c2262723f14c3
2017-01-20Renamed currentRecommendedWifiConfig to defaultWifiConfig. am: 80b6db66f6 ↵android-wear-o-preview-4android-wear-o-preview-3android-o-preview-3android-o-preview-2Jeremy Joslin
am: f401c4316e am: 4aa49102a8 Change-Id: I5f76fc46896fd76de1f1698b97075d156d71893f
2017-01-20Renamed currentRecommendedWifiConfig to defaultWifiConfig. am: 80b6db66f6Jeremy Joslin
am: f401c4316e Change-Id: I43d831e3b5c75111dcd514f33abfab029a554f45
2017-01-20Renamed currentRecommendedWifiConfig to defaultWifiConfig.Jeremy Joslin
am: 80b6db66f6 Change-Id: Id2e6be36fd4caca6901bae2713b594fb0fb63aca
2017-01-19Renamed currentRecommendedWifiConfig to defaultWifiConfig.android-o-preview-1o-previewJeremy Joslin
Test: adb shell am instrument -w com.android.networkrecommendation.tests/android.support.test.runner.AndroidJUnitRunner Bug: 34387385 Change-Id: Ic74a7b7a73816818fc232736d8dcf4062efbaced Merged-In: Ie328f67803ca4021f4944faa70bc6aa2645c7372
2017-01-18Renamed currentRecommendedWifiConfig to defaultWifiConfig.Jeremy Joslin
Test: adb shell am instrument -w com.android.networkrecommendation.tests/android.support.test.runner.AndroidJUnitRunner Bug: 34387385 Change-Id: Ie328f67803ca4021f4944faa70bc6aa2645c7372
2017-01-12Update Wi-Fi Wakeup notification action.Amin Shaikh
Bug: 34135303 Test: runtest --path tests/src/com/android/networkrecommendation Change-Id: I4b7acc48846bdb631996ba97304d6dd4548757ca
2017-01-13Add Wi-Fi Enabled notification. am: f61eea388f am: 1ea05f9f3f am: e66a2cd7aeAmin Shaikh
am: e631896234 Change-Id: Id00ce7cea65c7d9cc5360d16ee36ae01aa471953
2017-01-13Add Wi-Fi Enabled notification. am: f61eea388f am: 1ea05f9f3fAmin Shaikh
am: e66a2cd7ae Change-Id: Ice0addbb63f547021196a8808ec2d4eb3d83cbfe
2017-01-13Add Wi-Fi Enabled notification. am: f61eea388fAmin Shaikh
am: 1ea05f9f3f Change-Id: Id46e141308c6e61634e2b2c27c4435b5a9b07f56
2017-01-13Add Wi-Fi Enabled notification.Amin Shaikh
am: f61eea388f Change-Id: Ibb41ed553a947069078864d2417ebdfa0ba41a6b
2017-01-12Add Wi-Fi Enabled notification.Amin Shaikh
This notification shows once per SSID and dismisses itself after the users leaves the range of the network. Added verbose logging to WifiNotificationController and fixed bug querying initial state on start. Test: runtest --path tests/src/com/android/networkrecommendation/ Bug: 33677088 Change-Id: I825dca871ba7d377be34352dd216fd6ebd979b8d
2017-01-12Make sure notifications work when score is provided but no badging. am: ↵Stephen Chen
e14eb36c16 am: 6d5c1366f0 am: 0484c4a6df am: e1be0a6fa5 Change-Id: Ia6dc58435c6e224df394a980a703fa8878ba9eae
2017-01-12Make sure notifications work when score is provided but no badging. am: ↵Stephen Chen
e14eb36c16 am: 6d5c1366f0 am: 0484c4a6df Change-Id: Ia631418290211e8bb32ad53fc69c3e0abad75149
2017-01-12Make sure notifications work when score is provided but no badging. am: ↵Stephen Chen
e14eb36c16 am: 6d5c1366f0 Change-Id: I0fc8103ea2566790c4f929ad4d6544046aa58c07
2017-01-12Make sure notifications work when score is provided but no badging.Stephen Chen
am: e14eb36c16 Change-Id: I168d7592b2963716bb9817b9f8570252b314dbe5
2017-01-12Make sure notifications work when score is provided but no badging.Stephen Chen
Also fixed tests after changes from building with system jar and copyright strings. Bug: 34234095 Test: runtest --path packages/services/NetworkRecommendation/tests/src/com/android/networkrecommendation Change-Id: I9ee37cd4d38106e4f205bba3d77840bed5d9c7d4
2017-01-12Revert "Disable notification and wakeup controller"Joe LaPenna
This reverts commit 8b3b74c52b8b7408f77bd164ba95cfc422dfc9b6. Reason for revert: Added permissions causing crash. Bug: 34235587 Test: Flashed and manually reproduced. No crash. Change-Id: If7fe70ec3f49f6953f731403e6e11d376947d75b
2017-01-12resolve merge conflicts of c8d623e to masterMark Salyzyn
Test: build Bug: 34231211 Bug: 34227405 Change-Id: If3a01b1ff662fb2ad62d1daf5d9d9df9aa5ec724
2017-01-12Request recommendations for WifiNotificationController via provider. am: ↵Stephen Chen
69631bf8a6 am: 534074986a am: f83c2eeb33 Change-Id: Ic44630f9d0fead69f2a328192bd96e9e474dc3c8
2017-01-12Compile NetworkRecommendation with the system jar. am: f3811fdd2f am: 6589ef9d68Joe LaPenna
am: 9973bc5b31 Change-Id: Ia63a48c7bb960e2a790669306dd942e8b562434b
2017-01-12Request recommendations for WifiNotificationController via provider. am: ↵Stephen Chen
69631bf8a6 am: 534074986a Change-Id: Ic6c57b2ec060358b608b87936f0524be0b19cb43
2017-01-12Compile NetworkRecommendation with the system jar. am: f3811fdd2fJoe LaPenna
am: 6589ef9d68 Change-Id: Ifc14b10a5e8b486c0433430d6557de29edb7121f
2017-01-12Request recommendations for WifiNotificationController via provider.Stephen Chen
am: 69631bf8a6 Change-Id: I5ef8dbeab2f5dc8e47c48414c8a6ac5db0ae2102
2017-01-12Compile NetworkRecommendation with the system jar.Joe LaPenna
am: f3811fdd2f Change-Id: I0303c28b1444d4b91d7819e0f030a39a41279828
2017-01-12Request recommendations for WifiNotificationController via provider.Stephen Chen
NetworkScoreManager#requestRecommendation() will be hidden, so using the DefaultNetworkRecommendationProvider to request recommendations instead. Also fixed broken tests. Bug: 34231211 Bug: 34227405 Test: runtest --path packages/services/NetworkRecommendation/tests/src/com/android/networkrecommendation/WifiNotificationControllerTest.java Change-Id: I1eec48fe8ba2dfc13b2a803d7f7186959ab715fd
2017-01-11Compile NetworkRecommendation with the system jar.Joe LaPenna
Test: build/flashed && adb shell am instrument -w com.android.networkrecommendation.tests/android.support.test.runner.AndroidJUnitRunner Bug: 34234095 Bug: 34235341 Change-Id: Ib5377cb240b509edd8a92e069070b46752389922
2017-01-12Make the start range for rssi constant. am: 996de25b83 am: d921271b25 am: ↵Joe LaPenna
ff0ceac48f am: 9639d67704 -s ours Change-Id: I04e75a44c9ad018479d23df5e22056d860995dd2
2017-01-12Make the start range for rssi constant. am: 996de25b83 am: d921271b25Joe LaPenna
am: ff0ceac48f Change-Id: I8467d2cec457a8fb2920d7b7bf81542efdf26d9e
2017-01-12Make the start range for rssi constant. am: 996de25b83Joe LaPenna
am: d921271b25 Change-Id: If872139dabce0379028152ed749694f73e162513
2017-01-12Make the start range for rssi constant.Joe LaPenna
am: 996de25b83 Change-Id: I5099938029779b3d8574572f3199540ddd15aafb
2017-01-11Make the start range for rssi constant.Joe LaPenna
Bug: 34127266 Test: adb shell am instrument -w com.android.networkrecommendation.tests/android.support.test.runner.AndroidJUnitRunner Change-Id: I99370283ece056bb3e6b75664127c42efe7ac227 Merged-In: I99370283ece056bb3e6b75664127c42efe7ac227
2017-01-11Disable notification and wakeup controllerJoe LaPenna
Bug: 34231211 Test: Flashed device and it works again. Change-Id: I3ac0cd5ae72ed4994f4dac29231d31172b5b3ac0
2017-01-12Merge "Make the start range for rssi constant."TreeHugger Robot
2017-01-11Make the start range for rssi constant.Joe LaPenna
Bug: 34127266 Test: adb shell am instrument -w com.android.networkrecommendation.tests/android.support.test.runner.AndroidJUnitRunner Change-Id: I99370283ece056bb3e6b75664127c42efe7ac227
2017-01-11Send a mock badge score to the scorer, too. am: 7df9dcf237 am: 0c47a23050 ↵Joe LaPenna
am: 71077769c3 am: e98ec0c44d -s ours Change-Id: I76809a85c79458155e97be488296910e598c8271
2017-01-11Send a mock badge score to the scorer, too. am: 7df9dcf237 am: 0c47a23050Joe LaPenna
am: 71077769c3 Change-Id: Ibf7904ed09454d86034079f8f1e8fdb5fa09b2de
2017-01-11Send a mock badge score to the scorer, too. am: 7df9dcf237Joe LaPenna
am: 0c47a23050 Change-Id: If1f2212b8a00d92a4c282d25dec1c736ab8f4cf1
2017-01-11Send a mock badge score to the scorer, too.Joe LaPenna
am: 7df9dcf237 Change-Id: Ia0149d3e0f06b9f85b6b6ba4fa6a31887fd9fac1
2017-01-11Send a mock badge score to the scorer, too.Joe LaPenna
Test: adb shell am instrument -w com.android.networkrecommendation.tests/android.support.test.runner.AndroidJUnitRunner Bug: 34127266 Change-Id: I51cc0e5b7d57d430393b08993a15409f38925f20 Merged-In: I51cc0e5b7d57d430393b08993a15409f38925f20
2017-01-11Add new Wi-Fi Open Network Notifications flow. am: 18d557c77f am: cfb080155e ↵Stephen Chen
am: d5456d72b2 am: c6b4262d6e Change-Id: I0c7b8340b90680eb0f61afca549daaed9142c71a