Searched refs:installerName (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerNative.java | 81 final String installerName = snapshot.getInstallerPackageName(packageName, callingUser); in getInstallerForPackage() local 82 if (!TextUtils.isEmpty(installerName)) { in getInstallerForPackage() 83 return installerName; in getInstallerForPackage()
|
D | PackageInstallerService.java | 1113 private boolean isStagedInstallerAllowed(String installerName) { 1114 return SystemConfig.getInstance().getWhitelistedStagedInstallers().contains(installerName);
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | AppMetadataBackupWriter.java | 136 String installerName = mPackageManager.getInstallerPackageName(packageName); in getManifestBytes() local 137 printer.println((installerName != null) ? installerName : ""); in getManifestBytes()
|
/frameworks/base/core/tests/coretests/src/android/content/integrity/ |
D | AtomicFormulaTest.java | 74 String installerName = "com.test.app"; in testValidAtomicFormula_stringValue_autoHash_installerNameLessThanLimit() local 76 new StringAtomicFormula(AtomicFormula.INSTALLER_NAME, installerName); in testValidAtomicFormula_stringValue_autoHash_installerNameLessThanLimit() 80 assertThat(stringAtomicFormula.getValue()).isEqualTo(installerName); in testValidAtomicFormula_stringValue_autoHash_installerNameLessThanLimit() 86 String installerName = "com.test.app.test.app.test.app.test.app.test.app"; in testValidAtomicFormula_stringValue_autoHash_longInstallerName() local 88 new StringAtomicFormula(AtomicFormula.INSTALLER_NAME, installerName); in testValidAtomicFormula_stringValue_autoHash_longInstallerName() 91 assertThat(stringAtomicFormula.getValue()).doesNotMatch(installerName); in testValidAtomicFormula_stringValue_autoHash_longInstallerName()
|
D | IntegrityFormulaTest.java | 72 String installerName = "com.test.app"; in createEqualsFormula_installerName() local 73 IntegrityFormula formula = IntegrityFormula.Installer.packageNameEquals(installerName); in createEqualsFormula_installerName() 79 assertThat(stringAtomicFormula.getValue()).isEqualTo(installerName); in createEqualsFormula_installerName()
|
/frameworks/base/core/java/android/content/integrity/ |
D | AppInstallMetadata.java | 233 public Builder setInstallerName(@NonNull String installerName) { in setInstallerName() argument 234 this.mInstallerName = Objects.requireNonNull(installerName); in setInstallerName()
|
D | IntegrityFormula.java | 107 public static IntegrityFormula packageNameEquals(@NonNull String installerName) { in packageNameEquals() argument 108 return new StringAtomicFormula(AtomicFormula.INSTALLER_NAME, installerName); in packageNameEquals()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/ |
D | IntegrityFileManagerTest.java | 160 String installerName = "installer"; in testGetRules_indexedForManyRules() local 174 rules.add(getInstallerCertificateRule(String.format("%s%04d", installerName, i))); in testGetRules_indexedForManyRules()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/serializer/ |
D | RuleBinarySerializerTest.java | 822 private Rule getNonIndexedRuleWithInstallerName(String installerName) { in getNonIndexedRuleWithInstallerName() argument 829 installerName, in getNonIndexedRuleWithInstallerName() 839 String installerName) { in getSerializedCompoundRuleWithInstallerNameAndInstallerCert() argument 847 + getBits(installerName.length(), VALUE_SIZE_BITS) in getSerializedCompoundRuleWithInstallerNameAndInstallerCert() 848 + getValueBits(installerName) in getSerializedCompoundRuleWithInstallerNameAndInstallerCert()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemConfig.java | 1568 final String installerName = parser.getAttributeValue(null /* namespace */, in readPermissionsFromXml() local 1573 } else if (TextUtils.isEmpty(installerName)) { in readPermissionsFromXml() 1577 mUpdateOwnersForSystemApps.put(packageName, installerName); in readPermissionsFromXml()
|