Home
last modified time | relevance | path

Searched refs:VALUE_NOT_A_STRING (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DJsonUtilsTest.java19 import static com.android.adservices.service.common.JsonUtils.VALUE_NOT_A_STRING;
55 String.format(VALUE_NOT_A_STRING, KEY + "otherValue"), in testGetStringFromJsonThrowsJSONExceptionWhenKeyDoesNotExist()
67 String.format(VALUE_NOT_A_STRING, KEY), in testGetStringFromJsonThrowsJSONExceptionWhenValueIsNotString()
107 String.format(VALUE_NOT_A_STRING, KEY), in testGetStringFromJsonThrowsJSONExceptionWhenValueIsJSONObject()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DJsonUtils.java29 public static final String VALUE_NOT_A_STRING = "Value with key %s is not a String!"; field in JsonUtils
40 return getStringFromJson(jsonObject, key, String.format(VALUE_NOT_A_STRING, key)); in getStringFromJson()