Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 1227) sorted by relevance

12345678910>>...50

/frameworks/libs/modules-utils/java/com/android/modules/utils/build/
DUnboundedSdkLevel.java39 public static boolean isAtLeast(@NonNull String version) { in isAtLeast() argument
40 return sInstance.isAtLeastInternal(version); in isAtLeast()
46 public static boolean isAtMost(@NonNull String version) { in isAtMost() argument
47 return sInstance.isAtMostInternal(version); in isAtMost()
81 boolean isAtLeastInternal(@NonNull String version) { in isAtLeastInternal() argument
82 version = removeFingerprint(version); in isAtLeastInternal()
84 if (isCodename(version)) { in isAtLeastInternal()
86 if (mKnownCodenames.contains(version)) { in isAtLeastInternal()
87 throw new IllegalArgumentException("Artifact with a known codename " + version in isAtLeastInternal()
93 return mSdkInt >= Integer.parseInt(version); in isAtLeastInternal()
[all …]
/frameworks/libs/modules-utils/build/include/android-modules-utils/
Dunbounded_sdk_level.h36 inline auto getVersionInt(const char *version) { in getVersionInt() argument
37 LOG_ALWAYS_FATAL_IF(version[0] == '\0', "empty version"); in getVersionInt()
39 const long versionInt = strtol(version, &next_char, 10); in getVersionInt()
41 version); in getVersionInt()
42 LOG_ALWAYS_FATAL_IF(versionInt <= 0, "negative version: %s", version); in getVersionInt()
43 LOG_ALWAYS_FATAL_IF(versionInt > INT_MAX, "version too large: %s", version); in getVersionInt()
47 inline bool isCodename(const char *version) { in isCodename() argument
48 LOG_ALWAYS_FATAL_IF(version[0] == '\0', "empty version"); in isCodename()
49 return isupper(version[0]); in isCodename()
88 static bool isKnownCodename(const char *version) { in isKnownCodename() argument
[all …]
/frameworks/base/media/java/android/media/tv/tuner/
DTunerVersionChecker.java91 public static boolean supportTunerVersion(@TunerVersion int version) { in supportTunerVersion() argument
93 return isHigherOrEqualVersionTo(version) in supportTunerVersion()
94 && (getMajorVersion(version) == getMajorVersion(currentVersion)); 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()
[all …]
/frameworks/rs/script_api/
Drs_math.spec167 version: 9
181 version: 9
195 version: 24
204 version: 9
218 version: 24
227 version: 9
243 version: 24
252 version: 9
266 version: 24
275 version: 9
[all …]
Drs_graphics.spec32 version: 16 22
51 version: 16 22
69 version: 16 22
82 version: 16 22
101 version: 16 22
118 version: 9 22
130 version: 9 22
141 version: 9 22
152 version: 9 22
163 version: 9 22
[all …]
Drs_atomic.spec35 version: 14
46 version: 20
54 version: 14
66 version: 20
74 version: 14
90 version: 14
99 version: 14
109 version: 20
116 version: 14
126 version: 20
[all …]
Drs_quaternion.spec24 version: 9 23
40 version: 9 23
54 version: 9 23
67 version: 9 23
100 version: 9 23
123 version: 9 23
142 version: 9 23
158 version: 9 23
288 version: 24
296 version: 24
[all …]
Drs_vector_math.spec38 version: 9
52 version: 24
63 version: 9
79 version: 24
90 version: 9
104 version: 24
115 version: 17
134 version: 17
152 version: 17
173 version: 9
[all …]
/frameworks/native/cmds/installd/tests/
Dinstalld_otapreopt_test.cpp48 uint32_t version, in verifyPackageParameters() argument
53 if (version > 2 || (version == 2 && versioned)) { in verifyPackageParameters()
69 if (version > 1) { in verifyPackageParameters()
74 if (version > 2) { in verifyPackageParameters()
79 if (version > 3) { in verifyPackageParameters()
84 if (version > 4) { in verifyPackageParameters()
89 if (version > 5) { in verifyPackageParameters()
94 if (version > 6) { in verifyPackageParameters()
99 if (version > 7) { in verifyPackageParameters()
106 const char* getVersionCStr(uint32_t version) { in getVersionCStr() argument
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DEmojiTest.java108 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()
/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DPacketReflector.java98 private static void swapAddresses(@NonNull byte[] buf, int version) { in swapAddresses() argument
100 switch (version) { in swapAddresses()
117 private void processTcpPacket(@NonNull byte[] buf, int version, int len, int hdrLen) { in processTcpPacket() argument
123 swapAddresses(buf, version); in processTcpPacket()
131 private void processUdpPacket(@NonNull byte[] buf, int version, int len, int hdrLen) { in processUdpPacket() argument
137 swapAddresses(buf, version); in processUdpPacket()
147 private void processIcmpPacket(@NonNull byte[] buf, int version, int len, int hdrLen) { in processIcmpPacket() argument
153 if (!(version == 4 && type == ICMP_ECHO) && in processIcmpPacket()
154 !(version == 6 && type == (byte) ICMP6_ECHO_REQUEST)) { in processIcmpPacket()
163 swapAddresses(buf, version); in processIcmpPacket()
[all …]
/frameworks/base/core/tests/coretests/apks/version/
DAndroid.bp15 "--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",
/frameworks/compile/libbcc/tests/libbcc/
Dtest_slang_version_info.ll6 ; RUN: | llvm-as -o %t.known-version
8 ; synthetic version of slang that will likely not exist in the wild
10 ; RUN: | llvm-as -o %t.unknown-version
13 ; RUN: bcc -o test_slang_version_info-known-version -output_path %T \
15 ; RUN: -embedRSInfo %t.known-version 2>%t.stderr.known-version
17 ; RUN: bcc -o test_slang_version_info-unknown-version -output_path %T \
19 ; RUN: -embedRSInfo %t.unknown-version 2>%t.stderr.unknown-version
21 ; Assert that bcc warns that there is a mismatch when slang version is the string "DOESNOTEXIST"
22 ; RUN: FileCheck %s -check-prefix=CHECK_BCC_WARNING < %t.stderr.unknown-version
24 ; Assert that bcc does not warn when there is a version match
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteOpenHelper.java81 @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
105 this(context, name, factory, version, 0, errorHandler); in SQLiteOpenHelper()
123 public SQLiteOpenHelper(@Nullable Context context, @Nullable String name, int version, in SQLiteOpenHelper() argument
125 this(context, name, version, 0, openParams.toBuilder()); in SQLiteOpenHelper()
152 @Nullable CursorFactory factory, int version, in SQLiteOpenHelper() argument
154 this(context, name, version, minimumSupportedVersion, in SQLiteOpenHelper()
160 private SQLiteOpenHelper(@Nullable Context context, @Nullable String name, int version, in SQLiteOpenHelper() argument
164 if (version < 1) throw new IllegalArgumentException("Version must be >= 1, was " + version); in SQLiteOpenHelper()
[all …]
/frameworks/base/telephony/java/android/telephony/mbms/
DDownloadRequest.java67 private int version; field in DownloadRequest.SerializationDataContainer
77 version = request.version; in SerializationDataContainer()
82 objectOutput.write(version); in writeExternal()
92 version = objectInput.read(); in readExternal()
108 private int version = CURRENT_VERSION; field in DownloadRequest.Builder
140 builder.version = dataContainer.version; in fromSerializedRequest()
221 subscriptionId, appIntent, version); in build()
230 private final int version; field in DownloadRequest
234 String appIntent, int version) { in DownloadRequest() argument
240 this.version = version; in DownloadRequest()
[all …]
/frameworks/av/media/module/codecs/mp3dec/src/
Dpvmp3_seek_synch.cpp157 int32 version; in pvmp3_frame_synch() local
162 version = MPEG_2_5; in pvmp3_frame_synch()
165 version = MPEG_2; in pvmp3_frame_synch()
168 version = MPEG_1; in pvmp3_frame_synch()
171 version = INVALID_VERSION; in pvmp3_frame_synch()
177 if (version != INVALID_VERSION && (freq_index != 3)) in pvmp3_frame_synch()
179 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[version][(temp<<16)>>28] << 20, in pvmp3_frame_synch()
182 numBytes >>= (20 - version); in pvmp3_frame_synch()
184 if (version != MPEG_1) in pvmp3_frame_synch()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DVersionInfo.java53 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()
91 throw new InvalidVersionException(aClass, 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()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/
Dfind_versions.sh14 for version in $PREBUILT_DIR/*.*.*; do
15 echo $(basename $version)
18 txtfile=$(basename $version | tr '.' '_').txt
19 …($version/bin/llvm-rs-cc $unittest -o $TMP -p $TMP -I $version/include/ -I $version/clang-include/…
/frameworks/compile/slang/tests/P_set_target_api_development/
Dset_target_api_development.rscript2 #pragma version(1)
8 void check(unsigned int version) {
9 if (version != RS_VERSION) {
10 rsDebug("version: ", version);
/frameworks/compile/slang/tests/P_set_target_api_19/
Dset_target_api_19.rscript2 #pragma version(1)
12 void check(unsigned int version) {
13 if (version != RS_VERSION) {
14 rsDebug("version: ", version);
/frameworks/compile/slang/tests/P_set_target_api_14/
Dset_target_api_14.rscript2 #pragma version(1)
12 void check(unsigned int version) {
13 if (version != RS_VERSION) {
14 rsDebug("version: ", version);
/frameworks/compile/slang/tests/P_set_target_api_12/
Dset_target_api_12.rscript2 #pragma version(1)
12 void check(unsigned int version) {
13 if (version != RS_VERSION) {
14 rsDebug("version: ", version);
/frameworks/compile/slang/tests/P_set_target_api_16/
Dset_target_api_16.rscript2 #pragma version(1)
12 void check(unsigned int version) {
13 if (version != RS_VERSION) {
14 rsDebug("version: ", version);
/frameworks/compile/slang/tests/P_set_target_api_15/
Dset_target_api_15.rscript2 #pragma version(1)
12 void check(unsigned int version) {
13 if (version != RS_VERSION) {
14 rsDebug("version: ", version);
/frameworks/compile/slang/tests/P_set_target_api_13/
Dset_target_api_13.rscript2 #pragma version(1)
12 void check(unsigned int version) {
13 if (version != RS_VERSION) {
14 rsDebug("version: ", version);

12345678910>>...50