Searched refs:scriptContent (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/provisioning/ |
D | ScriptParserTest.java | 33 ScriptParser.ScriptContent scriptContent = in parseCorrect() local 36 assertThat(scriptContent.mMajorVersion).isEqualTo(1); in parseCorrect() 37 assertThat(scriptContent.mMinorVersion).isEqualTo(1); in parseCorrect() 38 assertThat(scriptContent.mAdfOid.get().value).isEqualTo(new byte[] {(byte) 1}); in parseCorrect() 40 assertThat(scriptContent.mProvisioningApdus.get(0)) in parseCorrect() 42 assertThat(scriptContent.mProvisioningApdus.get(1)) in parseCorrect() 51 ScriptParser.ScriptContent scriptContent = in parseCorrectWithoutAdfOid() local 54 assertThat(scriptContent.mMajorVersion).isEqualTo(1); in parseCorrectWithoutAdfOid() 55 assertThat(scriptContent.mMinorVersion).isEqualTo(1); in parseCorrectWithoutAdfOid() 56 assertThat(scriptContent.mAdfOid.isEmpty()).isTrue(); in parseCorrectWithoutAdfOid() [all …]
|
D | ScriptRunnerTest.java | 88 ScriptParser.ScriptContent scriptContent = new ScriptParser.ScriptContent(1, 1, in createAdfSuccess() local 91 mUnderTest.run(scriptContent, SERVICE_INSTANCE_ID, mProvisioningCallback); in createAdfSuccess() 113 ScriptParser.ScriptContent scriptContent = new ScriptParser.ScriptContent(1, 1, in manageAdfSuccess() local 116 mUnderTest.run(scriptContent, SERVICE_INSTANCE_ID, mProvisioningCallback); in manageAdfSuccess() 142 ScriptParser.ScriptContent scriptContent = new ScriptParser.ScriptContent(1, 1, in importAdfSuccess() local 145 mUnderTest.run(scriptContent, SERVICE_INSTANCE_ID, mProvisioningCallback); in importAdfSuccess() 170 ScriptParser.ScriptContent scriptContent = new ScriptParser.ScriptContent(1, 1, in deleteAdfSuccess() local 173 mUnderTest.run(scriptContent, SERVICE_INSTANCE_ID, mProvisioningCallback); in deleteAdfSuccess() 195 ScriptParser.ScriptContent scriptContent = new ScriptParser.ScriptContent(1, 1, in notAllowedCmd() local 198 mUnderTest.run(scriptContent, SERVICE_INSTANCE_ID, mProvisioningCallback); in notAllowedCmd() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/provisioning/ |
D | ScriptRunner.java | 48 void run(@NonNull ScriptParser.ScriptContent scriptContent, in run() argument 52 List<byte[]> primitiveApdus = scriptContent.mProvisioningApdus; in run() 76 Optional<ObjectIdentifier> adfOid = scriptContent.mAdfOid; in run()
|
D | ProvisioningManager.java | 55 ScriptParser.ScriptContent scriptContent = in provisioningAdf() local 58 engine.run(scriptContent, serviceInstanceId, provisioningCallback); in provisioningAdf()
|