Commit Graph

9 Commits

Author SHA1 Message Date
Hsiu-Chang Chen
802828f461 wifi: Enhance tombstone folder dumping behavior
In current implementation, files in the tombstone folder are only
archived when there is at least one active wifi interface. The
examination is unnecessary and it causes problems for us to get wifi
logs if reporter takes bugreport with STA/SAP off. In this change,
tombstone files will be archived regardless of the state of the wifi
interfaces.

Bug: 303429585
Test: dumpsys android.hardware.wifi.IWifi/default
Change-Id: I8a8b09f6473b2a1f93478b0393963e87b1fb9ad7
2023-10-23 01:02:40 +00:00
Gabriel Biren
c29622f0ea Merge "Set the value of using_dynamic_iface_combination_ in the WifiChip constructor." into udc-dev am: 0f1628e1ac am: aba5f849c2
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/23699648

Change-Id: I1c914ea573d71a34eeef53ecce94f25b350cbf85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-16 22:08:33 +00:00
Gabriel Biren
989c78a51f Set the value of using_dynamic_iface_combination_
in the WifiChip constructor.

gTest suite currently cannot mock the legacy HAL
call for getSupportedIfaceConcurrencyMatrix.
If we set using_dynamic_iface_combination_ to true
in the unit tests, we can avoid making this call.

Bug: 271914366
Test: ./runtests.sh # gTest
Test: atest VtsHalWifiChipTargetTest # VTS
Change-Id: Ic43daab6ff5fdc5f78af614ad775f436fbbe8726
2023-06-14 22:45:29 +00:00
Kevin Jeon
510fd6d8e4 Merge "Add missing newline to health/wifi AIDL interfaces" 2023-04-17 21:42:18 +00:00
Kevin Jeon
0331772902 Add missing newline to health/wifi AIDL interfaces
This change adds a missing newline character to the end of dump() for
the default health and wifi int

Add missing newline to health/wifi AIDL interfaces

This change adds a missing newline character to the end of dump() for
health and wifi.

Test: Take a bugreport and verify that the "X was the duration of
      dumpsys Y" lines aren't preceded by the final line of the dump.
Test: Run "dumpsys android.hardware.health.IHealth/default" and verify
      that the new line exists.
Test: Run "dumpsys android.hardware.wifi.IWifi/default" and verify that
      the new line exists.
Bug: 278081288
Change-Id: I173dd174b5bab808c6296f7163982393e60ba0c6
2023-04-13 13:09:07 -04:00
Gabriel Biren
57896d2a1c Acquire the global lock when the
dump method is called.

This should prevent a race condition
between stop() and dump().

stop() already acquires the global lock
when it calls validateAndCall().

Bug: 274641043
Test: adb shell dumpsys wifi # validates dump()
Change-Id: Ie2df0861308954cd2e399c9604d4ae0dcddf95fb
2023-04-10 23:47:45 +00:00
Gabriel Biren
f3262f970d Add AIDL implementation for the vendor HAL service.
Bug: 205044134
Test: Pass AIDL VTS tests and regression tests.
Change-Id: Iad04ce01f71fc220443e05a4be05d7d5545227e8
2022-12-02 14:01:50 -08:00
Gabriel Biren
631a8118d7 Revert "Convert vendor HAL service to use new AIDL interface."
This reverts commit e58e263bce.

Reason for revert: Blocking Wembley team

Change-Id: I3cf471e88b880a95a0a2c39f47fb0804deee65cf
2022-12-01 22:29:32 +00:00
Gabriel Biren
e58e263bce Convert vendor HAL service to use new AIDL interface.
Bug: 205044134
Test: Pass AIDL VTS tests and regression tests.
Change-Id: I286ffbf67efddc6c34d34ebd9e9bd9f36139c962
2022-11-28 18:29:23 +00:00