Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarProjectionServiceTest.java276 BitSet bitSet = bitSetOf(CarProjectionManager.KEY_EVENT_VOICE_SEARCH_SHORT_PRESS_KEY_UP); in addedKeyEventHandler_registersWithCarInputService() local
278 bitSet.set(CarProjectionManager.KEY_EVENT_VOICE_SEARCH_SHORT_PRESS_KEY_UP); in addedKeyEventHandler_registersWithCarInputService()
279 mService.registerKeyEventHandler(eventHandler1, bitSet.toByteArray()); in addedKeyEventHandler_registersWithCarInputService()
358 BitSet bitSet = new BitSet(); in bitSetOf() local
360 bitSet.set(event); in bitSetOf()
362 return bitSet; in bitSetOf()
/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()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmTimeClickHandler.kt106 val bitSet: Int = mPreviousDaysOfWeekMap!!.getInt(alarmId) in setAlarmRepeatEnabled() constant
107 alarm.daysOfWeek = Weekdays.fromBits(bitSet) in setAlarmRepeatEnabled()
113 val bitSet = alarm.daysOfWeek.bits in setAlarmRepeatEnabled() constant
114 mPreviousDaysOfWeekMap!!.putInt(alarmId, bitSet) in setAlarmRepeatEnabled()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java553 private static boolean validateBitSet(BitSet bitSet, int validValuesLength) { in validateBitSet() argument
554 if (bitSet == null) return false; in validateBitSet()
555 BitSet clonedBitset = (BitSet) bitSet.clone(); in validateBitSet()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java3465 BitSet bitSet = new BitSet(); in intToBitSet() local
3467 if ((mask & 1) != 0) bitSet.set(bitIndex); in intToBitSet()
3469 return bitSet; in intToBitSet()