Home
last modified time | relevance | path

Searched refs:contextId (Results 1 – 17 of 17) sorted by relevance

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DEncryptionContextDao.java44 long contextId, @EncryptionKeyConstants.EncryptionKeyType int encryptionKeyType); in getEncryptionContext() argument
60 long contextId, EncryptionContext encryptionContext, Instant creationInstant) { in persistEncryptionContext() argument
66 .setContextId(contextId) in persistEncryptionContext()
83 long contextId, @EncryptionKeyConstants.EncryptionKeyType int encryptionKeyType) in getEncryptionContextForIdAndKeyType() argument
86 getEncryptionContext(contextId, encryptionKeyType); in getEncryptionContextForIdAndKeyType()
DDBEncryptionContext.java90 long contextId, in create() argument
98 .setContextId(contextId) in create()
113 public abstract Builder setContextId(long contextId); in setContextId() argument
/packages/services/Car/service/src/com/android/car/audio/
DCarVolume.java364 int contextId = sortedContexts.get(index); in dumpSortedContexts() local
365 int priority = mVolumePriorityByAudioContext.get(contextId); in dumpSortedContexts()
367 mCarAudioContext.toString(contextId), contextId, priority); in dumpSortedContexts()
369 mCarAudioContext.getAudioAttributesForContext(contextId); in dumpSortedContexts()
393 int contextId = sortedContexts.get(index); in dumpProtoSortedContexts() local
394 int priority = mVolumePriorityByAudioContext.get(contextId); in dumpProtoSortedContexts()
399 mCarAudioContext.toString(contextId)); in dumpProtoSortedContexts()
400 proto.write(CarAudioContextInfoProto.ID, contextId); in dumpProtoSortedContexts()
402 mCarAudioContext.getAudioAttributesForContext(contextId); in dumpProtoSortedContexts()
418 int contextId = mVolumePriorityByAudioContext.keyAt(index); in getSortedContexts() local
[all …]
DCarAudioZonesHelper.java323 int contextId = CarAudioContext.getInvalidContext() + 1; in parseCarAudioContexts() local
330 parseCarAudioContext(parser, contextId); in parseCarAudioContexts()
331 contextId++; in parseCarAudioContexts()
338 private void parseCarAudioContext(XmlPullParser parser, int contextId) in parseCarAudioContext() argument
350 contextId = CoreAudioHelper.getStrategyForContextName(contextName); in parseCarAudioContext()
351 if (contextId == CoreAudioHelper.INVALID_STRATEGY) { in parseCarAudioContext()
357 validateCarAudioContextAttributes(contextId, attributes, contextName); in parseCarAudioContext()
359 contextName, contextId); in parseCarAudioContext()
367 private void validateCarAudioContextAttributes(int contextId, List<AudioAttributes> attributes, in validateCarAudioContextAttributes() argument
372 AudioProductStrategy strategy = CoreAudioHelper.getStrategy(contextId); in validateCarAudioContextAttributes()
[all …]
DCarAudioDynamicRouting.java135 @CarAudioContext.AudioContext int contextId = in setupAudioDynamicRoutingForGroup() local
139 carAudioContext.getAudioAttributesForContext(contextId); in setupAudioDynamicRoutingForGroup()
DCarAudioContext.java403 int contextId = info.getId(); in CarAudioContext() local
414 if (CoreAudioHelper.getStrategyForAudioAttributes(attributes) != contextId) { in CarAudioContext()
755 int contextId = contexts.get(contextIndex); in validateAllAudioAttributesSupported() local
756 AudioAttributes[] attributes = getAudioAttributesForContext(contextId); in validateAllAudioAttributesSupported()
DCarAudioZoneConfig.java272 int contextId = groupContexts[groupIndex]; in validateVolumeGroups() local
273 if (!contexts.add(contextId)) { in validateVolumeGroups()
274 Slogf.e(CarLog.TAG_AUDIO, "Context %d appears in two groups", contextId); in validateVolumeGroups()
DCarVolumeGroup.java438 int contextId = contextsForAddress.get(contextIndex); in getAllSupportedUsagesForAddress() local
440 mCarAudioContext.getAudioAttributesForContext(contextId); in getAllSupportedUsagesForAddress()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/encryption/
DObliviousHttpRequestContextMarshaller.java49 public ObliviousHttpRequestContext getAuctionOblivioushttpRequestContext(long contextId) in getAuctionOblivioushttpRequestContext() argument
53 contextId, in getAuctionOblivioushttpRequestContext()
61 contextId); in getAuctionOblivioushttpRequestContext()
74 long contextId, ObliviousHttpRequestContext requestContext) { in insertAuctionEncryptionContext() argument
84 .setContextId(contextId) in insertAuctionEncryptionContext()
DObliviousHttpEncryptorImpl.java69 long contextId, in encryptBytes() argument
79 createAndSerializeRequest(key, plainText, contextId); in encryptBytes()
106 ObliviousHttpKeyConfig config, byte[] plainText, long contextId) { in createAndSerializeRequest() argument
120 contextId, request.requestContext()); in createAndSerializeRequest()
DObliviousHttpEncryptor.java31 long contextId, in encryptBytes() argument
DKAnonObliviousHttpEncryptorImpl.java64 long contextId, in encryptBytes() argument
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/adselection/
DObliviousHttpEncryptorWithSeedImpl.java73 long contextId, in encryptBytes() argument
82 key -> createAndSerializeRequestWithSeed(key, plainText, contextId), in encryptBytes()
107 ObliviousHttpKeyConfig config, byte[] plainText, long contextId) { in createAndSerializeRequestWithSeed() argument
121 contextId, request.requestContext()); in createAndSerializeRequestWithSeed()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DEncryptionContextDaoTest.java162 private DBEncryptionContext getDbEncryptionContext(long contextId) throws Exception { in getDbEncryptionContext() argument
163 return getDefaultDBEncryptionContextBuilder().setContextId(contextId).build(); in getDbEncryptionContext()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncTriggerFetcher.java397 String contextId = triggerContextIdObj.toString(); in getValidTriggerContextId() local
398 if (contextId.length() > mFlags.getMeasurementMaxLengthOfTriggerContextId()) { in getValidTriggerContextId()
403 contextId, in getValidTriggerContextId()
408 return Optional.of(contextId); in getValidTriggerContextId()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioContextTest.java986 int contextId = 1; in getCarAudioContextId_forAudioAttributesWrapper() local
988 new CarAudioContext.AudioAttributesWrapper(TEST_MEDIA_ATTRIBUTE, contextId); in getCarAudioContextId_forAudioAttributesWrapper()
991 .isEqualTo(contextId); in getCarAudioContextId_forAudioAttributesWrapper()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/kanon/
DKAnonCallerImpl.java1180 long contextId,
1185 BaseEncoding.base64().decode(joinResponse.getResponseBody()), contextId);