b1a0139590448d706c778d22891efe80b05f11f2 |
|
14-Apr-2017 |
Jeremy Joslin <jjoslin@google.com> |
Remove the recommendation request impl and test code. Removing most of the platform side request recommendation code and its tests. Test: adb shell am instrument -e class android.net.NetworkRecommendationProviderTest -w com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest Bug: 37357264 Change-Id: I36e592c5c82c38aa2174a51cf02c6e9825ef4f11
/frameworks/base/core/tests/coretests/src/android/net/NetworkRecommendationProviderTest.java
|
8160544d585467654803ab76ec64d14b5b7ac33e |
|
22-Feb-2017 |
Jeremy Joslin <jjoslin@google.com> |
Enforce the calling permissions within NetworkRecommendationProvider. Had to add a new ctor to get a Context instance and deprecate the single arg ctor. Since this was being done I also took the opportunity to replace the Handler param with an Executor which is more appropriate in this case. I'll remove the deprecated ctor once I've updated all of its call points. Test: adb shell am instrument -e class android.net.NetworkRecommendationProviderTest -w com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner Bug: 34518584 Change-Id: Ic2441655d69838ae9caa7d598e876dec36e15363
/frameworks/base/core/tests/coretests/src/android/net/NetworkRecommendationProviderTest.java
|
f9d47b79b2a307da1a16a8e0c16b3f9847ff5414 |
|
10-Dec-2016 |
Amin Shaikh <ashaikh@google.com> |
Expose ScanResult#untrusted as a @SystemApi. - Expose ScanResult#untrusted to inform NetworkRecommendationProviders that a ScanResult does not correspond to a saved network. - Add static construction methods and assertions to RecommendationResult Test: runtest frameworks-services Bug: 33490132 Change-Id: If7006040f63843c1c468c9d95c5c017383c5c5dd
/frameworks/base/core/tests/coretests/src/android/net/NetworkRecommendationProviderTest.java
|
b2087a159bad795b7d6575788800fcad3319700a |
|
14-Dec-2016 |
Jeremy Joslin <jjoslin@google.com> |
Add an IPC for requesting network scores. Migrating the NetworkScoreManager.requestScores() method to use an IPC rather than a broadcast. Defined the new IPC in the AIDL files for NetworkScoreService and NetworkRecommendationProvider. Added a no-op implementation in NetworkScoreService and a full implementation in NetworkRecommendationProvider (plus tests). Test: adb shell am instrument -e class android.net.NetworkRecommendationProviderTest -w com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner BUG: 33593157 Change-Id: I951f6186aa11ddbe5a94e374173a1fd40b2a4cce
/frameworks/base/core/tests/coretests/src/android/net/NetworkRecommendationProviderTest.java
|
375320edaa085230b2bf5ffec5f83ab314e85917 |
|
08-Dec-2016 |
Jeremy Joslin <jjoslin@google.com> |
Make the onRequestRecommendation() method async. Converted the NetworkRecommendationProvider.onRequestRecommendation() method into an async call to give implementors more flexibility. Added unit tests for NetworkRecommendationProvider. Test: Added NetworkRecommendationProviderTest. BUG: 32909424 Change-Id: Iebe72f260133e9ad1946b0b75e2f69635e154ef3
/frameworks/base/core/tests/coretests/src/android/net/NetworkRecommendationProviderTest.java
|