Skip to content
Snippets Groups Projects
Select Git revision
  • android-7.1.2_r28_klist
  • master default protected
  • pie-cts-release
  • pie-vts-release
  • pie-cts-dev
  • oreo-mr1-iot-release
  • sdk-release
  • oreo-m6-s4-release
  • oreo-m4-s12-release
  • pie-release
  • pie-r2-release
  • pie-r2-s1-release
  • oreo-vts-release
  • oreo-cts-release
  • oreo-dev
  • oreo-mr1-dev
  • pie-gsi
  • pie-platform-release
  • pie-dev
  • oreo-cts-dev
  • android-o-mr1-iot-release-1.0.4
  • android-9.0.0_r8
  • android-9.0.0_r7
  • android-9.0.0_r6
  • android-9.0.0_r5
  • android-8.1.0_r46
  • android-8.1.0_r45
  • android-n-iot-release-smart-display-r2
  • android-vts-8.1_r5
  • android-cts-8.1_r8
  • android-cts-8.0_r12
  • android-cts-7.1_r20
  • android-cts-7.0_r24
  • android-o-mr1-iot-release-1.0.3
  • android-cts-9.0_r1
  • android-8.1.0_r43
  • android-8.1.0_r42
  • android-n-iot-release-smart-display
  • android-p-preview-5
  • android-9.0.0_r3
40 results

hal_wifi_default.te

  • Alex Klyubin's avatar
    1d2a1476
    Switch Wi-Fi HAL policy to _client/_server · 1d2a1476
    Alex Klyubin authored
    This switches Wi-Fi HAL policy to the design which enables us to
    conditionally remove unnecessary rules from domains which are clients
    of Wi-Fi HAL.
    
    Domains which are clients of Wi-Fi HAL, such as system_server domain,
    are granted rules targeting hal_wifi only when the Wi-Fi HAL runs in
    passthrough mode (i.e., inside the client's process). When the HAL
    runs in binderized mode (i.e., in another process/domain, with clients
    talking to the HAL over HwBinder IPC), rules targeting hal_wifi are
    not granted to client domains.
    
    Domains which offer a binderized implementation of Wi-Fi HAL, such as
    hal_wifi_default domain, are always granted rules targeting hal_wifi.
    
    Test: Setup Wizard (incl. adding a Google Account) completes fine with
          Wi-Fi connectivity only
    Test: Toggle Wi-Fi off, on, off, on
    Test: Use System UI to see list of WLANs and connect to one which does
          not require a password, and to one which requries a PSK
    Test: ip6.me loads fine in Chrome over Wi-Fi
    Bug: 34170079
    
    Change-Id: I7a216a06727c88b7f2c23d529f67307e83bed17f
    1d2a1476
    History
    Switch Wi-Fi HAL policy to _client/_server
    Alex Klyubin authored
    This switches Wi-Fi HAL policy to the design which enables us to
    conditionally remove unnecessary rules from domains which are clients
    of Wi-Fi HAL.
    
    Domains which are clients of Wi-Fi HAL, such as system_server domain,
    are granted rules targeting hal_wifi only when the Wi-Fi HAL runs in
    passthrough mode (i.e., inside the client's process). When the HAL
    runs in binderized mode (i.e., in another process/domain, with clients
    talking to the HAL over HwBinder IPC), rules targeting hal_wifi are
    not granted to client domains.
    
    Domains which offer a binderized implementation of Wi-Fi HAL, such as
    hal_wifi_default domain, are always granted rules targeting hal_wifi.
    
    Test: Setup Wizard (incl. adding a Google Account) completes fine with
          Wi-Fi connectivity only
    Test: Toggle Wi-Fi off, on, off, on
    Test: Use System UI to see list of WLANs and connect to one which does
          not require a password, and to one which requries a PSK
    Test: ip6.me loads fine in Chrome over Wi-Fi
    Bug: 34170079
    
    Change-Id: I7a216a06727c88b7f2c23d529f67307e83bed17f