Home
last modified time | relevance | path

Searched refs:Strings (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/libthermalndk/src/android/thermal/cts/
DNativeThermalTest.java29 import com.google.common.base.Strings;
80 if (!Strings.isNullOrEmpty(failureMessage)) { in testGetCurrentThermalStatus()
92 if (!Strings.isNullOrEmpty(failureMessage)) { in testRegisterThermalStatusListener()
103 if (!Strings.isNullOrEmpty(failureMessage)) { in testThermalStatusRegisterNullListener()
114 if (!Strings.isNullOrEmpty(failureMessage)) { in testThermalStatusListenerDoubleRegistration()
126 if (!Strings.isNullOrEmpty(failureMessage)) { in testGetThermalHeadroom()
137 if (!Strings.isNullOrEmpty(failureMessage)) { in testGetThermalHeadroomThresholds()
/cts/hostsidetests/appsecurity/test-apps/SettingsProviderInvalidKeyTestApp/src/com/android/cts/settingsproviderinvalidkeytestapp/
DSettingsProviderInvalidKeyTest.java25 import com.google.common.base.Strings;
31 () -> Settings.System.putString(resolver, Strings.repeat("A", 30001), "")); in testLongKeysAreRejected()
35 () -> Settings.System.putString(resolver, Strings.repeat("A", 30001), "")); in testLongKeysAreRejected()
/cts/tests/tests/os/src/android/os/cts/
DPerformanceHintManagerTest.java45 import com.google.common.base.Strings;
96 if (!Strings.isNullOrEmpty(failureMessage)) { in testNativeCreateHintSession()
113 if (!Strings.isNullOrEmpty(failureMessage)) { in testNativeGetPreferredUpdateRateNanos()
128 if (!Strings.isNullOrEmpty(failureMessage)) { in testNativeUpdateTargetWorkDuration()
145 if (!Strings.isNullOrEmpty(failureMessage)) { in testNativeUpdateTargetWorkDurationWithNegativeDuration()
163 if (!Strings.isNullOrEmpty(failureMessage)) { in testNativeReportActualWorkDuration()
181 if (!Strings.isNullOrEmpty(failureMessage)) { in testNativeReportActualWorkDurationWithIllegalArgument()
286 if (!Strings.isNullOrEmpty(failureMessage)) { in testSetThreadsWithInvalidTid()
305 if (!Strings.isNullOrEmpty(failureMessage)) { in testNativeSetPreferPowerEfficiency()
330 if (!Strings.isNullOrEmpty(resultMessage)) { in testNativeReportActualWorkDuration2()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/settings/
DSettings_MemoryUsageTest.java32 import com.google.common.base.Strings;
71 mContentResolver, STRING_SETTING, Strings.repeat("A", 30001))); in testMemoryUsageExceeded()
75 mContentResolver, STRING_SETTING, Strings.repeat("A", 30001))); in testMemoryUsageExceeded()
DSettings_SystemTest.java43 import com.google.common.base.Strings;
254 mContentResolver, STRING_FIELD, Strings.repeat("A", 65535))); in testLargeSettingExceedsLimit()
258 mContentResolver, Strings.repeat("A", 65535), "test")); in testLargeSettingExceedsLimit()
/cts/libs/vogar-expect/src/vogar/expect/
DOutcome.java25 import vogar.expect.util.Strings;
71 return Strings.join(sanitizedStrings, "\n"); in sanitizeOutputLines()
75 return Strings.xmlSanitize(outputLine.replaceAll("\r\n?", "\n")); in sanitizeOutputLine()
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DUserDataTest.java37 import com.google.common.base.Strings;
73 private final String mShortValue = Strings.repeat("k", UserData.getMinValueLength() - 1);
75 + Strings.repeat("?", UserData.getMaxValueLength());
DCompositeUserDataTest.java29 import com.google.common.base.Strings;
39 private final String mShortValue = Strings.repeat("k", UserData.getMinValueLength() - 1);
41 + Strings.repeat("?", UserData.getMaxValueLength());
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCurrentApiHelper.java19 import com.google.common.base.Strings;
190 String prefix = Strings.repeat("[", arrayDim); in getClassByName()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DLocaleDeviceInfo.java26 import com.google.common.base.Strings;
85 return matcher.find() ? Strings.nullToEmpty(matcher.group(1)) : ""; in collectDeviceInfo()
/cts/tools/cts-tradefed/tests/src/com/android/compatibility/common/tradefed/loading/
DCtsConfigLoadingTest.java35 import com.google.common.base.Strings;
155 if (Strings.isNullOrEmpty(suiteRoot)) { in testConfigurationLoad()
DCommonConfigLoadingTest.java49 import com.google.common.base.Strings;
135 if (Strings.isNullOrEmpty(suiteRoot)) { in testConfigurationLoad()
/cts/tests/tests/car/src/android/car/cts/
DCarPowerManagerTest.java44 import com.google.common.base.Strings;
384 if (!Strings.isNullOrEmpty(enabledComponents)) { in definePowerPolicy()
387 if (!Strings.isNullOrEmpty(disabledComponents)) { in definePowerPolicy()
/cts/libs/vogar-expect/src/vogar/expect/util/
DStrings.java38 public class Strings { class
/cts/hostsidetests/scopedstorage/ScopedStorageTestHelper/src/android/scopedstorage/cts/
DScopedStorageTestHelper.java80 import com.google.common.base.Strings;
229 if (!Strings.isNullOrEmpty(ownerPackageName)) { in queryOwnerPackageNames()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java39 import com.google.common.base.Strings;
1280 if (!line.startsWith(Strings.repeat(" ", lastIndent + 1))) { in isRestrictionSetOnUser()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt1436 public static final class DevicePolicyResources.Strings {
1439 public static final class DevicePolicyResources.Strings.DefaultAppSettings {
1444 public static final class DevicePolicyResources.Strings.PermissionSettings {
Dcurrent.txt18877 …mission.USE_BIOMETRIC) public android.hardware.biometrics.BiometricManager.Strings getStrings(int);
18892 public static class BiometricManager.Strings {