Home
last modified time | relevance | path

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

123

/frameworks/base/services/core/java/com/android/server/pm/
DInstallSource.java136 intern(initiatingPackageName), in create()
137 intern(originatingPackageName), in create()
138 intern(installerPackageName), in create()
140 intern(updateOwnerPackageName), in create()
200 intern(installerPackageName), installerPackageUid, mUpdateOwnerPackageName, in setInstallerPackage()
214 mInstallerPackageName, mInstallerPackageUid, intern(updateOwnerPackageName), in setUpdateOwnerPackageName()
299 private static String intern(@Nullable String packageName) { in intern() method in InstallSource
300 return packageName == null ? null : packageName.intern(); in intern()
DPreferredComponent.java88 myPackages[i] = cn.getPackageName().intern(); in PreferredComponent()
89 myClasses[i] = cn.getClassName().intern(); in PreferredComponent()
/frameworks/base/core/java/android/app/
DApplicationExitInfo.java961 mProcessName = intern(processName); in setProcessName()
1024 mDescription = intern(description); in setDescription()
1051 mPackageName = intern(packageName); in setPackageName()
1208 mProcessName = intern(in.readString()); in ApplicationExitInfo()
1209 mPackageName = intern(in.readString()); in ApplicationExitInfo()
1218 mDescription = intern(in.readString()); in ApplicationExitInfo()
1229 private static String intern(@Nullable String source) { in intern() method in ApplicationExitInfo
1230 return source != null ? source.intern() : null; in intern()
1472 mProcessName = intern(proto.readString(ApplicationExitInfoProto.PROCESS_NAME)); in readFromProto()
1499 mDescription = intern(proto.readString(ApplicationExitInfoProto.DESCRIPTION)); in readFromProto()
DApplicationStartInfo.java386 mPackageName = intern(packageName); in setPackageName()
394 mProcessName = intern(processName); in setProcessName()
697 mPackageName = intern(in.readString()); in ApplicationStartInfo()
698 mProcessName = intern(in.readString()); in ApplicationStartInfo()
713 private static String intern(@Nullable String source) { in intern() method in ApplicationStartInfo
714 return source != null ? source.intern() : null; in intern()
818 mProcessName = intern(proto.readString(ApplicationStartInfoProto.PROCESS_NAME)); 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/apct-tests/perftests/core/src/android/libcore/regression/
DStringEqualsPerfTest.java220 Assert.assertSame("abc", "abc".intern()); in setUp()
221 Assert.assertSame("abc", new String("abc").intern()); in setUp()
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DAppIdPermissionPersistence.kt93 val name = getAttributeValueOrThrow(ATTR_NAME).intern() in <lambda>()
98 packageName = getAttributeValueOrThrow(ATTR_PACKAGE_NAME).intern() in <lambda>()
187 val name = getAttributeValueOrThrow(ATTR_NAME).intern() in <lambda>()
DDevicePermissionPersistence.kt106 val name = getAttributeValueOrThrow(ATTR_NAME).intern() in <lambda>()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerUtils.java82 sHashCache.put(s.intern(), hash); in getUnsignedHashCached()
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DBaseAppOpPersistence.kt49 val name = getAttributeValueOrThrow(ATTR_NAME).intern() in <lambda>()
DPackageAppOpPersistence.kt62 val packageName = getAttributeValueOrThrow(ATTR_NAME).intern() in <lambda>()
/frameworks/base/core/java/com/android/internal/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.java305 readPermission = readPermission.intern(); in parsePathPermission()
309 writePermission = writePermission.intern(); in parsePathPermission()
/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/core/java/android/content/pm/
DUserPackage.java112 packageName = packageName.intern(); in of()
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 …]
/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()
/frameworks/base/core/java/android/content/
DIntentFilter.java815 mActions.add(action.intern()); in addAction()
935 mDataTypes.add(internalType.intern()); in addDataType()
936 mStaticDataTypes.add(internalType.intern()); in addDataType()
969 mDataTypes.add(internalType.intern()); in addDynamicDataType()
1133 mDataSchemes.add(scheme.intern()); in addDataScheme()
1184 mHost = mWild ? host.substring(1).intern() : host; in AuthorityEntry()
1430 if (port != null) port = port.intern(); in addDataAuthority()
1431 addDataAuthority(new AuthorityEntry(host.intern(), port)); in addDataAuthority()
1519 addDataPath(new PatternMatcher(path.intern(), type)); in addDataPath()
1855 mCategories.add(category.intern()); in addCategory()
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobScheduler.java299 return namespace.trim().intern(); in sanitizeNamespace()
DJobInfo.java1039 mDebugTags.add(tag.intern()); in JobInfo()
1042 mTraceTag = traceTag == null ? null : traceTag.intern(); in JobInfo()
2508 return debugTag.intern(); in validateDebugTag()
2531 return traceTag.intern(); in validateTraceTag()
/frameworks/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/
DSystemProperties_host.java144 name = name.intern(); in native_find()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java1226 private static String intern(@Nullable String val) { in intern() method in JobStore.ReadJobMapFromDiskRunnable
1227 return val == null ? null : val.intern(); in intern()
1344 final String namespace = intern(parser.getAttributeValue(null, "namespace")); in restoreJobFromXml()
1345 final String sourceTag = intern(parser.getAttributeValue(null, "sourceTag")); in restoreJobFromXml()
1519 builtJob, uid, intern(sourcePackageName), sourceUserId, in restoreJobFromXml()
1536 String packageName = intern(parser.getAttributeValue(null, "package")); in buildBuilderFromXml()
1537 String className = intern(parser.getAttributeValue(null, "class")); in buildBuilderFromXml()
/frameworks/base/services/core/java/com/android/server/
DSystemConfig.java871 perm = perm.intern(); in readPermissionsFromXml()
902 perm = perm.intern(); in readPermissionsFromXml()
1389 target = target.intern(); in readPermissionsFromXml()
1390 allowed = allowed.intern(); in readPermissionsFromXml()
1484 mOverlayConfigSignaturePackage = pkgName.intern(); in readPermissionsFromXml()
1963 pkgname = pkgname.intern(); in readComponentOverrides()
1984 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()

123