Home
last modified time | relevance | path

Searched refs:DEFAULT (Results 1 – 25 of 145) sorted by relevance

123456

/frameworks/base/core/tests/coretests/src/android/util/
DKeyValueListParserTest.java38 private static final int[] DEFAULT = {1, 2, 3, 4}; field in KeyValueListParserTest
50 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayNullInput()
51 assertEquals(DEFAULT, result); in testParseIntArrayNullInput()
57 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayEmptyInput()
58 assertEquals(DEFAULT, result); in testParseIntArrayEmptyInput()
64 int[] result = mParser.getIntArray(null, DEFAULT); in testParseIntArrayNullKey()
65 assertEquals(DEFAULT, result); in testParseIntArrayNullKey()
71 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayComplexInput()
80 int[] result = mParser.getIntArray("test", DEFAULT); in testParseIntArrayLeadingSep()
81 assertEquals(DEFAULT, result); in testParseIntArrayLeadingSep()
[all …]
DBase64Test.java315 int[] flagses = { Base64.DEFAULT, in testInputStream()
420 new ByteArrayInputStream("/v8=".getBytes()), Base64.DEFAULT); in testSingleByteReads()
430 int[] flagses = { Base64.DEFAULT, in testOutputStream()
546 OutputStream out2 = new Base64OutputStream(out, Base64.DEFAULT); in testOutputStream_ioExceptionDuringClose()
569 OutputStream out2 = new Base64OutputStream(out, Base64.DEFAULT); in testOutputStream_ioExceptionDuringCloseAndWrite()
600 OutputStream out2 = new Base64OutputStream(out, Base64.DEFAULT); in testOutputStream_ioExceptionDuringWrite()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/
DTunablePaddingTest.java40 private static final int DEFAULT = 42; field in TunablePaddingTest
67 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, in testFlags()
70 verify(mView).setPadding(eq(DEFAULT), eq(0), eq(0), eq(0)); in testFlags()
73 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, in testFlags()
76 verify(mView).setPadding(eq(0), eq(DEFAULT), eq(0), eq(0)); in testFlags()
79 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, in testFlags()
82 verify(mView).setPadding(eq(0), eq(0), eq(DEFAULT), eq(0)); in testFlags()
85 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, in testFlags()
88 verify(mView).setPadding(eq(0), eq(0), eq(0), eq(DEFAULT)); in testFlags()
96 mTunablePadding = TunablePadding.addTunablePadding(mView, KEY, DEFAULT, in testRtl()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPerPackageReadTimeouts.java54 public static final Timeouts DEFAULT = new Timeouts(3600000000L, 3600000000L, 3600000000L); field in PerPackageReadTimeouts.Timeouts
65 return DEFAULT; in parse()
67 final long minTimeUs = tryParseLong(splits[0], DEFAULT.minTimeUs); in parse()
68 final long minPendingTimeUs = tryParseLong(splits[1], DEFAULT.minPendingTimeUs); in parse()
69 final long maxPendingTimeUs = tryParseLong(splits[2], DEFAULT.maxPendingTimeUs); in parse()
75 return DEFAULT; in parse()
/frameworks/base/graphics/java/android/graphics/
DXfermode.java35 static final int DEFAULT = PorterDuff.Mode.SRC_OVER.nativeInt; field in Xfermode
37 int porterDuffMode = DEFAULT;
DTypeface.java97 public static final Typeface DEFAULT = null; field in Typeface
309 byteArraySet.add(Base64.decode(certSet.get(j), Base64.DEFAULT)); in createFromResources()
319 return typeface == null ? DEFAULT : typeface; in createFromResources()
350 return Typeface.DEFAULT; in createFromResources()
373 typeface = Typeface.DEFAULT; in createFromResources()
1013 final Typeface base = family == null ? Typeface.DEFAULT : family;
1047 return Typeface.DEFAULT;
1080 return Typeface.DEFAULT;
1181 return tf == null ? Typeface.DEFAULT : tf;
1369 DEFAULT,
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsAccess.java51 Level.DEFAULT,
65 int DEFAULT = 0; field
147 return NetworkStatsAccess.Level.DEFAULT; in checkAccessLevel()
173 case NetworkStatsAccess.Level.DEFAULT: in isAccessibleToUser()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java776 private static final AccessibilityNodeInfo DEFAULT = new AccessibilityNodeInfo(); field in AccessibilityNodeInfo
3692 if (isSealed() != DEFAULT.isSealed()) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle()
3694 if (mSourceNodeId != DEFAULT.mSourceNodeId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle()
3696 if (mWindowId != DEFAULT.mWindowId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle()
3698 if (mParentNodeId != DEFAULT.mParentNodeId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle()
3700 if (mLabelForId != DEFAULT.mLabelForId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle()
3702 if (mLabeledById != DEFAULT.mLabeledById) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle()
3704 if (mTraversalBefore != DEFAULT.mTraversalBefore) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle()
3706 if (mTraversalAfter != DEFAULT.mTraversalAfter) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle()
3708 if (mConnectionId != DEFAULT.mConnectionId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DClockPreference.java30 private static final String DEFAULT = "default"; field in ClockPreference
44 setEntryValues(new CharSequence[] { SECONDS, DEFAULT, DISABLED }); in ClockPreference()
78 setValue(DEFAULT); in onTuningChanged()
DBatteryPreference.java35 private static final String DEFAULT = "default"; field in BatteryPreference
47 setEntryValues(new CharSequence[] {PERCENT, DEFAULT, DISABLED }); in BatteryPreference()
78 setValue(DEFAULT); in onTuningChanged()
/frameworks/base/core/java/com/android/internal/accessibility/common/
DShortcutConstants.java50 UserShortcutType.DEFAULT,
56 int DEFAULT = 0; field
/frameworks/base/drm/java/android/drm/
DDrmStore.java169 public static final int DEFAULT = 0x00; field in DrmStore.Action
203 case DEFAULT: in isValid()
/frameworks/base/media/java/android/media/
DMediaRecorder.java279 public static final int DEFAULT = 0; field in MediaRecorder.AudioSource
411 AudioSource.DEFAULT,
427 AudioSource.DEFAULT,
453 case AudioSource.DEFAULT: in isSystemOnlyAudioSource()
499 case AudioSource.DEFAULT: in toLogFriendlyAudioSource()
543 public static final int DEFAULT = 0; field in MediaRecorder.VideoSource
572 public static final int DEFAULT = 0; field in MediaRecorder.OutputFormat
618 OutputFormat.DEFAULT,
642 public static final int DEFAULT = 0; field in MediaRecorder.AudioEncoder
663 AudioEncoder.DEFAULT,
[all …]
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_auto_utils.h134 template <typename T, void (*Destroy)(T), T DEFAULT>
140 explicit ScopedAResource(T t = DEFAULT) : mT(t) {} in mT()
145 ~ScopedAResource() { set(DEFAULT); } in ~ScopedAResource()
185 other.mT = DEFAULT; in ScopedAResource()
189 other.mT = DEFAULT;
/frameworks/compile/mclinker/lib/Script/
DAssignment.cpp50 case DEFAULT: in dump()
71 if (type() != DEFAULT) in dump()
108 if (!isLhsDot || prevDotAssign.type() == DEFAULT) { in activate()
/frameworks/native/cmds/dumpstate/
DDumpstateUtil.h157 static CommandOptions DEFAULT; variable
214 const CommandOptions& options = CommandOptions::DEFAULT);
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java142 byte[] derKey = Base64.decode(TEST_KEY.getBytes(), Base64.DEFAULT); in createKey()
149 byte[] derCert = Base64.decode(TEST_CERT.getBytes(), Base64.DEFAULT); in createCertificate()
169 String sig = new String(Base64.encode(signer.sign(), Base64.DEFAULT)); in createSignature()
182 return signer.verify(Base64.decode(signature.getBytes(), Base64.DEFAULT)); in verifySignature()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java53 Base64.decode("e04fd020ea3a6910a2d808002b30", Base64.DEFAULT);
56 Base64.decode("e04fd020ea3a6910a2d808002b30", Base64.DEFAULT);
58 Base64.decode("e04fd020ea3a6910a2d808002b32", Base64.DEFAULT);
284 byte[] wrongCert = Base64.decode("this is a wrong cert", Base64.DEFAULT); in testGetProvider_providerIsNonSystemAppWrongCerts()
309 byte[] wrongCert = Base64.decode("this is a wrong cert", Base64.DEFAULT); in testGetProvider_providerIsNonSystemAppMoreCerts()
344 byte[] wrongCert = Base64.decode("this is a wrong cert", Base64.DEFAULT); in testGetProvider_providerIsNonSystemAppCorrectCertsSeveralSets()
/frameworks/compile/mclinker/lib/Object/
DSectionMap.cpp114 if ((*it).type() == Assignment::DEFAULT) in find_first_explicit_dot()
122 if ((*it).type() == Assignment::DEFAULT) in find_first_explicit_dot()
134 if ((*rit).type() == Assignment::DEFAULT) { in find_last_explicit_dot()
147 if ((*rit).type() == Assignment::DEFAULT) { in find_last_explicit_dot()
343 Assignment::DEFAULT, in fixupDotSymbols()
363 Assignment::DEFAULT, in fixupDotSymbols()
/frameworks/minikin/include/minikin/
DFamilyVariant.h26 DEFAULT = 0, // Must be the same as FontConfig.VARIANT_DEFAULT enumerator
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioSourceType.aidl24 DEFAULT = 0, enumConstant
DAudioStreamType.aidl23 DEFAULT = -1, enumConstant
/frameworks/base/media/aidl/android/media/audio/common/
DAudioStreamType.aidl31 DEFAULT = -1, enumConstant
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DTextAlignment.java30 DEFAULT(0x3); enumConstant
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapper.java40 private static final String DEFAULT = "default="; field in LayoutParserWrapper
199 int i = returnValue.lastIndexOf(DEFAULT); in getAttributeValue()
200 return i > 0 ? returnValue.substring(i + DEFAULT.length(), returnValue.length() - 1) in getAttributeValue()

123456