Home
last modified time | relevance | path

Searched refs:ProvisionLogger (Results 1 – 25 of 60) sorted by relevance

123

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DVerifyPackageTask.java31 import com.android.managedprovisioning.common.ProvisionLogger;
94 ProvisionLogger.logw("VerifyPackageTask invoked, but download location is null"); in run()
104 ProvisionLogger.loge("Device admin package info or name is null"); in run()
150 ProvisionLogger.logd("Checking " + Utils.SHA256_TYPE in doesASignatureHashMatch()
154 ProvisionLogger.loge("Downloaded package does not have any signatures."); in doesASignatureHashMatch()
164 ProvisionLogger.loge("Provided hash does not match any signature hash."); in doesASignatureHashMatch()
165 ProvisionLogger.loge("Hash provided by programmer: " in doesASignatureHashMatch()
167 ProvisionLogger.loge("Hashes computed from package signatures: "); in doesASignatureHashMatch()
170 ProvisionLogger.loge(StoreUtils.byteArrayToString(sigHash)); in doesASignatureHashMatch()
184 ProvisionLogger.logd("Checking file hash of entire apk file."); in doesPackageHashMatch()
[all …]
DAddWifiNetworkTask.java32 import com.android.managedprovisioning.common.ProvisionLogger;
102 ProvisionLogger.loge("Failed to enable wifi"); in run()
128 ProvisionLogger.loge("WifiConfiguration is null"); in connectToProvidedNetwork()
136 ProvisionLogger.loge("Unable to add network after trying " + MAX_RETRIES + " times."); in connectToProvidedNetwork()
147 ProvisionLogger.loge("Unable to connect to wifi"); in connectToProvidedNetwork()
164 ProvisionLogger.loge("Retrying in " + durationNextSleep + " ms."); in tryAddingNetwork()
168 ProvisionLogger.loge("Retry interrupted."); in tryAddingNetwork()
183 ProvisionLogger.logd("onNetworkConnected"); in onNetworkConnected()
185 ProvisionLogger.logd("Connected to the correct network"); in onNetworkConnected()
208 ProvisionLogger.logd("Not connected to WIFI"); in isConnectedToSpecifiedWifi()
[all …]
DInstallPackageTask.java41 import com.android.managedprovisioning.common.ProvisionLogger;
125 ProvisionLogger.logi("Installing package " + packageName); in run()
167 ProvisionLogger.loge("Installing package " + packageName + " failed.", e); in run()
190 ProvisionLogger.logw("Incorrect action"); in onReceive()
198 ProvisionLogger.loge("Package doesn't have expected package name."); in onReceive()
208 ProvisionLogger.logi(status + " " + legacyStatus + " " + statusMessage); in onReceive()
211 ProvisionLogger.logd("Package " + mPackageName + " is succesfully installed."); in onReceive()
215 ProvisionLogger.logd("Current version of " + mPackageName in onReceive()
221 ProvisionLogger.logd("Installing package " + mPackageName + " failed."); in onReceive()
222 ProvisionLogger.logd("Status message returned = " + statusMessage); in onReceive()
DCopyAccountToUserTask.java37 import com.android.managedprovisioning.common.ProvisionLogger;
111 ProvisionLogger.logd("No account to migrate."); in maybeCopyAccount()
115 ProvisionLogger.loge("sourceUser and targetUser are the same, won't migrate account."); in maybeCopyAccount()
118 ProvisionLogger.logd("Attempting to copy account from " + sourceUser + " to " + targetUser); in maybeCopyAccount()
129 ProvisionLogger.logi("Copied account to " + targetUser); in maybeCopyAccount()
135 ProvisionLogger.loge("Could not copy account to " + targetUser); in maybeCopyAccount()
139 ProvisionLogger.loge("Exception copying account to " + targetUser, e); in maybeCopyAccount()
142 ProvisionLogger.loge("Exception copying account to " + targetUser, e); in maybeCopyAccount()
DDownloadPackageTask.java40 import com.android.managedprovisioning.common.ProvisionLogger;
111 ProvisionLogger.loge("DownloadPackageTask: not connected to the network, can't download" in run()
128 ProvisionLogger.logd("Starting download from " + mPackageDownloadInfo.location); in run()
144 ProvisionLogger.logd("Downloading with http cookie header: " in run()
202 ProvisionLogger.logd("Downloaded succesfully to: " + mDownloadLocationTo);
213 ProvisionLogger.loge("Downloading package failed.");
214 ProvisionLogger.loge("COLUMN_REASON in DownloadManager response has value: "
228 ProvisionLogger.logd("Successfully removed installer file.");
230 ProvisionLogger.loge("Could not remove installer file.");
DStartManagedProfileTask.java35 import com.android.managedprovisioning.common.ProvisionLogger;
81 ProvisionLogger.loge("Unable to start user in background: " + userId); in run()
87 ProvisionLogger.loge("Timeout whilst waiting for unlock of user: " + userId); in run()
92 ProvisionLogger.loge("Exception when starting user in background: " + userId, e); in run()
128 ProvisionLogger.logw("Unexpected intent: " + intent); in onReceive()
132 ProvisionLogger.logd("Received ACTION_USER_UNLOCKED for user " + mUserId); in onReceive()
138 ProvisionLogger.logd("Waiting for ACTION_USER_UNLOCKED"); in waitForUserUnlocked()
DMigrateSystemAppsSnapshotTask.java25 import com.android.managedprovisioning.common.ProvisionLogger;
63 ProvisionLogger.logi("Found legacy system_apps folder, kick start migration."); in migrateIfNecessary()
70 ProvisionLogger.logw("Found invalid file during migration: " + fileName); in migrateIfNecessary()
79 ProvisionLogger.logi( in migrateIfNecessary()
83 ProvisionLogger.logi( in migrateIfNecessary()
87 ProvisionLogger.loge("Failed to migrate " + file.getAbsolutePath()); in migrateIfNecessary()
DSetDevicePolicyTask.java30 import com.android.managedprovisioning.common.ProvisionLogger;
93 ProvisionLogger.loge("Failure setting device or profile owner", e); in run()
101 ProvisionLogger.loge("Error when setting device or profile owner."); in run()
119 ProvisionLogger.logd("Setting " + component + " as active admin."); in setActiveAdmin()
124 ProvisionLogger.logd("Setting " + component + " as device owner of user " + userId); in setDeviceOwner()
132 ProvisionLogger.logd("Setting " + component + " as profile owner of user " + userId); in setProfileOwner()
DDeleteNonRequiredAppsTask.java31 import com.android.managedprovisioning.common.ProvisionLogger;
112 ProvisionLogger.logd("Deleting package [" + packageName + "] as user " + userId); in run()
154 ProvisionLogger.logw( in packageDeleted()
161 ProvisionLogger.logi("All non-required system apps with launcher icon, " in packageDeleted()
DDeviceOwnerInitializeProvisioningTask.java23 import com.android.managedprovisioning.common.ProvisionLogger;
62 ProvisionLogger.loge("Alarm manager failed to set the system time/timezone.", e); in setTimeAndTimezone()
76 ProvisionLogger.loge("Failed to set the system locale.", e); in setLocale()
DConnectMobileNetworkTask.java24 import com.android.managedprovisioning.common.ProvisionLogger;
86 ProvisionLogger.logd("onNetworkConnected"); in onNetworkConnected()
88 ProvisionLogger.logd("Connected to the mobile network"); in onNetworkConnected()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DEncryptionController.java31 import com.android.managedprovisioning.common.ProvisionLogger;
104 ProvisionLogger.logd("Setting provisioning reminder for action: " in setEncryptionReminder()
110 ProvisionLogger.logd("Enabling PostEncryptionActivity"); in setEncryptionReminder()
122 ProvisionLogger.logd("Cancelling provisioning reminder."); in cancelEncryptionReminder()
155 ProvisionLogger.logd("Provisioning resumed after encryption with action: " + action); in resumeProvisioning()
158 ProvisionLogger.loge("Device is not encrypted after provisioning with" in resumeProvisioning()
173 ProvisionLogger.loge("Unknown intent action loaded from the intent store: " in resumeProvisioning()
DPreProvisioningController.java76 import com.android.managedprovisioning.common.ProvisionLogger;
298 ProvisionLogger.logi("Cannot pick wifi because the screen is locked."); in initiateProvisioning()
354 ProvisionLogger.logd("Sending user consent:" + mParams.provisioningAction); in showUserConsentScreen()
359 ProvisionLogger.logd("Provisioning action for user consent:" + mParams.provisioningAction); in showUserConsentScreen()
403 ProvisionLogger.logw("Unknown returned provisioning mode:" in updateProvisioningParamsFromIntent()
547 ProvisionLogger.loge("Calling package not found.", e); in skipFactoryResetProtectionCheck()
615 ProvisionLogger.loge("null class in component when verifying activity alias " in verifyActivityAlias()
621 ProvisionLogger.loge("Looking for activity alias " + activityAlias + ", but got " in verifyActivityAlias()
635 ProvisionLogger.loge("Calling package is null. Was startActivityForResult used to " in verifyCaller()
641 ProvisionLogger.loge("Permission denied, " in verifyCaller()
[all …]
DPreProvisioningActivity.java44 import com.android.managedprovisioning.common.ProvisionLogger;
161 ProvisionLogger.loge("User canceled device encryption."); in onActivityResult()
174 ProvisionLogger.loge("User canceled wifi picking."); in onActivityResult()
179 ProvisionLogger.logd("Wifi request result is OK"); in onActivityResult()
207 ProvisionLogger.logw("Unknown result code :" + resultCode); in onActivityResult()
214 ProvisionLogger.loge(logText); in showErrorAndClose()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/
DDeferredMetricsWriter.java26 import com.android.managedprovisioning.common.ProvisionLogger;
62 ProvisionLogger.loge("Could not find file passed to DeferredMetricsWriter.", e); in write()
92 ProvisionLogger.loge("Failed to write DevicePolicyEvent to OutputStream.", e); in writeDevicePolicyEventsToStream()
98 ProvisionLogger.loge("Failed to flush OutputStream.", e); in writeDevicePolicyEventsToStream()
103 ProvisionLogger.loge("Failed to close OutputStream.", e); in writeDevicePolicyEventsToStream()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java138 ProvisionLogger.loge("This should not happen.", neverThrown); in getCurrentSystemApps()
191 ProvisionLogger.loge("This should not happen.", neverThrown); in setComponentEnabledSetting()
193 ProvisionLogger.logw("Component not found, not changing enabled setting: " in setComponentEnabledSetting()
255 ProvisionLogger.logw("The component " + dpcComponentName + " isn't registered in " in findDeviceAdminInPackageInfo()
284 ProvisionLogger.logw("more than 1 device admin component are found"); in findDeviceAdminInPackage()
435 ProvisionLogger.logw("Account removed from the primary user."); in removeAccount()
439 ProvisionLogger.logi("Starting activity to remove account"); in removeAccount()
444 ProvisionLogger.logw("Could not remove account from the primary user."); in removeAccount()
448 ProvisionLogger.logw("Exception removing account from the primary user.", e); in removeAccount()
737 ProvisionLogger.loge("Hashing algorithm " + SHA256_TYPE + " not supported.", e); in computeHashOfByteArray()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
DSystemAppsSnapshot.java29 import com.android.managedprovisioning.common.ProvisionLogger;
115 ProvisionLogger.loge("IOException trying to write the system apps", e); in writeSystemApps()
142 ProvisionLogger.loge("Unknown tag: " + tag); in readSystemApps()
147 ProvisionLogger.loge("IOException trying to read the system apps", e); in readSystemApps()
149 ProvisionLogger.loge("XmlPullParserException trying to read the system apps", e); in readSystemApps()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DFinalizationController.java37 import com.android.managedprovisioning.common.ProvisionLogger;
130 ProvisionLogger.logw("provisioningInitiallyDone called, but state is not finalized or " in provisioningInitiallyDone()
164 ProvisionLogger.logw("Error setting access to Device IDs: " + e.getMessage()); in setProfileOwnerCanAccessDeviceIds()
194 ProvisionLogger.logw("provisioningInitiallyDone called, but state is finalized or " in provisioningFinalized()
201 ProvisionLogger.logw("FinalizationController invoked, but no stored params"); in provisioningFinalized()
DProvisioningIntentProvider.java30 import com.android.managedprovisioning.common.ProvisionLogger;
43 ProvisionLogger.logd("Dpc was launched for user: " + userId); in maybeLaunchDpc()
58 ProvisionLogger.loge("Failed to infer the device admin component name", e); in createProvisioningCompleteIntent()
70 ProvisionLogger.loge("Device admin package name is null"); in createDpcLaunchIntent()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DDisclaimersParser.java30 import com.android.managedprovisioning.common.ProvisionLogger;
71 ProvisionLogger.logw("Empty disclaimer header in " + i + " element"); in parse()
76 ProvisionLogger.logw("Null disclaimer content uri in " + i + " element"); in parse()
83 ProvisionLogger.logw("Failed to copy disclaimer uri in " + i + " element"); in parse()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java29 import com.android.managedprovisioning.common.ProvisionLogger;
141 ProvisionLogger.loge("Error while reading certificate", e); in maybeUpdateForEAPConfiguration()
150 ProvisionLogger.loge("Unknown EAP method: " + wifiInfo.eapMethod); in maybeUpdateForEAPConfigurationOrThrow()
154 ProvisionLogger.loge( in maybeUpdateForEAPConfigurationOrThrow()
202 ProvisionLogger.loge( in maybeUpdateClientKeyForEAPConfiguration()
211 ProvisionLogger.loge( in maybeUpdateClientKeyForEAPConfiguration()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DTaskExecutor.java19 import com.android.managedprovisioning.common.ProvisionLogger;
33 ProvisionLogger.logd("Task ran successfully: " + task.getClass().getSimpleName()); in onSuccess()
38 ProvisionLogger.logd("Error running task: " + task.getClass().getSimpleName()); in onError()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DAbstractProvisioningController.java32 import com.android.managedprovisioning.common.ProvisionLogger;
134 ProvisionLogger.logd("Cancel called, current status is " + mStatus); in cancel()
203 ProvisionLogger.logd("Running task: " + task.getClass().getSimpleName()); in handleMessage()
206 ProvisionLogger.loge("Unknown message: " + msg.what); in handleMessage()
DProvisioningActivity.java40 import com.android.managedprovisioning.common.ProvisionLogger;
137 ProvisionLogger.logi("ProvisioningActivity pre-finalization completed"); in preFinalizationCompleted()
253 ProvisionLogger.loge("Component " + ri.activityInfo.getComponentName() in maybeLaunchNfcUserSetupCompleteIntent()
257 ProvisionLogger.loge("Package " + ri.activityInfo.packageName in maybeLaunchNfcUserSetupCompleteIntent()
266 ProvisionLogger.logw("No activity accepts intent ACTION_STATE_USER_SETUP_COMPLETE"); in maybeLaunchNfcUserSetupCompleteIntent()
272 ProvisionLogger.logi("Launched ACTION_STATE_USER_SETUP_COMPLETE with component " in maybeLaunchNfcUserSetupCompleteIntent()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/manageduser/
DManagedUserCreationListener.java24 import com.android.managedprovisioning.common.ProvisionLogger;
37 ProvisionLogger.logd("ACTION_MANAGED_USER_CREATED received for user " + userId); in onReceive()
46 ProvisionLogger.logw("Unexpected intent action: " + intent.getAction()); in onReceive()

123