Home
last modified time | relevance | path

Searched refs:profileName (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/security/attestationverification/
DAttestationProfile.java82 @Nullable String profileName) { in AttestationProfile() argument
85 mProfileName = profileName; in AttestationProfile()
124 public AttestationProfile(@NonNull String packageName, @NonNull String profileName) { in AttestationProfile() argument
125 this(PROFILE_APP_DEFINED, packageName, profileName); in AttestationProfile()
126 if (packageName == null || profileName == null) { in AttestationProfile()
259 String profileName = (flg & 0x4) == 0 ? null : in.readString(); in AttestationProfile() local
265 this.mProfileName = profileName; in AttestationProfile()
/frameworks/native/cmds/installd/binder/android/os/
DIInstalld.aidl67 @nullable @utf8InCpp String profileName, in dexopt() argument
78 int mergeProfiles(int uid, @utf8InCpp String packageName, @utf8InCpp String profileName); in mergeProfiles() argument
79 boolean dumpProfiles(int uid, @utf8InCpp String packageName, @utf8InCpp String profileName, in dumpProfiles() argument
82 @utf8InCpp String packageName, @utf8InCpp String profileName); in copySystemProfile() argument
83 void clearAppProfiles(@utf8InCpp String packageName, @utf8InCpp String profileName); in clearAppProfiles() argument
85 void deleteReferenceProfile(@utf8InCpp String packageName, @utf8InCpp String profileName); in deleteReferenceProfile() argument
88 @utf8InCpp String profileName, @utf8InCpp String classpath); in createProfileSnapshot() argument
89 void destroyProfileSnapshot(@utf8InCpp String packageName, @utf8InCpp String profileName); in destroyProfileSnapshot() argument
115 int userId, int appId, @utf8InCpp String profileName, @utf8InCpp String codePath, in prepareAppProfile() argument
/frameworks/base/core/java/android/app/admin/
DManagedProfileProvisioningParams.java59 @Nullable String profileName, in ManagedProfileProvisioningParams() argument
67 this.mProfileName = profileName; in ManagedProfileProvisioningParams()
204 public Builder setProfileName(@Nullable String profileName) { in setProfileName() argument
205 this.mProfileName = profileName; in setProfileName()
322 String profileName = in.readString();
332 profileName,
DIDevicePolicyManager.aidl184 void setProfileName(in ComponentName who, String profileName); in setProfileName() argument
DDevicePolicyManager.java9195 public void setProfileName(@NonNull ComponentName admin, String profileName) { in setProfileName() argument
9199 mService.setProfileName(admin, profileName); in setProfileName()
/frameworks/base/services/core/java/com/android/server/pm/
DInstaller.java615 @Nullable String profileName, @Nullable String dexMetadataPath, in dexopt() argument
625 targetSdkVersion, profileName, dexMetadataPath, compilationReason); in dexopt()
657 public int mergeProfiles(int uid, String packageName, String profileName) in mergeProfiles() argument
661 return mInstalld.mergeProfiles(uid, packageName, profileName); in mergeProfiles()
670 public boolean dumpProfiles(int uid, String packageName, String profileName, String codePath, in dumpProfiles() argument
676 return mInstalld.dumpProfiles(uid, packageName, profileName, codePath, in dumpProfiles()
684 String profileName) throws InstallerException { in copySystemProfile() argument
687 return mInstalld.copySystemProfile(systemProfile, uid, packageName, profileName); in copySystemProfile()
717 public void clearAppProfiles(String packageName, String profileName) throws InstallerException { in clearAppProfiles() argument
720 mInstalld.clearAppProfiles(packageName, profileName); in clearAppProfiles()
[all …]
DPackageDexOptimizer.java320 String profileName = ArtManager.getProfileName( in performDexOptLI() local
344 analyseProfiles(pkg, sharedGid, profileName, compilerFilter); in performDexOptLI()
349 cloudProfileName = "cloud-" + profileName; in performDexOptLI()
351 profileName = cloudProfileName; in performDexOptLI()
357 profileName = null; in performDexOptLI()
375 packageStats, options.isDowngrade(), profileName, dexMetadataPath, in performDexOptLI()
436 private boolean prepareCloudProfile(AndroidPackage pkg, String profileName, String path, in prepareCloudProfile() argument
441 mInstaller.deleteReferenceProfile(pkg.getPackageName(), profileName); in prepareCloudProfile() local
445 profileName, path, dexMetadataPath); in prepareCloudProfile() local
469 CompilerStats.PackageStats packageStats, boolean downgrade, String profileName, in dexOptPath() argument
[all …]
DOtaDexoptService.java297 int targetSdkVersion, @Nullable String profileName, in generatePackageDexopts()
320 encodeParameter(builder, profileName); in generatePackageDexopts()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DArtManagerService.java269 private void createProfileSnapshot(String packageName, String profileName, String classpath, in createProfileSnapshot() argument
273 if (!mInstaller.createProfileSnapshot(appId, packageName, profileName, classpath)) { in createProfileSnapshot()
283 File snapshotProfile = ArtManager.getProfileSnapshotFileForName(packageName, profileName); in createProfileSnapshot()
300 private void destroyProfileSnapshot(String packageName, String profileName) { in destroyProfileSnapshot() argument
302 Slog.d(TAG, "Destroying profile snapshot for" + packageName + ":" + profileName); in destroyProfileSnapshot()
306 mInstaller.destroyProfileSnapshot(packageName, profileName); in destroyProfileSnapshot()
308 Slog.e(TAG, "Failed to destroy profile snapshot for " + packageName + ":" + profileName, in destroyProfileSnapshot()
416 String profileName = codePathsProfileNames.valueAt(i); in prepareAppProfiles() local
427 profileName, codePath, dexMetadataPath); in prepareAppProfiles()
457 String profileName = packageProfileNames.valueAt(i); in clearAppProfiles() local
[all …]
/frameworks/native/cmds/installd/
DInstalldNativeService.h123 int32_t targetSdkVersion, const std::optional<std::string>& profileName,
135 const std::string& profileName, int* _aidl_return);
137 const std::string& profileName, const std::string& codePath,
140 int32_t uid, const std::string& packageName, const std::string& profileName,
142 binder::Status clearAppProfiles(const std::string& packageName, const std::string& profileName);
145 const std::string& profileName);
148 const std::string& profileName, const std::string& classpath, bool* _aidl_return);
150 const std::string& profileName);
181 int32_t userId, int32_t appId, const std::string& profileName,
DInstalldNativeService.cpp1008 const std::string& profileName) { in clearAppProfiles() argument
1014 if (!clear_primary_reference_profile(packageName, profileName)) { in clearAppProfiles()
1017 if (!clear_primary_current_profiles(packageName, profileName)) { in clearAppProfiles()
1182 const std::string& profileName) { in deleteReferenceProfile() argument
1189 create_reference_profile_path(packageName, profileName, /*is_secondary_dex=*/false); in deleteReferenceProfile()
1194 return error("Failed to delete profile " + profileName + " for " + packageName); in deleteReferenceProfile()
3007 const std::string& profileName, in dumpProfiles() argument
3015 *_aidl_return = dump_profiles(uid, packageName, profileName, codePath, dumpClassesAndMethods); in dumpProfiles()
3021 int32_t packageUid, const std::string& packageName, const std::string& profileName, in copySystemProfile() argument
3026 *_aidl_return = copy_system_profile(systemProfile, packageUid, packageName, profileName); in copySystemProfile()
[all …]
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionDeviceActivity.java500 final String profileName = getString(R.string.profile_name_watch); in updateSingleDeviceUi() local
511 title = getHtmlFromResources(this, R.string.confirmation_title, appLabel, profileName); in updateSingleDeviceUi()
530 final String profileName; in initUiForMultipleDevices() local
534 profileName = getString(R.string.profile_name_generic); in initUiForMultipleDevices()
539 profileName = getString(R.string.profile_name_watch); in initUiForMultipleDevices()
540 summary = getHtmlFromResources(this, R.string.summary_watch, profileName, appLabel); in initUiForMultipleDevices()
546 this, R.string.chooser_title, profileName, appLabel); in initUiForMultipleDevices()
/frameworks/base/core/java/android/content/pm/dex/
DArtManager.java221 public static File getProfileSnapshotFileForName(String packageName, String profileName) { in getProfileSnapshotFileForName() argument
223 return new File(profileDir, profileName + ".snapshot"); in getProfileSnapshotFileForName()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothProfileManager.java278 private void addHeadsetProfile(LocalBluetoothProfile profile, String profileName, in addHeadsetProfile() argument
284 mProfileNameMap.put(profileName, profile); in addHeadsetProfile()
291 String profileName, String stateChangedAction) { in addProfile() argument
293 mProfileNameMap.put(profileName, profile); in addProfile()
297 String profileName, String stateChangedAction) { in addPanProfile() argument
300 mProfileNameMap.put(profileName, profile); in addPanProfile()
/frameworks/base/telephony/java/android/service/euicc/
DEuiccProfileInfo.java320 String profileName, in EuiccProfileInfo() argument
329 this.mProfileName = profileName; in EuiccProfileInfo()
/frameworks/base/services/core/java/com/android/server/
DVpnManagerService.java492 String profileName = new String(profileTag); in updateLockdownVpn() local
494 profileName, mVpnProfileStore.get(Credentials.VPN + profileName)); in updateLockdownVpn()
496 loge("Lockdown VPN configured invalid profile " + profileName); in updateLockdownVpn()
/frameworks/base/core/java/android/permission/
DPermissionControllerManager.java715 @NonNull String profileName, in getPrivilegesDescriptionStringForProfile()
720 service.getPrivilegesDescriptionStringForProfile(profileName, future); in getPrivilegesDescriptionStringForProfile()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java9214 public void setProfileName(ComponentName who, String profileName) {
9222 profileName.substring(0, Math.min(profileName.length(), MAX_PROFILE_NAME_LENGTH));