/frameworks/base/core/tests/coretests/src/android/util/ |
D | KeyValueListParserTest.java | 38 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 …]
|
D | Base64Test.java | 315 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/ |
D | TunablePaddingTest.java | 40 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/ |
D | PerPackageReadTimeouts.java | 54 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/ |
D | Xfermode.java | 35 static final int DEFAULT = PorterDuff.Mode.SRC_OVER.nativeInt; field in Xfermode 37 int porterDuffMode = DEFAULT;
|
D | Typeface.java | 97 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/ |
D | NetworkStatsAccess.java | 51 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/ |
D | AccessibilityNodeInfo.java | 776 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/ |
D | ClockPreference.java | 30 private static final String DEFAULT = "default"; field in ClockPreference 44 setEntryValues(new CharSequence[] { SECONDS, DEFAULT, DISABLED }); in ClockPreference() 78 setValue(DEFAULT); in onTuningChanged()
|
D | BatteryPreference.java | 35 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/ |
D | ShortcutConstants.java | 50 UserShortcutType.DEFAULT, 56 int DEFAULT = 0; field
|
/frameworks/base/drm/java/android/drm/ |
D | DrmStore.java | 169 public static final int DEFAULT = 0x00; field in DrmStore.Action 203 case DEFAULT: in isValid()
|
/frameworks/base/media/java/android/media/ |
D | MediaRecorder.java | 279 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/ |
D | binder_auto_utils.h | 134 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/ |
D | Assignment.cpp | 50 case DEFAULT: in dump() 71 if (type() != DEFAULT) in dump() 108 if (!isLhsDot || prevDotAssign.type() == DEFAULT) { in activate()
|
/frameworks/native/cmds/dumpstate/ |
D | DumpstateUtil.h | 157 static CommandOptions DEFAULT; variable 214 const CommandOptions& options = CommandOptions::DEFAULT);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
D | CertPinInstallReceiverTest.java | 142 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/ |
D | FontsContractTest.java | 53 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/ |
D | SectionMap.cpp | 114 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/ |
D | FamilyVariant.h | 26 DEFAULT = 0, // Must be the same as FontConfig.VARIANT_DEFAULT enumerator
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | AudioSourceType.aidl | 24 DEFAULT = 0, enumConstant
|
D | AudioStreamType.aidl | 23 DEFAULT = -1, enumConstant
|
/frameworks/base/media/aidl/android/media/audio/common/ |
D | AudioStreamType.aidl | 31 DEFAULT = -1, enumConstant
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | TextAlignment.java | 30 DEFAULT(0x3); enumConstant
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | LayoutParserWrapper.java | 40 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()
|