Home
last modified time | relevance | path

Searched refs:NO_ERROR (Results 1 – 25 of 50) sorted by relevance

12

/system/extras/simpleperf/
Dread_elf_test.cpp71 ASSERT_EQ(status, ElfStatus::NO_ERROR); in TEST()
72 ASSERT_EQ(ElfStatus::NO_ERROR, elf->GetBuildId(&build_id)); in TEST()
82 ASSERT_EQ(status, ElfStatus::NO_ERROR); in TEST()
83 ASSERT_EQ(ElfStatus::NO_ERROR, elf->GetBuildId(&build_id)); in TEST()
114 ASSERT_EQ(ElfStatus::NO_ERROR, status); in TEST()
115 ASSERT_EQ(ElfStatus::NO_ERROR, in TEST()
126 ASSERT_EQ(ElfStatus::NO_ERROR, status); in TEST()
127 ASSERT_EQ(ElfStatus::NO_ERROR, in TEST()
135 ASSERT_EQ(ElfStatus::NO_ERROR, status); in TEST()
136 ASSERT_EQ(ElfStatus::NO_ERROR, in TEST()
[all …]
Dread_elf.cpp51 case ElfStatus::NO_ERROR: in operator <<()
89 return IsValidElfFileMagic(buf, 4) ? ElfStatus::NO_ERROR : ElfStatus::FILE_MALFORMED; in IsValidElfFile()
130 return ElfStatus::NO_ERROR; in GetBuildIdFromNoteFile()
164 if (status != ElfStatus::NO_ERROR) { in OpenObjectFile()
178 return ElfStatus::NO_ERROR; in OpenObjectFile()
189 return ElfStatus::NO_ERROR; in OpenObjectFileInMemory()
413 return ElfStatus::NO_ERROR; in GetBuildId()
432 return ElfStatus::NO_ERROR; in ParseSymbols()
442 } else if (result == ElfStatus::NO_ERROR) { in ParseSymbols()
474 return ElfStatus::NO_ERROR; in ReadSection()
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-analyzer-source/gen/android/aidl/tests/
DITestService.cpp28 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
34 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
101 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
107 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
140 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
146 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
179 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
185 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
218 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
224 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
[all …]
DIOldName.cpp27 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeIOldName()
/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-cpp-analyzer-source/gen/android/aidl/tests/
DITestService.cpp28 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
34 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
101 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
107 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
140 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
146 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
179 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
185 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
218 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
224 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeITestService()
[all …]
/system/tools/aidl/analyzer/
DanalyzerMain.cpp30 using android::NO_ERROR;
63 return android::NO_ERROR; in startRecording()
74 if (status_t err = binder->remoteBinder()->startRecordingBinder(fd); err != android::NO_ERROR) { in startRecording()
101 return android::NO_ERROR; in startRecording()
112 if (status_t err = binder->remoteBinder()->stopRecordingBinder(); err != NO_ERROR) { in stopRecording()
118 return NO_ERROR; in stopRecording()
154 return NO_ERROR; in inspectRecording()
189 return NO_ERROR; in listenToFile()
226 return NO_ERROR; in replayFile()
236 return NO_ERROR; in listAvailableInterfaces()
[all …]
/system/libfmq/
DEventFlag.cpp46 if (status == NO_ERROR) { in createEventFlag()
61 *status = NO_ERROR; in EventFlag()
78 return NO_ERROR; in wake()
81 status_t status = NO_ERROR; in wake()
110 status_t status = NO_ERROR; in waitHelper()
199 status_t status = NO_ERROR; in unmapEventFlagWord()
/system/media/audio_utils/tests/
Daudio_thread_tests.cpp51 EXPECT_EQ(NO_ERROR, set_thread_priority(tid, kPriority110)); in TEST()
55 EXPECT_EQ(NO_ERROR, set_thread_priority(tid, kPriority130)); in TEST()
63 EXPECT_EQ(NO_ERROR, set_thread_priority(tid, priority)); in TEST()
/system/security/keystore/include/keystore/
Dkeystore_attestation_id.h39 StatusOr(const T& value) : _status(NO_ERROR), _value(value) {} in StatusOr()
41 StatusOr(T&& value) : _status(NO_ERROR), _value(value) {} in StatusOr()
50 bool isOk() const { return NO_ERROR == _status; } in isOk()
/system/libhwbinder/
DIPCThreadState.cpp350 mLastError = NO_ERROR; in clearLastError()
433 if (result >= NO_ERROR) { in getAndExecuteCommand()
555 … if (result < NO_ERROR && result != TIMED_OUT && result != -ECONNREFUSED && result != -EBADF) { in joinThreadPool()
633 if (err != NO_ERROR) { in transact()
730 handle, result == NO_ERROR ? "SUCCESS" : "FAILURE"); in attemptIncStrongHandle()
754 return NO_ERROR; in requestDeathNotification()
762 return NO_ERROR; in clearDeathNotification()
788 if (err < NO_ERROR) return err; in sendReply()
799 if ((err=talkWithDriver()) < NO_ERROR) break; in waitForResponse()
801 if (err < NO_ERROR) break; in waitForResponse()
[all …]
DBufferedTextOutput.cpp65 return NO_ERROR; in append()
167 if (err != NO_ERROR) return err; in print()
190 if (err != NO_ERROR) return err; in print()
206 return NO_ERROR; in print()
DBpHwBinder.cpp148 return res >= (ssize_t)NO_ERROR ? (status_t)NO_ERROR : res; in linkToDeath()
183 return NO_ERROR; in unlinkToDeath()
322 return ipc ? ipc->attemptIncStrongHandle(mHandle) == NO_ERROR : false; in onIncStrongAttempted()
DParcel.cpp228 return NO_ERROR; in finish_unflatten_binder()
311 if (err == NO_ERROR) { in setDataSize()
339 return NO_ERROR; in setDataCapacity()
402 return NO_ERROR; in finishWrite()
426 if (err == NO_ERROR) goto restart_write; in writeUnpadded()
441 return NO_ERROR; in write()
488 if (err == NO_ERROR) goto restart_write; in writeInplace()
590 if (err == NO_ERROR) { in writeString16()
596 return NO_ERROR; in writeString16()
660 if (err != NO_ERROR) return err; in writeObject()
[all …]
DStatic.cpp46 return NO_ERROR; in writeLines()
DProcessState.cpp220 if (err < NO_ERROR) return nullptr; in lookupHandleLocked()
354 return NO_ERROR; in setThreadPoolConfiguration()
363 return NO_ERROR; in enableOnewaySpamDetection()
/system/tools/aidl/tests/golden_output/frozen/aidl-test-interface-cpp-analyzer-source/gen/android/aidl/tests/nested/
DINestedService.cpp28 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeINestedService()
34 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeINestedService()
67 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeINestedService()
72 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeINestedService()
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-analyzer-source/gen/android/aidl/tests/nested/
DINestedService.cpp28 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeINestedService()
34 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeINestedService()
67 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeINestedService()
72 if (((_aidl_ret_status) != (android::NO_ERROR))) { in analyzeINestedService()
/system/core/libutils/binder/include/utils/
DErrors.h39 #ifndef NO_ERROR
42NO_ERROR = OK, // Deprecated synonym for `OK`. Prefer `OK` because it doesn't conflict … enumerator
/system/core/libutils/include/utils/
DErrors.h39 #ifndef NO_ERROR
42NO_ERROR = OK, // Deprecated synonym for `OK`. Prefer `OK` because it doesn't conflict … enumerator
/system/media/audio_utils/
Dthreads.cpp46 return NO_ERROR; in set_thread_priority()
60 return NO_ERROR; in set_thread_priority()
/system/core/gatekeeperd/
DGateKeeperResponse.cpp55 return NO_ERROR; in readFromParcel()
78 return NO_ERROR; in writeToParcel()
/system/libfmq/tests/
Dfmq_unit_tests.cpp258 ASSERT_EQ(android::NO_ERROR, status); in ReaderThreadBlocking()
278 ASSERT_EQ(android::NO_ERROR, status); in ReaderThreadBlocking()
291 ASSERT_EQ(android::NO_ERROR, status); in ReaderThreadBlocking2()
301 ASSERT_EQ(android::NO_ERROR, status); in ReaderThreadBlocking2()
624 ASSERT_EQ(android::NO_ERROR, status); in TYPED_TEST()
641 ASSERT_EQ(android::NO_ERROR, status); in TYPED_TEST()
647 ASSERT_EQ(android::NO_ERROR, status); in TYPED_TEST()
661 ASSERT_EQ(android::NO_ERROR, status); in TYPED_TEST()
677 ASSERT_EQ(android::NO_ERROR, status); in TYPED_TEST()
687 ASSERT_EQ(android::NO_ERROR, status); in TYPED_TEST()
[all …]
/system/libhidl/base/
DStatus.cpp86 mErrorCode = ex == EX_TRANSACTION_FAILED ? FAILED_TRANSACTION : NO_ERROR; in setException()
91 mException = (status == NO_ERROR) ? EX_NONE : EX_TRANSACTION_FAILED; in setFromStatusT()
/system/libhidl/transport/token/1.0/utils/include/hidl/
DHybridInterface.h436 return NO_ERROR; in onTransact()
448 return NO_ERROR; in onTransact()
468 return NO_ERROR; in linkToDeath()
487 return success ? NO_ERROR : DEAD_OBJECT; in unlinkToDeath()
505 data, &reply) == NO_ERROR) {
/system/core/trusty/stats/test/
Dstats_test.cpp109 return NO_ERROR; in getVendorAtom()
245 ASSERT_THAT(status, ::testing::AnyOf(NO_ERROR, TIMED_OUT)); in TEST_F()
323 ASSERT_THAT(status, ::testing::AnyOf(NO_ERROR, TIMED_OUT)); in TEST_F()

12