summaryrefslogtreecommitdiff
path: root/service
AgeCommit message (Collapse)Author
2025-09-18[SP 2025-09-01] Do not treat SdkSandBox as privileges Appbanksia-dev Nate Jiang
Flag: EXEMPT bug fix Bug: 399885815 Test: atest com.android.server.wifi (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b8feb0cc861f6071e3d3e5e289ce969237901722) Merged-In: I1ee7a09b7628a67dcb3502b29d99761bafd913b5 Change-Id: I1ee7a09b7628a67dcb3502b29d99761bafd913b5
2025-04-12Import translations. DO NOT MERGE ANYWHERE Bill Yi
Auto-generated-cl: translation import Bug: 408276020 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9d80ea4f6b00e88831c7ceb1d37a0aa2253b108f) Merged-In: Id37cc6f445a707bd4b192290f9c021f696bd43ac Change-Id: Id37cc6f445a707bd4b192290f9c021f696bd43ac
2025-03-24Merge changes Ie79a3d67,Ia601da87,Ie593dc64 into main Gabriel Biren
* changes: Log WifiMulticastLockManager active sessions in WifiMetrics when filtering is re-enabled. Split addWifiLockActiveSession into separate methods for WifiLockManager and MulticastLockManager. Log WifiMulticastLockManager acquired sessions in WifiMetrics when locks are released.
2025-03-21Merge "Retrieve the attribution tag and package name when a multicast lock ↵ Gabriel Biren
is acquired." into main
2025-03-21Don't send BLOCK_DISCOVERY when P2P is in Disabled state sunilravi
Before triggering the DHCP, clientModeImpl send BLOCK_DISCOVERY to stop the P2P discovery. And wait for CMD_PRE_DHCP_ACTION_COMPLETE message back from P2P module. This is done to protect the DHCP exchange. But if p2p is in a waiting state(Transitioned from Disabled state) for user response to create the interface, all the messages will be deferred. So clientModeImpl doesn't get CMD_PRE_DHCP_ACTION_COMPLETE response from P2P module. This blocks the DHCP when p2p is in waiting state. A change (Iacf3e35e82c3cf06e9986dba3535a1ac71b4dd88) was added in last year to prevent BLOCK_DISCOVERY message exchange when P2P is in waiting state. But that didn't fix the issue. So modified the logic to, not to send BLOCK_DISCOVER if p2p service is not running. Bug: 391509308 Test: atest ClientModeImplTest Flag: EXEMPT bugfix Change-Id: I65ffa331c5bfeb2c4143c9e21ddc780ee66f36c1
2025-03-21Merge "Fix parsing of CIPHER and AKM for secure ranging" into main Mahesh KKV
2025-03-21Merge changes I9f6e080e,Ie4397072 into main Gabriel Biren
* changes: Implement the remaining USD methods in the framework mainline supplicant wrapper. Add framework implementations for startUsdPublish and startUsdSubscribe.
2025-03-21Merge "Split addWifiLockAcqSession into separate methods for WifiLockManager ↵ Gabriel Biren
and MulticastLockManager." into main
2025-03-21Log WifiMulticastLockManager active sessions Gabriel Biren
in WifiMetrics when filtering is re-enabled. Bug: 391378901 Flag: EXEMPT minor metrics feature Test: atest WifiMulticastLockManagerTest Change-Id: Ie79a3d67bdab271c8d2aba3be20fb60b2b7f2077
2025-03-20Fix parsing of CIPHER and AKM for secure ranging maheshkkv
The capability string, found in scan results, includes encodings for supported AKMs and CIPHERs by the AP. Building secure ranging responder configuration process requires parsing these encodings to populate the PASN configuration with the available AKMs and CIPHERs. Later the best AKM and CIPHER is selected based on the device capability. Also make the CIPHER string for CCMP and GCMP explicitly as CCMP-128 and GCMP-128. Bug: 356734952 Test: atest FrameworksWifiTests Flag: EXEMPT bug fix Change-Id: I47329fe3b81535ac2a8cf4b70f9d4c89cf6aae75
2025-03-20Merge "Implement the USD callbacks in the framework mainline supplicant ↵ Treehugger Robot
class." into main
2025-03-21Split addWifiLockActiveSession into separate methods Gabriel Biren
for WifiLockManager and MulticastLockManager. Some of the existing logic does not apply to the metrics for multicast locks. Also see ag/32466544 where a similar split was done for the lock acquired method. Bug: 391378901 Flag: EXEMPT minor metrics feature Test: atest WifiLockManagerTest WifiMetricsTest Change-Id: Ia601da87163e5a9d0775569d66dcdc8805438832
2025-03-21Log WifiMulticastLockManager acquired sessions Gabriel Biren
in WifiMetrics when locks are released. Bug: 391378901 Flag: EXEMPT minor metrics feature Test: atest WifiInjectorTest \ WifiMulticastLockManagerTest Change-Id: Ie593dc64d97210b29ca657d3bb5b1254caf5eae2
2025-03-20Implement the remaining USD methods in the Gabriel Biren
framework mainline supplicant wrapper. Bug: 365585450 Flag: com.android.wifi.flags.mainline_supplicant Test: atest MainlineSupplicantTest Change-Id: I9f6e080e919007b0078925fc7dd8e676c199b613
2025-03-20Add framework implementations for startUsdPublish Gabriel Biren
and startUsdSubscribe. Bug: 365585450 Flag: com.android.wifi.flags.mainline_supplicant Test: atest MainlineSupplicantTest Change-Id: Ie43970729532e3553a5d3470b2941867b3ae0503
2025-03-20Retrieve the attribution tag and package name Gabriel Biren
when a multicast lock is acquired. This will be used in the next CL for metrics. Bug: 391378901 Flag: EXEMPT minor metrics feature Test: atest WifiManagerTest Test: atest WifiServiceImplTest \ WifiMulticastLockManagerTest Change-Id: Ife2be68dfa8cbabe2cc8cda0fc9993cd46adebb2
2025-03-20Merge "Only release the Aware when it's disabled from vendor" into main Nate Jiang
2025-03-20Split addWifiLockAcqSession into separate methods Gabriel Biren
for WifiLockManager and MulticastLockManager. Some of the existing logic does not apply to the metrics for multicast locks. Bug: 391378901 Flag: EXEMPT minor metrics feature Test: atest WifiLockManagerTest WifiMetricsTest Change-Id: I83a9cf064b27677e013c68926fbcbda2a82a8532
2025-03-20Only release the Aware when it's disabled from vendor Nate Jiang
Especailly handle back to back disable/enable cases. Flag: EXEMPT bugfix Bug: 393479148 Test: atest com.android.server.wifi Change-Id: I88cecaa198805d8f8ffadc5d934715eb7c8d7fea
2025-03-19Merge "Allow fulfill approved request even screen off" into main Nate Jiang
2025-03-19Merge "Update SarInfo even before boot completed" into main Nate Jiang
2025-03-19Implement the USD callbacks in the framework Gabriel Biren
mainline supplicant class. Bug: 365585450 Flag: com.android.wifi.flags.mainline_supplicant Test: atest MainlineSupplicantTest Change-Id: Ic534ec940041b5520f86540a9536c1ea8998f2d8
2025-03-19Update SarInfo even before boot completed Nate Jiang
And if SAR supported, update during the bootup completed Flag: EXEMPT bugfix Bug: 403455814 Test: atest com.android.server.wifi Change-Id: Icc2336c06fa1832d9428ee6bbc2449331809c4fb
2025-03-19Allow fulfill approved request even screen off Nate Jiang
Flag: EXEMPT bugfix Bug: 403348813 Test: atest com.android.server.wifi Change-Id: I348be3a1671bf7cfa67ce9db0be4fadb31bc7900
2025-03-19Merge "Use ParceledListSlice fix the binder transcation issue" into main Nate Jiang
2025-03-18Merge changes I661de072,I4500b5e7,I2c717f6e into main Mahesh KKV
* changes: Fix secure ranging result flag Fix Secure ranging result processing Update pre-shared key for secure ranging
2025-03-18Use ParceledListSlice fix the binder transcation issue Nate Jiang
Flag: EXEMPT bugfix Bug: 403396045 Test: atest FrameworksWifiApiTests, FrameworksWifiTests Change-Id: Id3b62fee3c2b7d18e8caf5fac64f1c25ef9ac4ba
2025-03-18Merge "Wifi: remove usages of deprecated Mockito matchers" into main Adrian Roos
2025-03-18Merge "Support AT&T IMSI protect requirement 1.2" into main Xiaoying Liu
2025-03-18Wifi: remove usages of deprecated Mockito matchers Adrian Roos
Upstream Mockito has deleted the deprecated matchers. Migrates usage to replacements to unblock upgrade. Test: m checkbuild Flag: TEST_ONLY Bug: 310268946 Change-Id: I2ff49a5857c05632f418157436559a24a1fa4e56
2025-03-17Fix secure ranging result flag maheshkkv
Set the flag RangingResult#is80211azNtbMeasurement for secure ranging. Bug: 397619419 Flag: EXEMPT bug fix Test: atest WifiRttControllerAidlImplTest Change-Id: I661de072a27b2ef578a0ff8d870c2f879d6a76ee
2025-03-17Fix Secure ranging result processing maheshkkv
Bug: 397619419 Test: atest FrameworksWifiTests Flag: EXEMPT bug fix Change-Id: I4500b5e7b99508b9996e56f89adf863f00e60833
2025-03-17Update pre-shared key for secure ranging maheshkkv
Bug: 388601492 Test: atest RttServiceImplTest Flag: EXEMPT bug fix Change-Id: I2c717f6ebe5afec6546ca89b2834a11d2aaa3ba5
2025-03-17Merge "Use Background thread in LastMileLogger" into main Oscar Shu
2025-03-17Merge "Decrease framework connection timeout" into main Oscar Shu
2025-03-14Fix the cipher usage for PASN maheshkkv
Add support for GCMP_128 and CCMP_256. Also rename CCMP_128 to CCMP and GCMP_128 to GCMP which aligns with wpa_supplicant. Bug: 397619419 Test: atest FrameworksWifiTests Flag: EXEMPT bug fix Change-Id: I1ca01bbc4716708ac9cb749d47af1bdbfa17c724
2025-03-14Merge "Remove the timeout in network factory." into main Treehugger Robot
2025-03-14Remove the timeout in network factory. Nate Jiang
The connection timeout already handled in the ClientMode Flag: EXEMPT bugfix Bug: 401085685 Test: atest com.android.server.wifi Change-Id: I5c9feed54cebadf68e403632d971744b6e2db8d3
2025-03-14Use Background thread in LastMileLogger Oscar Shu
This is a low priority logging operation that has file IO which is shown to block the wifi thread and cause ANR on some devices. Move the File IO to the background thread to prevent the wifi thread blocking. Flag: EXEMPT bugfix Bug: 373418066 Test: atest com.android.server.wifi Change-Id: I94fa44337ccacd3ba1d4faf35459421c9aee857a
2025-03-13Merge "Put the SSR event to the front of the queue" into main Nate Jiang
2025-03-13Decrease framework connection timeout Oscar Shu
Reduce this timeout so that connection retry happen faster when the AP does not respond to the connection request. Metrics show that this new timeout already covers 99% tile connections across all form factors. Flag: EXEMPT trivial change Bug: 401085685 Test: atest com.android.server.wifi Change-Id: Id387e89d3428ccae4607872c0a227a6ef78089dc
2025-03-13Support AT&T IMSI protect requirement 1.2 xiaoyingliu
1. Config lab entitlement server for 310950(1187), 311180(1187) and 312670(2119) SIMs. 2. Config prod entitlement server for 313140(2119) SIM. Bug: 372726667 Test: atest com.android.server.wifi and carrier test Flag: NONE This feature has been enable for a long time. Carrier wants to config more SIMs for this feature. Change-Id: I8cc5164aec71608bf89175d473b8cd3e7a9dc439
2025-03-13Merge "Support shell cmd to clear all suggestions added into this device" ↵ Xiaoying Liu
into main
2025-03-12Put the SSR event to the front of the queue Nate Jiang
This should speed up the SSR. Flag: EXEMPT bugfix Bug: 398808150 Test: atest com.android.server.wifi Change-Id: I1fe3e3ffa6c17fe3d6d78c11473142fa0a8d11ac
2025-03-12Merge "Register a callback with each STA interface when it is brought up in ↵ Gabriel Biren
mainline supplicant." into main
2025-03-12Merge "WiFi: Force 11be to false when 11ax is false." into main Yi Shiou (Les) Lee
2025-03-11Merge "Add a skeleton implementation for ↵ Gabriel Biren
MainlineSupplicantStaIfaceCallback." into main
2025-03-11Register a callback with each STA interface when Gabriel Biren
it is brought up in mainline supplicant. Bug: 365585450 Flag: com.android.wifi.flags.mainline_supplicant Test: atest MainlineSupplicantTest WifiInjectorTest Change-Id: I5a0ac7ad4ca578056e10a3daf4e8b766cbc21452
2025-03-11Merge "packages/modules/Wifi: remove usages of ↵ Adrian Roos
Mockito.verifyZeroInteractions" into main
2025-03-10Merge "Stop mocking the WifiStatsLog" into main Nate Jiang