/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/graphics/java/android/graphics/ |
D | Xfermode.java | 34 static final int DEFAULT = PorterDuff.Mode.SRC_OVER.nativeInt; field in Xfermode 36 int porterDuffMode = DEFAULT;
|
D | Typeface.java | 81 public static final Typeface DEFAULT; field in Typeface 230 byteArraySet.add(Base64.decode(certSet.get(j), Base64.DEFAULT)); in createFromResources() 240 return typeface == null ? DEFAULT : typeface; in createFromResources() 271 return Typeface.DEFAULT; in createFromResources() 294 typeface = Typeface.DEFAULT; in createFromResources() 936 final Typeface base = family == null ? Typeface.DEFAULT : family; 968 return Typeface.DEFAULT; 1001 return Typeface.DEFAULT; 1103 return tf == null ? Typeface.DEFAULT : tf; 1151 DEFAULT = create((String) null, 0); [all …]
|
/frameworks/native/libs/binder/ndk/include_ndk/android/ |
D | binder_auto_utils.h | 118 template <typename T, typename R, R (*Destroy)(T), T DEFAULT> 124 explicit ScopedAResource(T t = DEFAULT) : mT(t) {} in mT() 129 ~ScopedAResource() { set(DEFAULT); } in ~ScopedAResource() 168 ScopedAResource(ScopedAResource&& other) : mT(std::move(other.mT)) { other.mT = DEFAULT; } in ScopedAResource() 171 other.mT = DEFAULT;
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsAccess.java | 50 Level.DEFAULT, 64 int DEFAULT = 0; field 138 return NetworkStatsAccess.Level.DEFAULT; in checkAccessLevel() 164 case NetworkStatsAccess.Level.DEFAULT: in isAccessibleToUser()
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache.h | 42 DEFAULT = RANDOM, enumerator 58 DEFAULT = HALVE, enumerator 65 static Policy defaultPolicy() { return Policy(Select::DEFAULT, Capacity::DEFAULT); } in defaultPolicy()
|
/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/ml/nn/runtime/test/ |
D | TestPartitioning.cpp | 1446 ExecutePriority::DEFAULT, {}, &planA), in TEST_F() 1458 ExecutePriority::DEFAULT, {}, &planC), in TEST_F() 1470 ExecutePriority::DEFAULT, {}, &planB), in TEST_F() 1539 ExecutePriority::DEFAULT, {}, &planA), in TEST_F() 1553 ExecutePriority::DEFAULT, {}, &planB), in TEST_F() 1661 ExecutePriority::DEFAULT, {}, &plan), in TEST_F() 1700 ExecutePriority::DEFAULT, {}, &plan), in TEST_F() 1846 ExecutePriority::DEFAULT, {}, &plan), in TEST_F() 1947 ExecutePriority::DEFAULT, {}, &plan), in TEST_F() 2000 ExecutePriority::DEFAULT, {}, &plan), in TEST_F() [all …]
|
/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/base/media/java/android/media/ |
D | MediaRecorder.java | 236 public static final int DEFAULT = 0; field in MediaRecorder.AudioSource 368 AudioSource.DEFAULT, 390 case AudioSource.DEFAULT: in isSystemOnlyAudioSource() 410 case AudioSource.DEFAULT: in toLogFriendlyAudioSource() 454 public static final int DEFAULT = 0; field in MediaRecorder.VideoSource 483 public static final int DEFAULT = 0; field in MediaRecorder.OutputFormat 534 public static final int DEFAULT = 0; field in MediaRecorder.AudioEncoder 560 public static final int DEFAULT = 0; field in MediaRecorder.VideoEncoder
|
/frameworks/native/cmds/dumpstate/ |
D | DumpstateUtil.h | 147 static CommandOptions DEFAULT; variable 196 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/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/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/minikin/include/minikin/ |
D | FamilyVariant.h | 26 DEFAULT = 0, // Must be the same as FontConfig.VARIANT_DEFAULT enumerator
|
/frameworks/base/media/java/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()
|
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
D | PasspointTestUtils.java | 106 Base64.encodeToString("password".getBytes(), Base64.DEFAULT)); in createPolicy() 123 Base64.encodeToString("subPassword".getBytes(), Base64.DEFAULT)); in createSubscriptionUpdate()
|
/frameworks/minikin/tests/util/ |
D | FontTestUtils.cpp | 61 FamilyVariant variant = FamilyVariant::DEFAULT; in getFontFamilies() 137 return std::make_shared<FontFamily>(LocaleListCache::getId(lang), FamilyVariant::DEFAULT, in buildFontFamily()
|