Home
last modified time | relevance | path

Searched refs:numberOfTrailingZeros (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/av/media/libstagefright/webm/
DEbmlUtil.cpp54 int numberOfTrailingZeros(uint64_t u) { in numberOfTrailingZeros() function
79 int shiftWidth = (7 + numberOfTrailingZeros(powerOf2)) / 7 * 7; in encodeUnsigned()
96 int unsignedLength = numberOfTrailingZeros(powerOf2) / 8 + 1; in sizeOf()
/frameworks/base/services/people/java/com/android/server/people/data/
DEventIndex.java159 int numberOfTrailingZeros = Long.numberOfTrailingZeros(mEventBitmaps[slotType]); in getMostRecentActiveTimeSlot() local
160 long offset = getDuration(lastTimeSlot) * numberOfTrailingZeros; in getMostRecentActiveTimeSlot()
341 int trailingZeros = Long.numberOfTrailingZeros(eventBitmap); in getActiveTimeSlotsForType()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityServiceInfo.java1488 final int feedbackTypeBit = (1 << Integer.numberOfTrailingZeros(feedbackTypes)); in appendFeedbackTypes()
1517 final int eventTypeBit = (1 << Integer.numberOfTrailingZeros(eventTypes)); in appendEventTypes()
1531 final int flagBit = (1 << Integer.numberOfTrailingZeros(flags)); in appendFlags()
1545 final int capabilityBit = (1 << Integer.numberOfTrailingZeros(capabilities)); in appendCapabilities()
1566 final int feedbackTypeFlag = 1 << Integer.numberOfTrailingZeros(feedbackType); in feedbackTypeToString()
1709 final int capabilityBit = 1 << Integer.numberOfTrailingZeros(capabilities); in getCapabilityInfos()
/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java221 final int currentMode = (1 << Integer.numberOfTrailingZeros(current)); in enforceValidMask()
338 final int colorMode = 1 << Integer.numberOfTrailingZeros(colorModes); in colorModesToString()
354 final int duplexMode = 1 << Integer.numberOfTrailingZeros(duplexModes); in duplexModesToString()
/frameworks/base/core/java/com/android/internal/os/
DPowerStats.java59 Integer.numberOfTrailingZeros(PARCEL_FORMAT_VERSION_MASK);
62 Integer.numberOfTrailingZeros(STATS_ARRAY_LENGTH_MASK);
67 Integer.numberOfTrailingZeros(STATE_STATS_ARRAY_LENGTH_MASK);
72 Integer.numberOfTrailingZeros(UID_STATS_ARRAY_LENGTH_MASK);
DZygote.java103 Integer.numberOfTrailingZeros(API_ENFORCEMENT_POLICY_MASK);
/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java146 final int flag = 1 << Integer.numberOfTrailingZeros(flags); in flagsToString()
/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateTracker.java108 return Integer.numberOfTrailingZeros(stateType); in stateTypeToIndex()
DAppFGSTracker.java513 : Integer.numberOfTrailingZeros(serviceType) + 1; in foregroundServiceTypeToIndex()
DAppBatteryTracker.java1837 final int index = Integer.numberOfTrailingZeros(type); in sumPercentageOfTypes()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DTouchState.java557 final int pointerId = Integer.numberOfTrailingZeros(pointerIdBits); in findPrimaryPointerId()
/frameworks/base/core/java/android/content/pm/
DPermissionInfo.java622 final int flag = 1 << Integer.numberOfTrailingZeros(flags); in flagsToString()
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledLambdaImpl.java680 return (value << Integer.numberOfTrailingZeros(mask)) & mask; in mask()
687 return (bits & mask) / (1 << Integer.numberOfTrailingZeros(mask)); in unmask()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java237 int index = Integer.numberOfTrailingZeros(undumpedCombinations); in writePortStatus()
/frameworks/base/location/java/com/android/internal/location/altitude/
DGeoidMap.java188 int tileS2Level = params.mapS2Level - Integer.numberOfTrailingZeros(byteBuffer.limit()) / 2; in mergeByteBufferValues()
DS2CellIdUtils.java183 return MAX_LEVEL - (Long.numberOfTrailingZeros(s2CellId) >> 1); in getLevel()
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java362 int t = Long.numberOfTrailingZeros(transports); in transportsToLinkLayer()
/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java775 final int index = Integer.numberOfTrailingZeros(combo); in roleCombinationsToString()
/frameworks/base/telephony/java/android/telephony/ims/
DImsService.java186 Long.numberOfTrailingZeros(CAPABILITY_SUPPORTS_SIMULTANEOUS_CALLING);
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java1783 final int eventTypeFlag = 1 << Integer.numberOfTrailingZeros(eventType); in eventTypeToString()
DAccessibilityNodeInfo.java4838 final long id = 1L << Long.numberOfTrailingZeros(remainingIds); in addStandardActions()
5030 final int granularity = 1 << Integer.numberOfTrailingZeros(granularities); in toString()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1763 final int colorBitOffset = Integer.numberOfTrailingZeros(remainingColorModes); in updateOptionsUi()
1783 final int colorBitOffset = Integer.numberOfTrailingZeros(remainingColorModes); in updateOptionsUi()
1828 final int duplexBitOffset = Integer.numberOfTrailingZeros(remainingDuplexModes); in updateOptionsUi()
1849 final int duplexBitOffset = Integer.numberOfTrailingZeros(remainingDuplexModes); in updateOptionsUi()
/frameworks/base/core/java/android/app/
DAppOpsManager.java887 final int flag = 1 << Integer.numberOfTrailingZeros(flags); in flagsToString()
6917 final int flag = 1 << Integer.numberOfTrailingZeros(flags); in increaseCount()
7390 final int flag = 1 << Integer.numberOfTrailingZeros(flags); in sumForFlagsInStates()
10762 final int flag = 1 << Integer.numberOfTrailingZeros(flags); in getLastEvent()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerService.java828 Integer.numberOfTrailingZeros(Integer.highestOneBit(modesBitfield));
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerServiceImpl.java3707 final int flag = 1 << Integer.numberOfTrailingZeros(allowlistFlagsCopy);

12