Searched refs:D2D_ALLOWED_WHEN_INFRA_STA_DISABLED (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiSettingsConfigStore.java | 202 public static final Key<Boolean> D2D_ALLOWED_WHEN_INFRA_STA_DISABLED = field in WifiSettingsConfigStore 208 D2D_ALLOWED_WHEN_INFRA_STA_DISABLED);
|
D | WifiServiceImpl.java | 60 import static com.android.server.wifi.WifiSettingsConfigStore.D2D_ALLOWED_WHEN_INFRA_STA_DISABLED; 8751 () -> mSettingsConfigStore.put(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED, isAllowed), 8765 listener.onResult(mSettingsConfigStore.get(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED));
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 27 import static com.android.server.wifi.WifiSettingsConfigStore.D2D_ALLOWED_WHEN_INFRA_STA_DISABLED; 1407 when(mWifiSettingsConfigStore.get(eq(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED))) in setUpWifiP2pServiceImpl() 1543 eq(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED), in setUpWifiP2pServiceImpl() 8075 when(mWifiSettingsConfigStore.get(eq(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED))) in testP2pDoesInitWhenClientConnectWithWifiDisabledAndD2DAllowed() 8147 when(mWifiSettingsConfigStore.get(eq(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED))) in testP2pChangeToDisableWhenD2DAllowedToFalse() 8153 when(mWifiSettingsConfigStore.get(eq(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED))) in testP2pChangeToDisableWhenD2DAllowedToFalse() 8156 D2D_ALLOWED_WHEN_INFRA_STA_DISABLED, false); in testP2pChangeToDisableWhenD2DAllowedToFalse()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareStateManager.java | 30 import static com.android.server.wifi.WifiSettingsConfigStore.D2D_ALLOWED_WHEN_INFRA_STA_DISABLED; 788 mSettingsConfigStore.registerChangeListener(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED, in startLate() 792 if (mSettingsConfigStore.get(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED)) { in startLate() 807 && mSettingsConfigStore.get(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED); in isD2dAllowedWhenStaDisabled()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 24 import static com.android.server.wifi.WifiSettingsConfigStore.D2D_ALLOWED_WHEN_INFRA_STA_DISABLED; 1526 mSettingsConfigStore.registerChangeListener(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED, in P2pStateMachine() 5663 || (mSettingsConfigStore.get(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED) in isWifiP2pAvailable() 5670 + mSettingsConfigStore.get(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED)); in checkAndSendP2pStateChangedBroadcast()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 70 import static com.android.server.wifi.WifiSettingsConfigStore.D2D_ALLOWED_WHEN_INFRA_STA_DISABLED; 12622 verify(mWifiSettingsConfigStore).put(eq(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED), eq(true)); in testSetD2dAllowedWhenInfraStaDisabled() 12626 verify(mWifiSettingsConfigStore).put(eq(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED), eq(false)); in testSetD2dAllowedWhenInfraStaDisabled() 12640 when(mWifiSettingsConfigStore.get(eq(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED))) in testQueryD2dAllowedWhenInfraStaDisabled() 12644 verify(mWifiSettingsConfigStore).get(eq(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED)); in testQueryD2dAllowedWhenInfraStaDisabled() 12647 when(mWifiSettingsConfigStore.get(eq(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED))) in testQueryD2dAllowedWhenInfraStaDisabled() 12651 verify(mWifiSettingsConfigStore, times(2)).get(eq(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED)); in testQueryD2dAllowedWhenInfraStaDisabled()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 24 import static com.android.server.wifi.WifiSettingsConfigStore.D2D_ALLOWED_WHEN_INFRA_STA_DISABLED; 301 eq(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED), in setUp() 5817 when(mWifiSettingsConfigStore.get(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED)) in simulateD2dAllowedChange() 5820 .onSettingsChanged(D2D_ALLOWED_WHEN_INFRA_STA_DISABLED, isD2dAllowed); in simulateD2dAllowedChange()
|