/system/media/audio_utils/tests/ |
H A D | fifo_multiprocess.cpp | 77 int ok = munmap(frontIndex, sizeof(audio_utils_fifo_index)); local 78 printf("writer unmap front ok=%d\n", ok); 79 ok = ashmem_set_prot_region(frontFd, PROT_READ); 80 printf("writer prot read front ok=%d\n", ok); 140 int ok = munmap(rearIndex, sizeof(audio_utils_fifo_index)); local 141 printf("reader unmap rear ok=%d\n", ok); 142 ok 215 int ok = munmap(frontIndex, sizeof(audio_utils_fifo_index)); local [all...] |
H A D | fifo_threads.cpp | 133 int ok = pthread_create(&input_thread, (const pthread_attr_t *) NULL, input_routine, local 136 ok = pthread_create(&output_thread, (const pthread_attr_t *) NULL, output_routine, 138 ok = ok + 0;
|
/system/netd/libnetdutils/include/netdutils/ |
H A D | Status.h | 37 Status(int code, const std::string& msg) : mCode(code), mMsg(msg) { assert(!ok()); } 41 bool ok() const { return code() == 0; } function in class:android::netdutils::Status 55 const Status ok{0}; 64 // status.ok() when we want to check the state of Status-like objects 67 return status.ok(); 70 // Document that status is expected to be ok. This function may log
|
/system/update_engine/payload_generator/ |
H A D | zip_unittest.cc | 76 bool ok = writer->Init(nullptr, {}, 1); local 77 ok = writer->Write(in.data(), in.size()) && ok; 79 ok = writer->End() && ok; 80 return ok;
|
H A D | ext2_filesystem.cc | 120 // added twice to the output, but with different names, which is ok. That will 180 bool ok = true; local 185 ok = false; 244 if (!ok)
|
/system/core/logcat/tests/ |
H A D | logcat_benchmark.cpp | 43 bool ok; member in class:timestamp 47 ok = false; 49 ok = sscanf(buffer, "%d-%d %d:%d:%d.%d ", &month, &day, &hour, 59 return !ok || !T.ok || (month < T.month) || 73 return ok;
|
/system/libhidl/base/ |
H A D | Status.cpp | 80 Status Status::ok() { function in class:android::hardware::Status
|
/system/update_engine/common/ |
H A D | subprocess.cc | 123 bool ok = utils::ReadAll( local 126 if (!ok || eof) {
|
/system/update_engine/payload_consumer/ |
H A D | postinstall_runner_action.cc | 230 bool ok = local 243 if (!ok || eof) {
|
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
H A D | util.c | 119 bool ok; local 157 ok = true; 166 ok = dir_matching(dir); 171 ok &= file_matching(p->fts_path); 173 if (ok)
|
/system/extras/simpleperf/ |
H A D | inplace_sampler_lib.cpp | 71 bool SendStartProfilingReplyMessage(bool ok); 173 bool SampleManager::SendStartProfilingReplyMessage(bool ok) { argument 174 const char* s = ok ? "ok" : "error";
|
/system/extras/tests/sdcard/ |
H A D | sdcard_perf_test.cpp | 723 bool ok; local 725 ok = testCase.runTest(); 728 if (!ok)
|
/system/core/libmemunreachable/ |
H A D | MemUnreachable.cpp | 350 bool ok = unreachable.GetUnreachableMemory(leaks, limit, &num_leaks, &leak_bytes); local 352 ok = ok && pipe.Sender().Send(num_allocations); 353 ok = ok && pipe.Sender().Send(allocation_bytes); 354 ok = ok && pipe.Sender().Send(num_leaks); 355 ok = ok && pipe.Sender().Send(leak_bytes); 356 ok 402 bool ok = true; local [all...] |
/system/bt/stack/avdt/ |
H A D | avdt_msg.cc | 1495 bool ok = true; local 1528 ok = false; 1547 ok = false; 1556 if (ok && !gen_rej) { 1602 ok = false; 1613 if (ok) { 1628 ok = false; 1634 if (ok) {
|
/system/update_engine/ |
H A D | omaha_request_params.h | 149 inline void set_delta_okay(bool ok) { delta_okay_ = ok; } argument
|
/system/vold/ |
H A D | VoldNativeService.cpp | 52 static binder::Status ok() { function in namespace:android::vold::__anon2799 53 return binder::Status::ok(); 67 return binder::Status::ok(); 75 return binder::Status::ok(); 87 return ok(); 97 return ok(); 114 return ok(); 135 return ok(); 146 return ok(); 219 return ok(); [all...] |
/system/core/liblog/tests/ |
H A D | liblog_test.cpp | 1768 static testing::AssertionResult IsOk(bool ok, std::string& message) { argument 1769 return ok ? testing::AssertionSuccess() 3222 bool ok = local 3228 if (ok && !pass_ok) { 3230 } else if (!ok) { 3235 ok = isZero(content, pos, "Private_Dirty:") || 3237 if (ok && !pass_ok) { 3239 } else if (!ok) { 3244 ok = isZero(content, pos, "Anonymous:"); 3245 if (ok [all...] |