/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 …]
|
/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/packages/SystemUI/src/com/android/systemui/qs/ |
D | SecureSetting.java | 29 private static final int DEFAULT = 0; field in SecureSetting 36 private int mObservedValue = DEFAULT; 48 return Secure.getIntForUser(mContext.getContentResolver(), mSettingName, DEFAULT, mUserId); in getValue() 65 mObservedValue = DEFAULT; in setListening()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FakePhaseOffsets.h | 45 return Offsets{{RefreshRateType::DEFAULT, FAKE_PHASE_OFFSET_NS, FAKE_PHASE_OFFSET_NS}, in getCurrentOffsets() 46 {RefreshRateType::DEFAULT, FAKE_PHASE_OFFSET_NS, FAKE_PHASE_OFFSET_NS}, in getCurrentOffsets() 47 {RefreshRateType::DEFAULT, FAKE_PHASE_OFFSET_NS, FAKE_PHASE_OFFSET_NS}}; in getCurrentOffsets()
|
D | RefreshRateConfigsTest.cpp | 90 const auto& defaultRate = rates.find(RefreshRateType::DEFAULT); in TEST_F() 102 refreshRateConfigs->getRefreshRateFromType(RefreshRateType::DEFAULT)); in TEST_F()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateConfigs.h | 39 enum class RefreshRateType { DEFAULT, PERFORMANCE }; enumerator 87 return {RefreshRateType::DEFAULT, mRefreshRates[currentConfig]}; in getCurrentRefreshRate() 96 if (!mRefreshRateSwitchingSupported) return RefreshRateType::DEFAULT; in getRefreshRateTypeFromHwcConfigId() 104 return RefreshRateType::DEFAULT; in getRefreshRateTypeFromHwcConfigId() 185 mRefreshRateMap[RefreshRateType::DEFAULT] = mRefreshRates[defaultAndPerfConfigs->first]; in init()
|
D | PhaseOffsets.cpp | 78 defaultOffsets.early = {RefreshRateType::DEFAULT, in PhaseOffsets() 81 defaultOffsets.earlyGl = {RefreshRateType::DEFAULT, in PhaseOffsets() 84 defaultOffsets.late = {RefreshRateType::DEFAULT, sfVsyncPhaseOffsetNs, vsyncPhaseOffsetNs}; in PhaseOffsets() 99 mOffsets.insert({RefreshRateType::DEFAULT, defaultOffsets}); in PhaseOffsets()
|
D | VSyncModulator.cpp | 35 const Offsets defaultOffsets = {RefreshRateType::DEFAULT, 0, 0}; in VSyncModulator() 151 mOffsets.fpsMode == RefreshRateType::DEFAULT && type == OffsetType::Early); in flushOffsets() 153 mOffsets.fpsMode == RefreshRateType::DEFAULT && type == OffsetType::EarlyGl); in flushOffsets() 155 mOffsets.fpsMode == RefreshRateType::DEFAULT && type == OffsetType::Late); in flushOffsets()
|
/frameworks/native/libs/binder/ndk/include_cpp/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/core/java/android/view/accessibility/ |
D | AccessibilityNodeInfo.java | 718 private static final AccessibilityNodeInfo DEFAULT = new AccessibilityNodeInfo(); field in AccessibilityNodeInfo 3304 if (isSealed() != DEFAULT.isSealed()) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3306 if (mSourceNodeId != DEFAULT.mSourceNodeId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3308 if (mWindowId != DEFAULT.mWindowId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3310 if (mParentNodeId != DEFAULT.mParentNodeId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3312 if (mLabelForId != DEFAULT.mLabelForId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3314 if (mLabeledById != DEFAULT.mLabeledById) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3316 if (mTraversalBefore != DEFAULT.mTraversalBefore) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3318 if (mTraversalAfter != DEFAULT.mTraversalAfter) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3320 if (mConnectionId != DEFAULT.mConnectionId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() [all …]
|
/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/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/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/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/drm/java/android/drm/ |
D | DrmStore.java | 167 public static final int DEFAULT = 0x00; field in DrmStore.Action 201 case DEFAULT: in isValid()
|
/frameworks/ml/nn/runtime/test/ |
D | TestPartitioning.cpp | 1456 ExecutePriority::DEFAULT, {}, &planA), in TEST_F() 1468 ExecutePriority::DEFAULT, {}, &planC), in TEST_F() 1480 ExecutePriority::DEFAULT, {}, &planB), in TEST_F() 1549 ExecutePriority::DEFAULT, {}, &planA), in TEST_F() 1563 ExecutePriority::DEFAULT, {}, &planB), in TEST_F() 1671 ExecutePriority::DEFAULT, {}, &plan), in TEST_F() 1710 ExecutePriority::DEFAULT, {}, &plan), in TEST_F() 1855 ExecutePriority::DEFAULT, {}, &plan), in TEST_F() 1956 ExecutePriority::DEFAULT, {}, &plan), in TEST_F() 2009 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 363 AudioSource.DEFAULT, 385 case AudioSource.DEFAULT: in isSystemOnlyAudioSource() 405 case AudioSource.DEFAULT: in toLogFriendlyAudioSource() 449 public static final int DEFAULT = 0; field in MediaRecorder.VideoSource 478 public static final int DEFAULT = 0; field in MediaRecorder.OutputFormat 529 public static final int DEFAULT = 0; field in MediaRecorder.AudioEncoder 555 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
|