Home
last modified time | relevance | path

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

/frameworks/rs/script_api/
DGenerateDocumentation.cpp83 if (b.minVersion != 0 && a->maxVersion == b.minVersion - 1) { in mergeVersionInfo()
85 } else if (b.maxVersion != 0 && a->minVersion == b.maxVersion + 1) { in mergeVersionInfo()
86 a->minVersion = b.minVersion; in mergeVersionInfo()
89 "how to merge versions (" << a->minVersion << " - " << a->maxVersion << ") and (" in mergeVersionInfo()
90 << b.minVersion << " - " << b.maxVersion << ")\n"; in mergeVersionInfo()
318 if (info.minVersion > 1 || info.maxVersion) { in writeHtmlVersionTag()
323 if (info.minVersion <= 1) { in writeHtmlVersionTag()
331 stream << "Added in " << mid << info.minVersion; in writeHtmlVersionTag()
333 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()
908 if (info.minVersion == VersionInfo::kUnreleasedVersion) { in updateMaxApiLevel()
912 *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()
DGenerateStubsWhiteList.cpp359 minApiLevel = info.minVersion ? info.minVersion : kMinimumApiLevelForTests; in addManglingsForSpecification()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java108 int minVersion) throws SecurityException { in canAccessScanResults() argument
118 boolean canAppPackageUseLocation = isLegacyForeground(pkgName, minVersion) in canAccessScanResults()
197 private boolean isLegacyVersion(String pkgName, int minVersion) { in isLegacyVersion() argument
200 .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/support/v7/mediarouter/src/android/support/v7/media/
DMediaRouteDescriptor.java667 public Builder setMinClientVersion(int minVersion) { in setMinClientVersion() argument
668 mBundle.putInt(KEY_MIN_CLIENT_VERSION, minVersion); in setMinClientVersion()
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.h232 hardware::hidl_version minVersion = hardware::hidl_version{0,0},
395 hardware::hidl_version minVersion = hardware::hidl_version{0,0},
DCameraProviderManager.cpp352 hardware::hidl_version minVersion, hardware::hidl_version maxVersion) const { in findDeviceInfoLocked() argument
356 minVersion <= deviceInfo->mVersion && maxVersion >= deviceInfo->mVersion) { in findDeviceInfoLocked()
365 const std::string& id, hardware::hidl_version minVersion, in getProviderTagIdLocked() argument
373 minVersion <= deviceInfo->mVersion && in getProviderTagIdLocked()