Searched refs:programData (Results 1 – 5 of 5) sorted by relevance
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CdmaServiceCategoryProgramHandler.java | 79 public void onCdmaScpMessage(int slotIndex, ArrayList<CdmaSmsCbProgramData> programData, in onCdmaScpMessage() argument 81 onCdmaCellBroadcastSms(new CdmaScpMessage(slotIndex, programData, originatingAddress, in onCdmaScpMessage() 94 CdmaScpMessage(int slotIndex, ArrayList<CdmaSmsCbProgramData> programData, in CdmaScpMessage() argument 97 mProgamData = programData; in CdmaScpMessage() 139 private boolean handleServiceCategoryProgramData(ArrayList<CdmaSmsCbProgramData> programData, in handleServiceCategoryProgramData() argument 141 if (programData == null) { in handleServiceCategoryProgramData() 151 intent.putParcelableArrayListExtra("program_data", programData); in handleServiceCategoryProgramData()
|
D | DefaultCellBroadcastService.java | 104 public void onCdmaScpMessage(int slotIndex, List<CdmaSmsCbProgramData> programData, in onCdmaScpMessage() argument 107 mCdmaScpHandler.onCdmaScpMessage(slotIndex, new ArrayList<>(programData), in onCdmaScpMessage()
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CdmaSmsMessageTest.java | 857 CdmaSmsCbProgramData programData = programDataList.get(0); in testServiceCategoryProgramDataAddCategory() local 858 assertEquals(CdmaSmsCbProgramData.OPERATION_ADD_CATEGORY, programData.getOperation()); in testServiceCategoryProgramDataAddCategory() 860 programData.getCategory()); in testServiceCategoryProgramDataAddCategory() 861 assertEquals(CAT_EXTREME_THREAT, programData.getCategoryName()); in testServiceCategoryProgramDataAddCategory() 862 assertEquals(BearerData.LANGUAGE_ENGLISH, programData.getLanguage()); in testServiceCategoryProgramDataAddCategory() 863 assertEquals(100, programData.getMaxMessages()); in testServiceCategoryProgramDataAddCategory() 864 assertEquals(CdmaSmsCbProgramData.ALERT_OPTION_DEFAULT_ALERT, programData.getAlertOption()); in testServiceCategoryProgramDataAddCategory() 916 CdmaSmsCbProgramData programData = programDataList.get(0); in testServiceCategoryProgramDataDeleteTwoCategories() local 917 assertEquals(CdmaSmsCbProgramData.OPERATION_DELETE_CATEGORY, programData.getOperation()); in testServiceCategoryProgramDataDeleteTwoCategories() 919 programData.getCategory()); in testServiceCategoryProgramDataDeleteTwoCategories() [all …]
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastReceiverTest.java | 481 CdmaSmsCbProgramData programData = new CdmaSmsCbProgramData( in testHandleCdmaSmsCbProgramDataOperationAddAndDelete() local 485 mCellBroadcastReceiver.handleCdmaSmsCbProgramData(new ArrayList<>(List.of(programData))); in testHandleCdmaSmsCbProgramDataOperationAddAndDelete() 489 programData = new CdmaSmsCbProgramData(CdmaSmsCbProgramData.OPERATION_DELETE_CATEGORY, in testHandleCdmaSmsCbProgramDataOperationAddAndDelete() 492 mCellBroadcastReceiver.handleCdmaSmsCbProgramData(new ArrayList<>(List.of(programData))); in testHandleCdmaSmsCbProgramDataOperationAddAndDelete() 499 CdmaSmsCbProgramData programData = new CdmaSmsCbProgramData( in testHandleCdmaSmsCbProgramDataOprationClear() local 503 mCellBroadcastReceiver.handleCdmaSmsCbProgramData(new ArrayList<>(List.of(programData))); in testHandleCdmaSmsCbProgramDataOprationClear() 516 CdmaSmsCbProgramData programData = new CdmaSmsCbProgramData( in testHandleCdmaSmsCbProgramDataNotDefinedOperation() local 518 mCellBroadcastReceiver.handleCdmaSmsCbProgramData(new ArrayList<>(List.of(programData))); in testHandleCdmaSmsCbProgramDataNotDefinedOperation()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 664 for (CdmaSmsCbProgramData programData : programDataList) { in handleCdmaSmsCbProgramData() 665 switch (programData.getOperation()) { in handleCdmaSmsCbProgramData() 667 tryCdmaSetCategory(mContext, programData.getCategory(), true); in handleCdmaSmsCbProgramData() 671 tryCdmaSetCategory(mContext, programData.getCategory(), false); in handleCdmaSmsCbProgramData() 686 loge("Ignoring unknown SCPD operation " + programData.getOperation()); in handleCdmaSmsCbProgramData()
|