Home
last modified time | relevance | path

Searched refs:intern (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/pm/
DInstallSource.java119 intern(initiatingPackageName), in create()
120 intern(originatingPackageName), in create()
121 intern(installerPackageName), in create()
172 intern(installerPackageName), installerAttributionTag, packageSource, isOrphaned, in setInstallerPackage()
246 private static String intern(@Nullable String packageName) { in intern() method in InstallSource
247 return packageName == null ? null : packageName.intern(); in intern()
DPreferredComponent.java87 myPackages[i] = cn.getPackageName().intern(); in PreferredComponent()
88 myClasses[i] = cn.getClassName().intern(); in PreferredComponent()
DUserSystemPackageInstaller.java623 final String pkgName = whitelist.keyAt(i).intern(); in determineWhitelistedPackagesForUserTypes()
633 final String pkgName = blacklist.keyAt(i).intern(); in determineWhitelistedPackagesForUserTypes()
DUserTypeFactory.java341 typeName = typeName.intern(); in customizeBuilders()
/frameworks/base/core/java/android/app/
DApplicationExitInfo.java860 mProcessName = intern(processName); in setProcessName()
923 mDescription = intern(description); in setDescription()
950 mPackageName = intern(packageName); in setPackageName()
1107 mProcessName = intern(in.readString()); in ApplicationExitInfo()
1108 mPackageName = intern(in.readString()); in ApplicationExitInfo()
1117 mDescription = intern(in.readString()); in ApplicationExitInfo()
1128 private static String intern(@Nullable String source) { in intern() method in ApplicationExitInfo
1129 return source != null ? source.intern() : null; in intern()
1359 mProcessName = intern(proto.readString(ApplicationExitInfoProto.PROCESS_NAME)); in readFromProto()
1386 mDescription = intern(proto.readString(ApplicationExitInfoProto.DESCRIPTION)); in readFromProto()
/frameworks/base/tools/preload/
DRecord.java132 processName = decode(parts[3]).intern(); in Record()
135 className = vmTypeToLanguage(decode(parts[5])).intern(); in Record()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerUtils.java78 sHashCache.put(s.intern(), hash); in getUnsignedHashCached()
/frameworks/base/core/java/android/content/
DIntentFilter.java746 mActions.add(action.intern()); in addAction()
854 mDataTypes.add(internalType.intern()); in addDataType()
855 mStaticDataTypes.add(internalType.intern()); in addDataType()
888 mDataTypes.add(internalType.intern()); in addDynamicDataType()
1052 mDataSchemes.add(scheme.intern()); in addDataScheme()
1103 mHost = mWild ? host.substring(1).intern() : host; in AuthorityEntry()
1349 if (port != null) port = port.intern(); in addDataAuthority()
1350 addDataAuthority(new AuthorityEntry(host.intern(), port)); in addDataAuthority()
1438 addDataPath(new PatternMatcher(path.intern(), type)); in addDataPath()
1698 mCategories.add(category.intern()); in addCategory()
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp81 jmethodID intern; member
129 stringOffsets.intern = in nativeClassInit()
133 MakeGlobalRefOrDie(_env, _env->CallObjectMethod(empty.get(), stringOffsets.intern)); in nativeClassInit()
155 env->CallObjectMethod(javaString.get(), gStringOffsets.intern); in getJavaInternedString()
/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
DParsedProviderImpl.java85 ? null : readPermission.intern(); in setReadPermission()
92 ? null : writePermission.intern(); in setWritePermission()
DParsedServiceImpl.java51 this.permission = TextUtils.isEmpty(permission) ? null : permission.intern(); in setPermission()
DParsedProviderUtils.java296 readPermission = readPermission.intern(); in parsePathPermission()
300 writePermission = writePermission.intern(); in parsePathPermission()
DParsedActivityImpl.java247 this.permission = TextUtils.isEmpty(permission) ? null : permission.intern(); in setPermission()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java231 event.mShortcutId = (id != null) ? id.intern() : null; in loadEvent()
239 event.mNotificationChannelId = (channelId != null) ? channelId.intern() : null; in loadEvent()
DUsageStatsService.java2939 event.mPackage = packageName.intern(); in reportInterruptiveNotification()
2940 event.mNotificationChannelId = channelId.intern(); in reportInterruptiveNotification()
2952 event.mPackage = packageName.intern(); in reportShortcutUsage()
2953 event.mShortcutId = shortcutId.intern(); in reportShortcutUsage()
DIntervalStats.java212 IntervalStatsProto.Event.SHORTCUT_ID).intern(); in buildEvent()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1618 return Pair.create(packageName.intern(), in parsePackageSplitNames()
1619 (splitName != null) ? splitName.intern() : splitName); in parsePackageSplitNames()
1899 pkg.mVersionName = pkg.mVersionName.intern(); in parseBaseApk()
1916 pkg.mCompileSdkVersionCodename = pkg.mCompileSdkVersionCodename.intern(); in parseBaseApk()
1971 pkg.mSharedUserId = str.intern(); in parseBaseApkCommon()
2295 pkg.protectedBroadcasts.add(name.intern()); in parseBaseApkCommon()
2768 lname = lname.intern(); in parseUsesStaticLibrary()
2890 pkg.requestedPermissions.add(name.intern()); in parseUsesPermission()
3217 perm.info.group = perm.info.group.intern(); in parsePermission()
3361 a.info.targetPackage = str != null ? str.intern() : null; in parseInstrumentation()
[all …]
DShortcutInfo.java544 ret.add(s.toString().intern()); in cloneCategories()
2389 mCategories.add(source.readString8().intern()); in ShortcutInfo()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java844 perm = perm.intern(); in readPermissionsFromXml()
875 perm = perm.intern(); in readPermissionsFromXml()
1312 target = target.intern(); in readPermissionsFromXml()
1313 allowed = allowed.intern(); in readPermissionsFromXml()
1397 mOverlayConfigSignaturePackage = pkgName.intern(); in readPermissionsFromXml()
1770 pkgname = pkgname.intern(); in readComponentOverrides()
1791 clsname = clsname.intern(); in readComponentOverrides()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermission.java153 bp = new LegacyPermission(name.intern(), packageName, in read()
/frameworks/base/core/java/com/android/internal/util/
DParcelling.java148 list.set(index, list.get(index).intern()); in unparcel()
/frameworks/base/core/java/android/content/pm/parsing/
DApkLiteParseUtils.java692 return input.success(Pair.create(packageName.intern(), in parsePackageSplitNames()
693 (splitName != null) ? splitName.intern() : splitName)); in parsePackageSplitNames()
/frameworks/base/services/core/java/com/android/server/pm/pkg/parsing/
DParsingPackageUtils.java1082 .setSharedUserId(str.intern()) in parseSharedUser()
1834 pkg.addQueriesPackage(packageName.intern()); in parseQueries()
2386 return input.success(pkg.setSdkLibName(lname.intern())
2424 return input.success(pkg.setStaticSharedLibName(lname.intern())
2444 lname = lname.intern();
2483 lname = lname.intern();
2545 lname = lname.intern();
2582 lname = lname.intern();
/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java1503 private String intern(String in) {
1505 return in.intern();
/frameworks/base/services/core/java/com/android/server/
DIntentResolver.java664 baseName = name.substring(0, slashpos).intern(); in register_mime_types()
695 baseName = name.substring(0, slashpos).intern(); in unregister_mime_types()

12