Home
last modified time | relevance | path

Searched refs:ProvisioningException (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/provisioning/
DScriptRunnerTest.java85 throws IOException, ProvisioningException { in createAdfSuccess()
97 public void createAdfSuccessWithKnownAdfOid() throws IOException, ProvisioningException { in createAdfSuccessWithKnownAdfOid()
102 public void createAdfSuccessWithoutKnownAdfOid() throws IOException, ProvisioningException { in createAdfSuccessWithoutKnownAdfOid()
108 throws IOException, ProvisioningException { in manageAdfSuccess()
123 throws IOException, ProvisioningException { in manageAdfSuccessWithKnownAdfOid()
129 throws IOException, ProvisioningException { in manageAdfSuccessWithoutKnownAdfOid()
135 throws IOException, ProvisioningException { in importAdfSuccess()
154 throws IOException, ProvisioningException { in importAdfSuccessWithKnownAdfOid()
160 throws IOException, ProvisioningException { in importAdfSuccessWithoutKnownAdfOid()
166 throws IOException, ProvisioningException { in deleteAdfSuccess()
[all …]
DScriptParserTest.java28 public void parseCorrect() throws ProvisioningException { in parseCorrect()
46 public void parseCorrectWithoutAdfOid() throws ProvisioningException { in parseCorrectWithoutAdfOid()
63 @Test(expected = ProvisioningException.class)
64 public void scriptWithMoreDataItems() throws ProvisioningException { in scriptWithMoreDataItems()
72 @Test(expected = ProvisioningException.class)
73 public void scriptWithLessDataItems() throws ProvisioningException { in scriptWithLessDataItems()
81 @Test(expected = ProvisioningException.class)
82 public void scriptWithWrongDataType() throws ProvisioningException { in scriptWithWrongDataType()
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/provisioning/
DScriptParser.java84 throws ProvisioningException { in parseSignedScript()
86 throw new ProvisioningException("No script content."); in parseSignedScript()
93 throws ProvisioningException { in verifyAndExtractScript()
131 throw new ProvisioningException("Invalid Input", e); in verifyAndExtractScript()
133 throw new ProvisioningException("the content cannot be trusted."); in verifyAndExtractScript()
185 throws ProvisioningException { in parseScript()
190 throw new ProvisioningException(dataItems.size() + " The script only allows " in parseScript()
195 throw new ProvisioningException("the data type is not correct for version"); in parseScript()
203 throw new ProvisioningException("the data type is not correct for APDUs"); in parseScript()
209 throw new ProvisioningException("the data type is not correct for APDU"); in parseScript()
[all …]
DProvisioningException.java19 class ProvisioningException extends Exception { class
21 ProvisioningException(String message) { in ProvisioningException() method in ProvisioningException
25 ProvisioningException(Throwable cause) { in ProvisioningException() method in ProvisioningException
29 ProvisioningException(String message, Throwable cause) { in ProvisioningException() method in ProvisioningException
DScriptRunner.java51 throws ProvisioningException { in run()
54 throw new ProvisioningException("open logical channel error."); in run()
61 throw new ProvisioningException("not allowed Command APDU." in run()
66 throw new ProvisioningException("cannot handle the provisioning apdu."); in run()
83 throw new ProvisioningException( in run()
99 throw new ProvisioningException("SecureBlob is not available."); in run()
111 throw new ProvisioningException(e); in run()
DProvisioningManager.java59 } catch (ProvisioningException e) { in provisioningAdf()
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
DVvm3Subscriber.java145 static class ProvisioningException extends Exception { class in Vvm3Subscriber
147 public ProvisioningException(String message) { in ProvisioningException() method in Vvm3Subscriber.ProvisioningException
224 } catch (ProvisioningException e) { in processSubscription()
232 private String getSelfProvisioningGateway() throws ProvisioningException { in getSelfProvisioningGateway()
243 private String getSelfProvisionResponse(String url) throws ProvisioningException { in getSelfProvisionResponse()
269 throw new ProvisioningException(e.toString()); in getSelfProvisionResponse()
273 private void clickSubscribeLink(String subscribeLink) throws ProvisioningException { in clickSubscribeLink()
285 throw new ProvisioningException(e.toString()); in clickSubscribeLink()
292 private String vvm3XmlRequest(String operation) throws ProvisioningException { in vvm3XmlRequest()
317 throw new ProvisioningException("transactionId mismatch"); in vvm3XmlRequest()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DProvisionFullyManagedDeviceTaskTest.java33 import android.app.admin.ProvisioningException;
78 private static final ProvisioningException PROVISIONING_EXCEPTION = new ProvisioningException(
129 public void testCanGrantSensorsPermissionsByDefault() throws ProvisioningException { in testCanGrantSensorsPermissionsByDefault()
142 public void testCanOptOutOfGrantingSensorsPermissions() throws ProvisioningException { in testCanOptOutOfGrantingSensorsPermissions()
169 private ProvisioningException createProvisioningException() { in createProvisioningException()
170 return new ProvisioningException( in createProvisioningException()
172 ProvisioningException.ERROR_PRE_CONDITION_FAILED); in createProvisioningException()
DCreateAndProvisionManagedProfileTaskTest.java32 import android.app.admin.ProvisioningException;
75 private static final ProvisioningException PROVISIONING_EXCEPTION = new ProvisioningException(
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DCreateAndProvisionManagedProfileTask.java24 import android.app.admin.ProvisioningException;
92 } catch (ProvisioningException provisioningException) { in run()
DProvisionFullyManagedDeviceTask.java26 import android.app.admin.ProvisioningException;
94 } catch (ProvisioningException provisioningException) { in run()