Home
last modified time | relevance | path

Searched refs:VersionInfo (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DVersionInfoTest.java27 import com.android.systemui.shared.plugins.VersionInfo.InvalidVersionException;
41 VersionInfo info = new VersionInfo(); in testHasInfo()
51 VersionInfo overlay = new VersionInfo().addClass(OverlayPlugin.class); in testSingleProvides()
52 VersionInfo impl = new VersionInfo().addClass(OverlayImpl.class); in testSingleProvides()
58 VersionInfo overlay = new VersionInfo().addClass(OverlayPlugin.class); in testIncorrectVersion()
59 VersionInfo impl = new VersionInfo().addClass(OverlayImplIncorrectVersion.class); in testIncorrectVersion()
66 VersionInfo overlay = new VersionInfo().addClass(OverlayPlugin.class); in testMissingRequired()
67 VersionInfo impl = new VersionInfo(); in testMissingRequired()
74 VersionInfo overlay = new VersionInfo().addClass(QS.class); in testMissingDependencies()
75 VersionInfo impl = new VersionInfo().addClass(QSImplNoDeps.class); in testMissingDependencies()
[all …]
DPluginInstanceTest.java62 private VersionInfo mVersionInfo;
63 private VersionInfo.InvalidVersionException mVersionException;
83 mVersionInfo = new VersionInfo(); in setup()
86 public <T extends Plugin> VersionInfo checkVersion( in setup()
124 @Test(expected = VersionInfo.InvalidVersionException.class)
129 mVersionException = new VersionInfo.InvalidVersionException("test", true); in testIncorrectVersion()
DPluginActionManagerTest.java73 private VersionInfo mMockVersionInfo;
99 mMockVersionInfo = mock(VersionInfo.class); in setup()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginInstance.java206 public VersionInfo getVersionInfo() { in getVersionInfo()
299 <T extends Plugin> VersionInfo checkVersion( in checkVersion()
307 public <T extends Plugin> VersionInfo checkVersion( in checkVersion()
309 VersionInfo pluginVersion = new VersionInfo().addClass(pluginClass); in checkVersion()
310 VersionInfo instanceVersion = new VersionInfo().addClass(instanceClass); in checkVersion()
316 throw new VersionInfo.InvalidVersionException("Invalid legacy version", false); in checkVersion()
398 public VersionInfo checkVersion(T instance) { in checkVersion()
DVersionInfo.java27 public class VersionInfo { class
40 public VersionInfo addClass(Class<?> cls) { in addClass()
77 public void checkVersion(VersionInfo plugin) throws InvalidVersionException { in checkVersion()
84 v = VersionInfo.this.createVersion(aClass); in checkVersion()
DPluginActionManager.java42 import com.android.systemui.shared.plugins.VersionInfo.InvalidVersionException;
/frameworks/base/services/core/java/com/android/server/pm/
DReconcilePackageUtils.java67 Map<String, Settings.VersionInfo> versionInfos, in reconcilePackages()
174 final Settings.VersionInfo versionInfo = versionInfos.get(installPackageName); in reconcilePackages()
345 public static boolean isCompatSignatureUpdateNeeded(Settings.VersionInfo ver) { in isCompatSignatureUpdateNeeded()
349 public static boolean isRecoverSignatureUpdateNeeded(Settings.VersionInfo ver) { in isRecoverSignatureUpdateNeeded()
DStorageEventHelper.java148 final Settings.VersionInfo ver; in loadPrivatePackagesInner()
DSettings.java449 private final WatchedArrayMap<String, VersionInfo> mVersion = new WatchedArrayMap<>();
454 public static class VersionInfo { class in Settings
1633 public VersionInfo findOrCreateVersion(String volumeUuid) {
1634 VersionInfo ver = mVersion.get(volumeUuid);
1636 ver = new VersionInfo();
1642 public VersionInfo getInternalVersion() {
1646 public VersionInfo getExternalVersion() {
2780 final VersionInfo ver = mVersion.valueAt(i);
3401 final VersionInfo internal = findOrCreateVersion(
3403 final VersionInfo external = findOrCreateVersion(
[all …]
DScanPackageUtils.java992 Settings.VersionInfo settingsVersionForPackage, boolean forceCollect, in collectCertificatesLI()
DPackageManagerService.java216 import com.android.server.pm.Settings.VersionInfo;
2226 final VersionInfo ver = mSettings.getInternalVersion(); in PackageManagerService()
3304 VersionInfo getSettingsVersionForPackage(AndroidPackage pkg) {
DInstallPackageHelper.java1018 final Map<String, Settings.VersionInfo> versionInfos = new ArrayMap<>(requests.size()); in installPackagesLI()
/frameworks/rs/script_api/
DGenerateHeaderFiles.cpp45 static void writeVersionGuardStart(GeneratedFile* file, VersionInfo info, unsigned int finalVersion… in writeVersionGuardStart()
75 static void writeVersionGuardEnd(GeneratedFile* file, VersionInfo info) { in writeVersionGuardEnd()
121 VersionInfo info = spec.getVersionInfo(); in writeConstantSpecification()
131 const VersionInfo info = spec.getVersionInfo(); in writeTypeSpecification()
DSpecification.h126 struct VersionInfo { struct
137 VersionInfo() : minVersion(0), maxVersion(0), intSize(0) {} in VersionInfo() argument
182 void updateFinalVersion(const VersionInfo& info);
254 VersionInfo mVersionInfo;
258 VersionInfo getVersionInfo() const { return mVersionInfo; } in getVersionInfo()
DGenerator.cpp191 unsigned int maxApiLevel = VersionInfo::kUnreleasedVersion; in main()
DSpecification.cpp227 bool VersionInfo::scan(Scanner* scanner, unsigned int maxApiLevel) { in scan()
262 void Definition::updateFinalVersion(const VersionInfo& info) { in updateFinalVersion()
368 VersionInfo info; in scanConstantSpecification()
397 VersionInfo info; in scanTypeSpecification()
614 VersionInfo info; in scanFunctionSpecification()
908 static void updateMaxApiLevel(const VersionInfo& info, unsigned int* maxApiLevel) { in updateMaxApiLevel()
909 if (info.minVersion == VersionInfo::kUnreleasedVersion) { in updateMaxApiLevel()
DGenerateRSFunctionsList.cpp68 const VersionInfo info = spec->getVersionInfo(); in findSubstitute()
358 const VersionInfo info = spec.getVersionInfo(); in addManglingsForSpecification()
529 VersionInfo info = spec->getVersionInfo(); in generateApiTesterFile()
DGenerateDocumentation.cpp28 VersionInfo info;
81 static bool mergeVersionInfo(VersionInfo* a, const VersionInfo& b) { in mergeVersionInfo()
312 static void writeHtmlVersionTag(GeneratedFile* file, VersionInfo info, in writeHtmlVersionTag()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DInitAppsHelperTest.kt49 val versionInfo = Settings.VersionInfo() in mockFingerprintChanged()
58 val versionInfo = Settings.VersionInfo() in mockFingerprintUnchanged()
DMockSystem.kt235 public val DEFAULT_VERSION_INFO = Settings.VersionInfo()
/frameworks/base/services/
Dart-profile-boot100 Lcom/android/server/pm/Settings;->getInternalVersion()Lcom/android/server/pm/Settings$VersionInfo;
110 …nForPackage(Landroid/content/pm/PackageParser$Package;)Lcom/android/server/pm/Settings$VersionInfo;
112 …ackageManagerService;->isCompatSignatureUpdateNeeded(Lcom/android/server/pm/Settings$VersionInfo;)Z
113 …ckageManagerService;->isRecoverSignatureUpdateNeeded(Lcom/android/server/pm/Settings$VersionInfo;)Z
Dart-wear-profile936 Lcom/android/server/pm/Settings$VersionInfo;
18788 …nForPackage(Lcom/android/server/pm/pkg/AndroidPackage;)Lcom/android/server/pm/Settings$VersionInfo;
19202 …econcilePackageUtils;->isCompatSignatureUpdateNeeded(Lcom/android/server/pm/Settings$VersionInfo;)Z
19203 …concilePackageUtils;->isRecoverSignatureUpdateNeeded(Lcom/android/server/pm/Settings$VersionInfo;)Z
19242 …com/android/internal/pm/parsing/pkg/ParsedPackage;Lcom/android/server/pm/Settings$VersionInfo;ZZZ)V
19302 …ionPersistence;->readStateForUserSync(ILcom/android/server/pm/Settings$VersionInfo;Lcom/android/se…
19308 HSPLcom/android/server/pm/Settings$VersionInfo;-><init>()V
19338 …r/pm/Settings;->findOrCreateVersion(Ljava/lang/String;)Lcom/android/server/pm/Settings$VersionInfo;
19347 …PLcom/android/server/pm/Settings;->getInternalVersion()Lcom/android/server/pm/Settings$VersionInfo;
/frameworks/base/boot/
Dpreloaded-classes4901 android.icu.util.VersionInfo
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt57639 public deprecated class VersionInfo {
57640 …ctor protected VersionInfo(java.lang.String, java.lang.String, java.lang.String, java.lang.String,…
57641 …method protected static final org.apache.http.util.VersionInfo fromMap(java.lang.String, java.util…
57647 …method public static final org.apache.http.util.VersionInfo[] loadVersionInfo(java.lang.String[], …
57648 …method public static final org.apache.http.util.VersionInfo loadVersionInfo(java.lang.String, java…
/frameworks/base/config/
Dpreloaded-classes4905 android.icu.util.VersionInfo

12