Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 21 of 21) sorted by relevance

/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DBitwiseInputStream.java74 public int read(int bits) throws AccessException { in read() argument
76 int offset = 16 - (mPos & 0x07) - bits; // &7==%8 in read()
77 if ((bits < 0) || (bits > 8) || ((mPos + bits) > mEnd)) { in read()
79 "illegal read (pos " + mPos + ", end " + mEnd + ", bits " + bits + ")"); in read()
84 data &= (-1 >>> (32 - bits)); in read()
85 mPos += bits; in read()
95 public byte[] readByteArray(int bits) throws AccessException { in readByteArray() argument
96 int bytes = (bits >>> 3) + ((bits & 0x07) > 0 ? 1 : 0); // &7==%8 in readByteArray()
99 int increment = Math.min(8, bits - (i << 3)); in readByteArray()
110 public void skip(int bits) throws AccessException { in skip() argument
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/data/
DWeekdays.kt32 class Weekdays private constructor(bits: Int) {
80 fun fromBits(bits: Int): Weekdays { in fromBits()
81 return Weekdays(bits) in fromBits()
99 var bits = 0 in fromCalendarDays() variable
103 bits = bits or bit in fromCalendarDays()
106 return Weekdays(bits) in fromCalendarDays()
111 val bits: Int = ALL_DAYS and bits constant
129 return Weekdays(if (on) bits or bit else bits and bit.inv()) in setBit()
148 return bits and bit > 0 in isBitOn()
155 get() = bits != 0
[all …]
DWeekdays.java94 private Weekdays(int bits) { in Weekdays() argument
96 mBits = ALL_DAYS & bits; in Weekdays()
103 public static Weekdays fromBits(int bits) { in fromBits() argument
104 return new Weekdays(bits); in fromBits()
121 int bits = 0; in fromCalendarDays() local
125 bits = bits | bit; in fromCalendarDays()
128 return new Weekdays(bits); in fromCalendarDays()
/packages/apps/DeskClock/src/com/android/deskclock/
DNotificationUtils.java121 int bits = properties[2]; in createChannel() local
122 channel.enableLights((bits & ENABLE_LIGHTS) != 0); in createChannel()
123 channel.enableVibration((bits & ENABLE_VIBRATION) != 0); in createChannel()
124 if ((bits & PLAY_SOUND) == 0) { in createChannel()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarm.kt153 p.writeInt(daysOfWeek.bits) in writeToParcel()
330 values.put(AlarmsColumns.DAYS_OF_WEEK, alarm.daysOfWeek.bits) in createContentValues()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmTimeClickHandler.kt114 val bitSet = alarm.daysOfWeek.bits in setAlarmRepeatEnabled()
/packages/services/Telecomm/proto/
Dtelecom.proto276 // A bitmask with bits corresponding to call technologies that were used
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md201 …ble`, but `int64_t` and `uint64_t` may lose precision (since mantissa of `double` is only 52-bits).
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...