Home
last modified time | relevance | path

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

12

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDownloadPackageTask.java34 import com.android.managedprovisioning.ProvisionLogger;
99 ProvisionLogger.loge("DownloadPackageTask: not connected to the network, can't download" in run()
111 ProvisionLogger.logd("Starting download from " + in run()
128 ProvisionLogger.logd("Downloading with http cookie header: " in run()
193 ProvisionLogger.logd("Downloaded succesfully to: " + info.mLocation);
219 ProvisionLogger.logd("Checking file hash of entire apk file.");
238 ProvisionLogger.loge("Provided hash does not match file hash.");
239 ProvisionLogger.loge("Hash provided by programmer: "
241 ProvisionLogger.loge("SHA-256 Hash computed from file: " + mUtils.byteArrayToString(
244 ProvisionLogger.loge("SHA-1 Hash computed from file: " + mUtils.byteArrayToString(
[all …]
DInstallPackageTask.java30 import com.android.managedprovisioning.ProvisionLogger;
90 ProvisionLogger.loge("No downloaded packages to install"); in run()
94 ProvisionLogger.logi("Installing package(s)"); in run()
122 ProvisionLogger.loge("Package could not be parsed successfully."); in packageContentIsCorrect()
127 ProvisionLogger.loge("Package name in apk (" + pi.packageName in packageContentIsCorrect()
141 ProvisionLogger.loge("Installed package has no admin receiver."); in packageContentIsCorrect()
156 ProvisionLogger.loge("Package doesn't have expected package name."); in packageInstalled()
162 ProvisionLogger.logd( in packageInstalled()
167 ProvisionLogger.logd("Current version of " + mInstallInfo.packageName in packageInstalled()
171 ProvisionLogger.logd( in packageInstalled()
[all …]
DAddWifiNetworkTask.java33 import com.android.managedprovisioning.ProvisionLogger;
87 ProvisionLogger.loge("Failed to enable wifi"); in run()
107 ProvisionLogger.loge("Failed to save network."); in connectToProvidedNetwork()
109 ProvisionLogger.loge("Retrying in " + mDurationNextSleep + " ms."); in connectToProvidedNetwork()
113 ProvisionLogger.loge("Retry interrupted."); in connectToProvidedNetwork()
120 ProvisionLogger.loge("Already retried " + MAX_RETRIES + " times." in connectToProvidedNetwork()
129 ProvisionLogger.loge("Unable to connect to wifi"); in connectToProvidedNetwork()
142 ProvisionLogger.loge("Setting up wifi connection timed out."); in connectToProvidedNetwork()
162 ProvisionLogger.logd("Connected to the correct network"); in onNetworkConnected()
DDeleteNonRequiredAppsTask.java43 import com.android.managedprovisioning.ProvisionLogger;
165 ProvisionLogger.logd("Not deleting non-required apps."); in run()
169 ProvisionLogger.logd("Deleting non required apps."); in run()
182 ProvisionLogger.logd("Deleting package [" + packageName + "] as user " + mUserId); in run()
215 ProvisionLogger.loge("Could not find the system apps file " + in getNewSystemApps()
284 ProvisionLogger.loge("Could not communicate with IInputMethodManager", e); in getSystemInputMethods()
313 ProvisionLogger.loge("IOException trying to write the system apps", e); in writeSystemApps()
339 ProvisionLogger.loge("Unknown tag: " + tag); in readSystemApps()
344 ProvisionLogger.loge("IOException trying to read the system apps", e); in readSystemApps()
346 ProvisionLogger.loge("XmlPullParserException trying to read the system apps", e); in readSystemApps()
[all …]
DSetDevicePolicyTask.java29 import com.android.managedprovisioning.ProvisionLogger;
73 ProvisionLogger.loge("Failure setting device or profile owner", e); in run()
80 ProvisionLogger.loge("Error when setting device or profile owner."); in run()
97 ProvisionLogger.logd("Setting " + component + " as active admin."); in setActiveAdmin()
102 ProvisionLogger.logd("Setting " + component + " as device owner " + owner + "."); in setDeviceOwner()
DDisallowAddUserTask.java24 import com.android.managedprovisioning.ProvisionLogger;
43 ProvisionLogger.logi("Not setting DISALLOW_ADD_USER as system device-owner detected."); in maybeDisallowAddUsers()
50 ProvisionLogger.logi("DISALLOW_ADD_USER restriction set on user: " + userInfo.id); in maybeDisallowAddUsers()
DDisableBluetoothSharingTask.java21 import com.android.managedprovisioning.ProvisionLogger;
37 ProvisionLogger.logd("Disabling Bluetooth sharing."); in run()
DDisableInstallShortcutListenersTask.java27 import com.android.managedprovisioning.ProvisionLogger;
49 ProvisionLogger.logd("Disabling install shortcut listeners."); in run()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DProfileOwnerProvisioningService.java154 ProvisionLogger.logd("Cancelling profile owner provisioning service"); in onStartCommand()
159 ProvisionLogger.logd("Starting profile owner provisioning service"); in onStartCommand()
165 ProvisionLogger.logd( in onStartCommand()
231 ProvisionLogger.logi("Migrating account to managed profile"); in initialize()
241 ProvisionLogger.logd("Starting managed profile or user provisioning"); in startManagedProfileOrUserProvisioning()
341 ProvisionLogger.logi("Finishing provisioning process, status: " in finish()
373 ProvisionLogger.logw("finish() invoked multiple times?"); in finish()
378 ProvisionLogger.logi("Finished provisioning process, final status: " in finish()
391 ProvisionLogger.logd("Starting user in background"); in startManagedProfile()
400 ProvisionLogger.loge("This should not happen.", neverThrown); in startManagedProfile()
[all …]
DDeviceOwnerProvisioningService.java117 if (DEBUG) ProvisionLogger.logd("Device owner provisioning service ONSTARTCOMMAND."); in onStartCommand()
121 if (DEBUG) ProvisionLogger.logd("Provisioning already in flight."); in onStartCommand()
136 if (DEBUG) ProvisionLogger.logd("First start of the service."); in onStartCommand()
160 if (DEBUG) ProvisionLogger.logd("Starting device owner provisioning"); in startDeviceOwnerProvisioning()
221 ProvisionLogger.loge("Failed to infer the device admin component name", in startDeviceOwnerProvisioning()
305 ProvisionLogger.logd("Reporting Error: " + getResources() in sendError()
317 ProvisionLogger.logd("Reporting progress update: " + getResources() in progressUpdate()
336 if (DEBUG) ProvisionLogger.logd("Reporting success."); in onProvisioningSuccess()
367 if (DEBUG) ProvisionLogger.logd("Starting cdma activation activity"); in initializeProvisioningEnvironment()
375 if (DEBUG) ProvisionLogger.logd("Setting time zone to " + timeZone); in setTimeAndTimezone()
[all …]
DDeviceOwnerProvisioningActivity.java81 if (DEBUG) ProvisionLogger.logd("Device owner provisioning activity ONCREATE"); in onCreate()
138 if (DEBUG) ProvisionLogger.logd("Successfully provisioned"); in handleProvisioningIntent()
149 ProvisionLogger.logd("Error reported with code " in handleProvisioningIntent()
157 ProvisionLogger.logd("Progress update reported with code " in handleProvisioningIntent()
214 if (DEBUG) ProvisionLogger.logd("Handling pending intent " + intent.getAction()); in handlePendingIntents()
275 if (DEBUG) ProvisionLogger.logd("Device owner provisioning activity ONDESTROY"); in onDestroy()
285 if (DEBUG) ProvisionLogger.logd("Device owner provisioning activity ONRESTART"); in onRestart()
291 if (DEBUG) ProvisionLogger.logd("Device owner provisioning activity ONRESUME"); in onResume()
297 if (DEBUG) ProvisionLogger.logd("Device owner provisioning activity ONPAUSE"); in onPause()
303 if (DEBUG) ProvisionLogger.logd("Device owner provisioning activity ONSTOP"); in onStop()
DFinalizationActivity.java70 ProvisionLogger.logw("Received ACTION_PROVISIONING_FINALIZATION intent, but " in onCreate()
115 ProvisionLogger.loge("Failed to retrieve the userHandle of the managed profile."); in finalizeManagedProfileOwnerProvisioning()
144 ProvisionLogger.loge("Failed to infer the device admin component name", e); in getProvisioningCompleteIntent()
158 ProvisionLogger.loge("Fail to retrieve ProvisioningParams from intent store."); in loadProvisioningParamsAndClearIntentStore()
166 ProvisionLogger.loge("Failed to parse provisioning intent", e); in loadProvisioningParamsAndClearIntentStore()
DCrossProfileIntentFiltersHelper.java32 ProvisionLogger.logd("Setting cross-profile intent filters"); in setFilters()
77 ProvisionLogger.loge(e); in setFilters()
144 ProvisionLogger.loge(e); in setFilters()
157 ProvisionLogger.loge(e); in setFilters()
169 ProvisionLogger.loge(e); in setFilters()
180 ProvisionLogger.loge(e); in setFilters()
DPreBootListener.java80 ProvisionLogger.loge("Error while checking if there are new system " in onReceive()
118 ProvisionLogger.loge(ex); in installTelecomAsUser()
149 ProvisionLogger.loge("No profile owner on managed profile " + userId); in runManagedProfileDisablingTasks()
171 ProvisionLogger.loge("Error while checking if there are new system " in runManagedProfileDisablingTasks()
DLogoUtils.java31 import com.android.managedprovisioning.ProvisionLogger;
51 ProvisionLogger.logi("Organisation logo from uri " + uri + " has been successfully" in saveOrganisationLogo()
54 ProvisionLogger.logi("Could not write organisation logo from " + uri + " to " in saveOrganisationLogo()
69 ProvisionLogger.loge("Could not get organisation logo from " + logoFile); in getOrganisationLogo()
DProfileOwnerProvisioningActivity.java95 ProvisionLogger.logd("Profile owner provisioning activity ONCREATE"); in onCreate()
167 ProvisionLogger.logd("Successfully provisioned." in handleProvisioningResult()
177 ProvisionLogger.logd("Error reported: " + errorLogMessage); in handleProvisioningResult()
240 ProvisionLogger.loge(logText); in error()
DIntentStore.java79 ProvisionLogger.loge("Cannot save to the intent store because it already contains" in save()
93 ProvisionLogger.loge("Caught exception while trying to save an intent to the" in save()
144 ProvisionLogger.loge("extra for key " + key + " cannot be save in the intent" in writeExtras()
163 ProvisionLogger.loge("Caught exception while trying to load an intent from the" in load()
DProvisionLogger.java26 public class ProvisionLogger { class
173 String className = ProvisionLogger.class.getName(); in getTag()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java79 import com.android.managedprovisioning.ProvisionLogger;
110 ProvisionLogger.loge("This should not happen.", neverThrown); in getCurrentSystemApps()
163 ProvisionLogger.loge("This should not happen.", neverThrown); in setComponentEnabledSetting()
165 ProvisionLogger.logw("Component not found, not changing enabled setting: " in setComponentEnabledSetting()
336 ProvisionLogger.logd("Setting USER_SETUP_COMPLETE to 1 for user " + userId); in markUserSetupComplete()
394 ProvisionLogger.logw("user_setup_complete set, but provisioning was started"); in markUserProvisioningStateInitiallyDone()
455 ProvisionLogger.logi("Setting userProvisioningState for user " + userId + " to: " + state); in setUserProvisioningState()
507 ProvisionLogger.logw("Account removed from the primary user."); in removeAccount()
512 ProvisionLogger.logi("Starting activity to remove account"); in removeAccount()
515 ProvisionLogger.logw("Could not remove account from the primary user."); in removeAccount()
[all …]
DMdmPackageInfo.java29 import com.android.managedprovisioning.ProvisionLogger;
68 ProvisionLogger.logw("Package not currently installed: " + packageName); in createFromPackageName()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/
DEncryptionController.java33 import com.android.managedprovisioning.ProvisionLogger;
106 ProvisionLogger.logd("Setting provisioning reminder for action: " in setEncryptionReminder()
112 ProvisionLogger.logd("Enabling PostEncryptionActivity"); in setEncryptionReminder()
124 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.java47 import com.android.managedprovisioning.ProvisionLogger;
252 ProvisionLogger.logi("Cannot pick wifi because the screen is locked."); in initiateDeviceOwnerProvisioning()
259 ProvisionLogger.logi( in initiateDeviceOwnerProvisioning()
379 ProvisionLogger.logd("Device is provisioned, FRP not required."); in factoryResetProtected()
384 ProvisionLogger.logd("Reset protection not supported."); in factoryResetProtected()
388 ProvisionLogger.logd("Data block size: " + size); in factoryResetProtected()
441 ProvisionLogger.logi("Created user " + userInfo.id + " to hold the device owner"); in doInBackground()
DPreProvisioningActivity.java40 import com.android.managedprovisioning.ProvisionLogger;
88 ProvisionLogger.loge("User canceled device encryption."); in onActivityResult()
103 ProvisionLogger.loge("User canceled wifi picking."); in onActivityResult()
107 ProvisionLogger.logd("Wifi request result is OK"); in onActivityResult()
115 ProvisionLogger.logw("Unknown result code :" + resultCode); in onActivityResult()
121 ProvisionLogger.loge(logText); in showErrorAndClose()
DEncryptDeviceActivity.java25 import com.android.managedprovisioning.ProvisionLogger;
47 ProvisionLogger.loge("Missing params in EncryptDeviceActivity activity"); in onCreate()
60 ProvisionLogger.loge("Unknown provisioning action: " + mParams.provisioningAction); in onCreate()
DWebActivity.java26 import com.android.managedprovisioning.ProvisionLogger;
54 ProvisionLogger.loge("No url provided to WebActivity."); in onCreate()

12