Searched defs:ok (Results 1 - 17 of 17) sorted by relevance

/system/media/audio_utils/tests/
H A Dfifo_multiprocess.cpp77 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 Dfifo_threads.cpp133 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 DStatus.h37 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 Dzip_unittest.cc76 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 Dext2_filesystem.cc120 // 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 Dlogcat_benchmark.cpp43 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 DStatus.cpp80 Status Status::ok() { function in class:android::hardware::Status
/system/update_engine/common/
H A Dsubprocess.cc123 bool ok = utils::ReadAll( local
126 if (!ok || eof) {
/system/update_engine/payload_consumer/
H A Dpostinstall_runner_action.cc230 bool ok = local
243 if (!ok || eof) {
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
H A Dutil.c119 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 Dinplace_sampler_lib.cpp71 bool SendStartProfilingReplyMessage(bool ok);
173 bool SampleManager::SendStartProfilingReplyMessage(bool ok) { argument
174 const char* s = ok ? "ok" : "error";
/system/extras/tests/sdcard/
H A Dsdcard_perf_test.cpp723 bool ok; local
725 ok = testCase.runTest();
728 if (!ok)
/system/core/libmemunreachable/
H A DMemUnreachable.cpp350 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 Davdt_msg.cc1495 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 Domaha_request_params.h149 inline void set_delta_okay(bool ok) { delta_okay_ = ok; } argument
/system/vold/
H A DVoldNativeService.cpp52 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 Dliblog_test.cpp1768 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...]

Completed in 519 milliseconds