/system/update_engine/client_library/ |
H A D | client.cc | 37 auto ret = unique_ptr<UpdateEngineClient>{update_engine_client_impl}; local 40 ret.reset(); 43 return ret;
|
/system/bt/osi/test/ |
H A D | properties_test.cc | 35 int ret = osi_property_set("very.useful.set.test", value); local 36 ASSERT_EQ(0, ret); 51 int ret = osi_property_set("very.useful.set.test", value); local 52 ASSERT_EQ(0, ret);
|
/system/core/libion/tests/ |
H A D | ion_test_fixture.cpp | 49 int ret; local 50 ret = ion_alloc(fd, 4096, 0, i, 0, &handle); 51 if (ret == 0 && handle != 0) { 59 ASSERT_EQ(-ENODEV, ret);
|
/system/core/logcat/ |
H A D | logcat_main.cpp | 27 int ret = android_logcat_destroy(&ctx); local 28 if (!ret) ret = retval; 29 return ret;
|
H A D | logcatd_main.cpp | 46 int ret = 0; local 49 ret = android_logcat_run_command(ctx, -1, -1, argv_hold.size() - 1, 67 if (!ret) ret = retval; 69 if (!ret) ret = retval; 70 return ret;
|
/system/extras/ext4_utils/ |
H A D | wipe.c | 39 int ret; local 48 ret = ioctl(fd, BLKSECDISCARD, &range); 49 if (ret < 0) { 52 ret = ioctl(fd, BLKDISCARD, &range); 53 if (ret < 0) {
|
/system/extras/simpleperf/runtest/ |
H A D | function_pthread.cpp | 22 int ret = pthread_create(&thread, nullptr, ChildThreadFunction, nullptr); local 23 if (ret != 0) { 24 fprintf(stderr, "pthread_create failed: %s\n", strerror(ret)); 28 ret = pthread_join(thread, nullptr); 29 if (ret != 0) { 30 fprintf(stderr, "pthread_join failed: %s\n", strerror(ret));
|
/system/update_engine/update_manager/ |
H A D | boxed_value.cc | 106 string ret = ""; local 111 if (ret.size() > 0) 112 ret += ","; 113 ret += StringForConnectionType(type); 115 return ret;
|
/system/bt/bta/jv/ |
H A D | bta_jv_main.cc | 82 bool ret = false; local 88 ret = true; 91 return (ret);
|
/system/bt/btcore/test/ |
H A D | bdaddr_test.cc | 37 char ret[19]; local 48 bdaddr_to_string(&bdaddr, ret, sizeof(ret)); 50 ASSERT_STREQ(test_addr, ret);
|
/system/core/init/ |
H A D | import_parser.cpp | 35 bool ret = expand_props(args[1], &conf_file); local 36 if (!ret) {
|
H A D | watchdogd.cpp | 48 int ret = ioctl(fd, WDIOC_SETTIMEOUT, &timeout); local 49 if (ret) { 51 ret = ioctl(fd, WDIOC_GETTIMEOUT, &timeout); 52 if (ret) {
|
/system/core/libcutils/ |
H A D | android_reboot.c | 25 int ret; local 43 ret = asprintf(&prop_value, "%s,%s", restart_cmd, arg); 45 ret = asprintf(&prop_value, "%s", restart_cmd); 47 if (ret < 0) return -1; 48 ret = property_set(ANDROID_RB_PROPERTY, prop_value); 50 return ret;
|
H A D | partition_utils.c | 28 int i, ret; local 30 ret = 1; 33 ret = 0; 37 return ret; 43 int fd, ret; local 49 ret = read(fd, buf, sizeof(buf)); 52 if (ret != sizeof(buf)) {
|
H A D | socket_inaddr_any_server_unix.c | 55 int ret; local 57 ret = listen(s, LISTEN_BACKLOG); 59 if (ret < 0) {
|
/system/core/liblog/ |
H A D | log_event_write.c | 30 int ret = -EINVAL; local 35 ret = -ENOMEM; 37 ret = android_log_write_string8_len(ctx, subTag, MAX_SUBTAG_LEN); 38 if (ret >= 0) { 39 ret = android_log_write_int32(ctx, uid); 40 if (ret >= 0) { 41 ret = android_log_write_string8_len(ctx, data, dataLen); 42 if (ret >= 0) { 43 ret = android_log_write_list(ctx, LOG_ID_EVENTS); 50 return ret; [all...] |
H A D | logger_name.c | 45 int ret; local 57 for (ret = LOG_ID_MIN; ret < LOG_ID_MAX; ++ret) { 58 const char* l = LOG_NAME[ret]; 60 return ret;
|
H A D | uio.c | 33 int ret = read(fd, buf, len); local 34 if (ret < 0) { 38 if (ret == 0) goto Exit; 40 total += ret; 41 buf += ret; 42 len -= ret; 57 int ret = write(fd, buf, len); local 58 if (ret < 0) { 62 if (ret == 0) goto Exit; 64 total += ret; [all...] |
/system/core/libmemunreachable/ |
H A D | LeakPipe.cpp | 45 int ret = sendmsg(sock, &hdr, 0); local 46 if (ret < 0) { 50 if (ret == 0) { 72 int ret = recvmsg(sock, &hdr, 0); local 73 if (ret < 0) { 77 if (ret == 0) {
|
/system/core/libsuspend/ |
H A D | autosuspend.c | 56 int ret; local 58 ret = autosuspend_init(); 59 if (ret) { 60 return ret; 69 ret = autosuspend_ops->enable(); 70 if (ret) { 71 return ret; 80 int ret; local 82 ret = autosuspend_init(); 83 if (ret) { [all...] |
/system/core/libsysutils/src/ |
H A D | FrameworkClient.cpp | 33 int ret; local 40 ret = TEMP_FAILURE_RETRY(write(mSocket, msg, strlen(msg) +1)); 41 if (ret < 0) {
|
/system/core/reboot/ |
H A D | reboot.c | 26 int ret; local 66 ret = property_set(ANDROID_RB_PROPERTY, property_val); 67 if(ret < 0) {
|
/system/extras/squashfs_utils/ |
H A D | squashfs_utils.c | 62 int ret = 0; local 75 ret = -1; 81 ret = -1; 87 return ret;
|
/system/extras/tests/kernel.config/ |
H A D | sysvipc_test.cpp | 34 int ret = kcmp(pid, pid, KCMP_SYSVSEM, 0, 0); local 35 int error = (ret == -1) ? (errno == ENOSYS) ? EOPNOTSUPP : errno : 0;
|
/system/security/keystore/ |
H A D | keystore_get.cpp | 35 auto ret = service->get(String16(key, keyLength), -1, &result); local 36 if (!ret.isOk()) return -1;
|