Home
last modified time | relevance | path

Searched refs:minVersion (Results 1 – 10 of 10) sorted by relevance

/frameworks/rs/script_api/
DGenerateDocumentation.cpp86 if (b.minVersion != 0 && a->maxVersion == b.minVersion - 1) { in mergeVersionInfo()
88 } else if (b.maxVersion != 0 && a->minVersion == b.maxVersion + 1) { in mergeVersionInfo()
89 a->minVersion = b.minVersion; in mergeVersionInfo()
92 "how to merge versions (" << a->minVersion << " - " << a->maxVersion << ") and (" in mergeVersionInfo()
93 << b.minVersion << " - " << b.maxVersion << ")\n"; in mergeVersionInfo()
321 if (info.minVersion > 1 || info.maxVersion) { in writeHtmlVersionTag()
326 if (info.minVersion <= 1) { in writeHtmlVersionTag()
334 stream << "Added in " << mid << info.minVersion; in writeHtmlVersionTag()
336 stream << mid << info.minVersion << " - " << info.maxVersion; in writeHtmlVersionTag()
DSpecification.cpp233 minVersion = maxVersion = kUnreleasedVersion; in scan()
235 sscanf(s.c_str(), "%u %u", &minVersion, &maxVersion); in scan()
236 if (minVersion && minVersion < MIN_API_LEVEL) { in scan()
239 if (minVersion == MIN_API_LEVEL) { in scan()
240 minVersion = 0; in scan()
255 return minVersion == 0 || minVersion <= maxApiLevel; in scan()
909 if (info.minVersion == VersionInfo::kUnreleasedVersion) { in updateMaxApiLevel()
913 *maxApiLevel = max(*maxApiLevel, max(info.minVersion, info.maxVersion)); in updateMaxApiLevel()
DGenerateHeaderFiles.cpp61 if (info.minVersion <= 1) { in writeVersionGuardStart()
67 *file << "#if (defined(RS_VERSION) && (RS_VERSION >= " << info.minVersion << ")"; in writeVersionGuardStart()
76 if (info.minVersion > 1 || info.maxVersion != 0) { in writeVersionGuardEnd()
DSpecification.h132 unsigned int minVersion; member
137 VersionInfo() : minVersion(0), maxVersion(0), intSize(0) {} in VersionInfo()
145 return (minVersion == 0 || target >= minVersion) && in includesVersion()
DGenerateRSFunctionsList.cpp360 minApiLevel = info.minVersion ? info.minVersion : kMinimumApiLevelForTests; in addManglingsForSpecification()
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
DSharedLibraryMain.java58 public static boolean ensureVersion(final Activity activity, int minVersion) { in ensureVersion() argument
63 if (getVersion(activity) >= minVersion) { in ensureVersion()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java121 private void populateIntervalStats(int minVersion) { in populateIntervalStats() argument
153 int maxEventType = (minVersion < 5) ? OLDER_VERSION_MAX_EVENT_TYPE : MAX_EVENT_TYPE; in populateIntervalStats()
274 void compareUsageEvent(Event e1, Event e2, int debugId, int minVersion) { in compareUsageEvent() argument
275 switch (minVersion) { in compareUsageEvent()
329 void compareIntervalStats(IntervalStats stats1, IntervalStats stats2, int minVersion) { in compareIntervalStats() argument
372 compareUsageEvent(stats1.events.get(i), stats2.events.get(i), i, minVersion); in compareIntervalStats() local
426 final int minVersion = oldVersion < newVersion ? oldVersion : newVersion; in runVersionChangeTest() local
428 compareIntervalStats(mIntervalStats, stats.get(0), minVersion); in runVersionChangeTest()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h320 hardware::hidl_version minVersion = hardware::hidl_version{0,0},
671 hardware::hidl_version minVersion = hardware::hidl_version{0,0},
DCameraProviderManager.cpp508 hardware::hidl_version minVersion, hardware::hidl_version maxVersion) const { in findDeviceInfoLocked() argument
512 minVersion <= deviceInfo->mVersion && maxVersion >= deviceInfo->mVersion) { in findDeviceInfoLocked()
521 const std::string& id, hardware::hidl_version minVersion, in getProviderTagIdLocked() argument
529 minVersion <= deviceInfo->mVersion && in getProviderTagIdLocked()
/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackageUtils.java1568 int minVersion; in parseExtensionSdk() local
1572 minVersion = sa.getInt(R.styleable.AndroidManifestExtensionSdk_minExtensionVersion, -1); in parseExtensionSdk()
1582 if (minVersion < 0) { in parseExtensionSdk()
1590 if (version < minVersion) { in parseExtensionSdk()
1593 "Package requires " + sdkVersion + " extension version " + minVersion in parseExtensionSdk()
1601 minExtensionVersions.put(sdkVersion, minVersion); in parseExtensionSdk()