Home
last modified time | relevance | path

Searched refs:DEFAULT (Results 1 – 25 of 72) sorted by relevance

123

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/appops/
DAppOpsMode.java24 DEFAULT(/* MODE_DEFAULT */ 3), enumConstant
54 return DEFAULT; in forValue()
/cts/hostsidetests/packagemanager/domainverification/lib/constants/android/src/com/android/cts/packagemanager/verify/domain/android/
DIntentVariant.kt24 DEFAULT,
33 IntentVariant.DEFAULT -> addCategory(Intent.CATEGORY_DEFAULT) in <lambda>()
/cts/hostsidetests/devicepolicy/app/common/src/com/android/cts/devicepolicy/
DTestCertificates.java109 Base64.decode(key, Base64.DEFAULT)); in rsaKeyFromString()
119 new Base64InputStream(new ByteArrayInputStream(cert.getBytes()), Base64.DEFAULT)); in userCertFromString()
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleCommon.java72 DEFAULT, enumConstant
82 map.put(OpenGlDriverChoice.DEFAULT, "default"); in buildDriverGlobalSettingMap()
93 map.put(OpenGlDriverChoice.DEFAULT, ANGLE_DRIVER_TEST_DEFAULT_METHOD); in buildDriverTestMethodMap()
152 return (driver == OpenGlDriverChoice.DEFAULT) ? true : false; in skipOverDefault()
DCtsAngleDeveloperOptionHostTest.java146 sDriverGlobalSettingMap.get(OpenGlDriverChoice.DEFAULT)); in testEnableAngleForAll()
148 sDriverGlobalSettingMap.get(OpenGlDriverChoice.DEFAULT)); in testEnableAngleForAll()
172 sDriverGlobalSettingMap.get(OpenGlDriverChoice.DEFAULT)); in testUseDefaultDriver()
/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java63 private static final String DEFAULT = (String)null; field in TypefaceTest
180 Typeface typeface = Typeface.create(DEFAULT, Typeface.NORMAL); in testCreate()
207 assertNotNull(Typeface.DEFAULT); in testConstants()
303 float widthDefaultTypeface = measureText(testString, Typeface.DEFAULT); in testInvalidCmapFont()
314 float widthDefaultTypeface = measureText(testString, Typeface.DEFAULT); in testInvalidCmapFont2()
347 final float widthDefaultTypeface = measureText(testString, Typeface.DEFAULT); in testInvalidCmapFont_unsortedEntries()
362 final float widthDefaultTypeface = measureText(testString, Typeface.DEFAULT); in testInvalidCmapFont_unsortedEntries()
591 float widthDefaultTypeface = measureText(testString, Typeface.DEFAULT); in testTypeface_SupportedCmapEncodingTest()
768 Typeface typeface = Typeface.DEFAULT; in testTypefaceCreate_getWeight()
772 typeface = Typeface.create(Typeface.DEFAULT, 100, false /* italic */); in testTypefaceCreate_getWeight()
[all …]
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_SearchSnippetsTest.java92 String.valueOf(Directory.DEFAULT)).appendPath("nomatch").build(); in testEnterpriseSearchSnippets_NoMatch()
112 String.valueOf(Directory.DEFAULT)).build(); in testEnterpriseSearchSnippets_MatchEmailAddressCorrectSnippet()
135 String.valueOf(Directory.DEFAULT)).build(); in testEnterpriseSearchSnippets_MatchPhoneNumberCorrectSnippet()
158 String.valueOf(Directory.DEFAULT)).build(); in testEnterpriseSearchSnippets_MatchPostalAddressCorrectSnippet()
181 String.valueOf(Directory.DEFAULT)).build(); in testEnterpriseSearchSnippets_LongMatchTruncation()
209 String.valueOf(Directory.DEFAULT)).build(); in testEnterpriseSearchSnippets_MultipleMatchesCorrectSnippet()
249 String.valueOf(Directory.DEFAULT)) in testEnterpriseSearchSnippets_DeferredSnippetingSingleWordQuerySnippetDeferred()
285 String.valueOf(Directory.DEFAULT)) in testEnterpriseSearchSnippets_DeferredSnippetingMultiWordQuerySnippetNotDeferred()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDeviceOwnerType.java27 public static final int DEFAULT = 0; field in DeviceOwnerType
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/location/
DLocationProvider.java21 import static com.android.bedstead.nene.appops.AppOpsMode.DEFAULT;
80 TestApis.packages().instrumented().appOps().set(AppOpsManager.OPSTR_MOCK_LOCATION, DEFAULT); in removeTestProvider()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DPreferentialNetworkServiceTest.java252 List.of(PreferentialNetworkServiceConfig.DEFAULT)); in setPreferentialNetworkServiceEnabled_blockingNonEnterprise_noAccess()
321 List.of(PreferentialNetworkServiceConfig.DEFAULT)); in setPreferentialNetworkServiceConfigs_enabled_isSet()
344 List.of(PreferentialNetworkServiceConfig.DEFAULT)); in setPreferentialNetworkServiceConfigs_fallback_isSet()
371 List.of(PreferentialNetworkServiceConfig.DEFAULT)); in setPreferentialNetworkServiceConfigs_block_isSet()
407 List.of(PreferentialNetworkServiceConfig.DEFAULT)); in setPreferentialNetworkServiceConfigs_enabled_isSet_excludedUids_set()
438 List.of(PreferentialNetworkServiceConfig.DEFAULT)); in setPreferentialNetworkServiceConfigs_default_isNotSet()
451 List.of(PreferentialNetworkServiceConfig.DEFAULT))); in setPreferentialNetworkServiceConfigs_notAllowed_throwsException()
DCaCertManagementTest.java282 new PKCS8EncodedKeySpec(Base64.decode(TEST_KEY, Base64.DEFAULT))); in installKeyPair_installsKeyPair()
286 Base64.DEFAULT)); in installKeyPair_installsKeyPair()
302 new PKCS8EncodedKeySpec(Base64.decode(TEST_KEY, Base64.DEFAULT))); in installKeyPair_invalidAdmin_throwsException()
306 Base64.DEFAULT)); in installKeyPair_invalidAdmin_throwsException()
316 new PKCS8EncodedKeySpec(Base64.decode(TEST_KEY, Base64.DEFAULT))); in removeKeyPair_removedKeyPair()
320 Base64.DEFAULT)); in removeKeyPair_removedKeyPair()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2023_20926.java65 mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); in testPocCVE_2023_20926()
66 mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT); in testPocCVE_2023_20926()
DMediaRecorderInfoLeakTest.java53 mediaRecorder.setAudioSource(MediaRecorder.AudioSource.DEFAULT); in test_cve_2016_2499()
/cts/tests/inputmethod/mocka11yime/common/src/com/android/cts/mocka11yime/
DMockA11yImeSettings.java53 public static MockA11yImeSettings DEFAULT = new Builder().build(); field in MockA11yImeSettings
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/
DSharedPrefsProvider.kt53 val bytes = Base64.decode(prefs.getString(uri.path, ""), Base64.DEFAULT) in getType()
72 val str = Base64.encodeToString(bytes, Base64.DEFAULT) in update()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DMediaRecorderCameraActivity.java126 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); in surfaceChanged()
128 mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT); in surfaceChanged()
/cts/tests/tests/util/src/android/util/cts/
DBase64Test.java272 int[] flagses = { Base64.DEFAULT, in testInputStream()
339 new ByteArrayInputStream("/v8=".getBytes()), Base64.DEFAULT); in testSingleByteReads()
350 int[] flagses = { Base64.DEFAULT, in testOutputStream()
424 OutputStream out2 = new Base64OutputStream(out, Base64.DEFAULT); in testOutputStream_ioExceptionDuringClose()
448 OutputStream out2 = new Base64OutputStream(out, Base64.DEFAULT); in testOutputStream_ioExceptionDuringCloseAndWrite()
480 OutputStream out2 = new Base64OutputStream(out, Base64.DEFAULT); in testOutputStream_ioExceptionDuringWrite()
/cts/tests/tests/graphics/src/android/graphics/cts/utils/
DCam.java132 return getInt(hue, chroma, lstar, Frame.DEFAULT); in getInt()
140 return fromIntInFrame(argb, Frame.DEFAULT); in fromInt()
227 return fromJchInFrame(j, c, h, Frame.DEFAULT); in fromJch()
270 return viewed(Frame.DEFAULT); in viewedInSrgb()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerReceiver.java127 Base64.decode(key, Base64.DEFAULT)); in onReceive()
134 Base64.DEFAULT)); in onReceive()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityServiceInfoTest.java57 AccessibilityServiceInfo.DEFAULT
131 int serviceFlags = AccessibilityServiceInfo.DEFAULT in testAccessibilityServiceInfoForEnabledService()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DImsiEncryptionInfoTest.java77 byte[] derCert = Base64.decode(cert.getBytes(), Base64.DEFAULT); in createPublicKey()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerRecorderActivity.java286 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.DEFAULT); in recordVideoUsingCamera()
287 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); in recordVideoUsingCamera()
289 mMediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT); in recordVideoUsingCamera()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewPrecomputedTextTest.java97 if (tf == null || tf == Typeface.DEFAULT) { in makeDifferentParams()
100 paint.setTypeface(Typeface.DEFAULT); in makeDifferentParams()
/cts/tests/tests/media/recorder/src/android/media/recorder/cts/
DMediaRecorderTest.java281 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); in testRecorderCamera()
282 mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT); in testRecorderCamera()
479 mMediaRecorder.setAudioSource(MediaRecorder.AudioSource.DEFAULT); in recordVideoUsingCamera()
480 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); in recordVideoUsingCamera()
481 mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT); in recordVideoUsingCamera()
482 mMediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT); in recordVideoUsingCamera()
593 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); in testRecorderVideo()
595 mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT); in testRecorderVideo()
619 mMediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); in testSetOutputFile()
620 mMediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT); in testSetOutputFile()
[all …]
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/
DEnsureHasDeviceOwner.java136 int type() default DeviceOwnerType.DEFAULT; in type()

123