Home
last modified time | relevance | path

Searched refs:mMessageParser (Results 1 – 5 of 5) sorted by relevance

/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/parser/
DMessageParserTest.java90 private MessageParser mMessageParser; field in MessageParserTest
99 mMessageParser = new MessageParser(mUtils = spy(new Utils())); in setUp()
114 ProvisioningParams params = mMessageParser.parse(intent, mContext); in testParseAndRecoverIntent()
117 Intent restoredIntent = mMessageParser.getIntentFromProvisioningParams(params); in testParseAndRecoverIntent()
160 ProvisioningDataParser parser = mMessageParser.getParser(intent); in test_correctParserUsedToParseNfcIntent()
185 ProvisioningDataParser parser = mMessageParser.getParser(intent); in test_correctParserUsedToParseOtherSupportedProvisioningIntent()
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/uiflows/
DPreProvisioningControllerTest.java74 @Mock private MessageParser mMessageParser; field in PreProvisioningControllerTest
112 mController = new PreProvisioningController(mContext, mUi, mMessageParser, mUtils, in setUp()
536 when(mMessageParser.parse(mIntent, mContext)).thenReturn( in prepareMocksForManagedProfileIntent()
543 when(mMessageParser.parse(mIntent, mContext)).thenReturn( in prepareMocksForNfcIntent()
551 when(mMessageParser.parse(mIntent, mContext)).thenReturn( in prepareMocksForQrIntent()
559 when(mMessageParser.parse(mIntent, mContext)).thenReturn( in prepareMocksForDoIntent()
567 when(mMessageParser.parse(mIntent, mContext)).thenReturn( in prepareMocksForAfterEncryption()
DEncryptionControllerTest.java70 private MessageParser mMessageParser; field in EncryptionControllerTest
80 mMessageParser = new MessageParser(); in setUp()
86 mController = new EncryptionController(mContext, mIntentStore, mUtils, mMessageParser, in setUp()
201 mIntent = mMessageParser.getIntentFromProvisioningParams(params); in createAndStoreProvisioningParams()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/
DEncryptionController.java55 private final MessageParser mMessageParser; field in EncryptionController
90 mMessageParser = checkNotNull(messageParser, "MessageParser must not be null"); in EncryptionController()
108 mIntentStore.save(mMessageParser.getIntentFromProvisioningParams(params)); in setEncryptionReminder()
DPreProvisioningController.java55 private final MessageParser mMessageParser; field in PreProvisioningController
86 mMessageParser = checkNotNull(parser, "MessageParser must not be null"); in PreProvisioningController()
185 mParams = mMessageParser.parse(intent, mContext); in initiateProvisioning()