/aosp14/frameworks/base/media/java/android/media/tv/tuner/ |
H A D | TunerVersionChecker.java | 91 public static boolean supportTunerVersion(@TunerVersion int version) { in supportTunerVersion() argument 93 return isHigherOrEqualVersionTo(version) in supportTunerVersion() 106 public static boolean isHigherOrEqualVersionTo(@TunerVersion int version) { in isHigherOrEqualVersionTo() argument 108 return currentVersion >= version; in isHigherOrEqualVersionTo() 120 public static int getMajorVersion(@TunerVersion int version) { in getMajorVersion() argument 121 return ((version & 0xFFFF0000) >>> 16); in getMajorVersion() 133 public static int getMinorVersion(@TunerVersion int version) { in getMinorVersion() argument 134 return (version & 0xFFFF); in getMinorVersion() 139 @TunerVersion int version, String methodName) { in checkHigherOrEqualVersionTo() 140 if (!TunerVersionChecker.isHigherOrEqualVersionTo(version)) { in checkHigherOrEqualVersionTo() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | EmojiTest.java | 108 for (int version = 0; version < data.length; version++) { in testIsNewEmoji_Emoji() 109 for (int row = 0; row < data[version].length; row++) { in testIsNewEmoji_Emoji() 110 for (int c = data[version][row][0]; c < data[version][row][1]; c++) { in testIsNewEmoji_Emoji() 154 for (int version = 0; version < data.length; version++) { in testisEmojiModifierBase() 155 for (int row = 0; row < data[version].length; row++) { in testisEmojiModifierBase() 156 for (int c = data[version][row][0]; c < data[version][row][1]; c++) { in testisEmojiModifierBase()
|
/aosp14/frameworks/base/core/tests/coretests/apks/version/ |
H A D | Android.bp | 15 "--version-code 1", 16 "--version-name 1.0", 26 "--version-code 2", 27 "--version-name 2.0", 37 "--version-code 3", 38 "--version-name 3.0", 48 "--version-code 1", 49 "--version-name 1.0", 59 "--version-code 2", 60 "--version-name 2.0",
|
/aosp14/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteOpenHelper.java | 81 @Nullable CursorFactory factory, int version) { in SQLiteOpenHelper() argument 82 this(context, name, factory, version, null); in SQLiteOpenHelper() 103 @Nullable CursorFactory factory, int version, in SQLiteOpenHelper() argument 152 @Nullable CursorFactory factory, int version, in SQLiteOpenHelper() argument 164 if (version < 1) throw new IllegalArgumentException("Version must be >= 1, was " + version); in SQLiteOpenHelper() 168 mNewVersion = version; in SQLiteOpenHelper() 389 final int version = db.getVersion(); in getDatabaseLocked() local 390 if (version != mNewVersion) { in getDatabaseLocked() 396 if (version > 0 && version < mMinimumSupportedVersion) { in getDatabaseLocked() 410 if (version == 0) { in getDatabaseLocked() [all …]
|
/aosp14/frameworks/base/telephony/java/android/telephony/mbms/ |
H A D | DownloadRequest.java | 67 private int version; field in DownloadRequest.SerializationDataContainer 77 version = request.version; in SerializationDataContainer() 82 objectOutput.write(version); in writeExternal() 140 builder.version = dataContainer.version; in fromSerializedRequest() 230 private final int version; field in DownloadRequest 240 this.version = version; in DownloadRequest() 249 version = in.readInt(); in DownloadRequest() 262 out.writeInt(version); in writeToParcel() 329 return version; in getVersion() 370 if (version >= 1) { in getHash() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/ |
H A D | VersionInfo.java | 53 mVersions.put(cls, new Version(provider.version(), true)); in addClass() 57 mVersions.put(requires.target(), new Version(requires.version(), required)); in addClass() 62 mVersions.put(r.target(), new Version(r.version(), required)); in addClass() 81 public void accept(Class<?> aClass, Version version) { in checkVersion() 90 if (v.mVersion != version.mVersion) { in checkVersion() 93 version.mVersion); in checkVersion() 99 public void accept(Class<?> aClass, Version version) { in checkVersion() 100 if (version.mRequired) { in checkVersion() 111 return new Version(provider.version(), false); in createVersion() 155 public Version(int version, boolean required) { in Version() argument [all …]
|
/aosp14/frameworks/base/native/webview/plat_support/ |
H A D | draw_fn.h | 52 int version; member 58 int version; member 104 int version; member 122 int version; member 179 int version; member 183 int version; member 263 int version, 272 int version; member
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/updates/ |
H A D | CertPinInstallReceiverTest.java | 162 private String createSignature(String content, String version, String requiredHash) in createSignature() argument 167 signer.update(version.trim().getBytes()); in createSignature() 175 public boolean verifySignature(String content, String version, String requiredPrevious, in verifySignature() argument 180 signer.update(version.trim().getBytes()); in verifySignature() 185 private void sendIntent(String contentPath, String version, String required, String sig) { in sendIntent() argument 189 i.putExtra(EXTRA_VERSION_NUMBER, version); in sendIntent() 200 sendIntent(contentPath, version, required, sig); in runTest() 207 String sig = createSignature(content, version, required); in runTestWithoutSig() 208 return runTest(cert, content, version, required, sig); in runTestWithoutSig() 233 String version = getNextVersion(); in testBadVersionFails() local [all …]
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | FeatureInfo.java | 56 public int version; field in FeatureInfo 85 version = orig.version; in FeatureInfo() 95 + " " + name + " v=" + version + " fl=0x" + Integer.toHexString(flags) + "}"; in toString() 112 dest.writeInt(version); in writeToParcel() 123 proto.write(FeatureInfoProto.VERSION, version); in dumpDebug() 142 version = source.readInt(); in FeatureInfo()
|
/aosp14/frameworks/base/core/java/android/net/netstats/ |
H A D | NetworkStatsDataMigrationUtils.java | 277 final int version = in.readInt(); in readPlatformCollection() local 278 switch (version) { in readPlatformCollection() 372 final int version = in.readInt(); in readPlatformHistory() local 373 switch (version) { in readPlatformHistory() 420 final int version = in.readInt(); in readPlatformNetworkIdentitySet() local 424 if (version <= IdentitySetVersion.VERSION_INIT) { in readPlatformNetworkIdentitySet() 437 if (version >= IdentitySetVersion.VERSION_ADD_ROAMING) { in readPlatformNetworkIdentitySet() 444 if (version >= IdentitySetVersion.VERSION_ADD_METERED) { in readPlatformNetworkIdentitySet() 468 if (version >= IdentitySetVersion.VERSION_ADD_SUB_ID) { in readPlatformNetworkIdentitySet() 544 final int version = in.readInt(); in readLegacyUid() local [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/signedconfig/ |
H A D | GlobalSettingsConfigApplicator.java | 96 private void updateCurrentConfig(int version, Map<String, String> values) { in updateCurrentConfig() argument 104 mContext.getContentResolver(), Settings.Global.SIGNED_CONFIG_VERSION, version); in updateCurrentConfig() local 117 mEvent.version = config.version; in applyConfig() 124 if (currentVersion >= config.version) { in applyConfig() 126 + " is older than existing: " + config.version + "<=" + currentVersion); in applyConfig() 132 + config.version + " replacing existing version " + currentVersion); in applyConfig() 141 Slog.i(TAG, "Updating global settings to version " + config.version); in applyConfig() 142 updateCurrentConfig(config.version, matchedConfig.values); in applyConfig()
|
H A D | SignedConfig.java | 81 public final int version; field in SignedConfig 84 public SignedConfig(int version, List<PerSdkConfig> perSdkConfig) { in SignedConfig() argument 85 this.version = version; in SignedConfig() 129 int version = json.getInt(KEY_VERSION); in parse() local 138 return new SignedConfig(version, parsedConfigs); in parse()
|
/aosp14/frameworks/base/core/tests/overlaytests/host/test-apps/UpdateOverlay/ |
H A D | Android.mk | 43 LOCAL_AAPT_FLAGS += --version-code 1 --version-name v1 58 LOCAL_AAPT_FLAGS += --version-code 2 --version-name v2 74 LOCAL_AAPT_FLAGS += --version-code 1 --version-name v1 88 LOCAL_AAPT_FLAGS += --version-code 2 --version-name v2
|
/aosp14/frameworks/base/tools/aapt2/configuration/ |
H A D | ConfigurationParser_test.cpp | 68 <abi-group label="other" version-code-order="2"> 72 <abi-group label="arm" version-code-order="1"> 78 <screen-density-group label="large" version-code-order="2"> 83 <screen-density-group label="alldpi" version-code-order="1"> 93 <locale-group label="europe" version-code-order="1"> 99 <locale-group label="north-america" version-code-order="2"> 104 <locale-group label="all" version-code-order="-1"> 120 <gl-texture-group label="dxt1" version-code-order="2">
|
/aosp14/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsDatabase.java | 155 mCurrentVersion = version; in UsageStatsDatabase() 346 int version; in checkVersionAndBuildLocked() local 361 version = 0; in checkVersionAndBuildLocked() 364 if (version != mCurrentVersion) { in checkVersionAndBuildLocked() 515 if (version <= 3) { in continueUpgradeLocked() 521 if (version >= 5) { in continueUpgradeLocked() 1050 switch (version) { in writeLocked() 1134 switch (version) { in readLocked() 1257 if (version >= 1 && version <= 3) { in getBackupPayload() 1261 if (version < 1 || version > BACKUP_VERSION) { in getBackupPayload() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | ConstrainDisplayApisConfigTest.java | 149 private static void testNeverConstrainDisplayApis(String packageName, long version, in testNeverConstrainDisplayApis() argument 153 config.getNeverConstrainDisplayApis(buildApplicationInfo(packageName, version))); in testNeverConstrainDisplayApis() 156 private static void testAlwaysConstrainDisplayApis(String packageName, long version, in testAlwaysConstrainDisplayApis() argument 161 config.getAlwaysConstrainDisplayApis(buildApplicationInfo(packageName, version))); in testAlwaysConstrainDisplayApis() 164 private static ApplicationInfo buildApplicationInfo(String packageName, long version) { in buildApplicationInfo() argument 167 applicationInfo.longVersionCode = version; in buildApplicationInfo()
|
/aosp14/frameworks/base/proto/src/ |
H A D | ipconnectivity.proto | 194 // Since version 4. 198 // Since version 4. 202 // Since version 4. 206 // Since version 4. 212 // Since version 4 218 // Since version 4 239 // Since version 2. 267 // Since version 2. 323 // Since version 1. 352 // Since version 1. [all …]
|
/aosp14/frameworks/base/packages/SettingsLib/Spa/gradle/ |
H A D | libs.versions.toml | 24 dexmaker-mockito = { module = "com.linkedin.dexmaker:dexmaker-mockito", version.ref = "dexmaker-moc… 25 truth = { module = "com.google.truth:truth", version.ref = "truth" } 28 android-application = { id = "com.android.application", version.ref = "agp" } 29 android-library = { id = "com.android.library", version.ref = "agp" } 30 kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
/aosp14/frameworks/base/core/java/android/content/integrity/ |
H A D | RuleSet.java | 37 private RuleSet(String version, List<Rule> rules) { in RuleSet() argument 38 mVersion = version; in RuleSet() 68 public Builder setVersion(@NonNull String version) { in setVersion() argument 69 mVersion = version; in setVersion()
|
/aosp14/frameworks/base/media/java/android/media/tv/tuner/filter/ |
H A D | SectionSettingsWithTableInfo.java | 40 boolean isRaw, int bitWidthOfLengthField, int tableId, int version) { in SectionSettingsWithTableInfo() argument 43 mVersion = version; in SectionSettingsWithTableInfo() 92 public Builder setVersion(int version) { in setVersion() argument 93 mVersion = version; in setVersion()
|
/aosp14/frameworks/base/tools/aapt/tests/ |
H A D | ResourceFilter_test.cpp | 108 config.version = 13; in TEST() 121 config.version = 13; in TEST() 148 config.version = 13; in TEST() 169 config.version = 4; in TEST() 177 expectedConfig.version = 4; in TEST() 185 config.version = 4; in TEST() 198 expectedConfig.version = 4; in TEST()
|
/aosp14/system/core/fastboot/ |
H A D | task_test.cpp | 99 for (auto& version : correct_versions) { in TEST_F() local 100 ASSERT_TRUE(CheckFastbootInfoRequirements(android::base::Split(version, " "))) << version; in TEST_F() 102 for (auto& version : bad_versions) { in TEST_F() local 103 ASSERT_FALSE(CheckFastbootInfoRequirements(android::base::Split(version, " "))) << version; in TEST_F()
|
/aosp14/frameworks/base/media/java/android/media/tv/ |
H A D | TableResponse.java | 72 @Nullable Uri tableUri, int version, int size) { in TableResponse() argument 74 mVersion = version; in TableResponse() 105 int version, int size, Uri tableUri, byte[] tableByteArray, in TableResponse() argument 108 mVersion = version; in TableResponse() 140 public Builder(int requestId, int sequence, @ResponseResult int responseResult, int version, in Builder() argument 145 mVersion = version; in Builder()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/ |
H A D | VersionInfoTest.java | 87 @Requires(target = OverlayPlugin.class, version = OverlayPlugin.VERSION) 91 @Requires(target = OverlayPlugin.class, version = 0) 95 @Requires(target = QS.class, version = QS.VERSION) 99 @Requires(target = QS.class, version = QS.VERSION) 100 @Requires(target = HeightListener.class, version = HeightListener.VERSION)
|
/aosp14/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
H A D | ViewerConfigParser.kt | 95 var version: String? = null 102 "version" -> version = jsonReader.nextString() 108 if (messages == null || groups == null || version == null) { 111 if (version != Constants.VERSION) { 113 " config version $version, viewer version ${Constants.VERSION}")
|