/frameworks/av/media/module/codecs/m4v_h263/enc/src/ |
D | combined_encode.cpp | 285 Int byteCount = 0, byteCount1 = 0, bitCount = 0; in EncodeSliceCombinedMode() local 367 bitCount = BitstreamGetPos(bs1); in EncodeSliceCombinedMode() 368 byteCount1 = byteCount = bitCount >> 3; /* save the position before GOB header */ in EncodeSliceCombinedMode() 369 bitCount = bitCount & 0x7; in EncodeSliceCombinedMode() 437 bitCount = BitstreamGetPos(bs1); in EncodeSliceCombinedMode() 438 byteCount = bitCount >> 3; /* save the state before encoding */ in EncodeSliceCombinedMode() 439 bitCount = bitCount & 0x7; in EncodeSliceCombinedMode() 469 BitstreamRepos(bs1, byteCount, bitCount); /* rewind one MB */ in EncodeSliceCombinedMode() 594 bitCount = BitstreamGetPos(bs1); in EncodeSliceCombinedMode() 595 byteCount = bitCount >> 3; /* save the position before GOB header */ in EncodeSliceCombinedMode() [all …]
|
D | bitstream_io.h | 44 PV_STATUS BitstreamRepos(BitstreamEncVideo *bitstream, Int byteCount, Int bitCount);
|
D | bitstream_io.cpp | 581 PV_STATUS BitstreamRepos(BitstreamEncVideo *bitstream, Int byteCount, Int bitCount) in BitstreamRepos() argument 591 if (bitCount) in BitstreamRepos() 593 bitstream->bitLeft = (WORD_SIZE << 3) - bitCount; /* bitCount should be 0-31 */ in BitstreamRepos()
|
/frameworks/base/core/tests/coretests/src/android/net/sntp/ |
D | Timestamp64Test.java | 284 for (int bitCount = 1; bitCount < Integer.SIZE; bitCount++) { in testRandomizeLowestBits() 285 int upperBitMask = 0xFFFFFFFF << bitCount; in testRandomizeLowestBits() 294 Timestamp64.randomizeLowestBits(random, input, bitCount); in testRandomizeLowestBits() 306 assertTrue(bitCount + ":" + values.size(), values.size() > 1); in testRandomizeLowestBits()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | IntegerPerfTest.java | 99 int count = Integer.bitCount((int) (l & 0xffffffffL)); in pop2() 100 count += Integer.bitCount((int) (l >>> 32)); in pop2() 110 t += Long.bitCount((long) ++i); in timeLongBitCount_Long()
|
/frameworks/base/core/java/android/service/voice/ |
D | HotwordDetectedResult.java | 352 totalBits += bitCount(CONFIDENCE_LEVEL_VERY_HIGH); in getUsageSize() 355 totalBits += bitCount(LIMIT_HOTWORD_OFFSET_MAX_VALUE); in getUsageSize() 358 totalBits += bitCount(AudioRecord.getMaxSharedAudioHistoryMillis()); in getUsageSize() 361 totalBits += bitCount(LIMIT_AUDIO_CHANNEL_MAX_VALUE); in getUsageSize() 368 totalBits += bitCount(HotwordDetectedResult.getMaxScore()); in getUsageSize() 371 totalBits += bitCount(HotwordDetectedResult.getMaxScore()); in getUsageSize() 374 totalBits += bitCount(HotwordDetectedResult.getMaxHotwordPhraseId()); in getUsageSize() 381 totalBits += bitCount(HotwordDetectedResult.getMaxBackgroundAudioPower()); in getUsageSize() 387 private static int bitCount(long value) { in bitCount() method in HotwordDetectedResult
|
/frameworks/base/media/java/android/media/ |
D | AudioFormat.java | 694 return Integer.bitCount(mask); in channelCountFromInChannelMask() 704 return Integer.bitCount(mask); in channelCountFromOutChannelMask() 1028 final int channelIndexCount = Integer.bitCount(getChannelIndexMask()); in AudioFormat() 1300 Integer.bitCount(channelMask) != Integer.bitCount(mChannelIndexMask)) { in setChannelMask() 1353 Integer.bitCount(channelIndexMask) != Integer.bitCount(mChannelMask)) { in setChannelIndexMask()
|
D | AudioDeviceInfo.java | 516 countSet.add(Integer.bitCount(index_mask)); in getChannelCounts()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ChildHelper.java | 495 return Long.bitCount(mData); in countOnesBefore() 497 return Long.bitCount(mData & ((1L << index) - 1)); in countOnesBefore() 500 return Long.bitCount(mData & ((1L << index) - 1)); in countOnesBefore() 502 return mNext.countOnesBefore(index - BITS_PER_WORD) + Long.bitCount(mData); in countOnesBefore()
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityNodeInfoTest.java | 67 action -> Long.bitCount(action.mSerializationFlag) != 1); in testStandardActions_serializationFlagIsValid() 80 action -> Integer.bitCount(action.getId()) == 1 in testStandardActions_serializationFlagIsValid()
|
/frameworks/base/services/core/java/com/android/server/location/eventlog/ |
D | LocalEventLog.java | 19 import static java.lang.Integer.bitCount; 55 static final int MAX_TIME_DELTA = (1 << bitCount(TIME_DELTA_MASK)) - 1;
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | TouchState.java | 370 return Integer.bitCount(mInjectedPointersDown); in getInjectedPointerDownCount() 463 return Integer.bitCount(mReceivedPointersDown); in getReceivedPointerDownCount()
|
D | EventDispatcher.java | 193 builder.append(Integer.bitCount(mState.getInjectedPointersDown())); in toString()
|
/frameworks/base/telephony/java/android/telephony/ |
D | RadioAccessFamily.java | 410 return Long.bitCount(networkTypeBitmaskL) - Long.bitCount(networkTypeBitmaskR); in compare()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | BitUtils.java | 68 int size = Long.bitCount(val); in unpackBits()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | FlexibilityController.java | 348 mFlexibilityTracker = new FlexibilityTracker(Integer.bitCount(mSupportedFlexConstraints)); in FlexibilityController() 387 Integer.bitCount(getRelevantAppliedConstraintsLocked(js))); in maybeStartTrackingJobLocked() 525 final int numSatisfied = Integer.bitCount(satisfiedConstraints); in hasEnoughSatisfiedConstraintsLocked() 554 if (Integer.bitCount(constraints) > numSatisfied && seenRecently) { in hasEnoughSatisfiedConstraintsLocked() 871 Integer.bitCount(getRelevantAppliedConstraintsLocked(js)); in updateFlexibleConstraints() 999 + " numSatisfied: " + Integer.bitCount( in scheduleDropNumConstraintsAlarm() 1073 final int numAppliedSystemWideConstraints = Integer.bitCount( in handleMessage() 1460 int[] dropPercentInt = new int[Integer.bitCount(FLEXIBLE_CONSTRAINTS)]; in parsePercentToDropString()
|
/frameworks/base/core/java/android/util/ |
D | StateSet.java | 98 final int numBits = Integer.bitCount(i);
|
/frameworks/base/core/java/com/android/internal/os/ |
D | PowerStats.java | 64 (1 << Integer.bitCount(STATS_ARRAY_LENGTH_MASK)) - 1; 69 (1 << Integer.bitCount(STATE_STATS_ARRAY_LENGTH_MASK)) - 1; 74 (1 << Integer.bitCount(UID_STATS_ARRAY_LENGTH_MASK)) - 1;
|
/frameworks/base/core/java/android/net/metrics/ |
D | ApfProgramEvent.java | 238 List<String> names = new ArrayList<>(Integer.bitCount(bitfield)); in namesOf()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | ProxyController.java | 669 numRafSupported[len] = Integer.bitCount(mPhones[len].getRadioAccessFamily()); in getMaxRafSupported() 687 numRafSupported[len] = Integer.bitCount(mPhones[len].getRadioAccessFamily()); in getMinRafSupported()
|
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 4468 final int count = Long.bitCount(bits); in copyFrom() 4533 final int index = Long.bitCount(bits & ~(0xFFFFFFFFFFFFFFFFL >>> axis)); in getAxisValue() 4589 final int index = Long.bitCount(bits & ~(0xFFFFFFFFFFFFFFFFL >>> axis)); in setAxisValue() 4596 final int count = Long.bitCount(bits); in setAxisValue()
|
D | InputEventConsistencyVerifier.java | 381 Integer.bitCount(mTouchEventStreamPointers); in onTouchEvent()
|
/frameworks/base/core/java/android/print/ |
D | PrintAttributes.java | 1426 if ((colorMode & VALID_COLOR_MODES) == 0 || Integer.bitCount(colorMode) != 1) { in enforceValidColorMode() 1432 if ((duplexMode & VALID_DUPLEX_MODES) == 0 || Integer.bitCount(duplexMode) != 1) { in enforceValidDuplexMode()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | IpConnectivityEventBuilder.java | 358 switch (Long.bitCount(transports)) { in transportsToLinkLayer()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecMessageValidator.java | 527 return (Integer.bitCount(value) <= 1); in isValidRecordingSequence()
|