/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/services/core/java/com/android/server/pm/ |
D | SharedUidMigration.java | 64 private static final int DEFAULT = NEW_INSTALL_ONLY; field in SharedUidMigration 80 return DEFAULT; in getCurrentStrategy() 83 final int s = SystemProperties.getInt(PROPERTY_KEY, DEFAULT); in getCurrentStrategy() 86 return DEFAULT; in getCurrentStrategy()
|
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/packages/SystemUI/checks/tests/com/android/internal/systemui/lint/ |
D | CleanArchitectureDependencyViolationDetectorTest.kt | 74 .testModes(TestMode.DEFAULT) in Violation - domain depends on ui() 109 .testModes(TestMode.DEFAULT) in Violation - ui depends on data() 148 .testModes(TestMode.DEFAULT) in Violation - shared depends on all other layers() 189 .testModes(TestMode.DEFAULT) in Violation - data depends on domain()
|
/frameworks/base/media/aidl/android/media/audio/common/ |
D | AudioFormatType.aidl | 33 DEFAULT = 0, enumConstant 40 NON_PCM = DEFAULT,
|
D | PcmType.aidl | 31 DEFAULT = 0, enumConstant 35 UINT_8_BIT = DEFAULT,
|
D | AudioFormatDescription.aidl | 43 AudioFormatType type = AudioFormatType.DEFAULT; 48 PcmType pcm = PcmType.DEFAULT;
|
/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;
|
/frameworks/av/media/libstagefright/httplive/fuzzer/corpus/ |
D | prog_index.m3u8 | 2 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="eng",NAME="English",AUTOSELECT=YES,DEFAULT=YES,U… 3 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="fre",NAME="Français",AUTOSELECT=YES,DEFAULT=NO,U… 4 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="sp",NAME="Espanol",AUTOSELECT=YES,DEFAULT=NO,URI…
|
/frameworks/base/media/aidl_api/android.media.audio.common.types/current/android/media/audio/common/ |
D | AudioFormatDescription.aidl | 38 …droid.media.audio.common.AudioFormatType type = android.media.audio.common.AudioFormatType.DEFAULT; 39 android.media.audio.common.PcmType pcm = android.media.audio.common.PcmType.DEFAULT;
|
/frameworks/base/media/aidl_api/android.media.audio.common.types/1/android/media/audio/common/ |
D | AudioFormatDescription.aidl | 38 …droid.media.audio.common.AudioFormatType type = android.media.audio.common.AudioFormatType.DEFAULT; 39 android.media.audio.common.PcmType pcm = android.media.audio.common.PcmType.DEFAULT;
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityNodeInfo.java | 849 private static final AccessibilityNodeInfo DEFAULT = new AccessibilityNodeInfo(); field in AccessibilityNodeInfo 3809 if (isSealed() != DEFAULT.isSealed()) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3811 if (mSourceNodeId != DEFAULT.mSourceNodeId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3813 if (mWindowId != DEFAULT.mWindowId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3815 if (mParentNodeId != DEFAULT.mParentNodeId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3817 if (mLabelForId != DEFAULT.mLabelForId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3819 if (mLabeledById != DEFAULT.mLabeledById) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3821 if (mTraversalBefore != DEFAULT.mTraversalBefore) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3823 if (mTraversalAfter != DEFAULT.mTraversalAfter) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() 3825 if (mConnectionId != DEFAULT.mConnectionId) nonDefaultFields |= bitAt(fieldIndex); in writeToParcelNoRecycle() [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() 170 mT = DEFAULT; in release() 194 other.mT = DEFAULT; in ScopedAResource() 198 other.mT = DEFAULT;
|
/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 | 283 public static final int DEFAULT = 0; field in MediaRecorder.AudioSource 425 AudioSource.DEFAULT, 441 AudioSource.DEFAULT, 468 case AudioSource.DEFAULT: in isSystemOnlyAudioSource() 515 case AudioSource.DEFAULT: in toLogFriendlyAudioSource() 561 public static final int DEFAULT = 0; field in MediaRecorder.VideoSource 590 public static final int DEFAULT = 0; field in MediaRecorder.OutputFormat 636 OutputFormat.DEFAULT, 660 public static final int DEFAULT = 0; field in MediaRecorder.AudioEncoder 681 AudioEncoder.DEFAULT, [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/ |
D | PackageUserState.java | 42 PackageUserState DEFAULT = PackageUserStateInternal.DEFAULT; field
|
/frameworks/libs/systemui/searchuilib/src/com/android/app/search/ |
D | SearchTargetExtras.java | 165 DEFAULT(0), // defaults to SQUARE behavior by {@link LayoutType#THUMBNAIL_CONTAINER}. enumConstant 222 return ThumbnailCropType.DEFAULT; in getThumbnailCropType() 226 return cropType != null ? cropType : ThumbnailCropType.DEFAULT; in getThumbnailCropType()
|
/frameworks/compile/mclinker/lib/Script/ |
D | Assignment.cpp | 50 case DEFAULT: in dump() 71 if (type() != DEFAULT) in dump() 107 if (!isLhsDot || prevDotAssign.type() == DEFAULT) { in activate()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
D | DomainVerificationSettingsMutationTest.kt | 219 whenever(getUserStateOrDefault(0)) { PackageUserStateInternal.DEFAULT } in <lambda>() 220 whenever(getUserStateOrDefault(10)) { PackageUserStateInternal.DEFAULT } in <lambda>() 223 this[0] = PackageUserStateInternal.DEFAULT in <lambda>() 224 this[1] = PackageUserStateInternal.DEFAULT in <lambda>()
|
D | DomainVerificationUserSelectionOverrideTest.kt | 155 whenever(getUserStateOrDefault(0)) { PackageUserStateInternal.DEFAULT } in mockPkgState() 156 whenever(getUserStateOrDefault(1)) { PackageUserStateInternal.DEFAULT } in mockPkgState() 159 this[0] = PackageUserStateInternal.DEFAULT in mockPkgState() 160 this[1] = PackageUserStateInternal.DEFAULT in mockPkgState()
|
/frameworks/av/services/audioflinger/ |
D | PropertyUtils.cpp | 32 case AudioMMapPolicyType::DEFAULT: in getMmapPolicyProperty() 45 case AudioMMapPolicyType::DEFAULT: in getDefaultPolicyFromType()
|