/system/extras/verity/ |
H A D | verity_verifier.cpp | 114 int ret = verify_table(argv[3], verity.signature, sizeof(verity.signature), local 116 printf("%s\n", ret == 0 ? "VERIFIED" : "FAILED"); 117 return ret;
|
/system/hwservicemanager/ |
H A D | ServiceManager.cpp | 101 auto ret = (*it)->onRegistration(fqName, instanceName, false /* preexisting */); local 102 if (ret.isOk()) { 120 auto ret = listener->onRegistration( local 124 if (!ret.isOk()) { 183 auto ret = service->interfaceChain([&](const auto &interfaceChain) { local 208 auto ret = hidlService->getService()->unlinkToDeath(this); 209 ret.isOk(); // ignore 223 if (!ret.isOk()) { 325 auto ret = callback->linkToDeath(this, kPackageListenerDiedCookie /*cookie*/); local 326 if (!ret 336 auto ret = callback->linkToDeath(this, kServiceListenerDiedCookie); local [all...] |
/system/libvintf/ |
H A D | HalManifest.cpp | 103 std::vector<const ManifestHal *> ret; local 106 ret.push_back(&it->second); 108 return ret; 111 std::vector<ManifestHal *> ret; local 114 ret.push_back(&it->second); 116 return ret; 154 std::set<Version> ret; local 156 ret.insert(hal->versions.begin(), hal->versions.end()); 158 return ret; 164 std::set<std::string> ret; local [all...] |
/system/netd/server/ |
H A D | main.cpp | 116 status_t ret; local 117 if ((ret = NetdNativeService::start()) != android::OK) { 118 ALOGE("Unable to start NetdNativeService: %d", ret);
|
H A D | CommandListener.cpp | 399 int ret = 0; local 402 ret = RouteController::enableTethering(argv[2], argv[3]); 405 ret = RouteController::disableTethering(argv[2], argv[3]); 407 success = (ret == 0); 408 errno = -ret; 1349 int ret) { 1350 errno = -ret; 1401 int ret; local 1403 ret = gCtls->netCtrl.addRoute(netId, interface, destination, nexthop, legacy, uid); 1405 ret 1348 operationError(SocketClient* client, const char* message, int ret) argument [all...] |
/system/extras/ioshark/ |
H A D | ioshark_bench.c | 221 int ret; local 227 ret = lseek(files_db_get_fd(db_node), 230 if (ret < 0) { 241 ret = pread(files_db_get_fd(db_node), p, 244 if (ret < 0) { 256 ret = pwrite(files_db_get_fd(db_node), p, 259 if (ret < 0) { 271 ret = read(files_db_get_fd(db_node), p, 274 if (ret < 0) { 286 ret [all...] |
/system/core/logcat/tests/ |
H A D | logcat_test.cpp | 769 static testing::AssertionResult IsFalse(int ret, const char* command) { argument 770 return ret ? (testing::AssertionSuccess() 771 << "ret=" << ret << " command=\"" << command << "\"") 786 int ret; local 787 EXPECT_FALSE(IsFalse(ret = logcat_system(command), command)); 788 if (!ret) { 832 int ret; local 833 EXPECT_FALSE(IsFalse(ret = logcat_system(command), command)); 834 if (!ret) { 891 int ret; local 1023 int ret; local 1053 int ret; local 1092 int ret = logcat_system(command); local 1511 int ret = sscanf(buffer, expect.c_str(), &p, &space, &newline); local [all...] |
/system/extras/f2fs_utils/ |
H A D | f2fs_sparseblock.c | 163 off64_t ret; local 165 ret = lseek64(fd, start, SEEK_SET); 166 if (ret < 0) { 168 return ret; 171 ret = read(fd, buf, len); 172 if (ret < 0) { 174 return ret; 176 if (ret != len) { 574 off64_t ret; local 575 ret [all...] |
/system/extras/tests/pagingtest/ |
H A D | pagingtest.c | 113 bool ret = true; local 125 ret = false; 132 ret = false; 137 return ret;
|
/system/update_engine/payload_generator/ |
H A D | block_mapping.cc | 61 bool ret = true; local 66 ret = ret && (*block_ids)[block] != -1; 68 return ret;
|
H A D | extent_ranges.cc | 108 ExtentRanges::ExtentSet ret; local 110 ret.insert(ExtentForRange(base.start_block(), 116 ret.insert(ExtentForRange(subtractee_end, base_end - subtractee_end)); 118 return ret; 223 Extent ret; local 224 ret.set_start_block(start_block); 225 ret.set_num_blocks(num_blocks); 226 return ret;
|
/system/update_engine/update_manager/ |
H A D | update_manager-inl.h | 127 EvalStatus ret = EvaluatePolicy<R, ExpectedArgs...>(ec.get(), policy_method, variable 130 DCHECK(EvalStatus::kAskMeAgainLater != ret); 131 LOG_IF(WARNING, EvalStatus::kAskMeAgainLater == ret) 133 return ret;
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
H A D | util.c | 68 bool ret; local 70 ret = finclude ? false : true; 81 ret = true; 85 return (ret); 92 bool ret; local 94 ret = dinclude ? false : true; 102 ret = true; 105 return (ret); 433 char *ret; local 435 if ((ret [all...] |
/system/bt/osi/test/ |
H A D | test_stubs.h | 24 #define STUB_FUNCTION(ret, name, params) \ 26 static ret name params { \
|
/system/core/libcutils/ |
H A D | sockets_unix.cpp | 104 int ret = TEMP_FAILURE_RETRY(getsockname(fd, (struct sockaddr *)&addr, &addrlen)); local 105 if (ret < 0) return -1;
|
/system/core/libmemunreachable/ |
H A D | ThreadCapture.cpp | 188 int ret = ptrace(PTRACE_SEIZE, tid, NULL, NULL); local 189 if (ret < 0) { 254 int ret = PtraceAttach(tid); local 255 if (ret <= 0) { 256 return ret; 315 bool ret = true; local 321 ret = false; 324 return ret;
|
/system/extras/tests/workloads/ |
H A D | youtube.sh | 13 ret=0 26 return $ret
|
/system/tools/aidl/ |
H A D | aidl_language.cpp | 68 string ret; local 73 ret += "in "; 76 ret += "out "; 79 ret += "inout "; 84 ret += type_->ToString(); 85 ret += " "; 86 ret += name_; 88 return ret;
|
/system/bt/stack/smp/ |
H A D | smp_cmac.cc | 249 bool ret = true; local 257 ret = false; 259 return ret; 284 bool ret = false; local 307 ret = cmac_aes_k_calculate(key, p_signature, tlen); 312 return ret;
|
/system/bt/vendor_libs/linux/ |
H A D | bt_vendor_linux.cc | 149 int ret = 0; local 182 ret = -1; 191 ret = -1; 195 ret = -1; 204 ret = -1; 227 return ret;
|
/system/extras/perfprofd/ |
H A D | perf_data_converter.cc | 59 wireless_android_play_playlog::AndroidPerfProfile ret; local 62 return ret; 142 ret.set_total_samples(total_samples); 144 auto load_module = ret.add_load_modules(); 157 auto program = ret.add_programs(); 187 return ret;
|
/system/extras/taskstats/ |
H A D | taskstats.c | 307 int ret = genl_connect(netlink_socket); local 308 if (ret < 0) { 309 nl_perror(ret, "Unable to open netlink socket (are you root?)"); 320 ret = query_task_stats(netlink_socket, family_id, command_type, pid, &stats); 321 if (ret < 0) { 322 nl_perror(ret, "Failed to query taskstats");
|
/system/libufdt/utils/src/ |
H A D | mkdtimg_dump.c | 59 int ret = -1; local 74 ret = 0; 79 return ret; 192 int ret = -1; local 210 ret = dump_image_from_fp(out_fp ? out_fp : stdout, img_fp, params); 216 return ret;
|
/system/tools/aidl/tests/ |
H A D | aidl_test_client_primitives.cpp | 202 String16 ret; local 205 status = named_callback->GetName(&ret); 212 if (ret != names[i]) { 219 String16 ret; local 222 status = named_callback->GetName(&ret); 229 if (ret != names[2 - i]) {
|
/system/update_engine/ |
H A D | metrics_utils.cc | 269 bool ret = false; local 280 ret = true; 289 return ret; 295 bool ret = false; local 301 ret = true; 305 return ret;
|