Home
last modified time | relevance | path

Searched refs:minVersion (Results 1 – 11 of 11) 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/wifi/java/android/net/wifi/aware/
DWifiAwareUtils.java93 public static boolean isLegacyVersion(Context context, int minVersion) { in isLegacyVersion() argument
96 .targetSdkVersion < minVersion) { in isLegacyVersion()
/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.java260 void compareUsageEvent(Event e1, Event e2, int debugId, int minVersion) { in compareUsageEvent() argument
261 switch (minVersion) { in compareUsageEvent()
293 void compareIntervalStats(IntervalStats stats1, IntervalStats stats2, int minVersion) { in compareIntervalStats() argument
336 compareUsageEvent(stats1.events.get(i), stats2.events.get(i), i, minVersion); in compareIntervalStats() local
384 final int minVersion = oldVersion < newVersion ? oldVersion : newVersion; in runVersionChangeTest()
386 compareIntervalStats(mIntervalStats, stats.get(0), minVersion); in runVersionChangeTest()
/frameworks/ml/nn/runtime/test/
DTestGenerated.cpp352 for (const auto& [minVersion, names] : kMapOfMinVndkVersionToTests) { in shouldSkipTest()
353 if (mVndkVersion < minVersion && names.count(kTestName) > 0) { in shouldSkipTest()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h266 hardware::hidl_version minVersion = hardware::hidl_version{0,0},
571 hardware::hidl_version minVersion = hardware::hidl_version{0,0},
DCameraProviderManager.cpp487 hardware::hidl_version minVersion, hardware::hidl_version maxVersion) const { in findDeviceInfoLocked() argument
491 minVersion <= deviceInfo->mVersion && maxVersion >= deviceInfo->mVersion) { in findDeviceInfoLocked()
500 const std::string& id, hardware::hidl_version minVersion, in getProviderTagIdLocked() argument
508 minVersion <= deviceInfo->mVersion && in getProviderTagIdLocked()