Searched refs:JsonUtils (Results 1 – 12 of 12) sorted by relevance
19 import static com.android.adservices.service.common.JsonUtils.VALUE_NOT_A_STRING;20 import static com.android.adservices.service.common.JsonUtils.getStringFromJson;47 JsonUtils.getStringFromJsonArrayAtIndex(jsonArray, 0, CUSTOM_ERROR), VALID_VALUE); in testGetStringFromJsonArraySuccess()82 JsonUtils.getStringFromJsonArrayAtIndex(jsonArray, 0, CUSTOM_ERROR); in testGetStringFromJsonArrayThrowsJSONExceptionWhenValueIsNotString()
33 import com.android.adservices.service.common.JsonUtils;122 JsonUtils.getStringFromJson( in getNameFromJsonObject()199 JsonUtils.getStringFromJson( in getDailyUpdateUriFromJsonObject()229 JsonUtils.getStringFromJson( in getBiddingLogicUriFromJsonObject()
25 import com.android.adservices.service.common.JsonUtils;54 adRenderId = JsonUtils.getStringFromJson(adDataJsonObj, AD_RENDER_ID_KEY); in readId()
33 import com.android.adservices.service.common.JsonUtils;183 JsonUtils.getStringFromJson( in getTrustedBiddingDataFromJsonObject()198 JsonUtils.getStringFromJsonArrayAtIndex( in getTrustedBiddingDataFromJsonObject()
55 import com.android.adservices.service.common.JsonUtils;651 JsonUtils.getStringFromJson( in getTrustedBiddingDataFromJSONObject()665 JsonUtils.getStringFromJsonArrayAtIndex( in getTrustedBiddingDataFromJSONObject()778 JsonUtils.getStringFromJsonArrayAtIndex(864 return JsonUtils.getStringFromJson(
37 final String str = JsonUtils.listToJsonStr(objArray); in testJsonUtils()38 final List<Object> newObjArray = JsonUtils.jsonStrToList(str); in testJsonUtils()
26 import com.android.inputmethod.latin.utils.JsonUtils;141 final String jsonStr = JsonUtils.listToJsonStr(keys); in saveRecentKeys()171 final List<Object> keys = JsonUtils.jsonStrToList(str); in loadRecentKeys()
31 public final class JsonUtils { class32 private static final String TAG = JsonUtils.class.getSimpleName();
28 public class JsonUtils { class
21 import static com.android.adservices.service.common.JsonUtils.getStringFromJson;
19 import static com.android.adservices.service.common.JsonUtils.getStringFromJson;