/system/core/fastbootd/ |
H A D | trigger.c | 40 static const int version = 1; variable 50 if (trigger_check_version(version, &libversion)) {
|
H A D | vendor_trigger_default.c | 36 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 D | vendor_trigger.h | 54 * 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 D | native_handle.h | 26 int version; /* sizeof(native_handle_t) */ member in struct:native_handle
|
/system/extras/tests/crypto/ |
H A D | get_dm_versions.c | 15 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 D | native_handle.c | 34 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 D | DummyNativeBridge.cpp | 47 .version = 1,
|
/system/core/libmincrypt/tools/ |
H A D | DumpPublicKey.java | 41 * @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 D | sane_schedstat.c | 19 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 D | profile_sdcard.sh | 19 adb shell cat /proc/version
|
/system/core/toolbox/ |
H A D | mkswap.c | 11 uint32_t version; member in struct:linux_swap_header 61 sw_hdr.version = 1;
|
H A D | sendevent.c | 20 #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 D | getevent.c | 296 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 D | native_bridge.h | 80 uint32_t version; member in struct:android::NativeBridgeCallbacks
|
/system/core/include/private/ |
H A D | android_filesystem_capability.h | 38 __u32 version; member in struct:__user_cap_header_struct
|
/system/security/softkeymaster/ |
H A D | module.cpp | 57 dev->common.version = 1;
|
/system/core/logd/tests/ |
H A D | logd_test.cpp | 359 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 D | framebuffer_service.c | 36 /* 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 D | adb_client.c | 221 // 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 D | VerityVerifier.java | 123 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 D | sound_trigger.h | 65 unsigned int version; /* implementation version */ member in struct:sound_trigger_properties 67 Must change with version each version */
|
H A D | window.h | 79 int version; member in struct:android_native_base_t 93 common.version = sizeof(ANativeWindowBuffer); 377 common.version = sizeof(ANativeWindow);
|
/system/core/init/ |
H A D | keychords.c | 52 keychord->version = KEYCHORD_VERSION;
|
/system/vold/ |
H A D | Devmapper.cpp | 122 io->version[0] = 4; 123 io->version[1] = 0; 124 io->version[2] = 0;
|
/system/core/fs_mgr/ |
H A D | fs_mgr_verity.c | 198 // 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;
|