Home
last modified time | relevance | path

Searched refs:getAllowedChannels (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/modes/
DZenMode.java169 if (policy.getAllowedChannels() == CHANNEL_POLICY_ALL in setPolicy()
170 && currentPolicy.getAllowedChannels() != CHANNEL_POLICY_ALL) { in setPolicy()
182 } else if (policy.getAllowedChannels() != CHANNEL_POLICY_ALL in setPolicy()
183 && currentPolicy.getAllowedChannels() == CHANNEL_POLICY_ALL) { in setPolicy()
DZenModeAppsPreferenceController.java73 boolean policy_priority = zenMode.getPolicy().getAllowedChannels() in updateState()
78 boolean policy_none = zenMode.getPolicy().getAllowedChannels() in updateState()
85 boolean policy_all = zenMode.getPolicy().getAllowedChannels() in updateState()
DZenModeSummaryHelper.java410 if (zenMode.getPolicy().getAllowedChannels() == ZenPolicy.CHANNEL_POLICY_PRIORITY) { in getAppsSummary()
412 } else if (zenMode.getPolicy().getAllowedChannels() == ZenPolicy.CHANNEL_POLICY_NONE) { in getAppsSummary()
414 } else if (zenMode.getPolicy().getAllowedChannels() == ZenMode.CHANNEL_POLICY_ALL) { in getAppsSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModeAppsPreferenceControllerTest.java221 assertThat(captor.getValue().getPolicy().getAllowedChannels()) in testOnPreferenceChange_All()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java3671 mWifiManager.getAllowedChannels(band, mode); in testGetAllowedChannels()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiManager.java11149 public List<WifiAvailableChannel> getAllowedChannels( in getAllowedChannels() method in WifiManager
/packages/modules/Wifi/framework/api/
Dcurrent.txt457 …DEVICES) public java.util.List<android.net.wifi.WifiAvailableChannel> getAllowedChannels(int, int);