Home
last modified time | relevance | path

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

12

/aosp12/frameworks/native/cmds/installd/binder/android/os/
H A DIInstalld.aidl64 @nullable @utf8InCpp String profileName, in dexopt() argument
72 int mergeProfiles(int uid, @utf8InCpp String packageName, @utf8InCpp String profileName); in mergeProfiles() argument
73 boolean dumpProfiles(int uid, @utf8InCpp String packageName, @utf8InCpp String profileName, in dumpProfiles() argument
76 @utf8InCpp String packageName, @utf8InCpp String profileName); in copySystemProfile() argument
77 void clearAppProfiles(@utf8InCpp String packageName, @utf8InCpp String profileName); in clearAppProfiles() argument
81 @utf8InCpp String profileName, @utf8InCpp String classpath); in createProfileSnapshot() argument
82 void destroyProfileSnapshot(@utf8InCpp String packageName, @utf8InCpp String profileName); in destroyProfileSnapshot() argument
111 int userId, int appId, @utf8InCpp String profileName, @utf8InCpp String codePath, in prepareAppProfile() argument
/aosp12/frameworks/base/core/java/android/app/admin/
H A DManagedProfileProvisioningParams.java57 @Nullable String profileName, in ManagedProfileProvisioningParams() argument
64 this.mProfileName = profileName; in ManagedProfileProvisioningParams()
165 public Builder setProfileName(@Nullable String profileName) { in setProfileName() argument
166 this.mProfileName = profileName; in setProfileName()
265 String profileName = in.readString();
274 profileName,
H A DIDevicePolicyManager.aidl177 void setProfileName(in ComponentName who, String profileName); in setProfileName() argument
H A DDevicePolicyManager.java8308 public void setProfileName(@NonNull ComponentName admin, String profileName) { in setProfileName() argument
8312 mService.setProfileName(admin, profileName); in setProfileName()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DInstaller.java494 @Nullable String profileName, @Nullable String dexMetadataPath, in dexopt() argument
504 targetSdkVersion, profileName, dexMetadataPath, compilationReason); in dexopt()
519 public int mergeProfiles(int uid, String packageName, String profileName) in mergeProfiles() argument
523 return mInstalld.mergeProfiles(uid, packageName, profileName); in mergeProfiles()
534 return mInstalld.dumpProfiles(uid, packageName, profileName, codePath); in dumpProfiles()
541 String profileName) throws InstallerException { in copySystemProfile() argument
574 mInstalld.clearAppProfiles(packageName, profileName); in clearAppProfiles()
732 public boolean createProfileSnapshot(int appId, String packageName, String profileName, in createProfileSnapshot() argument
742 public void destroyProfileSnapshot(String packageName, String profileName) in destroyProfileSnapshot() argument
746 mInstalld.destroyProfileSnapshot(packageName, profileName); in destroyProfileSnapshot()
[all …]
H A DPackageDexOptimizer.java276 String profileName = ArtManager.getProfileName( in performDexOptLI() local
294 ? analyseProfiles(pkg, sharedGid, profileName, compilerFilter) in performDexOptLI()
304 packageStats, options.isDowngrade(), profileName, dexMetadataPath, in performDexOptLI()
354 String profileName, String dexMetadataPath, int compilationReason) { in dexOptPath() argument
380 profileName, dexMetadataPath, in dexOptPath()
839 private int analyseProfiles(AndroidPackage pkg, int uid, String profileName, in analyseProfiles() argument
847 return mInstaller.mergeProfiles(uid, pkg.getPackageName(), profileName); in analyseProfiles()
H A DOtaDexoptService.java294 int targetSdkVersion, @Nullable String profileName, in generatePackageDexopts()
317 encodeParameter(builder, profileName); in generatePackageDexopts()
/aosp12/frameworks/base/services/core/java/com/android/server/pm/dex/
H A DArtManagerService.java264 private void createProfileSnapshot(String packageName, String profileName, String classpath, in createProfileSnapshot() argument
280 File snapshotProfile = ArtManager.getProfileSnapshotFileForName(packageName, profileName); in createProfileSnapshot()
297 private void destroyProfileSnapshot(String packageName, String profileName) { in destroyProfileSnapshot() argument
299 Slog.d(TAG, "Destroying profile snapshot for" + packageName + ":" + profileName); in destroyProfileSnapshot()
304 mInstaller.destroyProfileSnapshot(packageName, profileName); in destroyProfileSnapshot()
307 packageName + ":" + profileName, e); in destroyProfileSnapshot()
415 String profileName = codePathsProfileNames.valueAt(i); in prepareAppProfiles() local
426 profileName, codePath, dexMetadataPath); in prepareAppProfiles()
456 String profileName = packageProfileNames.valueAt(i); in clearAppProfiles() local
457 mInstaller.clearAppProfiles(pkg.getPackageName(), profileName); in clearAppProfiles() local
[all …]
/aosp12/frameworks/native/cmds/installd/
H A DInstalldNativeService.h118 int32_t targetSdkVersion, const std::optional<std::string>& profileName,
128 const std::string& profileName, int* _aidl_return);
130 const std::string& profileName, const std::string& codePath, bool* _aidl_return);
132 int32_t uid, const std::string& packageName, const std::string& profileName,
134 binder::Status clearAppProfiles(const std::string& packageName, const std::string& profileName);
138 const std::string& profileName, const std::string& classpath, bool* _aidl_return);
140 const std::string& profileName);
172 int32_t userId, int32_t appId, const std::string& profileName,
H A DInstalldNativeService.cpp586 const std::string& profileName) { in clearAppProfiles() argument
592 if (!clear_primary_reference_profile(packageName, profileName)) { in clearAppProfiles()
595 if (!clear_primary_current_profiles(packageName, profileName)) { in clearAppProfiles()
2355 *_aidl_return = dump_profiles(uid, packageName, profileName, codePath); in dumpProfiles()
2372 const std::string& profileName, int* _aidl_return) { in mergeProfiles() argument
2377 *_aidl_return = analyze_primary_profiles(uid, packageName, profileName); in mergeProfiles()
2382 const std::string& packageName, const std::string& profileName, in createProfileSnapshot() argument
2393 const std::string& profileName) { in destroyProfileSnapshot() argument
2398 std::string snapshot = create_snapshot_profile_path(packageName, profileName); in destroyProfileSnapshot()
2415 const std::optional<std::string>& profileName, in dexopt() argument
[all …]
/aosp12/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
H A DSipConnectionService.java113 String profileName = accountHandle.getId(); in onCreateOutgoingConnection() local
114 findProfile(profileName, new IProfileFinderCallback() { in onCreateOutgoingConnection()
208 private void findProfile(final String profileName, final IProfileFinderCallback callback) { in findProfile() argument
217 if (Objects.equals(profileName, profile.getProfileName())) { in findProfile()
H A DSipSettings.java196 String profileName = profile.getProfileName(); in getProfileName() local
197 if (TextUtils.isEmpty(profileName)) { in getProfileName()
198 profileName = profile.getUserName() + "@" + profile.getSipDomain(); in getProfileName()
200 return profileName; in getProfileName()
H A DSipAccountRegistry.java127 String profileName = SipUtil.getSipProfileNameFromPhoneAccount(accountHandle); in verifyAndPurgeInvalidPhoneAccounts() local
128 SipProfile profile = profileDb.retrieveSipProfileFromName(profileName); in verifyAndPurgeInvalidPhoneAccounts()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DLocalBluetoothProfileManager.java226 private void addHeadsetProfile(LocalBluetoothProfile profile, String profileName, in addHeadsetProfile() argument
232 mProfileNameMap.put(profileName, profile); in addHeadsetProfile()
239 String profileName, String stateChangedAction) { in addProfile() argument
241 mProfileNameMap.put(profileName, profile); in addProfile()
245 String profileName, String stateChangedAction) { in addPanProfile() argument
248 mProfileNameMap.put(profileName, profile); in addPanProfile()
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
H A DShadowUserManager.java62 int userHandle, int profileUserHandle, String profileName, int profileFlags) { in addProfile() argument
64 sProfiles.get(userHandle).add(new UserInfo(profileUserHandle, profileName, profileFlags)); in addProfile()
/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothProfileConnector.java79 BluetoothProfileConnector(BluetoothProfile profile, int profileId, String profileName, in BluetoothProfileConnector() argument
83 mProfileName = profileName; in BluetoothProfileConnector()
/aosp12/frameworks/base/core/java/android/content/pm/dex/
H A DArtManager.java221 public static File getProfileSnapshotFileForName(String packageName, String profileName) { in getProfileSnapshotFileForName() argument
223 return new File(profileDir, profileName + ".snapshot"); in getProfileSnapshotFileForName()
/aosp12/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
H A DCompanionDeviceActivity.java88 String profileName = useDeviceProfile in onCreate() local
112 Html.escapeHtml(profileName), in onCreate()
137 : profileName; in onCreate()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A DVpnManagerService.java464 String profileName = new String(profileTag); in updateLockdownVpn() local
466 profileName, mVpnProfileStore.get(Credentials.VPN + profileName)); in updateLockdownVpn()
468 loge("Lockdown VPN configured invalid profile " + profileName); in updateLockdownVpn()
/aosp12/frameworks/base/telephony/java/android/service/euicc/
H A DEuiccProfileInfo.java320 String profileName, in EuiccProfileInfo() argument
329 this.mProfileName = profileName; in EuiccProfileInfo()
/aosp12/frameworks/base/core/java/android/permission/
H A DPermissionControllerManager.java669 @NonNull String profileName, in getPrivilegesDescriptionStringForProfile()
674 service.getPrivilegesDescriptionStringForProfile(profileName, future); in getPrivilegesDescriptionStringForProfile()
/aosp12/packages/apps/Settings/src/com/android/settings/users/
H A DUserSettings.java433 private void finishLoadProfile(String profileName) { in finishLoadProfile() argument
437 mMePreference.setTitle(getString(R.string.user_you, profileName)); in finishLoadProfile()
/aosp12/packages/modules/Connectivity/services/core/java/com/android/server/
H A DConnectivityService.java4225 final String profileName = new String(mKeyStore.get(Credentials.LOCKDOWN_VPN)); in updateLockdownVpn() local
4227 profileName, mKeyStore.get(Credentials.VPN + profileName)); in updateLockdownVpn()
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/
H A DConnectivityServiceTest.java8424 final String profileName = "testVpnProfile"; in setupLegacyLockdownVpn() local
8425 final byte[] profileTag = profileName.getBytes(StandardCharsets.UTF_8); in setupLegacyLockdownVpn()
8428 final VpnProfile profile = new VpnProfile(profileName); in setupLegacyLockdownVpn()
8434 when(mVpnProfileStore.get(Credentials.VPN + profileName)).thenReturn(encodedProfile); in setupLegacyLockdownVpn()
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java9146 public void setProfileName(ComponentName who, String profileName) {
9153 mUserManager.setUserName(caller.getUserId(), profileName);

12