Home
last modified time | relevance | path

Searched refs:JsonUtils (Results 1 – 12 of 12) 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;
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()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/
DFetchCustomAudienceReader.java33 import com.android.adservices.service.common.JsonUtils;
122 JsonUtils.getStringFromJson( in getNameFromJsonObject()
199 JsonUtils.getStringFromJson( in getDailyUpdateUriFromJsonObject()
229 JsonUtils.getStringFromJson( in getBiddingLogicUriFromJsonObject()
DReadAdRenderIdFromJsonStrategyFactory.java25 import com.android.adservices.service.common.JsonUtils;
54 adRenderId = JsonUtils.getStringFromJson(adDataJsonObj, AD_RENDER_ID_KEY); in readId()
DCustomAudienceUpdatableDataReader.java33 import com.android.adservices.service.common.JsonUtils;
183 JsonUtils.getStringFromJson( in getTrustedBiddingDataFromJsonObject()
198 JsonUtils.getStringFromJsonArrayAtIndex( in getTrustedBiddingDataFromJsonObject()
DCustomAudienceBlob.java55 import com.android.adservices.service.common.JsonUtils;
651 JsonUtils.getStringFromJson( in getTrustedBiddingDataFromJSONObject()
665 JsonUtils.getStringFromJsonArrayAtIndex( in getTrustedBiddingDataFromJSONObject()
778 JsonUtils.getStringFromJsonArrayAtIndex(
864 return JsonUtils.getStringFromJson(
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DJsonUtilsTests.java37 final String str = JsonUtils.listToJsonStr(objArray); in testJsonUtils()
38 final List<Object> newObjArray = JsonUtils.jsonStrToList(str); in testJsonUtils()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DDynamicGridKeyboard.java26 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()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DJsonUtils.java31 public final class JsonUtils { class
32 private static final String TAG = JsonUtils.class.getSimpleName();
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/
DJsonUtils.java28 public class JsonUtils { class
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DInteractionUriRegistrationInfo.java21 import static com.android.adservices.service.common.JsonUtils.getStringFromJson;
DReportImpressionScriptEngine.java19 import static com.android.adservices.service.common.JsonUtils.getStringFromJson;
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/download/
DEncryptionKeyConverterUtil.java19 import static com.android.adservices.service.common.JsonUtils.getStringFromJson;