Searched defs:version (Results 1 - 25 of 175) sorted by relevance

1234567

/frameworks/base/libs/hwui/
H A DExtensions.cpp37 const char* version = (const char*)glGetString(GL_VERSION); local
39 // Section 6.1.5 of the OpenGL ES specification indicates the GL version
42 // OpenGL<space>ES<space><version number><space><vendor-specific information>
44 // In addition section 6.1.5 describes the version number thusly:
46 // "The version number is either of the form major number.minor number or
51 if (sscanf(version, "OpenGL ES %d.%d", &mVersionMajor, &mVersionMinor) != 2) {
52 // If we cannot parse the version number, assume OpenGL ES 2.0
/frameworks/av/media/libaudiohal/2.0/
H A DDeviceHalLocal.h122 uint32_t version() const { return mDev->common.version; } function in class:android::DeviceHalLocal
/frameworks/av/media/libaudiohal/4.0/
H A DDeviceHalLocal.h123 uint32_t version() const { return mDev->common.version; } function in class:android::V4_0::DeviceHalLocal
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/annotations/
H A DProvidesInterface.java22 * current version and optionally their action to implement the plugin.
26 int version(); method in interface:ProvidesInterface
H A DRequires.java32 int version(); method in interface:Requires
/frameworks/compile/mclinker/lib/Core/
H A DLinkerConfig.cpp44 const char* LinkerConfig::version() { function in class:mcld::LinkerConfig
/frameworks/support/room/common/src/main/java/androidx/room/
H A DDatabase.java36 * {@literal @}Database(version = 1, entities = {User.class, Book.class})
74 * The database version.
76 * @return The database version.
78 int version(); method in interface:Database
83 * good practice to have version history in your codebase and you should commit that file into
84 * your version control system (but don't ship it with your app!).
/frameworks/native/libs/vr/libdvr/
H A Ddvr_api.cpp25 int dvrGetApi(void* api, size_t struct_size, int version) { argument
26 ALOGI("dvrGetApi: api=%p struct_size=%zu version=%d", api, struct_size,
27 version);
28 if (version == 1) {
35 // Defines an API entry for V1 (no version suffix).
61 ALOGE("dvrGetApi: Unknown API version=%d", version);
/frameworks/base/core/java/android/app/timezone/
H A DUtils.java24 static int validateVersion(String type, int version) { argument
25 if (version < 0 || version > 999) {
26 throw new IllegalArgumentException("Invalid " + type + " version=" + version);
28 return version;
/frameworks/base/core/java/com/android/internal/os/
H A DKernelWakelockStats.java29 Entry(int count, long totalTime, int version) { argument
32 mVersion = version;
/frameworks/base/native/webview/plat_support/
H A Ddraw_sw.h32 int version; // The kAwPixelInfoVersion this struct was built with. member in struct:AwPixelInfo
61 int version; member in struct:AwDrawSWFunctionTable
/frameworks/base/services/net/java/android/net/netlink/
H A DStructNfGenMsg.java37 final public byte version; field in class:StructNfGenMsg
42 version = (byte) NFNETLINK_V0;
48 byteBuffer.put(version);
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pDnsSdServiceRequest.java49 private WifiP2pDnsSdServiceRequest(String dnsQuery, int dnsType, int version) { argument
53 version));
/frameworks/native/opengl/tools/glgen/src/
H A DCodeEmitter.java19 void setVersion(int version, boolean ext, boolean pack); argument
H A DGenerateGL.java34 private static void emit(int version, boolean ext, boolean pack, argument
50 ".java-1" + version + "-if");
54 ".java-1" + version + "-if", glStream);
68 emitter.setVersion(version, ext, pack);
/frameworks/support/room/runtime/src/main/java/androidx/room/
H A DDatabaseConfiguration.java89 * @param requireMigration True if Room should require a valid migration if version changes,
117 * Returns whether a migration is required from the specified version.
119 * @param version The schema version.
122 public boolean isMigrationRequiredFrom(int version) { argument
123 // Migrations are required from this version if we generally require migrations AND EITHER
124 // there are no exceptions OR the supplied version is not one of the exceptions.
127 || !mMigrationNotRequiredFrom.contains(version));
/frameworks/support/wear/src/main/java/androidx/wear/ambient/
H A DSharedLibraryVersion.java25 * Internal class which can be used to determine the version of the wearable shared library that is
34 * Returns the version of the wearable shared library available on the current device.
42 public static int version() { method in class:SharedLibraryVersion
53 * features added before {@link #version() version} 1.
74 return WearableSharedLib.version();
89 // A class which has been available on the shared library from the first version.
/frameworks/av/media/libaudioclient/tests/
H A Dtest_create_utils.cpp45 bool checkVersion(FILE *inputFile, const char *version) argument
52 fprintf(stderr, "Missing version in input file\n");
57 fprintf(stderr, "Malformed version in input file\n");
61 fprintf(stderr, "Malformed version in input file\n");
64 if (strcmp(versionValue, version) != 0) {
65 fprintf(stderr, "Wrong input file version %s expecting %s\n", versionValue, version);
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_seek_synch.cpp157 int32 version; local
162 version = MPEG_2_5;
165 version = MPEG_2;
168 version = MPEG_1;
171 version = INVALID_VERSION;
177 if (version != INVALID_VERSION && (freq_index != 3))
179 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[version][(temp<<16)>>28] << 20,
182 numBytes >>= (20 - version);
184 if (version != MPEG_1)
/frameworks/base/core/java/android/content/res/
H A DObbInfo.java42 * The version of the package to which the OBB file belongs.
44 public int version; field in class:ObbInfo
68 sb.append(",version=");
69 sb.append(version);
83 dest.writeInt(version);
102 version = source.readInt();
/frameworks/base/core/jni/
H A Dandroid_content_res_ObbScanner.cpp36 jfieldID version; member in struct:android::__anon830
64 env->SetIntField(obbInfo, gObbInfoClassInfo.version, obb->getVersion());
91 gObbInfoClassInfo.version = GetFieldIDOrDie(env, clazz, "version", "I");
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageBuilder.java49 PackageBuilder targetSdkVersion(int version) { argument
50 this.mTargetSdkVersion = version;
/frameworks/base/services/backup/java/com/android/server/backup/
H A DFileMetadata.java39 public long version; // App version. field in class:FileMetadata
/frameworks/base/services/core/java/com/android/server/updates/
H A DCertificateTransparencyLogInstallReceiver.java45 super("/data/misc/keychain/trusted_ct_logs/", "ct_logs", "metadata/", "version");
49 protected void install(byte[] content, int version) throws IOException { argument
67 File newVersion = new File(updateDir, LOGDIR_PREFIX + String.valueOf(version));
72 // and so we cannot delete the directory since its in use. Instead just bump the version
75 writeUpdate(updateDir, updateVersion, Long.toString(version).getBytes());
121 // 7. Update the current version information
122 writeUpdate(updateDir, updateVersion, Long.toString(version).getBytes());
/frameworks/base/services/core/jni/
H A Dcom_android_server_ArcVideoService.cpp42 void onCaptureResult(arc::Future<arc::MojoBootstrapResult>* future, uint32_t version, argument
54 future->set(arc::MojoBootstrapResult(std::move(fd), token, version));
84 // This also caches the version number so it can be obtained by calling
85 // .version().
87 [](const InitCallback& callback, uint32_t version) {
88 ALOGI("VideoService ready (version=%d)", version);
100 void versionMismatch(uint32_t version) override {
101 ALOGE("ArcBridgeHost version %d, does not support video (version
[all...]

Completed in 9487 milliseconds

1234567