Searched refs:programData (Results 1 – 5 of 5) sorted by relevance
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CdmaSmsMessageTest.java | 755 CdmaSmsCbProgramData programData = programDataList.get(0); in testServiceCategoryProgramDataAddCategory() local 756 assertEquals(CdmaSmsCbProgramData.OPERATION_ADD_CATEGORY, programData.getOperation()); in testServiceCategoryProgramDataAddCategory() 758 programData.getCategory()); in testServiceCategoryProgramDataAddCategory() 759 assertEquals(CAT_EXTREME_THREAT, programData.getCategoryName()); in testServiceCategoryProgramDataAddCategory() 760 assertEquals(BearerData.LANGUAGE_ENGLISH, programData.getLanguage()); in testServiceCategoryProgramDataAddCategory() 761 assertEquals(100, programData.getMaxMessages()); in testServiceCategoryProgramDataAddCategory() 762 assertEquals(CdmaSmsCbProgramData.ALERT_OPTION_DEFAULT_ALERT, programData.getAlertOption()); in testServiceCategoryProgramDataAddCategory() 814 CdmaSmsCbProgramData programData = programDataList.get(0); in testServiceCategoryProgramDataDeleteTwoCategories() local 815 assertEquals(CdmaSmsCbProgramData.OPERATION_DELETE_CATEGORY, programData.getOperation()); in testServiceCategoryProgramDataDeleteTwoCategories() 817 programData.getCategory()); in testServiceCategoryProgramDataDeleteTwoCategories() [all …]
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CdmaServiceCategoryProgramHandler.java | 76 public void onCdmaScpMessage(int slotIndex, ArrayList<CdmaSmsCbProgramData> programData, in onCdmaScpMessage() argument 78 onCdmaCellBroadcastSms(new CdmaScpMessage(slotIndex, programData, originatingAddress, in onCdmaScpMessage() 91 CdmaScpMessage(int slotIndex, ArrayList<CdmaSmsCbProgramData> programData, in CdmaScpMessage() argument 94 mProgamData = programData; in CdmaScpMessage() 135 private boolean handleServiceCategoryProgramData(ArrayList<CdmaSmsCbProgramData> programData, in handleServiceCategoryProgramData() argument 137 if (programData == null) { in handleServiceCategoryProgramData() 149 intent.putParcelableArrayListExtra("program_data", programData); in handleServiceCategoryProgramData()
|
D | DefaultCellBroadcastService.java | 107 public void onCdmaScpMessage(int slotIndex, List<CdmaSmsCbProgramData> programData, in onCdmaScpMessage() argument 113 mCdmaScpHandler.onCdmaScpMessage(slotIndex, new ArrayList<>(programData), in onCdmaScpMessage()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastReceiverTest.java | 433 CdmaSmsCbProgramData programData = new CdmaSmsCbProgramData( in testHandleCdmaSmsCbProgramDataOperationAddAndDelete() local 437 mCellBroadcastReceiver.handleCdmaSmsCbProgramData(new ArrayList<>(List.of(programData))); in testHandleCdmaSmsCbProgramDataOperationAddAndDelete() 441 programData = new CdmaSmsCbProgramData(CdmaSmsCbProgramData.OPERATION_DELETE_CATEGORY, in testHandleCdmaSmsCbProgramDataOperationAddAndDelete() 444 mCellBroadcastReceiver.handleCdmaSmsCbProgramData(new ArrayList<>(List.of(programData))); in testHandleCdmaSmsCbProgramDataOperationAddAndDelete() 451 CdmaSmsCbProgramData programData = new CdmaSmsCbProgramData( in testHandleCdmaSmsCbProgramDataOprationClear() local 455 mCellBroadcastReceiver.handleCdmaSmsCbProgramData(new ArrayList<>(List.of(programData))); in testHandleCdmaSmsCbProgramDataOprationClear()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 475 for (CdmaSmsCbProgramData programData : programDataList) { in handleCdmaSmsCbProgramData() 476 switch (programData.getOperation()) { in handleCdmaSmsCbProgramData() 478 tryCdmaSetCategory(mContext, programData.getCategory(), true); in handleCdmaSmsCbProgramData() 482 tryCdmaSetCategory(mContext, programData.getCategory(), false); in handleCdmaSmsCbProgramData() 497 loge("Ignoring unknown SCPD operation " + programData.getOperation()); in handleCdmaSmsCbProgramData()
|