- Apr 17, 2020
-
-
Anton Hansson authored
The API files are disted to the apistubs/ subdir now, and all known users have been updated to use that path. Bug: 152479829 Test: No Change-Id: I224fd5af8ba740c6ad94bbbdb20f5d53509e51f6
-
Anton Hansson authored
droidstubs dist now dists the api file, so convert these manual mk rules into bp dist instead. Bug: 149293194 Test: m dist sdk && find out/dist/apistubs -name /android\.txt Change-Id: I96052b427dc01a6d24b040ad0006129d4d1e48fb Merged-In: I96052b427dc01a6d24b040ad0006129d4d1e48fb
-
- Apr 16, 2020
-
-
Orion Hodson authored
-
Orion Hodson authored
Preparation for removing implicit include paths for jni.h from soong. Also remove unnecessary jni.h includes from PathParser.{h,cpp}. Bug: 152482542 Test: lunch aosp_x86_64 && m checkbuild Change-Id: Ib18afa3d2c93ed3ce69204286d5177991100fd7e Exempt-From-Owner-Approval: build refactoring
-
Paul Hu authored
-
paulhu authored
Bug: 147818698 Test: atest TetheringTests Change-Id: Ife738339aeae00d2063fea6918b50204daef24fc
-
Paul Hu authored
-
Treehugger Robot authored
-
Mark Chien authored
-
Paul Hu authored
-
- Apr 15, 2020
-
-
Philip P. Moltmann authored
1. Allow checkOp from any caller, not only callers with android.permission.UPDATE_APP_OPS_STATS. This is ok as checkOp does not update any stats 2. Clear the binder identity when calling noteOp so that it is checked if the service can perform the operation, not the caller. Test: Verified that RecognitionService can be used by third party apps Bug: 152436092 Merged-In: Ie6fe90b5737a1cd24e45446ea91560940b41c8fc Change-Id: Icfd46548b1c23b499b712ad795eab0c417b8586f
-
Sarah Chin authored
-
markchien authored
EntitlementManager and its callers(Tethering and UpstreamNetworkMonitor) run in the same threads. Bug: 141256482 Test: atest TetheringTests Change-Id: I0a376d28b123eaab2e8d00a98a4719ce983d3bb2
-
Mark Chien authored
-
Sarah Chin authored
Test: build Bug: 151842542 Change-Id: Ib033758d469b9b485eb7cce6c026b5a649e6a6fa Merged-In: Ib033758d469b9b485eb7cce6c026b5a649e6a6fa
-
paulhu authored
Bug: 148636687 Test: atest TetheringCoverageTests atest TetheringTests atest TetheringIntegrationTests atest NetworkStackTests atest CtsTetheringTest Change-Id: I1f2a50f16894b05e988476520ba25baba0b60d88 Merged-In: I1f2a50f16894b05e988476520ba25baba0b60d88
-
Eric Laurent authored
-
Amit Mahajan authored
* changes: Exposing TelephonyManager.isIccLockEnabled as a system API. Un-expose LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH for R. Un-expose ACTION_SERVICE_PROVIDERS_UPDATED.
-
- Apr 14, 2020
-
-
Treehugger Robot authored
-
Amit Mahajan authored
This was recently removed as part of un-exposing telephony mainline related APIs (b/146983487), but being added back in R as GMSCore already uses it (b/151742706). Test: TH Bug: 151742706 Bug: 146983487 Merged-in: If4e8e87c7dfbb261ee3abfec2a4774980c24d0c2 Change-Id: If4e8e87c7dfbb261ee3abfec2a4774980c24d0c2 (cherry picked from commit 1c6679a3)
-
Amit Mahajan authored
Test: TH Bug: 147322848 Merged-in: Ie8e4842264eb47e09397c9e56355d00c732c86c1 Change-Id: Ie8e4842264eb47e09397c9e56355d00c732c86c1 (cherry picked from commit aed5beae)
-
Amit Mahajan authored
Will be exposed/reworked on in S. Test: basic sanity Bug: 147921202 Merged-in: Iab4974f9cd7cecde1ef6eba35c320101a288b481 Change-Id: Iab4974f9cd7cecde1ef6eba35c320101a288b481 (cherry picked from commit 13a8d14f)
-
Sarah Chin authored
* changes: Update READ_PHONE_NUMBER security checks Move getMsisdn and getLine1Number to READ_PHONE_NUMBERS
-
Francois Gaffie authored
Test: adb shell am instrument -w -e class com.android.audiopolicytest.AudioManagerTest com.android.audiopolicytest adb shell am instrument -w -e class com.android.audiopolicytest.AudioProductStrategyTest com.android.audiopolicytest adb shell am instrument -w -e class com.android.audiopolicytest.AudioVolumeGroupTest com.android.audiopolicytest adb shell am instrument -w -e class com.android.audiopolicytest.AudioVolumeGroupChangeHandlerTest com.android.audiopolicytest Bug: 136121584 Signed-off-by:
Francois Gaffie <francois.gaffie@renault.com> Change-Id: Ia7e92ff37ff9c5e51bc2b5fe54b15c6338868b23 Merged-In: Ia7e92ff37ff9c5e51bc2b5fe54b15c6338868b23
-
Sarah Chin authored
For SDK R+, READ_PRIVILEGE_PHONE_STATE and carrier privilege should allow access. Test: atest TelephonyPermissionsTest Bug: 151952050 Change-Id: Ie97d0b195937d4729875afd1e74357c1284e101f Merged-In: Ie97d0b195937d4729875afd1e74357c1284e101f
-
Robert Greenwalt authored
This is done to get dangerous stuff off the READ_PHONE_STATE permission. Also keeping READ_PHONE_STATE for apps targeting old SDK versions. Refactored getPhoneNumber to allow READ_PHONE_STATE pre-R Bug: 136160623 Test: atest SubInfoControllerTest, TelephonyPermissionsTest Change-Id: I5c0adcbe432ffcbb22ac8959792ee60da7039f15 Merged-In: I5c0adcbe432ffcbb22ac8959792ee60da7039f15
-
paulhu authored
Reminder user of unavailable tethering status if there is no internet access. Bug: 147818698 Test: atest TetheringTests Change-Id: Ic6557f9f7703337596100cd6a477fd7239217166
-
Treehugger Robot authored
-
markchien authored
This is used to fix the race when quickly OFF/ON wifi tethering. When IpServer is started/stopped, there is callback update tethering interface status. Before this change, IpServer is stopped when wifi ap is disabling. Then the next startTethering may fail in wifi because wifi is in disabling state. Error pattern: WifiService: Tethering is already active. No unitest for this CL but it fixed the CtsTetheringTest flakty rate than around 30% to 0 for more than 100 runs. Bug: 153925821 Test: atest CtsTetheringTest --iteration 100 Change-Id: I8b65f621abe20799a3a0d410ba1f06368746ee49
-
Lorenzo Colitti authored
-
Paul Hu authored
-
Lorenzo Colitti authored
These events don't have MAC addresses, so the code attempts to create an Ipv6ForwardingRule with a null MAC address. This crashes when attempting to get the raw MAC address bytes to send to netd in the TetherOffloadRuleParcel. This was not caught by unit tests because the test exercise this code path in a way that is not correct (by sending RTM_DELNEIGH and NUD_FAILED events with MAC addresses). Fix the unit tests to properly pass in null MAC addresses for these events. Bug: 153697068 Test: fixed existing tests to be more realistic Change-Id: I26d89a81f1c448d9b4809652b079a5f5eace3924
-
Mark Chien authored
-
Calvin Pan authored
* changes: Make DEFAULT_PREFERRED_NETWORK_MODE @hide for now Add new system API constant DEFAULT_PREFERRED_NETWORK_MODE Remove usage of Telephonymanager getDefault() hidden API SettingsProvider: use sysprop as API for telephony
-
markchien authored
Bug: 145099347 Test: atest TetheringTests atest CtsTetheringTest Change-Id: I7401c550fbafd17a5ed2d925b5d0e17e358af467
-
Mark Chien authored
-
- Apr 13, 2020
-
-
Eric Laurent authored
-
Rambo Wang authored
Compare homeNodebName based on values instead of references. Bug: 151976726 Test: atest ClosedSubscriberGroupInfoTest Merged-In: I15557e673c8b6842a6fc28b6ea814323652a00b8 Change-Id: I15557e673c8b6842a6fc28b6ea814323652a00b8 (cherry picked from commit e0c4e405)
-
Treehugger Robot authored
-
Hans Boehm authored
-