Home
last modified time | relevance | path

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

123

/system/security/keystore/
DKeyAttestationPackageInfo.cpp35 if (rc != NO_ERROR) return rc; in writeToParcel()
37 if (rc != NO_ERROR) return rc; in writeToParcel()
43 if (rc != NO_ERROR) return rc; in readFromParcel()
45 if (rc != NO_ERROR) return rc; in readFromParcel()
49 if (rc != NO_ERROR) return rc; in readFromParcel()
51 return NO_ERROR; in readFromParcel()
DKeystoreResponse.cpp31 if (rc != NO_ERROR) return rc; in readFromParcel()
37 if (rc != NO_ERROR) return rc; in writeToParcel()
DKeyAttestationApplicationId.cpp44 if (rc != NO_ERROR) return rc; in readFromParcel()
46 return NO_ERROR; in readFromParcel()
Dkey_store_service.cpp89 return {ResponseCode::NO_ERROR, diff_secs < kIdRotationPeriod}; in hadFactoryResetSinceIdRotation()
108 return {ResponseCode::NO_ERROR, true}; in hadFactoryResetSinceIdRotation()
142 return ResponseCode::NO_ERROR; in updateParamsForAttestation()
172 if (rc != ResponseCode::NO_ERROR) { in get()
240 static_cast<int32_t>(lockedEntry ? ResponseCode::NO_ERROR : ResponseCode::KEY_NOT_FOUND); in exist()
266 if (rc != ResponseCode::NO_ERROR) { in list()
308 if (rc != ResponseCode::NO_ERROR) { in listUidsOfAuthBoundKeys()
323 if (rc != ResponseCode::NO_ERROR && rc != ResponseCode::LOCKED) { in listUidsOfAuthBoundKeys()
342 *aidl_return = static_cast<int32_t>(ResponseCode::NO_ERROR); in listUidsOfAuthBoundKeys()
356 *aidl_return = static_cast<int32_t>(ResponseCode::NO_ERROR); in onUserPasswordChanged()
[all …]
Dblob.cpp107 return ResponseCode::NO_ERROR; in AES_gcm_encrypt()
148 return ResponseCode::NO_ERROR; in AES_gcm_decrypt()
330 if (rc != ResponseCode::NO_ERROR) return rc; in writeBlob()
364 return ResponseCode::NO_ERROR; in writeBlob()
377 if (rc != ResponseCode::NO_ERROR) { in writeBlobs()
431 if (rc != ResponseCode::NO_ERROR) { in readBlob()
492 return ResponseCode::NO_ERROR; in readBlob()
502 if (rc != ResponseCode::NO_ERROR && rc != ResponseCode::UNINITIALIZED) { in readBlobs()
513 if (entry_ == nullptr) return ResponseCode::NO_ERROR; in deleteBlobs()
518 : ResponseCode::NO_ERROR; in deleteBlobs()
[all …]
DKeyStore.cpp78 return ResponseCode::NO_ERROR; in initialize()
155 if (rc != ResponseCode::NO_ERROR) { in resetUser()
176 case ResponseCode::NO_ERROR: in resetUser()
258 if (rc != ResponseCode::NO_ERROR) { in get()
272 if ((rc = this->put(blobfile, keyBlob, {})) != ResponseCode::NO_ERROR || in get()
274 rc) != ResponseCode::NO_ERROR) { in get()
303 if (rc != ResponseCode::NO_ERROR) { in del()
366 if (rc == ResponseCode::NO_ERROR) { in getKeyForName()
Duser_state.cpp90 if (response != ResponseCode::NO_ERROR) { in initialize()
94 return ResponseCode::NO_ERROR; in initialize()
136 return ResponseCode::NO_ERROR; in copyMasterKeyFile()
192 if (response == ResponseCode::NO_ERROR && masterKeyBlobLength == masterKeySize) { in readMasterKey()
200 if (response == ResponseCode::NO_ERROR) { in readMasterKey()
/system/extras/simpleperf/
Dread_elf_test.cpp69 ASSERT_EQ(status, ElfStatus::NO_ERROR); in TEST()
70 ASSERT_EQ(ElfStatus::NO_ERROR, elf->GetBuildId(&build_id)); in TEST()
79 ASSERT_EQ(status, ElfStatus::NO_ERROR); in TEST()
80 ASSERT_EQ(ElfStatus::NO_ERROR, elf->GetBuildId(&build_id)); in TEST()
110 ASSERT_EQ(ElfStatus::NO_ERROR, status); in TEST()
111 ASSERT_EQ(ElfStatus::NO_ERROR, in TEST()
121 ASSERT_EQ(ElfStatus::NO_ERROR, status); in TEST()
122 ASSERT_EQ(ElfStatus::NO_ERROR, in TEST()
130 ASSERT_EQ(ElfStatus::NO_ERROR, status); in TEST()
131 ASSERT_EQ(ElfStatus::NO_ERROR, in TEST()
[all …]
Dread_elf.cpp50 case ElfStatus::NO_ERROR: in operator <<()
88 return IsValidElfFileMagic(buf, 4) ? ElfStatus::NO_ERROR : ElfStatus::FILE_MALFORMED; in IsValidElfFile()
129 return ElfStatus::NO_ERROR; in GetBuildIdFromNoteFile()
154 if (status != ElfStatus::NO_ERROR) { in OpenObjectFile()
171 return ElfStatus::NO_ERROR; in OpenObjectFile()
186 return ElfStatus::NO_ERROR; in OpenObjectFileInMemory()
356 return ElfStatus::NO_ERROR; in GetBuildId()
375 return ElfStatus::NO_ERROR; in ParseSymbols()
385 } else if (result == ElfStatus::NO_ERROR) { in ParseSymbols()
418 return ElfStatus::NO_ERROR; in ReadSection()
[all …]
/system/iorap/tests/src/binder/
Dauto_parcelable_test.cc29 static constexpr auto NO_ERROR = android::NO_ERROR; in TEST() local
44 EXPECT_EQ(NO_ERROR, typical.writeToParcel(&parcel_typical)); in TEST()
66 EXPECT_EQ(NO_ERROR, copy.readFromParcel(&parcel_typical)); in TEST()
77 EXPECT_EQ(NO_ERROR, typical.writeToParcel(&parcel)); in TEST()
79 EXPECT_EQ(NO_ERROR, copy.readFromParcel(&parcel)); in TEST()
/system/bt/packet/tests/avrcp/
Dget_folder_items_packet_test.cc30 Status::NO_ERROR, 0x0000, 0xFFFF); in TEST()
41 Status::NO_ERROR, 0x0000, 0xFFFF); in TEST()
60 Status::NO_ERROR, 0x0000, packet_size); in TEST()
68 auto builder = GetFolderItemsResponseBuilder::MakeVFSBuilder(Status::NO_ERROR, in TEST()
78 auto builder = GetFolderItemsResponseBuilder::MakeVFSBuilder(Status::NO_ERROR, in TEST()
98 Status::NO_ERROR, 0x0000, packet_size); in TEST()
107 Status::NO_ERROR, 0x0000, 0xFFFF); in TEST()
119 Status::NO_ERROR, 0x0000, 0xFFFF); in TEST()
140 Status::NO_ERROR, 0x0000, packet_size); in TEST()
149 Status::NO_ERROR, 0x0000, 0xFFFF); in TEST()
[all …]
Dget_item_attributes_packet_test.cc30 GetItemAttributesResponseBuilder::MakeBuilder(Status::NO_ERROR, 0xFFFF); in TEST()
45 GetItemAttributesResponseBuilder::MakeBuilder(Status::NO_ERROR, 0xFFFF); in TEST()
62 Status::NO_ERROR, truncated_size); in TEST()
74 GetItemAttributesResponseBuilder::MakeBuilder(Status::NO_ERROR, 0xFFFF); in TEST()
/system/security/keystore/include/keystore/
Dkeystore_return_types.h64 return errorCode_ == static_cast<int32_t>(ResponseCode::NO_ERROR) || in isOk()
69 if (!errorCode_) return static_cast<int32_t>(ResponseCode::NO_ERROR /* 1 */); in getErrorCode()
73 return (rhs == ResponseCode::NO_ERROR &&
79 errorCode_ == static_cast<int32_t>(ResponseCode::NO_ERROR)) ||
141 return errorCode_ == static_cast<int32_t>(ResponseCode::NO_ERROR) || in isOk()
145 if (errorCode_ == static_cast<int32_t>(ResponseCode::NO_ERROR) /* 1 */) { in getErrorCode()
151 return (rhs == ResponseCode::NO_ERROR &&
157 errorCode_ == static_cast<int32_t>(ResponseCode::NO_ERROR)) ||
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/iorap/include/binder/
Dapp_launch_event.h79 if (::android::status_t res = function(__VA_ARGS__); res != ::android::NO_ERROR) { \ in readFromParcel()
117 return ::android::NO_ERROR; in readFromParcel()
123 if (::android::status_t res = function(__VA_ARGS__); res != ::android::NO_ERROR) { \
155 return android::NO_ERROR; in writeToParcel()
169 if ((res = parcel->readByteVector(/*out*/&byte_vector)) != ::android::NO_ERROR) { in ReadProto()
201 if (res != ::android::NO_ERROR) { in ReadNullableProto()
228 if ((res = parcel->writeByteVector(/*in*/byte_vector)) != ::android::NO_ERROR) { in WriteProto()
232 return ::android::NO_ERROR; in WriteProto()
243 if (res != ::android::NO_ERROR) { in WriteNullableProto()
248 return ::android::NO_ERROR; in WriteNullableProto()
[all …]
Dauto_parcelable.h51 status_t result = android::NO_ERROR; in writeToParcel()
53 if (result == android::NO_ERROR) { in writeToParcel()
77 status_t result = android::NO_ERROR; in readFromParcel()
83 if (result == android::NO_ERROR) { in readFromParcel()
93 if (result != android::NO_ERROR) { in readFromParcel()
102 return ::android::NO_ERROR; in readFromParcel()
/system/libfmq/
DEventFlag.cpp44 if (status == NO_ERROR) { in createEventFlag()
65 if (status == NO_ERROR) { in createEventFlag()
85 *status = NO_ERROR; in EventFlag()
97 *status = NO_ERROR; in EventFlag()
114 return NO_ERROR; in wake()
117 status_t status = NO_ERROR; in wake()
146 status_t status = NO_ERROR; in waitHelper()
235 status_t status = NO_ERROR; in unmapEventFlagWord()
/system/core/libutils/include/utils/
DErrors.h40 # undef NO_ERROR
45NO_ERROR = OK, // Deprecated synonym for `OK`. Prefer `OK` because it doesn't conflict … enumerator
82 # define NO_ERROR 0L macro
/system/bt/packet/tests/fuzzers/
Dget_folder_items_res_fuzzer.cc32 Status::NO_ERROR, 0x0000, 0xFFFF); in LLVMFuzzerTestOneInput()
46 Status::NO_ERROR, 0x0000, 0xFFFF); in LLVMFuzzerTestOneInput()
63 Status::NO_ERROR, 0x0000, packet_size); in LLVMFuzzerTestOneInput()
/system/libhwbinder/
DIPCThreadState.cpp347 mLastError = NO_ERROR; in clearLastError()
442 if (result >= NO_ERROR) { in getAndExecuteCommand()
561 … if (result < NO_ERROR && result != TIMED_OUT && result != -ECONNREFUSED && result != -EBADF) { in joinThreadPool()
639 if (err != NO_ERROR) { in transact()
736 handle, result == NO_ERROR ? "SUCCESS" : "FAILURE"); in attemptIncStrongHandle()
760 return NO_ERROR; in requestDeathNotification()
768 return NO_ERROR; in clearDeathNotification()
794 if (err < NO_ERROR) return err; in sendReply()
805 if ((err=talkWithDriver()) < NO_ERROR) break; in waitForResponse()
807 if (err < NO_ERROR) break; in waitForResponse()
[all …]
DBufferedTextOutput.cpp66 return NO_ERROR; in append()
184 if (err != NO_ERROR) return err; in print()
207 if (err != NO_ERROR) return err; in print()
223 return NO_ERROR; in print()
/system/bt/packet/avrcp/
Dget_total_number_of_items.cc36 if (status_ != Status::NO_ERROR) return len; in size()
51 if (status_ != Status::NO_ERROR) return true; in Serialize()
Dset_browsed_player.cc40 if (status_ != Status::NO_ERROR) return len; in size()
64 if (status_ != Status::NO_ERROR) return true; in Serialize()
/system/core/gatekeeperd/
DGateKeeperResponse.cpp55 return NO_ERROR; in readFromParcel()
78 return NO_ERROR; in writeToParcel()
/system/libfmq/tests/
Dfmq_unit_tests.cpp147 ASSERT_EQ(android::NO_ERROR, status); in ReaderThreadBlocking()
167 ASSERT_EQ(android::NO_ERROR, status); in ReaderThreadBlocking()
182 ASSERT_EQ(android::NO_ERROR, status); in ReaderThreadBlocking2()
192 ASSERT_EQ(android::NO_ERROR, status); in ReaderThreadBlocking2()
219 ASSERT_EQ(android::NO_ERROR, status); in TEST_F()
235 ASSERT_EQ(android::NO_ERROR, status); in TEST_F()
241 ASSERT_EQ(android::NO_ERROR, status); in TEST_F()
255 ASSERT_EQ(android::NO_ERROR, status); in TEST_F()
273 ASSERT_EQ(android::NO_ERROR, status); in TEST_F()
283 ASSERT_EQ(android::NO_ERROR, status); in TEST_F()
[all …]

123