Home
last modified time | relevance | path

Searched refs:hasValue (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/ml/nn/runtime/test/fuzzing/
DOperationManager.cpp31 inline bool hasValue(const std::vector<T>& vec, const T& val) { in hasValue() function
37 if (!hasValue(filter.opcodes, opType) || !hasValue(filter.versions, version)) { in matchFilter()
44 if (hasValue(filter.dataTypes, dataType)) combinedDataTypes.push_back(dataType); in matchFilter()
52 if (hasValue(filter.ranks, rank)) combinedRanks.push_back(rank); in matchFilter()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
DAsn1DecoderTest.java50 assertFalse(root.hasValue()); in testNormalOperation()
60 assertTrue(node.hasValue()); in testNormalOperation()
102 assertTrue(childOfFirst.hasValue()); in testNodeList()
115 assertTrue(childOfSecond.hasValue()); in testNodeList()
139 assertTrue(childOfFirst.hasValue()); in testMissingData()
168 assertTrue(childOfFirst.hasValue()); in testEmptyData()
180 assertTrue(childOfSecond.hasValue()); in testEmptyData()
/frameworks/base/core/java/android/view/animation/
DPathInterpolator.java112 if (a.hasValue(R.styleable.PathInterpolator_pathData)) { in parseInterpolatorFromTypeArray()
121 if (!a.hasValue(R.styleable.PathInterpolator_controlX1)) { in parseInterpolatorFromTypeArray()
123 } else if (!a.hasValue(R.styleable.PathInterpolator_controlY1)) { in parseInterpolatorFromTypeArray()
129 boolean hasX2 = a.hasValue(R.styleable.PathInterpolator_controlX2); in parseInterpolatorFromTypeArray()
130 boolean hasY2 = a.hasValue(R.styleable.PathInterpolator_controlY2); in parseInterpolatorFromTypeArray()
DAnimationSet.java92 if (a.hasValue(com.android.internal.R.styleable.AnimationSet_duration)) { in AnimationSet()
95 if (a.hasValue(com.android.internal.R.styleable.AnimationSet_fillBefore)) { in AnimationSet()
98 if (a.hasValue(com.android.internal.R.styleable.AnimationSet_fillAfter)) { in AnimationSet()
101 if (a.hasValue(com.android.internal.R.styleable.AnimationSet_repeatMode)) { in AnimationSet()
104 if (a.hasValue(com.android.internal.R.styleable.AnimationSet_startOffset)) { in AnimationSet()
/frameworks/base/cmds/statsd/tests/metrics/
DValueMetricProducer_test.cpp321 EXPECT_EQ(false, curInterval.hasValue); in TEST()
337 EXPECT_EQ(false, curInterval.hasValue); in TEST()
355 EXPECT_EQ(false, curInterval.hasValue); in TEST()
463 EXPECT_EQ(false, curInterval.hasValue); in TEST()
477 EXPECT_EQ(false, curInterval.hasValue); in TEST()
493 EXPECT_EQ(false, curInterval.hasValue); in TEST()
526 EXPECT_EQ(false, curInterval.hasValue); in TEST()
538 EXPECT_EQ(false, curInterval.hasValue); in TEST()
552 EXPECT_EQ(false, curInterval.hasValue); in TEST()
586 EXPECT_EQ(false, curInterval.hasValue); in TEST()
[all …]
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java198 if (!hasValue(index)) { in getText()
229 if (!hasValue(index)) { in getString()
332 if (!hasValue(index)) { in getColorStateList()
341 if (!hasValue(index)) { in getComplexColor()
691 if (!hasValue(index)) { in getDrawable()
717 if (!hasValue(index)) { in getFont()
737 if (!hasValue(index)) { in getTextArray()
873 public boolean hasValue(int index) { in hasValue() method in BridgeTypedArray
879 return hasValue(index) || index >= 0 && index < mResourceData.length && in hasValueOrEmpty()
/frameworks/base/core/java/android/animation/
DKeyframe.java173 public boolean hasValue() { in hasValue() method in Keyframe
287 ObjectKeyframe kfClone = new ObjectKeyframe(getFraction(), hasValue() ? mValue : null); in clone()
DAnimatorInflater.java431 if (arrayAnimator.hasValue(R.styleable.Animator_repeatCount)) { in parseAnimatorFromTypeArray()
435 if (arrayAnimator.hasValue(R.styleable.Animator_repeatMode)) { in parseAnimatorFromTypeArray()
784 boolean hasValue = (keyframeValue != null); in inferValueTypeOfKeyframe()
787 if (hasValue && isColorType(keyframeValue.type)) { in inferValueTypeOfKeyframe()
825 ", value : " + ((keyframe.hasValue()) ? keyframe.getValue() : "null")); in dumpKeyframes()
969 boolean hasValue = (keyframeValue != null); in loadKeyframe()
973 if (hasValue && isColorType(keyframeValue.type)) { in loadKeyframe()
980 if (hasValue) { in loadKeyframe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DLightSourceDrawable.kt158 if (a.hasValue(R.styleable.IlluminationDrawable_rippleMinSize)) { in updateStateFromTypedArray()
161 if (a.hasValue(R.styleable.IlluminationDrawable_rippleMaxSize)) { in updateStateFromTypedArray()
164 if (a.hasValue(R.styleable.IlluminationDrawable_highlight)) { in updateStateFromTypedArray()
DIlluminationDrawable.kt98 if (a.hasValue(R.styleable.IlluminationDrawable_cornerRadius)) { in updateStateFromTypedArray()
102 if (a.hasValue(R.styleable.IlluminationDrawable_highlight)) { in updateStateFromTypedArray()
/frameworks/compile/libbcc/lib/
DCompilerConfig.cpp181 if (!mRelocModel.hasValue()) { in initializeArch()
219 if (mRelocModel.hasValue() && mRelocModel.getValue() == llvm::Reloc::PIC_) { in initializeArch()
/frameworks/base/cmds/statsd/src/metrics/
DValueMetricProducer.cpp890 if (interval.hasValue) { in onMatchedLogEventInternalLocked()
908 interval.hasValue = true; in onMatchedLogEventInternalLocked()
1035 if (interval.hasValue) { in buildPartialBucket()
1059 interval.hasValue = false; in initCurrentSlicedBucket()
1107 if (interval.hasValue) { in appendToFullBucket()
1126 if (interval.hasValue) { in appendToFullBucket()
1139 if (interval.hasValue) { in appendToFullBucket()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifReader.java58 if (!tag.hasValue()) { in read()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedRotateDrawable.java188 if (a.hasValue(R.styleable.AnimatedRotateDrawable_pivotX)) { in updateStateFromTypedArray()
194 if (a.hasValue(R.styleable.AnimatedRotateDrawable_pivotY)) { in updateStateFromTypedArray()
DRotateDrawable.java126 if (a.hasValue(R.styleable.RotateDrawable_pivotX)) { in updateStateFromTypedArray()
132 if (a.hasValue(R.styleable.RotateDrawable_pivotY)) { in updateStateFromTypedArray()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DAutoReinflateContainer.java45 if (!a.hasValue(R.styleable.AutoReinflateContainer_android_layout)) { in AutoReinflateContainer()
/frameworks/base/core/java/android/widget/
DProgressBar.java336 if (a.hasValue(R.styleable.ProgressBar_progressTintMode)) { in ProgressBar()
345 if (a.hasValue(R.styleable.ProgressBar_progressTint)) { in ProgressBar()
354 if (a.hasValue(R.styleable.ProgressBar_progressBackgroundTintMode)) { in ProgressBar()
363 if (a.hasValue(R.styleable.ProgressBar_progressBackgroundTint)) { in ProgressBar()
372 if (a.hasValue(R.styleable.ProgressBar_secondaryProgressTintMode)) { in ProgressBar()
381 if (a.hasValue(R.styleable.ProgressBar_secondaryProgressTint)) { in ProgressBar()
390 if (a.hasValue(R.styleable.ProgressBar_indeterminateTintMode)) { in ProgressBar()
399 if (a.hasValue(R.styleable.ProgressBar_indeterminateTint)) { in ProgressBar()
DRadioGroup.java341 if (a.hasValue(widthAttr)) { in setBaseAttributes()
347 if (a.hasValue(heightAttr)) { in setBaseAttributes()
DTableRow.java503 if (a.hasValue(widthAttr)) { in setBaseAttributes()
510 if (a.hasValue(heightAttr)) { in setBaseAttributes()
DAbsSeekBar.java128 if (a.hasValue(R.styleable.SeekBar_thumbTintMode)) { in AbsSeekBar()
134 if (a.hasValue(R.styleable.SeekBar_thumbTint)) { in AbsSeekBar()
142 if (a.hasValue(R.styleable.SeekBar_tickMarkTintMode)) { in AbsSeekBar()
148 if (a.hasValue(R.styleable.SeekBar_tickMarkTint)) { in AbsSeekBar()
/frameworks/base/core/java/android/content/res/
DGradientColor.java207 mHasCenterColor |= a.hasValue( in updateRootElementState()
347 boolean hasColor = a.hasValue(R.styleable.GradientColorItem_color); in inflateChildElements()
348 boolean hasOffset = a.hasValue(R.styleable.GradientColorItem_offset); in inflateChildElements()
/frameworks/base/core/java/com/android/internal/view/
DInputConnectionWrapper.java89 if (value.hasValue()) { in getResultOrZero()
101 if (value.hasValue()) { in getResultOrNull()
/frameworks/base/core/java/android/view/
DMenuInflater.java403 if (a.hasValue(com.android.internal.R.styleable.MenuItem_iconTintMode)) { in readItem()
411 if (a.hasValue(com.android.internal.R.styleable.MenuItem_iconTint)) { in readItem()
429 if (a.hasValue(com.android.internal.R.styleable.MenuItem_checkable)) { in readItem()
/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedActivityUtils.java154 if (sa.hasValue(R.styleable.AndroidManifestActivity_maxAspectRatio) in parseActivityOrReceiver()
162 if (sa.hasValue(R.styleable.AndroidManifestActivity_minAspectRatio) in parseActivityOrReceiver()
314 final boolean setExported = array.hasValue(exportedAttr); in parseActivityOrAlias()
429 if (sa.hasValue(R.styleable.AndroidManifestActivity_resizeableActivity) in getActivityResizeMode()
/frameworks/base/core/java/com/android/internal/inputmethod/
DCancellationGroup.java101 public boolean hasValue() { in hasValue() method in CancellationGroup.Completable.ValueBase

123