Searched refs:JSONResponseContract (Results 1 – 2 of 2) sorted by relevance
82 interface JSONResponseContract { interface in EncryptionKeyFetcher242 if (jsonObject.has(JSONResponseContract.ENCRYPTION_KEY)) { in parseEncryptionKeyJSONResponse()244 jsonObject.getJSONObject(JSONResponseContract.ENCRYPTION_KEY); in parseEncryptionKeyJSONResponse()251 if (jsonObject.has(JSONResponseContract.SIGNING_KEY)) { in parseEncryptionKeyJSONResponse()253 jsonObject.getJSONObject(JSONResponseContract.SIGNING_KEY); in parseEncryptionKeyJSONResponse()280 if (jsonObject.has(JSONResponseContract.PROTOCOL_TYPE)) { in buildEncryptionKeys()283 jsonObject.getString(JSONResponseContract.PROTOCOL_TYPE)); in buildEncryptionKeys()288 if (jsonObject.has(JSONResponseContract.KEYS)) { in buildEncryptionKeys()289 JSONArray keyArray = jsonObject.getJSONArray(JSONResponseContract.KEYS); in buildEncryptionKeys()
38 import com.android.adservices.service.encryptionkey.EncryptionKeyFetcher.JSONResponseContract;128 encryptionObject.put(JSONResponseContract.PROTOCOL_TYPE, PROTOCOL_TYPE1); in constructEncryptionKeyJSON()129 encryptionObject.put(JSONResponseContract.KEYS, keyArray); in constructEncryptionKeyJSON()142 signingObject.put(JSONResponseContract.PROTOCOL_TYPE, PROTOCOL_TYPE2); in constructSigningKeyJSON()143 signingObject.put(JSONResponseContract.KEYS, keyArray); in constructSigningKeyJSON()175 jsonResponse.put(JSONResponseContract.ENCRYPTION_KEY, constructEncryptionKeyJSON()); in buildEncryptionKeyJSONResponse()176 jsonResponse.put(JSONResponseContract.SIGNING_KEY, constructSigningKeyJSON()); in buildEncryptionKeyJSONResponse()