Home
last modified time | relevance | path

Searched refs:SERVICE_INSTANCE_ID (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/provisioning/
DProvisioningManagerTest.java52 private static final UUID SERVICE_INSTANCE_ID = UUID.fromString("1-2-3-4-5"); field in ProvisioningManagerTest
64 mUnderTest.provisioningAdf(SERVICE_INSTANCE_ID, new byte[0], mProvisioningCallback); in provisioningException()
68 verify(mProvisioningCallback).onFail(eq(SERVICE_INSTANCE_ID)); in provisioningException()
77 mUnderTest.deleteAdf(SERVICE_INSTANCE_ID, ADF_OID, mDeleteAdfCallback); in deleteAdfSuccess()
80 verify(mDeleteAdfCallback).onSuccess(eq(SERVICE_INSTANCE_ID), eq(ADF_OID)); in deleteAdfSuccess()
89 mUnderTest.deleteAdf(SERVICE_INSTANCE_ID, ADF_OID, mDeleteAdfCallback); in deleteAdfFail()
92 verify(mDeleteAdfCallback).onFail(eq(SERVICE_INSTANCE_ID), eq(ADF_OID)); in deleteAdfFail()
100 mUnderTest.deleteAdf(SERVICE_INSTANCE_ID, ADF_OID, mDeleteAdfCallback); in deleteAdfWithException()
103 verify(mDeleteAdfCallback).onFail(eq(SERVICE_INSTANCE_ID), eq(ADF_OID)); in deleteAdfWithException()
DScriptRunnerTest.java58 private static final UUID SERVICE_INSTANCE_ID = UUID.fromString("1-2-3-4-5"); field in ScriptRunnerTest
91 mUnderTest.run(scriptContent, SERVICE_INSTANCE_ID, mProvisioningCallback); in createAdfSuccess()
93 verify(mProvisioningCallback).onAdfCreated(eq(SERVICE_INSTANCE_ID), eq(expectedOid)); in createAdfSuccess()
116 mUnderTest.run(scriptContent, SERVICE_INSTANCE_ID, mProvisioningCallback); in manageAdfSuccess()
118 verify(mProvisioningCallback).onAdfProvisioned(eq(SERVICE_INSTANCE_ID), eq(expectedOid)); in manageAdfSuccess()
145 mUnderTest.run(scriptContent, SERVICE_INSTANCE_ID, mProvisioningCallback); in importAdfSuccess()
148 eq(SERVICE_INSTANCE_ID), eq(expectedOid), in importAdfSuccess()
173 mUnderTest.run(scriptContent, SERVICE_INSTANCE_ID, mProvisioningCallback); in deleteAdfSuccess()
175 verify(mProvisioningCallback).onAdfDeleted(eq(SERVICE_INSTANCE_ID), eq(expectedOid)); in deleteAdfSuccess()
198 mUnderTest.run(scriptContent, SERVICE_INSTANCE_ID, mProvisioningCallback); in notAllowedCmd()
[all …]
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/profile/
DUuidBundleWrapper.java33 public static final String SERVICE_INSTANCE_ID = "service_instance_id"; field in UuidBundleWrapper
51 bundle.putString(SERVICE_INSTANCE_ID, mServiceInstanceID.get().toString()); in toBundle()
57 return bundle.containsKey(SERVICE_INSTANCE_ID); in isUuidBundle()
72 if (bundle.containsKey(SERVICE_INSTANCE_ID)) { in parseVersion1()
74 bundle.getString(SERVICE_INSTANCE_ID)))); in parseVersion1()