/external/libbrillo/brillo/streams/ |
mock_stream.h | 26 MOCK_METHOD2(SetSizeBlocking, bool(uint64_t, ErrorPtr*)); 30 MOCK_METHOD4(Seek, bool(int64_t, Whence, uint64_t*, ErrorPtr*)); 36 ErrorPtr*)); 41 ErrorPtr*)); 42 MOCK_METHOD5(ReadNonBlocking, bool(void*, size_t, size_t*, bool*, ErrorPtr*)); 43 MOCK_METHOD4(ReadBlocking, bool(void*, size_t, size_t*, ErrorPtr*)); 44 MOCK_METHOD3(ReadAllBlocking, bool(void*, size_t, ErrorPtr*)); 50 ErrorPtr*)); 55 ErrorPtr*)); 56 MOCK_METHOD4(WriteNonBlocking, bool(const void*, size_t, size_t*, ErrorPtr*)); [all...] |
memory_containers.cc | 16 ErrorPtr* error) { 37 ErrorPtr* error) { 61 ErrorPtr* error) { 80 ErrorPtr* error) { 85 ErrorPtr* error) { 90 ErrorPtr* error) { 106 bool StringPtr::Resize(size_t new_size, ErrorPtr* /* error */) { 112 ErrorPtr* /* error */) const { 116 void* StringPtr::GetBuffer(size_t offset, ErrorPtr* /* error */) { 124 ErrorPtr* /* error */) const [all...] |
memory_stream.cc | 23 ErrorPtr* error) { 31 ErrorPtr* error) { 38 StreamPtr MemoryStream::OpenRef(const std::string& buffer, ErrorPtr* error) { 44 StreamPtr MemoryStream::OpenCopyOf(std::string buffer, ErrorPtr* error) { 50 StreamPtr MemoryStream::OpenRef(const char* buffer, ErrorPtr* error) { 54 StreamPtr MemoryStream::OpenCopyOf(const char* buffer, ErrorPtr* error) { 58 StreamPtr MemoryStream::Create(size_t reserve_size, ErrorPtr* error) { 64 StreamPtr MemoryStream::CreateRef(std::string* buffer, ErrorPtr* error) { 71 ErrorPtr* error) { 80 ErrorPtr* error) [all...] |
tls_stream.h | 45 bool SetSizeBlocking(uint64_t size, ErrorPtr* error) override; 51 ErrorPtr* error) override; 56 ErrorPtr* error) override; 60 ErrorPtr* error) override; 61 bool FlushBlocking(ErrorPtr* error) override; 62 bool CloseBlocking(ErrorPtr* error) override; 65 ErrorPtr* error) override; 69 ErrorPtr* error) override;
|
/system/update_engine/ |
dbus_service.cc | 24 using brillo::ErrorPtr; 34 bool DBusUpdateEngineService::AttemptUpdate(ErrorPtr* error, 42 ErrorPtr* error, 56 bool DBusUpdateEngineService::AttemptRollback(ErrorPtr* error, 61 bool DBusUpdateEngineService::CanRollback(ErrorPtr* error, 66 bool DBusUpdateEngineService::ResetStatus(ErrorPtr* error) { 70 bool DBusUpdateEngineService::GetStatus(ErrorPtr* error, 84 bool DBusUpdateEngineService::RebootIfNeeded(ErrorPtr* error) { 88 bool DBusUpdateEngineService::SetChannel(ErrorPtr* error, 94 bool DBusUpdateEngineService::GetChannel(ErrorPtr* error [all...] |
dbus_service.h | 42 bool AttemptUpdate(brillo::ErrorPtr* error, 46 bool AttemptUpdateWithFlags(brillo::ErrorPtr* error, 51 bool AttemptRollback(brillo::ErrorPtr* error, bool in_powerwash) override; 55 bool CanRollback(brillo::ErrorPtr* error, bool* out_can_rollback) override; 59 bool ResetStatus(brillo::ErrorPtr* error) override; 64 bool GetStatus(brillo::ErrorPtr* error, 72 bool RebootIfNeeded(brillo::ErrorPtr* error) override; 82 bool SetChannel(brillo::ErrorPtr* error, 90 bool GetChannel(brillo::ErrorPtr* error, 96 bool SetP2PUpdatePermission(brillo::ErrorPtr* error [all...] |
common_service.h | 47 bool AttemptUpdate(brillo::ErrorPtr* error, 52 bool AttemptRollback(brillo::ErrorPtr* error, bool in_powerwash); 56 bool CanRollback(brillo::ErrorPtr* error, bool* out_can_rollback); 60 bool ResetStatus(brillo::ErrorPtr* error); 65 bool GetStatus(brillo::ErrorPtr* error, 73 bool RebootIfNeeded(brillo::ErrorPtr* error); 83 bool SetChannel(brillo::ErrorPtr* error, 91 bool GetChannel(brillo::ErrorPtr* error, 97 bool SetP2PUpdatePermission(brillo::ErrorPtr* error, bool in_enabled); 101 bool GetP2PUpdatePermission(brillo::ErrorPtr* error, bool* out_enabled) [all...] |
common_service.cc | 41 using brillo::ErrorPtr; 49 // Log and set the error on the passed ErrorPtr. 50 void LogAndSetError(ErrorPtr* error, 73 bool UpdateEngineService::AttemptUpdate(ErrorPtr* /* error */, 89 bool UpdateEngineService::AttemptRollback(ErrorPtr* error, bool in_powerwash) { 100 bool UpdateEngineService::CanRollback(ErrorPtr* /* error */, 108 bool UpdateEngineService::ResetStatus(ErrorPtr* error) { 117 bool UpdateEngineService::GetStatus(ErrorPtr* error, 134 bool UpdateEngineService::RebootIfNeeded(ErrorPtr* error) { 143 bool UpdateEngineService::SetChannel(ErrorPtr* error [all...] |
/system/connectivity/shill/dbus/ |
chromeos_manager_dbus_adaptor.h | 72 bool GetProperties(brillo::ErrorPtr* error, 74 bool SetProperty(brillo::ErrorPtr* error, 77 bool GetState(brillo::ErrorPtr* error, std::string* state) override; 78 bool CreateProfile(brillo::ErrorPtr* error, 81 bool RemoveProfile(brillo::ErrorPtr* error, 83 bool PushProfile(brillo::ErrorPtr* error, 86 bool InsertUserProfile(brillo::ErrorPtr* error, 90 bool PopProfile(brillo::ErrorPtr* error, const std::string& name) override; 91 bool PopAnyProfile(brillo::ErrorPtr* error) override; 92 bool PopAllUserProfiles(brillo::ErrorPtr* error) override [all...] |
chromeos_service_dbus_adaptor.h | 68 bool GetProperties(brillo::ErrorPtr* error, 70 bool SetProperty(brillo::ErrorPtr* error, 73 bool SetProperties(brillo::ErrorPtr* error, 75 bool ClearProperty(brillo::ErrorPtr* error, 77 bool ClearProperties(brillo::ErrorPtr* error, 80 bool Connect(brillo::ErrorPtr* error) override; 81 bool Disconnect(brillo::ErrorPtr* error) override; 82 bool Remove(brillo::ErrorPtr* error) override; 85 bool CompleteCellularActivation(brillo::ErrorPtr* error) override; 87 brillo::ErrorPtr* error [all...] |
/external/libweave/src/ |
mock_component_manager.h | 18 bool(const base::DictionaryValue& dict, ErrorPtr* error)); 19 MOCK_METHOD2(LoadTraits, bool(const std::string& json, ErrorPtr* error)); 25 ErrorPtr* error)); 30 ErrorPtr* error)); 34 ErrorPtr* error)); 39 ErrorPtr* error)); 48 ErrorPtr* error)); 60 ErrorPtr* error)); 69 ErrorPtr* error)); 75 ErrorPtr* error)) [all...] |
error_unittest.cc | 13 ErrorPtr GenerateNetworkError() { 19 ErrorPtr GenerateHttpError() { 20 ErrorPtr inner = GenerateNetworkError(); 27 ErrorPtr err = GenerateNetworkError(); 40 ErrorPtr err = GenerateHttpError(); 50 ErrorPtr err = GenerateHttpError(); 51 ErrorPtr clone = err->Clone();
|
error.cc | 28 ErrorPtr Error::Create(const tracked_objects::Location& location, 31 return Create(location, code, message, ErrorPtr()); 34 ErrorPtr Error::Create(const tracked_objects::Location& location, 37 ErrorPtr inner_error) { 39 return ErrorPtr(new Error(location, code, message, std::move(inner_error))); 42 Error::AddToTypeProxy Error::AddTo(ErrorPtr* error, 57 ErrorPtr* error, 70 ErrorPtr Error::Clone() const { 71 ErrorPtr inner_error = inner_error_ ? inner_error_->Clone() : nullptr; 72 return ErrorPtr( [all...] |
device_manager.h | 47 ErrorPtr* error) override; 48 bool RemoveComponent(const std::string& name, ErrorPtr* error) override; 53 ErrorPtr* error) override; 56 ErrorPtr* error) override; 59 ErrorPtr* error) const override; 63 ErrorPtr* error) override; 69 ErrorPtr* error) override; 88 ErrorPtr* error) override; 90 ErrorPtr* error) override; 94 ErrorPtr* error) override [all...] |
device_registration_info.h | 54 ErrorPtr error)>; 82 ErrorPtr* error); 135 bool VerifyRegistrationCredentials(ErrorPtr* error) const; 144 void ConnectToCloud(ErrorPtr error); 146 void OnConnectedToCloud(ErrorPtr error); 155 ErrorPtr error); 161 ErrorPtr* error); 188 ErrorPtr error); 192 ErrorPtr error); 193 void CheckAccessTokenError(ErrorPtr error) [all...] |
/external/libbrillo/brillo/http/ |
mock_connection.h | 22 MOCK_METHOD2(SendHeaders, bool(const HeaderList&, ErrorPtr*)); 23 MOCK_METHOD2(MockSetRequestData, bool(Stream*, ErrorPtr*)); 25 MOCK_METHOD1(FinishRequest, bool(ErrorPtr*)); 32 MOCK_CONST_METHOD1(MockExtractDataStream, Stream*(brillo::ErrorPtr*)); 35 bool SetRequestData(StreamPtr stream, brillo::ErrorPtr* error) override { 41 StreamPtr ExtractDataStream(brillo::ErrorPtr* error) override {
|
/external/libweave/include/weave/test/ |
mock_command.h | 32 MOCK_METHOD2(SetProgress, bool(const base::DictionaryValue&, ErrorPtr*)); 33 MOCK_METHOD2(Complete, bool(const base::DictionaryValue&, ErrorPtr*)); 34 MOCK_METHOD1(Pause, bool(ErrorPtr*)); 35 MOCK_METHOD2(SetError, bool(const Error*, ErrorPtr*)); 36 MOCK_METHOD2(Abort, bool(const Error*, ErrorPtr*)); 37 MOCK_METHOD1(Cancel, bool(ErrorPtr*));
|
mock_device.h | 32 ErrorPtr* error)); 33 MOCK_METHOD2(RemoveComponent, bool(const std::string& name, ErrorPtr* error)); 40 ErrorPtr* error)); 44 ErrorPtr* error)); 48 ErrorPtr* error)); 53 ErrorPtr* error)); 59 bool(const base::DictionaryValue&, std::string*, ErrorPtr*)); 79 MOCK_METHOD2(SetStatePropertiesFromJson, bool(const std::string&, ErrorPtr*)); 81 bool(const base::DictionaryValue&, ErrorPtr*)); 87 ErrorPtr* error)) [all...] |
/external/libweave/src/privet/ |
security_delegate.h | 31 ErrorPtr* error) = 0; 36 ErrorPtr* error) const = 0; 48 virtual std::string ClaimRootClientAuthToken(ErrorPtr* error) = 0; 53 ErrorPtr* error) = 0; 59 ErrorPtr* error) = 0; 65 ErrorPtr* error) = 0; 68 ErrorPtr* error) = 0;
|
security_manager.h | 51 ErrorPtr* error) = 0; 68 ErrorPtr* error) override; 71 ErrorPtr* error) const override; 75 std::string ClaimRootClientAuthToken(ErrorPtr* error) override; 77 ErrorPtr* error) override; 82 ErrorPtr* error) override; 88 ErrorPtr* error) override; 89 bool CancelPairing(const std::string& session_id, ErrorPtr* error) override; 100 bool CheckIfPairingAllowed(ErrorPtr* error); 109 ErrorPtr* error) [all...] |
/system/update_engine/include/debugd/ |
dbus-proxy-mocks.h | 31 brillo::ErrorPtr* /*error*/, 42 brillo::ErrorPtr* /*error*/, 51 brillo::ErrorPtr* /*error*/, 60 brillo::ErrorPtr* /*error*/, 69 brillo::ErrorPtr* /*error*/, 80 brillo::ErrorPtr* /*error*/, 91 brillo::ErrorPtr* /*error*/, 101 brillo::ErrorPtr* /*error*/, 110 brillo::ErrorPtr* /*error*/, 119 brillo::ErrorPtr* /*error*/ [all...] |
/external/libweave/include/weave/ |
error.h | 21 using ErrorPtr = std::unique_ptr<Error>; 43 static ErrorPtr Create(const tracked_objects::Location& location, 46 static ErrorPtr Create(const tracked_objects::Location& location, 49 ErrorPtr inner_error); 53 static AddToTypeProxy AddTo(ErrorPtr* error, 59 static AddToTypeProxy AddToPrintf(ErrorPtr* error, 66 ErrorPtr Clone() const; 101 ErrorPtr inner_error); 106 ErrorPtr inner_error); 115 ErrorPtr inner_error_ [all...] |
command.h | 60 ErrorPtr* error) = 0; 66 ErrorPtr* error) = 0; 70 virtual bool Pause(ErrorPtr* error) = 0; 74 virtual bool SetError(const Error* command_error, ErrorPtr* error) = 0; 78 virtual bool Abort(const Error* command_error, ErrorPtr* error) = 0; 82 virtual bool Cancel(ErrorPtr* error) = 0;
|
/external/libbrillo/brillo/errors/ |
error_unittest.cc | 13 brillo::ErrorPtr GenerateNetworkError() { 21 brillo::ErrorPtr GenerateHttpError() { 22 brillo::ErrorPtr inner = GenerateNetworkError(); 29 brillo::ErrorPtr err = GenerateNetworkError(); 48 brillo::ErrorPtr err = GenerateHttpError(); 65 brillo::ErrorPtr err = GenerateHttpError(); 66 brillo::ErrorPtr clone = err->Clone();
|
error.cc | 11 using brillo::ErrorPtr; 29 ErrorPtr Error::Create(const tracked_objects::Location& location, 33 return Create(location, domain, code, message, ErrorPtr()); 36 ErrorPtr Error::Create(const tracked_objects::Location& location, 40 ErrorPtr inner_error) { 42 return ErrorPtr( 46 void Error::AddTo(ErrorPtr* error, 60 void Error::AddToPrintf(ErrorPtr* error, 73 ErrorPtr Error::Clone() const { 74 ErrorPtr inner_error = inner_error_ ? inner_error_->Clone() : nullptr [all...] |