Home
last modified time | relevance | path

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

/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/core/java/android/accessibilityservice/
DAccessibilityServiceInfo.java952 final int feedbackTypeBit = (1 << Integer.numberOfTrailingZeros(feedbackTypes)); in appendFeedbackTypes()
981 final int eventTypeBit = (1 << Integer.numberOfTrailingZeros(eventTypes)); in appendEventTypes()
995 final int flagBit = (1 << Integer.numberOfTrailingZeros(flags)); in appendFlags()
1009 final int capabilityBit = (1 << Integer.numberOfTrailingZeros(capabilities)); in appendCapabilities()
1030 final int feedbackTypeFlag = 1 << Integer.numberOfTrailingZeros(feedbackType); in feedbackTypeToString()
1163 final int capabilityBit = 1 << Integer.numberOfTrailingZeros(capabilities); in getCapabilityInfos()
/frameworks/base/core/java/android/net/shared/
DInet4AddressUtils.java122 int trailingZeros = Integer.numberOfTrailingZeros(i); in netmaskToPrefixLength()
/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java219 final int currentMode = (1 << Integer.numberOfTrailingZeros(current)); in enforceValidMask()
336 final int colorMode = 1 << Integer.numberOfTrailingZeros(colorModes); in colorModesToString()
352 final int duplexMode = 1 << Integer.numberOfTrailingZeros(duplexModes); in duplexModesToString()
/frameworks/base/core/java/com/android/internal/util/
DBitUtils.java145 final int flag = 1 << Integer.numberOfTrailingZeros(flags); in flagsToString()
/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java281 final int index = Integer.numberOfTrailingZeros(combo); in roleCombinationsToString()
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledLambdaImpl.java594 return (value << Integer.numberOfTrailingZeros(mask)) & mask; in mask()
601 return (bits & mask) / (1 << Integer.numberOfTrailingZeros(mask)); in unmask()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java228 int index = Integer.numberOfTrailingZeros(undumpedCombinations); in writePortStatus()
/frameworks/base/core/java/android/app/
DAppOpsManager.java559 final int flag = 1 << Integer.numberOfTrailingZeros(flags); in flagsToString()
3832 final int flag = 1 << Integer.numberOfTrailingZeros(flags); in increaseCount()
4184 final int flag = 1 << Integer.numberOfTrailingZeros(flags); in sumForFlagsInStates()
4213 final int flag = 1 << Integer.numberOfTrailingZeros(flags); in findFirstNonNegativeForFlagsInStates()
4246 final int flag = 1 << Integer.numberOfTrailingZeros(flags); in findFirstNonNullForFlagsInStates()
5597 final int flag = 1 << Integer.numberOfTrailingZeros(flags); in maxForFlagsInStates()
/frameworks/base/core/java/com/android/internal/os/
DZygote.java93 Integer.numberOfTrailingZeros(API_ENFORCEMENT_POLICY_MASK);
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityEventBuilder.java363 int t = Long.numberOfTrailingZeros(transports); in transportsToLinkLayer()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java1376 final int eventTypeFlag = 1 << Integer.numberOfTrailingZeros(eventType); in eventTypeToString()
DAccessibilityNodeInfo.java3787 final long id = 1L << Long.numberOfTrailingZeros(remainingIds); in addStandardActions()
3957 final int granularity = 1 << Integer.numberOfTrailingZeros(granularities); in toString()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1761 final int colorBitOffset = Integer.numberOfTrailingZeros(remainingColorModes); in updateOptionsUi()
1781 final int colorBitOffset = Integer.numberOfTrailingZeros(remainingColorModes); in updateOptionsUi()
1826 final int duplexBitOffset = Integer.numberOfTrailingZeros(remainingDuplexModes); in updateOptionsUi()
1847 final int duplexBitOffset = Integer.numberOfTrailingZeros(remainingDuplexModes); in updateOptionsUi()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java1696 final int pointerId = Integer.numberOfTrailingZeros(pointerIdBits); in findPrimaryPointerId()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java2354 final int flag = 1 << Integer.numberOfTrailingZeros(whitelistFlagsCopy); in setWhitelistedRestrictedPermissionsForUser()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java5041 final int flag = 1 << Integer.numberOfTrailingZeros(flags); in permissionFlagsToString()
/frameworks/base/config/
Dboot-image-profile.txt26511 HSPLjava/lang/Integer;->numberOfTrailingZeros(I)I
26550 HSPLjava/lang/Long;->numberOfTrailingZeros(J)I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt41401 method public static int numberOfTrailingZeros(int);
41460 method public static int numberOfTrailingZeros(long);
/frameworks/base/api/
Dcurrent.txt60069 method public static int numberOfTrailingZeros(int);
60145 method public static int numberOfTrailingZeros(long);