Home
last modified time | relevance | path

Searched refs:DEFAULT (Results 1 – 25 of 150) 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 …]
/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/packages/SystemUI/src/com/android/systemui/qs/
DSecureSetting.java29 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/
DFakePhaseOffsets.h45 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()
DRefreshRateConfigsTest.cpp90 const auto& defaultRate = rates.find(RefreshRateType::DEFAULT); in TEST_F()
102 refreshRateConfigs->getRefreshRateFromType(RefreshRateType::DEFAULT)); in TEST_F()
/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateConfigs.h39 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()
DPhaseOffsets.cpp78 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()
DVSyncModulator.cpp35 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/
Dbinder_auto_utils.h118 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/
DAccessibilityNodeInfo.java718 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/
DBlobCache.h42 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/
DNetworkStatsAccess.java50 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/
DXfermode.java34 static final int DEFAULT = PorterDuff.Mode.SRC_OVER.nativeInt; field in Xfermode
36 int porterDuffMode = DEFAULT;
DTypeface.java81 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/
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/drm/java/android/drm/
DDrmStore.java167 public static final int DEFAULT = 0x00; field in DrmStore.Action
201 case DEFAULT: in isValid()
/frameworks/ml/nn/runtime/test/
DTestPartitioning.cpp1456 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/
DAssignment.cpp50 case DEFAULT: in dump()
71 if (type() != DEFAULT) in dump()
108 if (!isLhsDot || prevDotAssign.type() == DEFAULT) { in activate()
/frameworks/base/media/java/android/media/
DMediaRecorder.java236 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/
DDumpstateUtil.h147 static CommandOptions DEFAULT; variable
196 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/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/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/minikin/include/minikin/
DFamilyVariant.h26 DEFAULT = 0, // Must be the same as FontConfig.VARIANT_DEFAULT enumerator

123456