/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/ |
D | UtilTest.java | 18 import static com.google.android.exoplayer2.util.Util.binarySearchCeil; 19 import static com.google.android.exoplayer2.util.Util.binarySearchFloor; 20 import static com.google.android.exoplayer2.util.Util.escapeFileName; 21 import static com.google.android.exoplayer2.util.Util.getCodecsOfType; 22 import static com.google.android.exoplayer2.util.Util.parseXsDateTime; 23 import static com.google.android.exoplayer2.util.Util.parseXsDuration; 24 import static com.google.android.exoplayer2.util.Util.unescapeFileName; 46 long res = Util.addWithOverflowDefault(5, 10, /* overflowResult= */ 0); in addWithOverflowDefault_withoutOverFlow_returnsSum() 49 res = Util.addWithOverflowDefault(Long.MAX_VALUE - 1, 1, /* overflowResult= */ 12345); in addWithOverflowDefault_withoutOverFlow_returnsSum() 52 res = Util.addWithOverflowDefault(Long.MIN_VALUE + 1, -1, /* overflowResult= */ 12345); in addWithOverflowDefault_withoutOverFlow_returnsSum() [all …]
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | UtilTest.java | 24 assertEquals("a", Util.characterLiteralWithoutSingleQuotes('a')); in characterLiteral() 25 assertEquals("b", Util.characterLiteralWithoutSingleQuotes('b')); in characterLiteral() 26 assertEquals("c", Util.characterLiteralWithoutSingleQuotes('c')); in characterLiteral() 27 assertEquals("%", Util.characterLiteralWithoutSingleQuotes('%')); in characterLiteral() 29 assertEquals("\\b", Util.characterLiteralWithoutSingleQuotes('\b')); in characterLiteral() 30 assertEquals("\\t", Util.characterLiteralWithoutSingleQuotes('\t')); in characterLiteral() 31 assertEquals("\\n", Util.characterLiteralWithoutSingleQuotes('\n')); in characterLiteral() 32 assertEquals("\\f", Util.characterLiteralWithoutSingleQuotes('\f')); in characterLiteral() 33 assertEquals("\\r", Util.characterLiteralWithoutSingleQuotes('\r')); in characterLiteral() 34 assertEquals("\"", Util.characterLiteralWithoutSingleQuotes('"')); in characterLiteral() [all …]
|
/external/slf4j/slf4j-api/src/main/java/org/slf4j/ |
D | LoggerFactory.java | 39 import org.slf4j.helpers.Util; 149 Util.report("Failed to load class \"org.slf4j.impl.StaticLoggerBinder\"."); in bind() 150 Util.report("Defaulting to no-operation (NOP) logger implementation"); in bind() 151 Util.report("See " + NO_STATICLOGGERBINDER_URL + " for further details."); in bind() 160 Util.report("slf4j-api 1.6.x (or later) is incompatible with this binding."); in bind() 161 Util.report("Your binding is version 1.5.5 or earlier."); in bind() 162 Util.report("Upgrade your binding to version 1.6.x."); in bind() 173 Util.report("Failed to instantiate SLF4J LoggerFactory", t); in failedBinding() 183 Util.report("The following set of substitute loggers may have been accessed"); in fixSubstitutedLoggers() 184 Util.report("during the initialization phase. Logging calls during this"); in fixSubstitutedLoggers() [all …]
|
/external/slf4j/slf4j-ext/src/test/java/org/slf4j/profiler/ |
D | UtilTest.java | 44 assertEquals(DurationUnit.NANOSECOND, Util.selectDurationUnitForDisplay(10)); in testSelectDurationUnitForDisplay() 45 …assertEquals(DurationUnit.NANOSECOND, Util.selectDurationUnitForDisplay(9 * Util.NANOS_IN_ONE_MICR… in testSelectDurationUnitForDisplay() 46 …assertEquals(DurationUnit.MICROSECOND, Util.selectDurationUnitForDisplay(11 * Util.NANOS_IN_ONE_MI… in testSelectDurationUnitForDisplay() 47 …assertEquals(DurationUnit.MICROSECOND, Util.selectDurationUnitForDisplay(9 * Util.NANOS_IN_ONE_MIL… in testSelectDurationUnitForDisplay() 48 …assertEquals(DurationUnit.MILLISSECOND, Util.selectDurationUnitForDisplay(11 * Util.NANOS_IN_ONE_M… in testSelectDurationUnitForDisplay() 49 …assertEquals(DurationUnit.SECOND, Util.selectDurationUnitForDisplay(11 * Util.NANOS_IN_ONE_SECOND)… in testSelectDurationUnitForDisplay()
|
/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/ |
D | DashStreamingTest.java | 30 import com.google.android.exoplayer2.util.Util; 170 if (Util.SDK_INT < 23) { in h265FixedV23() 185 if (Util.SDK_INT < 24) { in h265AdaptiveV24() 201 if (Util.SDK_INT < 24) { in h265AdaptiveWithSeekingV24() 218 if (Util.SDK_INT < 24) { in h265AdaptiveWithRendererDisablingV24() 237 if (Util.SDK_INT < 23) { in vp9Fixed360pV23() 253 if (Util.SDK_INT < 24) { in vp9AdaptiveV24() 269 if (Util.SDK_INT < 24) { in vp9AdaptiveWithSeekingV24() 286 if (Util.SDK_INT < 24) { in vp9AdaptiveWithRendererDisablingV24() 306 if (Util.SDK_INT < 23) { in test23FpsH264FixedV23() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/ |
D | MediaCodecUtil.java | 32 import com.google.android.exoplayer2.util.Util; 168 Util.SDK_INT >= 21 in getDecoderInfos() 172 if (secure && decoderInfos.isEmpty() && 21 <= Util.SDK_INT && Util.SDK_INT <= 23) { in getDecoderInfos() 225 result = Math.max(result, Util.SDK_INT >= 21 ? (720 * 480) : (480 * 360)); in maxH264DecodableFrameSize() 355 if (Util.SDK_INT <= 23 && !decoderInfos.isEmpty()) { in getDecoderInfosInternal() 434 if (Util.SDK_INT < 21 in isCodecUsableDecoder() 446 if (Util.SDK_INT < 18 in isCodecUsableDecoder() 448 && ("a70".equals(Util.DEVICE) in isCodecUsableDecoder() 449 || ("Xiaomi".equals(Util.MANUFACTURER) && Util.DEVICE.startsWith("HM")))) { in isCodecUsableDecoder() 455 if (Util.SDK_INT == 16 in isCodecUsableDecoder() [all …]
|
D | MediaCodecRenderer.java | 52 import com.google.android.exoplayer2.util.Util; 178 Util.SDK_INT >= 21 ? getDiagnosticInfoV21(cause) : null, in DecoderInitializationException() 1032 Util.SDK_INT < 23 in initCodec() 1045 && Util.SDK_INT >= 21) { in initCodec() 1048 && Util.SDK_INT >= 23) { in initCodec() 1051 && Util.SDK_INT >= 23) { in initCodec() 1055 && Util.SDK_INT >= 23) { in initCodec() 1061 && Util.SDK_INT >= 23) { in initCodec() 1120 if (Util.SDK_INT < 21) { in getCodecBuffers() 1127 if (Util.SDK_INT < 21) { in resetCodecBuffers() [all …]
|
D | MediaCodecInfo.java | 31 import com.google.android.exoplayer2.util.Util; 205 if (Util.SDK_INT < 23 || capabilities == null) { in getMaxSupportedInstances() 227 if (Util.SDK_INT >= 21) { in isFormatSupported() 238 return Util.SDK_INT < 21 in isFormatSupported() 288 if (Util.SDK_INT >= 29 && MimeTypes.VIDEO_VP9.equals(mimeType)) { in isHdr10PlusOutOfBandMetadataSupported() 336 || Util.areEqual(oldFormat.colorInfo, newFormat.colorInfo)); in isSeamlessAdaptationSupported() 473 + Util.DEVICE_DEBUG_INFO + "]"); in logNoSupport() 478 + Util.DEVICE_DEBUG_INFO + "]"); in logAssumedSupport() 482 if (maxChannelCount > 1 || (Util.SDK_INT >= 26 && maxChannelCount > 0)) { in adjustMaxInputChannelCount() 516 return Util.SDK_INT >= 19 && isAdaptiveV19(capabilities); in isAdaptive() [all …]
|
/external/ukey2/src/main/cpp/src/securegcm/ |
D | d2d_crypto_ops.cc | 30 using securemessage::Util; 70 Util::LogError("Unable to encrypt payload."); in SigncryptPayload() 83 Util::LogError("VerifyDecryptPayload: error parsing SecureMessage."); in VerifyDecryptPayload() 92 Util::LogError("VerifyDecryptPayload: error verifying SecureMessage."); in VerifyDecryptPayload() 97 Util::LogError("VerifyDecryptPayload: no public metadata in header."); in VerifyDecryptPayload() 103 Util::LogError("VerifyDecryptPayload: Failed to parse GcmMetadata."); in VerifyDecryptPayload() 111 Util::LogError(stream.str()); in VerifyDecryptPayload() 124 Util::LogError("DeriveNewKeyForPurpose: Invalid master_key length."); in DeriveNewKeyForPurpose() 129 Util::LogError("DeriveNewKeyForPurpose: purpose is empty."); in DeriveNewKeyForPurpose() 138 Util::LogError("DeriveNewKeyForPurpose: hkdf failed."); in DeriveNewKeyForPurpose() [all …]
|
/external/xz-java/src/org/tukaani/xz/index/ |
D | IndexBase.java | 12 import org.tukaani.xz.common.Util; 28 return 1 + Util.getVLISize(recordCount) + indexListSize + 4; in getUnpaddedIndexSize() 36 return Util.STREAM_HEADER_SIZE + blocksSum + getIndexSize() in getStreamSize() 37 + Util.STREAM_HEADER_SIZE; in getStreamSize() 47 indexListSize += Util.getVLISize(unpaddedSize) in add() 48 + Util.getVLISize(uncompressedSize); in add() 52 || getIndexSize() > Util.BACKWARD_SIZE_MAX in add()
|
/external/mesa3d/scons/ |
D | crossmingw.py | 42 import SCons.Util 46 prefixes32 = SCons.Util.Split(""" 49 prefixes64 = SCons.Util.Split(""" 60 if env.WhereIs(prefix + 'gcc') or SCons.Util.WhereIs(prefix + 'gcc'): 66 cmd = SCons.Util.CLVar(['$SHLINK', '$SHLINKFLAGS']) 124 …dir = os.path.dirname(env.WhereIs(mingw_prefix + 'gcc') or SCons.Util.WhereIs(mingw_prefix + 'gcc'… 130 if SCons.Util.is_String(path): 142 env['SHCCFLAGS'] = SCons.Util.CLVar('$CCFLAGS') 144 env['SHCXXFLAGS'] = SCons.Util.CLVar('$CXXFLAGS') 145 env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -shared') [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/ |
D | ClearKeyUtil.java | 19 import com.google.android.exoplayer2.util.Util; 40 if (Util.SDK_INT >= 27) { in adjustRequestData() 47 String requestString = Util.fromUtf8Bytes(request); in adjustRequestData() 48 return Util.getUtf8Bytes(base64ToBase64Url(requestString)); in adjustRequestData() 58 if (Util.SDK_INT >= 27) { in adjustResponseData() 65 JSONObject responseJson = new JSONObject(Util.fromUtf8Bytes(response)); in adjustResponseData() 82 return Util.getUtf8Bytes(adjustedResponseBuilder.toString()); in adjustResponseData() 84 Log.e(TAG, "Failed to adjust response data: " + Util.fromUtf8Bytes(response), e); in adjustResponseData()
|
D | FrameworkMediaDrm.java | 37 import com.google.android.exoplayer2.util.Util; 127 if (Util.SDK_INT < 23) { in setOnKeyStatusChangeListener() 154 if (Util.SDK_INT < 23) { in setOnExpirationUpdateListener() 259 if (Util.SDK_INT < 28) { in getMetrics() 289 boolean forceAllowInsecureDecoderComponents = Util.SDK_INT < 21 in createMediaCrypto() 306 if (Util.SDK_INT >= 28 && schemeDatas.size() > 1) { 313 byte[] schemeDataData = Util.castNonNull(schemeData.data); 314 if (Util.areEqual(schemeData.mimeType, firstSchemeData.mimeType) 315 && Util.areEqual(schemeData.licenseServerUrl, firstSchemeData.licenseServerUrl) 328 byte[] schemeDataData = Util.castNonNull(schemeData.data); [all …]
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/drm/ |
D | ClearKeyUtilTest.java | 21 import com.google.android.exoplayer2.util.Util; 31 Util.getUtf8Bytes( 44 Util.getUtf8Bytes( 61 Util.getUtf8Bytes( 77 Util.getUtf8Bytes( in adjustSingleKeyResponseDataV26() 95 Util.getUtf8Bytes( in adjustMultiKeyResponseDataV26() 120 Util.getUtf8Bytes( in adjustRequestDataV26()
|
/external/libese/apps/boot/card/src/com/android/verifiedboot/storage/ |
D | JcopBackupImpl.java | 23 import javacard.framework.Util; 74 if (Util.getShort(in, (short)1) != (short)2) { in restore() 77 if (Util.getShort(in, (short)3) != MAGIC) { in restore() 91 length = Util.getShort(in, (short)1); in restore() 152 Util.setShort(buffer, offset, (short)2); in backup() 154 Util.setShort(buffer, offset, MAGIC); in backup() 160 Util.setShort(buffer, offset, objects[i].backupSize()); in backup() 162 Util.setShort(buffer, offset, (short)0); in backup()
|
D | VersionStorage.java | 20 import javacard.framework.Util; 35 Util.arrayFillNonAtomic(storage, (short) 0, (short) storage.length, (byte) 0x00); in VersionStorage() 51 Util.arrayCopy(storage, (short)(SLOT_BYTES * slot), in getSlot() 78 Util.arrayCopy(in, iOffset, in setSlot() 101 Util.arrayCopy(inBytes, inBytesOffset, storage, (short) 0, inBytesLength); in restore() 120 Util.arrayCopy(storage, (short) 0, outBytes, (short)(outBytesOffset + 1), in backup()
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/ |
D | lcssa.cpp | 143 LoopUtils Util(context.get(), loop); in TEST_F() local 144 Util.MakeLoopClosedSSA(); in TEST_F() 229 LoopUtils Util(context.get(), loop); in TEST_F() local 230 Util.MakeLoopClosedSSA(); in TEST_F() 328 LoopUtils Util(context.get(), loop); in TEST_F() local 329 Util.MakeLoopClosedSSA(); in TEST_F() 421 LoopUtils Util(context.get(), loop); in TEST_F() local 422 Util.MakeLoopClosedSSA(); in TEST_F() 516 LoopUtils Util(context.get(), loop); in TEST_F() local 517 Util.MakeLoopClosedSSA(); in TEST_F() [all …]
|
/external/deqp-deps/SPIRV-Tools/test/opt/loop_optimizations/ |
D | lcssa.cpp | 143 LoopUtils Util(context.get(), loop); in TEST_F() local 144 Util.MakeLoopClosedSSA(); in TEST_F() 229 LoopUtils Util(context.get(), loop); in TEST_F() local 230 Util.MakeLoopClosedSSA(); in TEST_F() 328 LoopUtils Util(context.get(), loop); in TEST_F() local 329 Util.MakeLoopClosedSSA(); in TEST_F() 421 LoopUtils Util(context.get(), loop); in TEST_F() local 422 Util.MakeLoopClosedSSA(); in TEST_F() 516 LoopUtils Util(context.get(), loop); in TEST_F() local 517 Util.MakeLoopClosedSSA(); in TEST_F() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/loop_optimizations/ |
D | lcssa.cpp | 143 LoopUtils Util(context.get(), loop); in TEST_F() local 144 Util.MakeLoopClosedSSA(); in TEST_F() 229 LoopUtils Util(context.get(), loop); in TEST_F() local 230 Util.MakeLoopClosedSSA(); in TEST_F() 328 LoopUtils Util(context.get(), loop); in TEST_F() local 329 Util.MakeLoopClosedSSA(); in TEST_F() 421 LoopUtils Util(context.get(), loop); in TEST_F() local 422 Util.MakeLoopClosedSSA(); in TEST_F() 516 LoopUtils Util(context.get(), loop); in TEST_F() local 517 Util.MakeLoopClosedSSA(); in TEST_F() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | MediaCodecAudioRenderer.java | 43 import com.google.android.exoplayer2.util.Util; 218 int tunnelingSupport = Util.SDK_INT >= 21 ? TUNNELING_SUPPORTED : TUNNELING_NOT_SUPPORTED; in supportsFormat() 354 return Util.areEqual(oldFormat.sampleMimeType, newFormat.sampleMimeType) in canKeepCodecWithFlush() 410 encoding = Util.getPcmEncoding(outputMediaFormat.getInteger(VIVO_BITS_PER_SAMPLE_KEY)); in onOutputMediaFormatChanged() 728 if (Util.SDK_INT < 24 && !(Util.SDK_INT == 23 && Util.isTv(context))) { in getCodecMaxInputSize() 758 if (Util.SDK_INT >= 23) { in getMediaFormat() 764 if (Util.SDK_INT <= 28 && MimeTypes.AUDIO_AC4.equals(format.sampleMimeType)) { in getMediaFormat() 790 return Util.SDK_INT == 23 in deviceDoesntSupportOperatingRate() 791 && ("ZTE B2017G".equals(Util.MODEL) || "AXON 7 mini".equals(Util.MODEL)); in deviceDoesntSupportOperatingRate() 802 return Util.SDK_INT < 24 && "OMX.SEC.aac.dec".equals(codecName) in codecNeedsDiscardChannelsWorkaround() [all …]
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | IdmapEntries.java | 13 return (Util.dtohs(mData[0]) > 0); in hasEntries() 28 return (byte) Util.dtohs(mData[0]); in targetTypeId() 35 return (byte) Util.dtohs(mData[1]); in overlayTypeId() 39 short entryCount = Util.dtohs(mData[2]); in lookup() 40 short offset = Util.dtohs(mData[3]); in lookup()
|
/external/libese/apps/weaver/card/src/com/android/weaver/core/ |
D | CoreSlots.java | 22 import javacard.framework.Util; 109 Util.arrayCopy(keyBuffer, keyOffset, mKey, (short) 0, Consts.SLOT_KEY_BYTES); in write() 110 Util.arrayCopy(valueBuffer, valueOffset, mValue, (short) 0, Consts.SLOT_VALUE_BYTES); in write() 121 Util.arrayFillNonAtomic(mValue, (short) 0, Consts.SLOT_VALUE_BYTES, (byte) 0); in eraseValue() 150 Util.arrayCopyNonAtomic( in read() 156 final byte result = (Util.arrayCompare( in read() 181 Util.arrayCopyNonAtomic(data, (short) 0, outBuffer, outOffset, Consts.SLOT_VALUE_BYTES); in read() 238 Util.setShort(bArray, bOff, highWord); in throttle() 239 Util.setShort(bArray, (short) (bOff + 2), lowWord); in throttle()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/ |
D | DumpStackTraceTest.java | 21 import org.yaml.snakeyaml.Util; 28 String input = Util.getLocalResource("representer/stacktrace1.txt"); in testJavaStackTrace() 38 String input = Util.getLocalResource("representer/stacktrace2.txt"); in testJavaStackTraceWithNoSpecialCharacters() 48 String input = Util.getLocalResource("representer/stacktrace3.txt"); in testJavaStackTraceWithTabs() 58 String input = Util.getLocalResource("representer/stacktrace1.txt"); in testJavaStackTraceWithoutTabs() 61 String etalon = Util.getLocalResource("representer/stacktrace1.yaml"); in testJavaStackTraceWithoutTabs()
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/ |
D | ProgramInformation.java | 19 import com.google.android.exoplayer2.util.Util; 60 return Util.areEqual(this.title, other.title) in equals() 61 && Util.areEqual(this.source, other.source) in equals() 62 && Util.areEqual(this.copyright, other.copyright) in equals() 63 && Util.areEqual(this.moreInformationURL, other.moreInformationURL) in equals() 64 && Util.areEqual(this.lang, other.lang); in equals()
|
/external/protobuf/php/ext/google/protobuf/ |
D | type_check.c | 63 PHP_ME(Util, checkInt32, arg_check_optional, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 64 PHP_ME(Util, checkUint32, arg_check_optional, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 65 PHP_ME(Util, checkInt64, arg_check_optional, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 66 PHP_ME(Util, checkUint64, arg_check_optional, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 67 PHP_ME(Util, checkEnum, arg_check_optional, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 68 PHP_ME(Util, checkFloat, arg_check_optional, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 69 PHP_ME(Util, checkDouble, arg_check_optional, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 70 PHP_ME(Util, checkBool, arg_check_optional, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 71 PHP_ME(Util, checkString, arg_check_optional, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) 72 PHP_ME(Util, checkBytes, arg_check_optional, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) [all …]
|