History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/PropertyService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1d4d6b7b1fe4d95ad04c8f0c501e233be4160f90 28-Dec-2017 Roshan Pius <rpius@google.com> WifiNative: Support devices with no vendor HAL

For devices which do not support the vendor HAL, we'll not support any
concurrency. So, simulate the WifiVendorHal interactions to bring down
any existing interfaces when we create a new interface.

Modified the unit tests to use a global InOrder. Creating local inorders
causes inconsistent behaviour across helper methods. Needed this
refactor to help test the changes in this CL.

Bug: 70521011
Test: Unit tests
Change-Id: I44a9dec92570cfa1ad49e297e6b7c8dc103ffeaf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/PropertyService.java
e18d6159cfdfa9416386836d7b18249c82df0750 13-Sep-2016 Paul Stewart <pstew@google.com> WifiStateMachine: Mask RTT capabilities against System Properties

Report support for RTT features only if the system supports it.
If SystemProperties disabled RTT, remove the RTT capability flags
from the returned bitset.

Change-Id: Iac888af289649596ff2fcc3ccba5f01a13bf5fc7
BUG: 31437934
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/PropertyService.java
f74a1cfd50d7b44aa7e4b598eb229cd464983dfe 03-May-2016 mukesh agrawal <quiche@google.com> wifi service: abstract away access to SystemProperties

We want the ability to modify the value of a system property,
so that we can dynamically change the logging level for WifiHAL.

This ability depends on permissions that are not available to
the test runner. For example, the process that is running the
wifi service code needs the ability to connect to the
|property_service| socket.

To resolve the problem, we do the following:
- add a PropertyService interface, which abstracts away access
to SystemProperties
- add PropertyService to the dependencies managed by WifiInjector
- add SystemPropertyService, which routes property requests
to android.os.SystemProperties
- update WifiStateMachine, to access properties via PropertyService
- update WifiStateMachineTest, to use a mock implementation of
PropertyService

BUG=27857554
TEST=unit tests

Change-Id: Ic930337a6a8f6a600ae7b4da2ca2eaf5c9e6c2cb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/PropertyService.java