/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastConfigService.java | 85 public int mStartId; field in CellBroadcastConfigService.CbConfig 91 this.mStartId = startId; in CbConfig() 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() 431 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig() 442 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig() 454 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig() 464 new CbConfig(range.mStartId, range.mEndId, range.mRanType, enable)); in getCellBroadcastChannelsConfig() [all …]
|
D | CellBroadcastChannelManager.java | 157 public int mStartId; field in CellBroadcastChannelManager.CellBroadcastChannelRange 342 mStartId = Integer.decode(channelRange.substring(0, dashIndex).trim()); in CellBroadcastChannelRange() 346 mStartId = mEndId = Integer.decode(channelRange); in CellBroadcastChannelRange() 352 return "Range:[channels=" + mStartId + "-" + mEndId + ",emergency level=" in toString() 568 if (channel >= range.mStartId && channel <= range.mEndId in findChannelRange()
|
D | CellBroadcastAlertAudio.java | 154 private int mStartId; field in CellBroadcastAlertAudio 366 mStartId = startId; in onStartCommand() 827 result = stopSelfResult(mStartId); in stopAlertAudioService() 829 + " to stop AlertAudioService[" + mStartId + "]"); in stopAlertAudioService()
|
D | CellBroadcastReceiverMetrics.java | 257 mDnDChannelSet.add(new Pair(r.mStartId, r.mEndId)); in onChangedOverrideDnD()
|
D | CellBroadcastAlertService.java | 567 Log.d(TAG, "The range [" + range.mStartId + "-" + range.mEndId in isChannelEnabled() 706 if (channel >= range.mStartId && channel <= range.mEndId) { in openEmergencyAlertNotification()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastChannelManagerTest.java | 127 assertEquals(12, list.get(0).mStartId); in verifyChannelRangesForConfig1() 138 assertEquals(456, list.get(1).mStartId); in verifyChannelRangesForConfig1() 150 assertEquals(0xAC00, list.get(2).mStartId); in verifyChannelRangesForConfig1() 162 assertEquals(54, list.get(3).mStartId); in verifyChannelRangesForConfig1() 173 assertEquals(100, list.get(4).mStartId); in verifyChannelRangesForConfig1() 184 assertEquals(0xA804, list.get(5).mStartId); in verifyChannelRangesForConfig1() 197 assertEquals(0xA901, list.get(6).mStartId); in verifyChannelRangesForConfig1() 202 assertEquals(0xA902, list.get(7).mStartId); in verifyChannelRangesForConfig1() 208 assertEquals(0xA903, list.get(8).mStartId); in verifyChannelRangesForConfig1() 216 assertEquals(0x1113, list.get(9).mStartId); in verifyChannelRangesForConfig1() [all …]
|
D | CellBroadcastConfigServiceTest.java | 605 assertFalse(ranges.contains(new CellBroadcastIdRange(configs[0].mStartId, in testDisablingGeoFencingTriggeredChannel() 610 eq(configs[0].mStartId), eq(configs[0].mEndId), in testDisablingGeoFencingTriggeredChannel() 808 assertTrue(ranges.contains(new CellBroadcastIdRange(configs[i].mStartId, in verifySetRanges() 816 eq(configs[i].mStartId), eq(configs[i].mEndId), in verifySetRanges() 821 eq(configs[i].mStartId), eq(configs[i].mEndId), in verifySetRanges() 838 assertTrue(ranges.contains(new CellBroadcastIdRange(configs[i].mStartId, in verifySetRanges() 846 eq(configs[i].mStartId), eq(configs[i].mEndId), in verifySetRanges() 851 eq(configs[i].mStartId), eq(configs[i].mEndId), in verifySetRanges() 967 if (configs[i].mStartId >= ranges.get(j).getStartId() in testEnableCellBroadcastRoamingChannelsAsNeeded() 986 if (configs[i].mStartId >= startIds.getAllValues().get(j).intValue() in testEnableCellBroadcastRoamingChannelsAsNeeded() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | PeripheralHandoverService.java | 69 int mStartId; field in PeripheralHandoverService 107 mStartId = 0; in PeripheralHandoverService() 114 if (mStartId != 0) { in onStartCommand() 115 mStartId = startId; in onStartCommand() 119 mStartId = startId; in onStartCommand() 126 mStartId = 0; in onStartCommand() 243 stopSelf(mStartId); in onBluetoothPeripheralHandoverComplete() 244 mStartId = 0; in onBluetoothPeripheralHandoverComplete()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SimImportService.java | 241 private final int mStartId; field in SimImportService.StopTask 245 mStartId = startId; in StopTask() 256 mHost.stopSelf(mStartId); in onPostExecute() 266 private final int mStartId; field in SimImportService.ImportTask 276 mStartId = startId; in ImportTask() 314 stopSelf(mStartId); in onPostExecute()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | BootUsbService.java | 55 private int mStartId; field in BootUsbService.UserUnlockedBroadcastReceiver 58 mStartId = startId; in setStartId() 66 processDevices(mStartId); in onReceive()
|