Home
last modified time | relevance | path

Searched refs:bitSet (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarProjectionServiceTest.java282 BitSet bitSet = bitSetOf(CarProjectionManager.KEY_EVENT_VOICE_SEARCH_SHORT_PRESS_KEY_UP); in addedKeyEventHandler_registersWithCarInputService() local
284 bitSet.set(CarProjectionManager.KEY_EVENT_VOICE_SEARCH_SHORT_PRESS_KEY_UP); in addedKeyEventHandler_registersWithCarInputService()
285 mService.registerKeyEventHandler(eventHandler1, bitSet.toByteArray()); in addedKeyEventHandler_registersWithCarInputService()
364 BitSet bitSet = new BitSet(); in bitSetOf() local
366 bitSet.set(event); in bitSetOf()
368 return bitSet; in bitSetOf()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmTimeClickHandler.kt107 val bitSet: Int = mPreviousDaysOfWeekMap!!.getInt(alarmId) in setAlarmRepeatEnabled() constant
108 alarm.daysOfWeek = Weekdays.fromBits(bitSet) in setAlarmRepeatEnabled()
114 val bitSet = alarm.daysOfWeek.bits in setAlarmRepeatEnabled() constant
115 mPreviousDaysOfWeekMap!!.putInt(alarmId, bitSet) in setAlarmRepeatEnabled()
DAlarmTimeClickHandler.java113 final int bitSet = mPreviousDaysOfWeekMap.getInt(alarmId); in setAlarmRepeatEnabled() local
114 alarm.daysOfWeek = Weekdays.fromBits(bitSet); in setAlarmRepeatEnabled()
120 final int bitSet = alarm.daysOfWeek.getBits(); in setAlarmRepeatEnabled() local
121 mPreviousDaysOfWeekMap.putInt(alarmId, bitSet); in setAlarmRepeatEnabled()
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
DP2pUtils.java100 BitSet bitSet = new BitSet(32); in isOnInterface() local
101 bitSet.set(32 - ifaceAddress.getNetworkPrefixLength(), 32); in isOnInterface()
102 long netMask = bitSet.toLongArray()[0]; in isOnInterface()