Searched refs:CbConfig (Results 1 – 3 of 3) sorted by relevance
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastConfigServiceTest.java | 19 import static com.android.cellbroadcastreceiver.CellBroadcastConfigService.CbConfig; 180 private void setCellBroadcastRange(int subId, List<CbConfig> ranges) throws Exception { in setCellBroadcastRange() 199 List<CbConfig> ranges = new ArrayList<>(); in testEnableCellBroadcastRange() 200 ranges.add(new CbConfig(10, 20, 1, true)); in testEnableCellBroadcastRange() 206 CbConfig[] configs = new CbConfig[]{new CbConfig(10, 20, 1, true)}; in testEnableCellBroadcastRange() 210 ranges.add(new CbConfig(10, 20, 1, true)); in testEnableCellBroadcastRange() 213 configs = new CbConfig[]{new CbConfig(10, 20, 1, true)}; in testEnableCellBroadcastRange() 223 List<CbConfig> ranges = new ArrayList<>(); in testDisableCellBroadcastRange() 224 ranges.add(new CbConfig(10, 20, 1, false)); in testDisableCellBroadcastRange() 230 CbConfig[] configs = new CbConfig[]{new CbConfig(10, 20, 1, false)}; in testDisableCellBroadcastRange() [all …]
|
D | CellBroadcastBootupConfigTest.java | 131 private static class CbConfig { class in CellBroadcastBootupConfigTest 136 CbConfig(int startId, int endId, int type) { in CbConfig() method in CellBroadcastBootupConfigTest.CbConfig 166 CbConfig[] configs = new CbConfig[] { in testConfiguration() 167 new CbConfig(MESSAGE_ID_CMAS_ALERT_PRESIDENTIAL_LEVEL, in testConfiguration() 170 new CbConfig(SERVICE_CATEGORY_CMAS_PRESIDENTIAL_LEVEL_ALERT, in testConfiguration() 173 new CbConfig(MESSAGE_ID_CMAS_ALERT_PRESIDENTIAL_LEVEL_LANGUAGE, in testConfiguration() 176 new CbConfig(MESSAGE_ID_CMAS_ALERT_EXTREME_IMMEDIATE_OBSERVED, in testConfiguration() 179 new CbConfig(SERVICE_CATEGORY_CMAS_EXTREME_THREAT, in testConfiguration() 182 new CbConfig(MESSAGE_ID_CMAS_ALERT_EXTREME_IMMEDIATE_OBSERVED_LANGUAGE, in testConfiguration() 185 new CbConfig(MESSAGE_ID_CMAS_ALERT_EXTREME_EXPECTED_OBSERVED, in testConfiguration() [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastConfigService.java | 84 public static class CbConfig { class in CellBroadcastConfigService 90 public CbConfig(int startId, int endId, int type, boolean enable) { in CbConfig() method in CellBroadcastConfigService.CbConfig 253 List<CbConfig> config = getCellBroadcastChannelsConfig(subId, null); in enableCellBroadcastChannels() 263 private List<CbConfig> getCellBroadcastChannelsConfig(int subId, String roamingOperator) { in getCellBroadcastChannelsConfig() 347 private List<CbConfig> getCellBroadcastChannelsConfig(int subId, @NonNull String operator, in getCellBroadcastChannelsConfig() 374 List<CbConfig> cbConfigList = new ArrayList<>(); in getCellBroadcastChannelsConfig() 387 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig() 398 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig() 409 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig() 420 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig() [all …]
|