/system/security/keystore/ |
D | KeyAttestationPackageInfo.cpp | 35 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()
|
D | KeystoreResponse.cpp | 31 if (rc != NO_ERROR) return rc; in readFromParcel() 37 if (rc != NO_ERROR) return rc; in writeToParcel()
|
D | KeyAttestationApplicationId.cpp | 44 if (rc != NO_ERROR) return rc; in readFromParcel() 46 return NO_ERROR; in readFromParcel()
|
D | key_store_service.cpp | 89 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 …]
|
D | blob.cpp | 107 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 …]
|
D | KeyStore.cpp | 78 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()
|
D | user_state.cpp | 90 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/ |
D | read_elf_test.cpp | 69 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 …]
|
D | read_elf.cpp | 50 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/ |
D | auto_parcelable_test.cc | 29 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/ |
D | get_folder_items_packet_test.cc | 30 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 …]
|
D | get_item_attributes_packet_test.cc | 30 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/ |
D | keystore_return_types.h | 64 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)) ||
|
D | keystore_attestation_id.h | 39 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/ |
D | app_launch_event.h | 79 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 …]
|
D | auto_parcelable.h | 51 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/ |
D | EventFlag.cpp | 44 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/ |
D | Errors.h | 40 # undef NO_ERROR 45 …NO_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/ |
D | get_folder_items_res_fuzzer.cc | 32 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/ |
D | IPCThreadState.cpp | 347 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 …]
|
D | BufferedTextOutput.cpp | 66 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/ |
D | get_total_number_of_items.cc | 36 if (status_ != Status::NO_ERROR) return len; in size() 51 if (status_ != Status::NO_ERROR) return true; in Serialize()
|
D | set_browsed_player.cc | 40 if (status_ != Status::NO_ERROR) return len; in size() 64 if (status_ != Status::NO_ERROR) return true; in Serialize()
|
/system/core/gatekeeperd/ |
D | GateKeeperResponse.cpp | 55 return NO_ERROR; in readFromParcel() 78 return NO_ERROR; in writeToParcel()
|
/system/libfmq/tests/ |
D | fmq_unit_tests.cpp | 147 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 …]
|