Home
last modified time | relevance | path

Searched refs:adfOid (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/secure/provisioning/
DProvisioningManager.java66 public void deleteAdf(@NonNull UUID serviceInstanceId, @NonNull ObjectIdentifier adfOid, in deleteAdf() argument
69 DeleteAdfCommand deleteAdfCommand = DeleteAdfCommand.build(adfOid); in deleteAdf()
81 deleteAdfCallback.onSuccess(serviceInstanceId, adfOid); in deleteAdf()
84 deleteAdfCallback.onFail(serviceInstanceId, adfOid); in deleteAdf()
93 void onAdfCreated(@NonNull UUID serviceInstanceId, @NonNull ObjectIdentifier adfOid); in onAdfCreated() argument
96 void onAdfProvisioned(@NonNull UUID serviceInstanceId, @NonNull ObjectIdentifier adfOid); in onAdfProvisioned() argument
99 void onAdfImported(@NonNull UUID serviceInstanceId, @NonNull ObjectIdentifier adfOid, in onAdfImported() argument
103 void onAdfDeleted(@NonNull UUID serviceInstanceId, @NonNull ObjectIdentifier adfOid); in onAdfDeleted() argument
112 void onSuccess(UUID serviceInstanceId, ObjectIdentifier adfOid); in onSuccess() argument
115 void onFail(UUID serviceInstanceId, ObjectIdentifier adfOid); in onFail() argument
DScriptRunner.java76 Optional<ObjectIdentifier> adfOid = scriptContent.mAdfOid; in run() local
77 if (adfOid.isEmpty()) { in run()
80 adfOid = Optional.of(ObjectIdentifier.fromBytes(oids.get(0).value)); in run()
89 provisioningCallback.onAdfCreated(serviceInstanceId, adfOid.get()); in run()
93 provisioningCallback.onAdfProvisioned(serviceInstanceId, adfOid.get()); in run()
101 provisioningCallback.onAdfImported(serviceInstanceId, adfOid.get(), in run()
105 provisioningCallback.onAdfDeleted(serviceInstanceId, adfOid.get()); in run()
DScriptParser.java213 Optional<ObjectIdentifier> adfOid = Optional.empty(); in parseScript() local
219 adfOid = Optional.of(ObjectIdentifier.fromBytes( in parseScript()
222 return new ScriptContent(majorVersion, minorVersion, apdus, adfOid); in parseScript()
252 List<byte[]> provisioningApdus, Optional<ObjectIdentifier> adfOid) { in ScriptContent() argument
256 this.mAdfOid = adfOid; in ScriptContent()
/packages/modules/Uwb/service/java/com/android/server/uwb/pm/
DProfileManager.java192 @androidx.annotation.NonNull ObjectIdentifier adfOid) { in provisioningAdf()
194 serviceInstanceId, serviceProfileInfo, adfOid); in provisioningAdf()
195 serviceProfileInfo.setServiceAdfOid(adfOid); in provisioningAdf()
198 adfOpCallback.onSuccess(serviceInstanceId, adfOid, AdfOp.CREATE_ADF); in provisioningAdf()
204 @NonNull ObjectIdentifier adfOid) { in provisioningAdf()
206 || !adfOid.equals(serviceProfileInfo.getServiceAdfOid().get())) { in provisioningAdf()
209 serviceProfileInfo.setServiceAdfOid(adfOid); in provisioningAdf()
213 adfOpCallback.onSuccess(serviceInstanceId, adfOid, AdfOp.PROVISIONING_ADF); in provisioningAdf()
218 @NonNull ObjectIdentifier adfOid, in provisioningAdf()
221 serviceInstanceId, serviceProfileInfo, adfOid); in provisioningAdf()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DDeleteAdfCommand.java35 private DeleteAdfCommand(@NonNull ObjectIdentifier adfOid) { in DeleteAdfCommand() argument
37 this.mAdfOid = adfOid; in DeleteAdfCommand()
68 public static DeleteAdfCommand build(@NonNull ObjectIdentifier adfOid) { in build() argument
69 return new DeleteAdfCommand(adfOid); in build()
DSelectAdfCommand.java37 private SelectAdfCommand(@NonNull ObjectIdentifier adfOid) { in SelectAdfCommand() argument
39 mAdfOid = adfOid; in SelectAdfCommand()
72 public static SelectAdfCommand build(ObjectIdentifier adfOid) { in build() argument
73 return new SelectAdfCommand(adfOid); in build()
DDispatchResponse.java107 public final ObjectIdentifier adfOid; field in DispatchResponse.AdfSelectedNotification
109 private AdfSelectedNotification(@NonNull ObjectIdentifier adfOid) { in AdfSelectedNotification() argument
112 this.adfOid = adfOid; in AdfSelectedNotification()
291 ObjectIdentifier adfOid = in parseNotification() local
294 notificationList.add(new AdfSelectedNotification(adfOid)); in parseNotification()
DInitiateTransactionCommand.java92 for (ObjectIdentifier adfOid : mAdfOids) { in getTlvPayload()
93 tlvs.add(CsmlUtil.encodeObjectIdentifierAsTlv(adfOid)); in getTlvPayload()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/
DFiRaSecureChannel.java208 @NonNull ObjectIdentifier adfOid, in swapInAdf() argument
211 SwapInAdfCommand.build(secureBlob, adfOid, uwbControleeInfo); in swapInAdf()
309 ObjectIdentifier selectedAdfOid = adfSelected.adfOid; in handleDispatchResponseForSc()
311 .equals(adfSelected.adfOid)) { in handleDispatchResponseForSc()
DInitiatorSecureChannel.java95 private boolean selectAdf(@NonNull ObjectIdentifier adfOid) { in selectAdf() argument
96 SelectAdfCommand selectAdfCmd = SelectAdfCommand.build(adfOid); in selectAdf()
/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DServiceProfileData.java180 adfOid -> serviceConfigBuilder.setServiceAdfOid( in serializeData()
181 ByteString.copyFrom(adfOid.value))); in serializeData()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/csml/
DDispatchResponseTest.java123 dispatchResponse.notifications.get(0)).adfOid) in validResponseWithAdfSelectedNotification()