Home
last modified time | relevance | path

Searched refs:stringValue (Results 1 – 25 of 27) sorted by relevance

12

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/instrumentation/
DArguments.java47 String stringValue = getString(key); in getBoolean() local
48 if (stringValue == null) { in getBoolean()
52 return stringValue.equalsIgnoreCase("true"); in getBoolean()
57 String stringValue = getString(key); in getBoolean() local
58 if (stringValue == null) { in getBoolean()
62 return stringValue.equalsIgnoreCase("true"); in getBoolean()
/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/queries/
DUriQueryHelperTest.java76 uriQueryHelper.stringValue().isEqualTo(URI_STRING_VALUE); in matches_stringValue_meetsRestriction_returnsTrue()
85 uriQueryHelper.stringValue().isEqualTo(DIFFERENT_URI_STRING_VALUE); in matches_stringValue_doesNotMeetRestriction_returnsFalse()
95 uriQueryHelper.stringValue().isEqualTo(DIFFERENT_URI_STRING_VALUE); in parcel_parcelsCorrectly()
103 .where().stringValue().isEqualTo(URI_STRING_VALUE) in uriQueryHelper_queries()
130 uriQueryHelper.stringValue().isNull(); in isEmptyQuery_hasStringValueQuery_returnsFalse()
DPersistableBundleKeyQueryHelperTest.java64 persistableBundleKeyQueryHelper.stringValue().isEqualTo(STRING_VALUE); in matches_stringValueRestriction_meetsRestriction_returnsTrue()
75 persistableBundleKeyQueryHelper.stringValue().isEqualTo(DIFFERENT_STRING_VALUE); in matches_stringValueRestriction_doesNotMeetRestriction_returnsFalse()
153 persistableBundleKeyQueryHelper.stringValue().isEqualTo(""); in parcel_parcelsCorrectly()
192 persistableBundleKeyQueryHelper.stringValue().isNotNull(); in isEmptyQuery_hasStringQuery_returnsFalse()
202 persistableBundleKeyQueryHelper.persistableBundleValue().key("A").stringValue().isNotNull(); in isEmptyQuery_hasPersistableBundleQuery_returnsFalse()
DBundleQueryHelperTest.java98 bundleQueryHelper.key(KEY).stringValue().isEqualTo(STRING_VALUE); in matches_restrictionOnNonExistingKey_returnsFalse()
108 bundleQueryHelper.key(KEY).stringValue().isEqualTo(STRING_VALUE); in parcel_parcelsCorrectly()
118 bundle().where().key(KEY).stringValue().isEqualTo(STRING_VALUE) in bundleQueryHelperBase_queries()
135 bundleQueryHelper.key("a").stringValue().isNotNull(); in isEmptyQuery_hasKeyQuery_returnsFalse()
DPersistableBundleQueryHelperTest.java97 persistableBundleQueryHelper.key(KEY).stringValue().isEqualTo(STRING_VALUE); in matches_restrictionOnNonExistingKey_returnsFalse()
107 persistableBundleQueryHelper.key("").stringValue().isEqualTo(""); in parcel_parcelsCorrectly()
118 .where().key(KEY).stringValue().isEqualTo(STRING_VALUE) in persistableBundleQueryHelper_queries()
135 persistableBundleQueryHelper.key("A").stringValue().isNotNull(); in isEmptyQuery_hasDoesNotExistQuery_returnsFalse()
DIntentQueryHelperTest.java86 intentQueryHelper.extras().key(STRING_VALUE).stringValue().isEqualTo(STRING_VALUE); in matches_extras_meetsRestriction_returnsTrue()
98 intentQueryHelper.extras().key(STRING_VALUE).stringValue() in matches_extras_doesNotMeetRestriction_returnsFalse()
110 intentQueryHelper.extras().key("").stringValue().isEqualTo(""); in parcel_parcelsCorrectly()
DBundleKeyQueryHelperTest.java82 bundleKeyQueryHelper.stringValue().isEqualTo(STRING_VALUE); in matches_stringValueRestriction_meetsRestriction_returnsTrue()
93 bundleKeyQueryHelper.stringValue().isEqualTo(DIFFERENT_STRING_VALUE); in matches_stringValueRestriction_doesNotMeetRestriction_returnsFalse()
304 bundleKeyQueryHelper.stringValue().isEqualTo(""); in parcel_parcelsCorrectly()
322 bundleKeyQueryHelper.stringValue().isNotNull(); in isEmptyQuery_hasStringQuery_returnsFalse()
342 bundleKeyQueryHelper.bundleValue().key("").stringValue().isNotNull(); in isEmptyQuery_hasBundleQuery_returnsFalse()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/activities/
DActivityCreatedEventTest.java69 .key(STRING_KEY).stringValue().isEqualTo(STRING_VALUE); in whereSavedInstanceState_works()
90 .key(STRING_KEY).stringValue().isEqualTo(STRING_VALUE); in whereSavedInstanceState_skipsNonMatching()
106 .key(STRING_KEY).stringValue().isEqualTo(STRING_VALUE); in wherePersistentState_works()
128 .key(STRING_KEY).stringValue().isEqualTo(STRING_VALUE); in wherePersistentState_skipsNonMatching()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DUriQuery.java35 StringQuery<E> stringValue(); in stringValue() method
DPersistableBundleKeyQuery.java37 StringQuery<E> stringValue(); in stringValue() method
DBundleKeyQuery.java38 StringQuery<E> stringValue(); in stringValue() method
DUriQueryHelper.java83 public StringQuery<E> stringValue() { in stringValue() method in UriQueryHelper
DPersistableBundleKeyQueryHelper.java78 public StringQuery<E> stringValue() { in stringValue() method in PersistableBundleKeyQueryHelper
DBundleKeyQueryHelper.java88 public StringQuery<E> stringValue() { in stringValue() method in BundleKeyQueryHelper
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/
DEnterpriseMetricInfo.java37 event.stringListValue.stringValue); in EnterpriseMetricInfo()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DExifInterfaceTest.java179 String stringValue = typedArray.getString(index); in getString() local
180 if (stringValue == null || stringValue.equals("")) { in getString()
183 return stringValue.trim(); in getString()
301 String stringValue = exifInterface.getAttribute(tag); in assertStringTag() local
302 if (stringValue != null) { in assertStringTag()
303 stringValue = stringValue.trim(); in assertStringTag()
305 stringValue = (stringValue == "") ? null : stringValue; in assertStringTag()
307 assertEquals(expectedValue, stringValue); in assertStringTag()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminTransferOwnershipCompleteEventTest.java66 .whereBundle().key("STRING").stringValue().isEqualTo(STRING_VALUE); in whereBundle_works()
84 .whereBundle().key("STRING").stringValue().isEqualTo(STRING_VALUE); in whereBundle_skipsNonMatching()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/utils/
DPolicySetResultUtils.java43 .whereIntent().extras().key(EXTRA_POLICY_KEY).stringValue() in assertPolicySetResultReceived()
/cts/tests/tests/provider/src/android/provider/cts/settings/
DSettings_SystemTest.java106 String stringValue = "cts"; in testSystemSettings() local
112 assertTrue(System.putString(mContentResolver, STRING_FIELD, stringValue)); in testSystemSettings()
122 assertEquals(stringValue, System.getString(mContentResolver, STRING_FIELD)); in testSystemSettings()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DBugReportTest.kt75 .stringValue().startsWith("Share bug report").poll()!! in <lambda>()
96 .stringValue().startsWith("Share bug report").poll()!! in <lambda>()
251 ….whereNotification().extras().key(Notification.EXTRA_TITLE).stringValue().startsWith("Share bug re… in <lambda>()
DTransferOwnershipTest.kt299 ).stringValue().isEqualTo("true") in <lambda>()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleClientService.java1317 String stringValue = new String(value);
1319 notifyCharacteristicReadNeedEncrypted(stringValue);
1322 if (BleServerService.WRITE_VALUE.equals(stringValue)) {
1323 notifyCharacteristicRead(stringValue);
1400 String stringValue = new String(value);
1404 if (BleServerService.WRITE_VALUE.equals(stringValue)) {
1405 notifyDescriptorRead(stringValue);
1410 notifyDescriptorReadNeedEncrypted(stringValue);
1445 String stringValue = new String(value);
1448 && BleServerService.INDICATE_VALUE.equals(stringValue)) {
[all …]
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerGetPropertyTest.java474 final String stringValue = (String) propertyValue; in assertProperty() local
475 assertEquals(stringValue, testProperty.getString()); in assertProperty()
DPackageManagerQueryPropertyTest.java473 final String stringValue = (String) propertyValue; in assertProperty() local
474 assertEquals(stringValue, testProperty.getString()); in assertProperty()
/cts/tests/credentials/src/android/credentials/cts/
DCtsDevicePolicyTest.java105 .stringValue()

12