Home
last modified time | relevance | path

Searched refs:Status (Results 1 – 25 of 55) sorted by relevance

123

/system/tools/aidl/tests/
Daidl_test_service.cpp59 using android::binder::Status;
91 Status GetName(String16* ret) { in GetName()
93 return Status::ok(); in GetName()
117 Status RepeatBoolean(bool token, bool* _aidl_return) override { in RepeatBoolean()
120 return Status::ok(); in RepeatBoolean()
122 Status RepeatByte(int8_t token, int8_t* _aidl_return) override { in RepeatByte()
125 return Status::ok(); in RepeatByte()
127 Status RepeatChar(char16_t token, char16_t* _aidl_return) override { in RepeatChar()
130 return Status::ok(); in RepeatChar()
132 Status RepeatInt(int32_t token, int32_t* _aidl_return) override { in RepeatInt()
[all …]
Daidl_test_client_service_exceptions.cpp23 using android::binder::Status;
36 Status status = s->ThrowServiceException(i); in ConfirmServiceSpecificExceptions()
37 if (status.exceptionCode() != Status::EX_SERVICE_SPECIFIC || in ConfirmServiceSpecificExceptions()
/system/update_engine/
Dbinder_service_brillo.h58 android::binder::Status AttemptUpdate(const android::String16& app_version,
61 android::binder::Status AttemptRollback(bool powerwash) override;
62 android::binder::Status CanRollback(bool* out_can_rollback) override;
63 android::binder::Status ResetStatus() override;
64 android::binder::Status GetStatus(
66 android::binder::Status RebootIfNeeded() override;
67 android::binder::Status SetChannel(const android::String16& target_channel,
69 android::binder::Status GetChannel(bool get_current_channel,
71 android::binder::Status SetP2PUpdatePermission(bool enabled) override;
72 android::binder::Status GetP2PUpdatePermission(
[all …]
Dbinder_service_brillo.cc30 using android::binder::Status;
44 Status ToStatus(ErrorPtr* error) { in ToStatus()
45 return Status::fromServiceSpecificError( in ToStatus()
51 Status BinderUpdateEngineBrilloService::CallCommonHandler( in CallCommonHandler()
56 return Status::ok(); in CallCommonHandler()
60 Status BinderUpdateEngineBrilloService::AttemptUpdate( in AttemptUpdate()
68 Status BinderUpdateEngineBrilloService::AttemptRollback(bool powerwash) { in AttemptRollback()
72 Status BinderUpdateEngineBrilloService::CanRollback(bool* out_can_rollback) { in CanRollback()
76 Status BinderUpdateEngineBrilloService::ResetStatus() { in ResetStatus()
80 Status BinderUpdateEngineBrilloService::GetStatus( in GetStatus()
[all …]
Dbinder_service_android.cc25 using android::binder::Status;
29 Status ErrorPtrToStatus(const brillo::ErrorPtr& error) { in ErrorPtrToStatus()
30 return Status::fromServiceSpecificError( in ErrorPtrToStatus()
62 Status BinderUpdateEngineAndroidService::bind( in bind()
80 return Status::ok(); in bind()
83 Status BinderUpdateEngineAndroidService::applyPayload( in applyPayload()
100 return Status::ok(); in applyPayload()
103 Status BinderUpdateEngineAndroidService::suspend() { in suspend()
107 return Status::ok(); in suspend()
110 Status BinderUpdateEngineAndroidService::resume() { in resume()
[all …]
Dbinder_service_android.h59 android::binder::Status applyPayload(
64 android::binder::Status bind(
67 android::binder::Status suspend() override;
68 android::binder::Status resume() override;
69 android::binder::Status cancel() override;
70 android::binder::Status resetStatus() override;
Dupdate_engine_client_android.cc45 using android::binder::Status;
55 int ExitWhenIdle(const Status& status);
64 Status onStatusUpdate(int status_code, float progress) override;
65 Status onPayloadApplicationComplete(int error_code) override;
86 Status UpdateEngineClientAndroid::UECallback::onStatusUpdate( in onStatusUpdate()
92 return Status::ok(); in onStatusUpdate()
95 Status UpdateEngineClientAndroid::UECallback::onPayloadApplicationComplete( in onPayloadApplicationComplete()
101 return Status::ok(); in onPayloadApplicationComplete()
162 << Status::fromStatusT(status).toString8(); in OnInit()
200 Status status = service_->applyPayload( in OnInit()
[all …]
/system/connectivity/shill/binder/
Dmanager_binder_adaptor.cc27 using android::binder::Status;
99 Status ManagerBinderAdaptor::SetupApModeInterface(String16* _aidl_return) { in SetupApModeInterface()
101 return Status::ok(); in SetupApModeInterface()
104 Status ManagerBinderAdaptor::SetupStationModeInterface(String16* _aidl_return) { in SetupStationModeInterface()
107 return Status::ok(); in SetupStationModeInterface()
110 Status ManagerBinderAdaptor::ClaimInterface(const String16& claimer_name, in ClaimInterface()
114 return Status::ok(); in ClaimInterface()
117 Status ManagerBinderAdaptor::ReleaseInterface(const String16& claimer_name, in ReleaseInterface()
121 return Status::ok(); in ReleaseInterface()
124 Status ManagerBinderAdaptor::ConfigureService( in ConfigureService()
[all …]
Dservice_binder_adaptor.cc24 using android::binder::Status;
98 Status ServiceBinderAdaptor::Connect() { in Connect()
101 return Status::ok(); in Connect()
104 Status ServiceBinderAdaptor::GetState(int32_t* _aidl_return) { in GetState()
107 return Status::ok(); in GetState()
110 Status ServiceBinderAdaptor::GetStrength(int8_t* _aidl_return) { in GetStrength()
113 return Status::ok(); in GetStrength()
116 Status ServiceBinderAdaptor::GetError(int32_t* _aidl_return) { in GetError()
119 return Status::ok(); in GetError()
122 Status ServiceBinderAdaptor::RegisterPropertyChangedSignalHandler( in RegisterPropertyChangedSignalHandler()
[all …]
Dmanager_binder_adaptor.h33 class Status; variable
78 android::binder::Status SetupApModeInterface(android::String16* _aidl_return);
79 android::binder::Status SetupStationModeInterface(
81 android::binder::Status ClaimInterface(
84 android::binder::Status ReleaseInterface(
87 android::binder::Status ConfigureService(
90 android::binder::Status RequestScan(int32_t type);
91 android::binder::Status GetDevices(
93 android::binder::Status RegisterPropertyChangedSignalHandler(
Ddevice_binder_adaptor.cc25 using android::binder::Status;
112 Status DeviceBinderAdaptor::GetInterface(String16* _aidl_return) { in GetInterface()
115 return Status::ok(); in GetInterface()
118 Status DeviceBinderAdaptor::GetSelectedService(sp<IBinder>* _aidl_return) { in GetSelectedService()
121 return Status::ok(); in GetSelectedService()
124 Status DeviceBinderAdaptor::RegisterPropertyChangedSignalHandler( in RegisterPropertyChangedSignalHandler()
127 return Status::ok(); in RegisterPropertyChangedSignalHandler()
Dservice_binder_adaptor.h31 class Status; variable
76 android::binder::Status Connect();
77 android::binder::Status GetState(int32_t* _aidl_return);
78 android::binder::Status GetStrength(int8_t* _aidl_return);
79 android::binder::Status GetError(int32_t* _aidl_return);
80 android::binder::Status RegisterPropertyChangedSignalHandler(
/system/netd/server/
DNetdNativeService.cpp48 binder::Status checkPermission(const char *permission) { in checkPermission()
53 return binder::Status::ok(); in checkPermission()
56 return binder::Status::fromExceptionCode(binder::Status::EX_SECURITY, String8(err.c_str())); in checkPermission()
61 binder::Status status = checkPermission((permission)); \
88 const binder::Status dump_permission = checkPermission(DUMP); in dump()
105 binder::Status NetdNativeService::isAlive(bool *alive) { in isAlive()
109 return binder::Status::ok(); in isAlive()
112 binder::Status NetdNativeService::firewallReplaceUidChain(const android::String16& chainName, in firewallReplaceUidChain()
119 return binder::Status::ok(); in firewallReplaceUidChain()
122 binder::Status NetdNativeService::bandwidthEnableDataSaver(bool enable, bool *ret) { in bandwidthEnableDataSaver()
[all …]
DNetdNativeService.h36 binder::Status isAlive(bool *alive) override;
37 binder::Status firewallReplaceUidChain(
40 binder::Status bandwidthEnableDataSaver(bool enable, bool *ret) override;
41 binder::Status networkRejectNonSecureVpn(bool enable, const std::vector<UidRange>& uids)
43 binder::Status socketDestroy(const std::vector<UidRange>& uids,
45 binder::Status setResolverConfiguration(int32_t netId, const std::vector<std::string>& servers,
47 binder::Status getResolverInfo(int32_t netId, std::vector<std::string>* servers,
/system/weaved/buffet/
Dbinder_command_proxy.h35 android::binder::Status getId(android::String16* id) override;
36 android::binder::Status getName(android::String16* name) override;
37 android::binder::Status getComponent(android::String16* component) override;
38 android::binder::Status getState(android::String16* state) override;
39 android::binder::Status getOrigin(android::String16* origin) override;
40 android::binder::Status getParameters(android::String16* parameters) override;
41 android::binder::Status getProgress(android::String16* progress) override;
42 android::binder::Status getResults(android::String16* results) override;
43 android::binder::Status setProgress(
45 android::binder::Status complete(const android::String16& results) override;
[all …]
Dbinder_command_proxy.cc31 android::binder::Status ReportDestroyedError() { in ReportDestroyedError()
32 return android::binder::Status::fromServiceSpecificError( in ReportDestroyedError()
41 android::binder::Status BinderCommandProxy::getId(android::String16* id) { in getId()
46 return android::binder::Status::ok(); in getId()
49 android::binder::Status BinderCommandProxy::getName(android::String16* name) { in getName()
54 return android::binder::Status::ok(); in getName()
57 android::binder::Status BinderCommandProxy::getComponent( in getComponent()
63 return android::binder::Status::ok(); in getComponent()
66 android::binder::Status BinderCommandProxy::getState(android::String16* state) { in getState()
71 return android::binder::Status::ok(); in getState()
[all …]
Dmanager.h71 android::binder::Status connect(
73 android::binder::Status registerNotificationListener(
75 android::binder::Status getDeviceId(android::String16* id) override;
76 android::binder::Status getCloudId(android::String16* id) override;
77 android::binder::Status getDeviceName(android::String16* name) override;
78 android::binder::Status getDeviceDescription(
80 android::binder::Status getDeviceLocation(
82 android::binder::Status getOemName(android::String16* name) override;
83 android::binder::Status getModelName(android::String16* name) override;
84 android::binder::Status getModelId(android::String16* id) override;
[all …]
Dmanager.cc364 android::binder::Status Manager::connect( in connect()
369 return android::binder::Status::ok(); in connect()
372 android::binder::Status Manager::registerNotificationListener( in registerNotificationListener()
379 return android::binder::Status::ok(); in registerNotificationListener()
382 android::binder::Status Manager::getCloudId(android::String16* id) { in getCloudId()
384 return android::binder::Status::ok(); in getCloudId()
387 android::binder::Status Manager::getDeviceId(android::String16* id) { in getDeviceId()
389 return android::binder::Status::ok(); in getDeviceId()
392 android::binder::Status Manager::getDeviceName(android::String16* name) { in getDeviceName()
394 return android::binder::Status::ok(); in getDeviceName()
[all …]
Dbinder_weave_service.cc44 android::binder::Status BinderWeaveService::addComponent( in addComponent()
55 return android::binder::Status::ok(); in addComponent()
58 android::binder::Status BinderWeaveService::registerCommandHandler( in registerCommandHandler()
67 return android::binder::Status::ok(); in registerCommandHandler()
70 android::binder::Status BinderWeaveService::updateState( in updateState()
/system/core/metricsd/uploader/
Dbn_metricsd_impl.cc26 using android::binder::Status;
38 Status BnMetricsdImpl::recordHistogram( in recordHistogram()
49 return Status::ok(); in recordHistogram()
52 Status BnMetricsdImpl::recordLinearHistogram(const String16& name, in recordLinearHistogram()
64 return Status::ok(); in recordLinearHistogram()
67 Status BnMetricsdImpl::recordSparseHistogram(const String16& name, int sample) { in recordSparseHistogram()
77 return Status::ok(); in recordSparseHistogram()
80 Status BnMetricsdImpl::recordCrash(const String16& type) { in recordCrash()
90 return Status::ok(); in recordCrash()
93 Status BnMetricsdImpl::getHistogramsDump(String16* dump) { in getHistogramsDump()
[all …]
Dbn_metricsd_impl.h29 android::binder::Status recordHistogram(const android::String16& name,
36 android::binder::Status recordLinearHistogram(const android::String16& name,
41 android::binder::Status recordSparseHistogram(const android::String16& name,
45 android::binder::Status recordCrash(const android::String16& type) override;
48 android::binder::Status getHistogramsDump(android::String16* dump) override;
/system/weaved/common/
Dbinder_utils.cc24 android::binder::Status ToStatus(bool success, weave::ErrorPtr* error) { in ToStatus()
26 return android::binder::Status::ok(); in ToStatus()
27 return android::binder::Status::fromServiceSpecificError( in ToStatus()
31 bool StatusToError(android::binder::Status status, brillo::ErrorPtr* error) { in StatusToError()
46 android::binder::Status ParseDictionary( in ParseDictionary()
57 return android::binder::Status::fromServiceSpecificError( in ParseDictionary()
62 return android::binder::Status::ok(); in ParseDictionary()
/system/weaved/libweaved/
Dcommand.cc31 if (exception_code == android::binder::Status::EX_NONE) in BinderExceptionString()
33 else if (exception_code == android::binder::Status::EX_SECURITY) in BinderExceptionString()
35 else if (exception_code == android::binder::Status::EX_BAD_PARCELABLE) in BinderExceptionString()
37 else if (exception_code == android::binder::Status::EX_ILLEGAL_ARGUMENT) in BinderExceptionString()
39 else if (exception_code == android::binder::Status::EX_NULL_POINTER) in BinderExceptionString()
41 else if (exception_code == android::binder::Status::EX_ILLEGAL_STATE) in BinderExceptionString()
43 else if (exception_code == android::binder::Status::EX_NETWORK_MAIN_THREAD) in BinderExceptionString()
45 else if (exception_code == android::binder::Status::EX_UNSUPPORTED_OPERATION) in BinderExceptionString()
47 else if (exception_code == android::binder::Status::EX_SERVICE_SPECIFIC) in BinderExceptionString()
157 bool Command::AbortWithCustomError(android::binder::Status status, in AbortWithCustomError()
[all …]
/system/tpm/trunks/
Dtrunks_binder_service.cc77 android::binder::Status TrunksBinderService::BinderServiceInternal::SendCommand( in SendCommand()
87 return android::binder::Status::ok(); in SendCommand()
90 return android::binder::Status::ok(); in SendCommand()
98 android::binder::Status status = client->OnCommandResponse(binder_response); in OnResponse()
105 android::binder::Status
113 return android::binder::Status::ok(); in SendCommandAndWait()
117 return android::binder::Status::ok(); in SendCommandAndWait()
/system/connectivity/shill/
Ddns_server_tester.h52 enum Status { enum
61 const base::Callback<void(const Status)>& callback);
85 void CompleteAttempt(Status status);
95 base::Callback<void(const Status)> dns_result_callback_;

123