Searched refs:version (Results 1 - 25 of 44) sorted by relevance

12

/system/core/fastbootd/
H A Dtrigger.c40 static const int version = 1; variable
50 if (trigger_check_version(version, &libversion)) {
H A Dvendor_trigger_default.c36 static const int version = 1; variable
45 KLOG_DEBUG("fastbootd", "%s: %d (%d)", __func__, fastboot_version, version);
46 *libversion = version;
47 return !(fastboot_version == version);
H A Dvendor_trigger.h54 * version is number parameter indicating version on the fastbootd side
55 * libversion is version indicateing version of the library version
57 * returns 0 if it can cooperate with the current version and 1 in opposite
59 int trigger_check_version(const int version, int *libversion);
/system/core/include/cutils/
H A Dnative_handle.h26 int version; /* sizeof(native_handle_t) */ member in struct:native_handle
/system/extras/tests/crypto/
H A Dget_dm_versions.c15 io->version[0] = 4;
16 io->version[1] = 0;
17 io->version[2] = 0;
47 /* Iterate over the returned versions, and print each subsystem's version */
50 printf("%s: %d.%d.%d\n", v->name, v->version[0], v->version[1], v->version[2]);
/system/core/libcutils/
H A Dnative_handle.c34 h->version = sizeof(native_handle_t);
44 if (h->version != sizeof(native_handle_t))
53 if (h->version != sizeof(native_handle_t))
/system/core/libnativebridge/tests/
H A DDummyNativeBridge.cpp47 .version = 1,
/system/core/libmincrypt/tools/
H A DDumpPublicKey.java41 * @return version number of key. Supported versions are:
51 int version;
54 version = useSHA256 ? 3 : 1;
56 version = useSHA256 ? 4 : 2;
67 return version;
72 * @return version number of key. Supported versions are:
103 * version 1 key, the string will be a C initializer; this is
107 int version = check(key, useSHA256);
115 if (version > 1) {
117 result.append(Integer.toString(version));
[all...]
/system/extras/sane_schedstat/
H A Dsane_schedstat.c19 Currently support version 15, modify parse() to support other
112 unsigned int version; local
115 if (sscanf(b, "version %u\n", &version) != 1) {
116 printf("Could not parse version\n");
119 switch (version) {
135 printf("Can not handle version %u\n", version);
/system/extras/tests/sdcard/
H A Dprofile_sdcard.sh19 adb shell cat /proc/version
/system/core/toolbox/
H A Dmkswap.c11 uint32_t version; member in struct:linux_swap_header
61 sw_hdr.version = 1;
H A Dsendevent.c20 #define EVIOCGVERSION _IOR('E', 0x01, int) /* get driver version */
52 int version; local
65 if (ioctl(fd, EVIOCGVERSION, &version)) {
66 fprintf(stderr, "could not get driver version for %s, %s\n", argv[optind], strerror(errno));
H A Dgetevent.c296 int version; local
313 if(ioctl(fd, EVIOCGVERSION, &version)) {
315 fprintf(stderr, "could not get driver version for %s, %s\n", device, strerror(errno));
363 " version %04x\n",
364 id.bustype, id.vendor, id.product, id.version);
371 printf(" version: %d.%d.%d\n",
372 version >> 16, (version >> 8) & 0xff, version & 0xff);
/system/core/include/nativebridge/
H A Dnative_bridge.h80 uint32_t version; member in struct:android::NativeBridgeCallbacks
/system/core/include/private/
H A Dandroid_filesystem_capability.h38 __u32 version; member in struct:__user_cap_header_struct
/system/security/softkeymaster/
H A Dmodule.cpp57 dev->common.version = 1;
/system/core/logd/tests/
H A Dlogd_test.cpp359 log_msg *msg, unsigned int version, int lid) {
362 version = 1;
366 if (version == 0) {
367 version = 2;
372 fprintf(stderr, "%s: v%u[%u] ", prefix, version, msg->len());
373 if (version != 1) {
378 switch(version) {
/system/core/adb/
H A Dframebuffer_service.c36 /* This version number defines the format of the fbinfo struct.
40 unsigned int version; member in struct:fbinfo
86 fbinfo.version = DDMS_RAWIMAGE_VERSION;
H A Dadb_client.c221 // first query the adb server's version
222 int fd = _adb_connect("host:version");
242 // if server was running, check its version to make sure it is not out of date
245 int version = ADB_SERVER_VERSION - 1; local
247 // if we have a file descriptor, then parse version result
257 if (sscanf(buf, "%04x", &version) != 1) goto error;
260 // which would indicate a version of adb that does not support the version command
265 if(version != ADB_SERVER_VERSION) {
/system/extras/verity/
H A DVerityVerifier.java123 int version = fromle(img.readInt());
125 if (version != VERITY_VERSION) {
126 throw new IllegalArgumentException("Invalid image: unknown metadata version");
/system/core/include/system/
H A Dsound_trigger.h65 unsigned int version; /* implementation version */ member in struct:sound_trigger_properties
67 Must change with version each version */
H A Dwindow.h79 int version; member in struct:android_native_base_t
93 common.version = sizeof(ANativeWindowBuffer);
377 common.version = sizeof(ANativeWindow);
/system/core/init/
H A Dkeychords.c52 keychord->version = KEYCHORD_VERSION;
/system/vold/
H A DDevmapper.cpp122 io->version[0] = 4;
123 io->version[1] = 0;
124 io->version[2] = 0;
/system/core/fs_mgr/
H A Dfs_mgr_verity.c198 // check the protocol version
201 ERROR("Couldn't read verity metadata protocol version!\n");
205 ERROR("Got unknown verity metadata protocol version %d!\n", protocol_version);
261 io->version[0] = 4;
262 io->version[1] = 0;
263 io->version[2] = 0;

Completed in 524 milliseconds

12