Home
last modified time | relevance | path

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

123

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DStartDpcInsideSuwServiceConnection.java121 ProvisionLogger.loge("Duplicate calls to triggerDpcStart() - ignoring"); in triggerDpcStart()
146 ProvisionLogger.loge("Failed to bind to SUW NetworkInterceptService"); in tryBindService()
151 ProvisionLogger.loge("unbindService failed after failed bindService", e); in tryBindService()
155 ProvisionLogger.loge("Access denied to SUW NetworkInterceptService", e); in tryBindService()
185 ProvisionLogger.logi("Connection to SUW NetworkInterceptService established"); in onServiceConnected()
206 ProvisionLogger.logw("Connection to SUW NetworkInterceptService lost"); in onServiceDisconnected()
212 ProvisionLogger.logw("Connection to SUW NetworkInterceptService died"); in onBindingDied()
218 ProvisionLogger.loge("Binding to SUW NetworkInterceptService returned null"); in onNullBinding()
233 ProvisionLogger.loge("Attempt to cache network interception when service is null"); in cacheInitialNetworkInterceptSetting()
240 ProvisionLogger.loge("Exception from SUW NetworkInterceptService", e); in cacheInitialNetworkInterceptSetting()
[all …]
DDeviceManagementRoleHolderUpdaterHelper.java68 ProvisionLogger.logi("Not starting role holder updater, because this provisioning " in shouldStartRoleHolderUpdater()
73 ProvisionLogger.logi("Not starting role holder updater, because the platform will " in shouldStartRoleHolderUpdater()
78 ProvisionLogger.logi("Not starting role holder updater, because the feature flag " in shouldStartRoleHolderUpdater()
83 ProvisionLogger.logi("Not starting role holder updater, because the role holder " in shouldStartRoleHolderUpdater()
88 ProvisionLogger.logi("Not starting role holder updater, because the role holder " in shouldStartRoleHolderUpdater()
93 ProvisionLogger.logi("Not starting role holder updater, because the role holder " in shouldStartRoleHolderUpdater()
103 ProvisionLogger.logi("Not starting role holder updater, because the role holder " in shouldStartRoleHolderUpdater()
120 ProvisionLogger.logi("Not performing platform-side role holder download, because " in shouldPlatformDownloadRoleHolder()
126 ProvisionLogger.logi("Not performing platform-side role holder download, because " in shouldPlatformDownloadRoleHolder()
132 ProvisionLogger.logi("Not performing platform-side role holder download, because " in shouldPlatformDownloadRoleHolder()
[all …]
DDeviceManagementRoleHolderHelper.java76 ProvisionLogger.logi(roleName + " role is already granted to " + packageName in DeviceManagementRoleHolderHelper()
80 ProvisionLogger.logi("Granting " + roleName + " role to " + packageName in DeviceManagementRoleHolderHelper()
133 ProvisionLogger.logi("Cannot delegate provisioning to the role holder, because " in isRoleHolderReadyForProvisioning()
139 ProvisionLogger.logi("Cannot delegate provisioning to the role holder, because " in isRoleHolderReadyForProvisioning()
145 ProvisionLogger.logi("Cannot delegate provisioning to the role holder, because " in isRoleHolderReadyForProvisioning()
151 ProvisionLogger.logi("Cannot delegate provisioning to the role holder, because " in isRoleHolderReadyForProvisioning()
158 ProvisionLogger.logi("Cannot delegate provisioning to the role holder, because " in isRoleHolderReadyForProvisioning()
249 ProvisionLogger.logi("Role holder validation failed. Role holder does not implement " in isRoleHolderValid()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DChecksumUtils.java24 import com.android.managedprovisioning.common.ProvisionLogger;
48 ProvisionLogger.logd("Checking " + Utils.SHA256_TYPE in doesASignatureHashMatch()
52 ProvisionLogger.loge("Downloaded package does not have any signatures."); in doesASignatureHashMatch()
62 ProvisionLogger.loge("Provided hash does not match any signature hash."); in doesASignatureHashMatch()
63 ProvisionLogger.loge("Hash provided by programmer: " in doesASignatureHashMatch()
65 ProvisionLogger.loge("Hashes computed from package signatures: "); in doesASignatureHashMatch()
68 ProvisionLogger.loge(StoreUtils.byteArrayToString(sigHash)); in doesASignatureHashMatch()
82 ProvisionLogger.logd("Checking file hash of entire apk file."); in doesPackageHashMatch()
88 ProvisionLogger.loge("Provided hash does not match file hash."); in doesPackageHashMatch()
89 ProvisionLogger.loge("Hash provided by programmer: " in doesPackageHashMatch()
[all …]
DAddWifiNetworkTask.java32 import com.android.managedprovisioning.common.ProvisionLogger;
102 ProvisionLogger.loge("Failed to enable wifi"); in run()
123 ProvisionLogger.loge("WifiConfiguration is null"); in connectToProvidedNetwork()
131 ProvisionLogger.loge("Unable to add network after trying " + MAX_RETRIES + " times."); in connectToProvidedNetwork()
142 ProvisionLogger.loge("Unable to connect to wifi"); in connectToProvidedNetwork()
159 ProvisionLogger.loge("Retrying in " + durationNextSleep + " ms."); in tryAddingNetwork()
163 ProvisionLogger.loge("Retry interrupted."); in tryAddingNetwork()
178 ProvisionLogger.logd("onNetworkConnected"); in onNetworkConnected()
180 ProvisionLogger.logd("Connected to the correct network"); in onNetworkConnected()
203 ProvisionLogger.logd("Not connected to WIFI"); in isConnectedToSpecifiedWifi()
[all …]
DDownloadPackageTask.java41 import com.android.managedprovisioning.common.ProvisionLogger;
102ProvisionLogger.logd(format("Starting download of %s on user %s for user %s", mPackageName, mConte… in run()
107 ProvisionLogger.logd(format("No update needed for %s", mPackageName)); in run()
112 ProvisionLogger.loge("DownloadPackageTask: not connected to the network, can't download" in run()
120 ProvisionLogger.logd(format("Creating download receiver for %s", mPackageName)); in run()
124 ProvisionLogger.logd(format("Registering download receiver for %s", mPackageName)); in run()
144 ProvisionLogger.logd("Downloading with http cookie header: " in run()
148ProvisionLogger.logd(format("Starting download for %s from %s into %s", mPackageName, mPackageDown… in run()
172 ProvisionLogger.logd(format("Download receiver invoked for %s", mPackageName)); in createDownloadReceiver()
205 ProvisionLogger.logd("Downloaded successfully to: "
[all …]
DUpdateInteractAcrossProfilesAppOpTask.java33 import com.android.managedprovisioning.common.ProvisionLogger;
68 ProvisionLogger.logi("Running UpdateInteractAcrossProfilesAppOpTask."); in run()
73 ProvisionLogger.logi("Previous cross profile apps snapshot: " + previousCrossProfileApps); in run()
77 ProvisionLogger.logi("current cross profile apps snapshot: " + currentCrossProfileApps); in run()
95 ProvisionLogger.logi("Granting INTERACT_ACROSS_PROFILES to the new default cross profile " in grantNewConfigurableDefaultCrossProfilePackages()
102 ProvisionLogger.logi("Can't grant appop to unconfigurable app: " in grantNewConfigurableDefaultCrossProfilePackages()
110 ProvisionLogger.logi("Can't change appop from non default value: (" in grantNewConfigurableDefaultCrossProfilePackages()
116 ProvisionLogger.loge("Missing package, this should not happen.", e); in grantNewConfigurableDefaultCrossProfilePackages()
119 ProvisionLogger.logi("Setting appop to allowed for " + crossProfilePackageName); in grantNewConfigurableDefaultCrossProfilePackages()
132 ProvisionLogger.logi("Reapplying INTERACT_ACROSS_PROFILES for apps with non default " in reapplyCrossProfileAppsPermission()
[all …]
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()
DInstallPackageTask.java43 import com.android.managedprovisioning.common.ProvisionLogger;
140 ProvisionLogger.logi("Installing package " + mPackageName + " on user " + userId + " from " in run()
162 ProvisionLogger.loge("Installing package " + mPackageName + " failed.", e); in run()
227 ProvisionLogger.logd("Package " + mPackageName + " is successfully installed."); in addSuccessStatus()
243 ProvisionLogger.logd("PACKAGE_ADDED broadcast received with intent data " in onReceive()
246 ProvisionLogger.logd("The package name provided in the intent data does not equal " in onReceive()
284 ProvisionLogger.logd("Current version of " + mPackageName in onFinished()
292 ProvisionLogger.logd("Installing package " + mPackageName + " failed."); in onFinished()
297 ProvisionLogger.logd("Install package callback received for " + mPackageName); in onFinished()
DDisallowAddUserTask.java28 import com.android.managedprovisioning.common.ProvisionLogger;
62 ProvisionLogger.logi("Running as user " + userId in run()
67 ProvisionLogger.loge("App NOT running as system user on headless system user mode"); in run()
69 ProvisionLogger.logi("Not setting DISALLOW_ADD_USER on headless system user mode."); in run()
78 ProvisionLogger.logi("DISALLOW_ADD_USER restriction set on user: " + userInfo.id); in run()
DCreateAndProvisionManagedProfileTask.java36 import com.android.managedprovisioning.common.ProvisionLogger;
84 ProvisionLogger.loge("Failure provisioning managed profile, failed to " in run()
93 ProvisionLogger.loge("Failure provisioning managed profile.", provisioningException); in run()
99 ProvisionLogger.loge("Failure provisioning managed profile.", e); in run()
105 ProvisionLogger.loge("Failure provisioning managed profile, " in run()
DSetDeviceOwnerPolicyTask.java33 import com.android.managedprovisioning.common.ProvisionLogger;
88 ProvisionLogger.loge("Failure setting device owner", e); in run()
96 ProvisionLogger.loge("Error when setting device owner."); in run()
114 ProvisionLogger.logd("Setting " + component + " as active admin for user: " + userId); in setActiveAdmin()
119 ProvisionLogger.logd("Setting " + component + " as device owner of user " + userId); in setDeviceOwner()
DInstallExistingPackageTask.java30 import com.android.managedprovisioning.common.ProvisionLogger;
99 ProvisionLogger.logd("Overriding user id (from " + userId + " to " + mUserId + ")"); in run()
102 ProvisionLogger.logi("Installing existing package " + mPackageName + " on user " in run()
110 ProvisionLogger.loge("Install failed, result code = " + status); in run()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivity.java78 import com.android.managedprovisioning.common.ProvisionLogger;
218 ProvisionLogger.loge(e); in onStart()
293 ProvisionLogger.loge("User canceled device encryption.");
306 ProvisionLogger.loge("User canceled wifi picking.");
311 ProvisionLogger.logd("Wifi request result is OK");
321 ProvisionLogger.loge(
344 ProvisionLogger.loge(
359 ProvisionLogger.loge("Invalid result code from GET_PROVISIONING_MODE. Expected "
389 ProvisionLogger.logw("Role holder returned result code " + resultCode);
418 ProvisionLogger.loge("Provisioning could not be started following "
[all …]
DPreProvisioningActivityController.java103 import com.android.managedprovisioning.common.ProvisionLogger;
240 ProvisionLogger.logw("allowOffline set, provisioning via platform."); in startAppropriateProvisioning()
246 ProvisionLogger.logw("Provisioning via role holder."); in startAppropriateProvisioning()
259 ProvisionLogger.logw("Falling back to provisioning via platform."); in startAppropriateProvisioning()
267 ProvisionLogger.logw("Provisioning via platform."); in startAppropriateProvisioning()
271 ProvisionLogger.logw("Role holder is configured, can't provision via role holder and " in startAppropriateProvisioning()
428 ProvisionLogger.loge( in initiateProvisioning()
444 ProvisionLogger.logi("Cannot pick wifi because the screen is locked."); in initiateProvisioning()
485 ProvisionLogger.logi("No extras have been passed."); in logProvisioningExtras()
488 ProvisionLogger.logi("Start logging provisioning extras"); in logProvisioningExtras()
[all …]
DEncryptionController.java34 import com.android.managedprovisioning.common.ProvisionLogger;
121 ProvisionLogger.logd("Setting provisioning reminder for action: " in setEncryptionReminder()
127 ProvisionLogger.logd("Enabling PostEncryptionActivity"); in setEncryptionReminder()
139 ProvisionLogger.logd("Cancelling provisioning reminder."); in cancelEncryptionReminder()
187 ProvisionLogger.logd("Provisioning resumed after encryption with action: " + action); in resumeProvisioningInternal()
190 ProvisionLogger.loge("Device is not encrypted after provisioning with" in resumeProvisioningInternal()
205 ProvisionLogger.loge("Unknown intent action loaded from the intent store: " in resumeProvisioningInternal()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DOtaController.java41 import com.android.managedprovisioning.common.ProvisionLogger;
95 ProvisionLogger.logd("Starting OTA migration"); in run()
100 ProvisionLogger.logd("Migrating system apps snapshots"); in run()
106 ProvisionLogger.logd("Checking for device owner"); in run()
114 ProvisionLogger.logd("Migrating managed profile " + userInfo.id); in run()
117 ProvisionLogger.logd("Migrating managed user " + userInfo.id); in run()
122 ProvisionLogger.logd( in run()
128 ProvisionLogger.logd("Executing OTA migrations"); in run()
141 ProvisionLogger.loge("No device owner found."); in addDeviceOwnerTasks()
170 ProvisionLogger.loge("No profile owner on managed profile " + userId); in addManagedProfileTasks()
[all …]
DPreBootListener.java22 import com.android.managedprovisioning.common.ProvisionLogger;
31 ProvisionLogger.logd("Received PreBoot broadcast " + intent.getAction()); in onReceive()
39 ProvisionLogger.logd("PreBoot completed, starting OTA controller job"); in onReceive()
42 ProvisionLogger.logw("Unexpected intent action: " + intent.getAction()); in onReceive()
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/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/task/interactacrossprofiles/
DCrossProfileAppsSnapshot.java26 import com.android.managedprovisioning.common.ProvisionLogger;
109 ProvisionLogger.loge("IOException trying to write the cross profile apps", e); in writeCrossProfileApps()
136 ProvisionLogger.loge("Unknown tag: " + tag); in readCrossProfileApps()
141 ProvisionLogger.loge("IOException trying to read the cross profile apps", e); in readCrossProfileApps()
143 ProvisionLogger.loge("XmlPullParserException trying to read the cross profile apps", e); in readCrossProfileApps()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DParserUtils.java45 import com.android.managedprovisioning.common.ProvisionLogger;
206 ProvisionLogger.logi("Not admin-integrated flow, " in getAllowedProvisioningModes()
227 ProvisionLogger.logi("Allowed provisioning modes before checking for managed users " in getAllowedProvisioningModes()
235 ProvisionLogger.logi("Supports managed users: " + supportsManagedUsers); in getAllowedProvisioningModes()
241 ProvisionLogger.logi("Allowed provisioning modes: " + result); in getAllowedProvisioningModes()
DDisclaimersParserImpl.java29 import com.android.managedprovisioning.common.ProvisionLogger;
70 ProvisionLogger.logw("Empty disclaimer header in " + i + " element"); in parse()
75 ProvisionLogger.logw("Null disclaimer content uri in " + i + " element"); in parse()
82 ProvisionLogger.logw("Failed to copy disclaimer uri in " + i + " element"); in parse()
/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/provisioning/
DAbstractProvisioningController.java34 import com.android.managedprovisioning.common.ProvisionLogger;
133 ProvisionLogger.logd("Cancel called, current status is " + mStatus); in cancel()
208 ProvisionLogger.logd("Adding InstallExistingPackageTask for system user on " in addDownloadAndInstallDeviceOwnerPackageTasks()
230 ProvisionLogger.logd("Running task: " + task.getClass().getSimpleName() in handleMessage()
234 ProvisionLogger.loge("Unknown message: " + msg.what); in handleMessage()

123