Home
last modified time | relevance | path

Searched refs:getDefault (Results 1 – 25 of 63) sorted by relevance

123

/cts/tests/tests/os/src/android/os/cts/
DLocaleListTest.java204 final LocaleList ll = LocaleList.getDefault(); in testGetDefault()
208 final Locale defaultLocale = Locale.getDefault(); in testGetDefault()
213 final LocaleList ll = LocaleList.getDefault(); in testGetAdjustedDefault()
217 final Locale defaultLocale = Locale.getDefault(); in testGetAdjustedDefault()
222 final Locale originalLocale = Locale.getDefault(); in testGetDefault_localeSetDefaultCalled()
223 final LocaleList originalLocaleList = LocaleList.getDefault(); in testGetDefault_localeSetDefaultCalled()
229 assertEquals("fr,ae,en,ja", LocaleList.getDefault().toLanguageTags()); in testGetDefault_localeSetDefaultCalled()
233 assertEquals("de,ae,en,ja", LocaleList.getDefault().toLanguageTags()); in testGetDefault_localeSetDefaultCalled()
237 assertEquals("en,ae,ja", LocaleList.getDefault().toLanguageTags()); in testGetDefault_localeSetDefaultCalled()
241 assertEquals("es,ae,en,ja", LocaleList.getDefault().toLanguageTags()); in testGetDefault_localeSetDefaultCalled()
[all …]
DCtsRemoteService.java44 return java.util.TimeZone.getDefault().getID();
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java106 addVerification(EventGapVerification.getDefault(mEnvironment)); in addDefaultVerifications()
107 addVerification(EventOrderingVerification.getDefault(mEnvironment)); in addDefaultVerifications()
108 addVerification(FrequencyVerification.getDefault(mEnvironment)); in addDefaultVerifications()
109 addVerification(JitterVerification.getDefault(mEnvironment)); in addDefaultVerifications()
110 addVerification(MagnitudeVerification.getDefault(mEnvironment)); in addDefaultVerifications()
111 addVerification(MeanVerification.getDefault(mEnvironment)); in addDefaultVerifications()
112 addVerification(StandardDeviationVerification.getDefault(mEnvironment)); in addDefaultVerifications()
113 addVerification(EventTimestampSynchronizationVerification.getDefault(mEnvironment)); in addDefaultVerifications()
114 addVerification(InitialValueVerification.getDefault(mEnvironment)); in addDefaultVerifications()
/cts/tests/tests/location/src/android/location/cts/
DEmergencyCallMessageTest.java62 SmsManager smsManager = SmsManager.getDefault(); in testSendSmsMessage()
72 SmsManager smsManager = SmsManager.getDefault(); in testSendSmsDataMessage()
90 .getDefault() in shouldParseContentDisposition()
97 .getDefault() in doesSupportMMS()
/cts/tests/tests/net/src/android/net/http/cts/
DHttpResponseCacheTest.java64 assertSame(installed, ResponseCache.getDefault()); in testInstall()
65 assertSame(installed, HttpResponseCache.getDefault()); in testInstall()
117 assertNull(ResponseCache.getDefault()); in testCloseUninstalls()
123 assertNull(ResponseCache.getDefault()); in testDeleteUninstalls()
/cts/tests/tests/text/src/android/text/cts/
DAutoTextTest.java52 if (!config.locale.equals(Locale.getDefault())) { in setup()
53 config.locale = Locale.getDefault(); in setup()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSetTimeTest.java110 while (!testTimeZone.equals(TimeZone.getDefault().getID())) { in testSetTimeZoneWithValue()
126 if (TEST_TIME_ZONE_1.equals(TimeZone.getDefault().getID())) { in testSetTimeZone()
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DTestUtils.java94 Socket s = SSLContext.getDefault().getSocketFactory().createSocket(host, port); in assertSslSocketFails()
103 Socket s = SSLContext.getDefault().getSocketFactory().createSocket(host, port); in assertSslSocketSucceeds()
/cts/tests/tests/permission2/src/android/permission2/cts/
DNoReceiveSmsPermissionTest.java114 String token = SmsManager.getDefault().createAppSpecificSmsToken(receivedIntent); in testAppSpecificSmsToken()
150 SmsManager.getDefault().sendTextMessage(currentNumber, null, text, sentIntent, in sendSms()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DMmsTest.java187 final SmsManager smsManager = SmsManager.getDefault(); in testSendMmsMessage()
322 .getDefault() in shouldParseContentDisposition()
329 .getDefault() in doesSupportMMS()
/cts/tests/app/app/src/android/app/stubs/
DStubRemoteService.java42 return java.util.TimeZone.getDefault().getID();
/cts/hostsidetests/jdwpsecurity/src/android/jdwpsecurity/cts/
DJdwpSecurityHostTest.java145 return RunUtil.getDefault().runCmdInBackground(shellScriptCommand); in runScriptInBackground()
215 Process adbProcess = RunUtil.getDefault().runCmdInBackground(adbJdwpCommand); in listPidsWithAdbJdwp()
/cts/tests/tests/telephony/TestFinancialSmsApp/src/android/telephony/cts/financialsms/
DMainActivity.java38 SmsManager.getDefault().getSmsMessagesForFinancialApp(new Bundle(), in onCreate()
/cts/tests/tests/text/src/android/text/format/cts/
DDateFormatTest.java82 mDefaultLocale = Locale.getDefault(); in setup()
92 if ((mDefaultLocale != null) && !Locale.getDefault().equals(mDefaultLocale)) { in teardown()
321 final Locale oldLocale = Locale.getDefault(); in test_ContextLocaleIsUsed()
/cts/tests/core/runner-axt/src/com/android/cts/runner/
DCtsTestRunListener.java210 mDefaultLocale = Locale.getDefault(); in TestEnvironment()
211 mDefaultTimeZone = TimeZone.getDefault(); in TestEnvironment()
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java210 mDefaultLocale = Locale.getDefault(); in TestEnvironment()
211 mDefaultTimeZone = TimeZone.getDefault(); in TestEnvironment()
/cts/tests/tests/telephony/TestSmsRetrieverApp/src/android/telephony/cts/smsretriever/
DMainActivity.java52 token = SmsManager.getDefault().createAppSpecificSmsTokenWithPackageInfo( in onCreate()
/cts/tests/tests/mimemap/
DAndroid.bp16 // @CorePlatformApi libcore.content.type.MimeMap.getDefault()
/cts/tests/tests/permission/src/android/permission/cts/
DSmsManagerPermissionTest.java55 mSmsManager = SmsManager.getDefault(); in setUp()
/cts/tests/tests/systemui/src/android/systemui/cts/
DScreenshotTestRule.java42 mDefaultScreenshotPath = FileSystems.getDefault() in ScreenCaptureProcessor()
/cts/tests/sensor/src/android/hardware/cts/
DSensorTest.java613 .getDefault(environment, verificationDelayNano)); in verifyLongActivation()
615 operation.addVerification(EventGapVerification.getDefault(environment)); in verifyLongActivation()
616 operation.addVerification(EventOrderingVerification.getDefault(environment)); in verifyLongActivation()
618 .getDefault(environment)); in verifyLongActivation()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DHdmiCecClientWrapper.java80 mCecClient = RunUtil.getDefault().runCmdInBackground(commands); in init()
374 killProcess = RunUtil.getDefault().runCmdInBackground(commands); in killCecProcess()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DOffsetVerification.java67 public static OffsetVerification getDefault(TestSensorEnvironment environment) { in getDefault() method in OffsetVerification
DMagnitudeVerification.java68 public static MagnitudeVerification getDefault(TestSensorEnvironment environment) { in getDefault() method in MagnitudeVerification
DEventOrderingVerification.java50 public static EventOrderingVerification getDefault(TestSensorEnvironment environment) { in getDefault() method in EventOrderingVerification

123