Home
last modified time | relevance | path

Searched refs:IllegalProvisioningArgumentException (Results 1 – 22 of 22) sorted by relevance

/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/parser/
DParserUtilsTest.java51 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
128 throws IllegalProvisioningArgumentException { in extractProvisioningAction_provisionManagedDeviceIntent_returnsProvisionManagedDevice()
138 throws IllegalProvisioningArgumentException { in extractProvisioningAction_provisionManagedProfileIntent_returnsProvisionManagedProfile()
148 throws IllegalProvisioningArgumentException { in extractProvisioningAction_provisionFinancedDeviceIntent_returnsProvisionFinancedDevice()
158 throws IllegalProvisioningArgumentException { in extractProvisioningAction_provisionManagedDeviceSilentlyIntent_returnsProvisionManagedDevice()
167 throws IllegalProvisioningArgumentException { in extractProvisioningAction_nfcIntent_returnsProvisionManagedDevice()
175 @Test(expected = IllegalProvisioningArgumentException.class)
177 throws IllegalProvisioningArgumentException { in testExtractProvisioningAction_nfcIntentWithNoMimeType_throwsException()
183 @Test(expected = IllegalProvisioningArgumentException.class)
185 throws IllegalProvisioningArgumentException { in extractProvisioningAction_nfcIntentWithWrongMimeType_throwsException()
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParserTest.java141 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
546 } catch (IllegalProvisioningArgumentException e) { in testParse_nfcProvisioningIntentThrowsException()
573 } catch (IllegalProvisioningArgumentException e) { in testParse_illFormedLocaleThrowsException()
661 public void testParse_PermissionGrantOptOut() throws IllegalProvisioningArgumentException { in testParse_PermissionGrantOptOut()
808 throws IllegalProvisioningArgumentException { in testParse_trustedSourceWithInvalidSupportedModes_throwsException()
814 IllegalProvisioningArgumentException.class, in testParse_trustedSourceWithInvalidSupportedModes_throwsException()
819 throws IllegalProvisioningArgumentException { in testParse_trustedSourceWithSkipOwnershipDisclaimerTrue_areEqual()
830 throws IllegalProvisioningArgumentException { in testParse_trustedSourceWithSkipOwnershipDisclaimerFalse_areEqual()
841 throws IllegalProvisioningArgumentException { in testParse_trustedSourceWithoutSkipOwnershipDisclaimer_isFalse()
851 throws IllegalProvisioningArgumentException { in testParse_managedProfileWithSkipOwnershipDisclaimerTrue_isFalse()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DParserUtils.java44 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
95 throws IllegalProvisioningArgumentException { in extractProvisioningAction()
97 throw new IllegalProvisioningArgumentException("Null intent action."); in extractProvisioningAction()
117 throw new IllegalProvisioningArgumentException( in extractProvisioningAction()
125 throw new IllegalProvisioningArgumentException( in extractProvisioningAction()
135 throw new IllegalProvisioningArgumentException("Unknown intent action " in extractProvisioningAction()
DExtrasProvisioningDataParser.java91 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
363 throws IllegalProvisioningArgumentException{ in parse()
379 throw new IllegalProvisioningArgumentException("Unsupported provisioning action: " in parse()
484 throws IllegalProvisioningArgumentException { in parseMinimalistSupportedProvisioningDataInternal()
593 throw new IllegalProvisioningArgumentException("Extra has invalid type", e); in parseMinimalistSupportedProvisioningDataInternal()
595 throw new IllegalProvisioningArgumentException("Invalid parameter found!", e); in parseMinimalistSupportedProvisioningDataInternal()
597 throw new IllegalProvisioningArgumentException("Compulsory parameter not found!", e); in parseMinimalistSupportedProvisioningDataInternal()
682 throws IllegalProvisioningArgumentException { in parseAllSupportedProvisioningData()
711 throw new IllegalProvisioningArgumentException("Invalid parameter found!", e); in parseAllSupportedProvisioningData()
713 throw new IllegalProvisioningArgumentException("Invalid locale format!", e); in parseAllSupportedProvisioningData()
[all …]
DProvisioningDataParser.java20 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
29 throws IllegalProvisioningArgumentException; in parse()
DMessageParser.java26 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
59 throws IllegalProvisioningArgumentException { in parse()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DIllegalProvisioningArgumentException.java25 public class IllegalProvisioningArgumentException extends Exception { class
26 public IllegalProvisioningArgumentException(String message) { in IllegalProvisioningArgumentException() method in IllegalProvisioningArgumentException
30 public IllegalProvisioningArgumentException(String message, Throwable t) { in IllegalProvisioningArgumentException() method in IllegalProvisioningArgumentException
DUtils.java196 Context context, int userId) throws IllegalProvisioningArgumentException { in findDeviceAdmin()
201 throw new IllegalProvisioningArgumentException("Neither the package name nor the" in findDeviceAdmin()
210 throw new IllegalProvisioningArgumentException("Dpc " + dpcPackageName in findDeviceAdmin()
217 throw new IllegalProvisioningArgumentException("Cannot find any admin receiver in " in findDeviceAdmin()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DCreateAndProvisionManagedProfileTask.java34 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
83 } catch (IllegalProvisioningArgumentException e) { in run()
118 throws IllegalProvisioningArgumentException { in buildManagedProfileProvisioningParams()
DProvisionFullyManagedDeviceTask.java35 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
85 } catch (IllegalProvisioningArgumentException e) { in run()
115 throws IllegalProvisioningArgumentException { in buildManagedDeviceProvisioningParams()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningViewModel.java36 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
184 void loadParamsIfNecessary(Intent intent) throws IllegalProvisioningArgumentException { in loadParamsIfNecessary()
226 throws IllegalProvisioningArgumentException { in loadProvisioningParams()
DPreProvisioningActivityController.java100 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
931 } catch (IllegalProvisioningArgumentException e) { in tryParseParameters()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogic.java29 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
107 } catch (IllegalProvisioningArgumentException ex) { in getSystemAppsToRemove()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DProvisioningIntentProviderTest.java46 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
210 throws IllegalProvisioningArgumentException { in createProvisioningIntent_cannotFindAdmin()
216 .thenThrow(IllegalProvisioningArgumentException.class); in createProvisioningIntent_cannotFindAdmin()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/networkconnection/
DEstablishNetworkConnectionViewModel.java31 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
81 } catch (IllegalProvisioningArgumentException e) { in parseExtras()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DProvisioningIntentProvider.java34 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
114 } catch (IllegalProvisioningArgumentException e) { in createProvisioningCompleteIntent()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningViewModelTest.java43 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
152 IllegalProvisioningArgumentException.class, in loadParamsIfNecessary_invalidParams_throwsException()
DPreProvisioningActivityControllerTest.java107 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
2126 } catch (IllegalProvisioningArgumentException e) { in initiateProvisioning()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DProvisioningParamsTest.java46 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
255 throws IllegalProvisioningArgumentException { in testInferDeviceAdminComponentName_componentNameIsGiven()
269 throws IllegalProvisioningArgumentException { in testInferDeviceAdminComponentName_componentNameIsNotGiven()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/networkconnection/
DEstablishNetworkConnectionViewModelTest.java61 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
151 public void setUp() throws IllegalProvisioningArgumentException { in setUp()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DUtilsTest.java291 } catch (IllegalProvisioningArgumentException e) { in testFindDeviceAdmin_NoPackageName()
305 } catch (IllegalProvisioningArgumentException e) { in testFindDeviceAdmin_AnotherComponentName()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java62 import com.android.managedprovisioning.common.IllegalProvisioningArgumentException;
373 throws IllegalProvisioningArgumentException { in inferDeviceAdminComponentName()