/system/vold/ |
D | VoldNativeService.h | 34 binder::Status setListener(const android::sp<android::os::IVoldListener>& listener); 36 binder::Status monitor(); 37 binder::Status reset(); 38 binder::Status shutdown(); 40 binder::Status onUserAdded(int32_t userId, int32_t userSerial); 41 binder::Status onUserRemoved(int32_t userId); 42 binder::Status onUserStarted(int32_t userId); 43 binder::Status onUserStopped(int32_t userId); 45 binder::Status onSecureKeyguardStateChanged(bool isShowing); 47 binder::Status partition(const std::string& diskId, int32_t partitionType, int32_t ratio); [all …]
|
D | VoldNativeService.cpp | 52 static binder::Status ok() { in ok() 53 return binder::Status::ok(); in ok() 56 static binder::Status exception(uint32_t code, const std::string& msg) { in exception() 57 return binder::Status::fromExceptionCode(code, String8(msg.c_str())); in exception() 60 static binder::Status error(const std::string& msg) { in error() 62 return binder::Status::fromServiceSpecificError(errno, String8(msg.c_str())); in error() 65 static binder::Status translate(int status) { in translate() 67 return binder::Status::ok(); in translate() 69 return binder::Status::fromServiceSpecificError(status); in translate() 73 static binder::Status translateBool(bool status) { in translateBool() [all …]
|
/system/bt/service/ipc/binder/ |
D | bluetooth_binder_server.cc | 51 Status BluetoothBinderServer::IsEnabled(bool* _aidl_return) { in IsEnabled() 54 return Status::ok(); in IsEnabled() 57 Status BluetoothBinderServer::GetState(int32_t* _aidl_return) { in GetState() 60 return Status::ok(); in GetState() 63 Status BluetoothBinderServer::Enable(bool start_restricted, in Enable() 67 return Status::ok(); in Enable() 70 Status BluetoothBinderServer::EnableNoAutoConnect(bool* _aidl_return) { in EnableNoAutoConnect() 74 return Status::ok(); in EnableNoAutoConnect() 77 Status BluetoothBinderServer::Disable(bool* _aidl_return) { in Disable() 80 return Status::ok(); in Disable() [all …]
|
D | bluetooth_binder_server.h | 39 using android::binder::Status; 60 Status IsEnabled(bool* _aidl_return) override; 61 Status GetState(int32_t* _aidl_return) override; 62 Status Enable(bool start_restricted, bool* _aidl_return) override; 63 Status EnableNoAutoConnect(bool* _aidl_return) override; 64 Status Disable(bool* _aidl_return) override; 66 Status GetAddress(::android::String16* _aidl_return) override; 67 Status GetUUIDs( 69 Status SetName(const ::android::String16& name, bool* _aidl_return) override; 70 Status GetName(::android::String16* _aidl_return) override; [all …]
|
/system/connectivity/wificond/ |
D | client_interface_binder.cpp | 25 using android::binder::Status; 39 Status ClientInterfaceBinder::getPacketCounters( in getPacketCounters() 42 return Status::ok(); in getPacketCounters() 45 return Status::ok(); in getPacketCounters() 48 Status ClientInterfaceBinder::signalPoll( in signalPoll() 51 return Status::ok(); in signalPoll() 54 return Status::ok(); in signalPoll() 57 Status ClientInterfaceBinder::getMacAddress(vector<uint8_t>* out_mac_address) { in getMacAddress() 59 return Status::ok(); in getMacAddress() 62 return Status::ok(); in getMacAddress() [all …]
|
D | server.cpp | 32 using android::binder::Status; 70 Status Server::RegisterCallback(const sp<IInterfaceEventCallback>& callback) { in RegisterCallback() 74 return Status::ok(); in RegisterCallback() 79 return Status::ok(); in RegisterCallback() 82 Status Server::UnregisterCallback(const sp<IInterfaceEventCallback>& callback) { in UnregisterCallback() 89 return Status::ok(); in UnregisterCallback() 94 return Status::ok(); in UnregisterCallback() 97 Status Server::createApInterface(const std::string& iface_name, in createApInterface() 101 return Status::ok(); // Logging was done internally in createApInterface() 114 return Status::ok(); in createApInterface() [all …]
|
D | ap_interface_binder.cpp | 76 binder::Status ApInterfaceBinder::startHostapd( in startHostapd() 81 return binder::Status::ok(); in startHostapd() 87 return binder::Status::ok(); in startHostapd() 90 binder::Status ApInterfaceBinder::stopHostapd(bool* out_success) { in stopHostapd() 94 return binder::Status::ok(); in stopHostapd() 98 return binder::Status::ok(); in stopHostapd() 101 binder::Status ApInterfaceBinder::getInterfaceName(std::string* out_name) { in getInterfaceName() 104 return binder::Status::ok(); in getInterfaceName() 107 return binder::Status::ok(); in getInterfaceName() 110 binder::Status ApInterfaceBinder::getNumberOfAssociatedStations( in getNumberOfAssociatedStations() [all …]
|
/system/tools/aidl/tests/ |
D | aidl_test_service.cpp | 63 using android::binder::Status; 96 Status GetName(String16* ret) { in GetName() 98 return Status::ok(); in GetName() 126 Status RepeatBoolean(bool token, bool* _aidl_return) override { in RepeatBoolean() 129 return Status::ok(); in RepeatBoolean() 131 Status RepeatByte(int8_t token, int8_t* _aidl_return) override { in RepeatByte() 134 return Status::ok(); in RepeatByte() 136 Status RepeatChar(char16_t token, char16_t* _aidl_return) override { in RepeatChar() 139 return Status::ok(); in RepeatChar() 141 Status RepeatInt(int32_t token, int32_t* _aidl_return) override { in RepeatInt() [all …]
|
/system/netd/libnetdutils/include/netdutils/ |
D | Status.h | 31 class Status { 33 Status() = default; 35 explicit Status(int code) : mCode(code) {} in Status() function 37 Status(int code, const std::string& msg) : mCode(code), mMsg(msg) { assert(!ok()); } in Status() function 45 bool operator==(const Status& other) const { return code() == other.code(); } 46 bool operator!=(const Status& other) const { return !(*this == other); } 55 const Status ok{0}; 58 const Status eof{0x10001, "end of file"}; 59 const Status undefined{std::numeric_limits<int>::max(), "undefined"}; 66 inline bool isOk(const Status& status) { in isOk() [all …]
|
/system/nvram/hal/ |
D | fake_nvram_storage.cpp | 65 nvram::storage::Status DeleteFile(const char* name) { in DeleteFile() 68 return nvram::storage::Status::kNotFound; in DeleteFile() 71 return nvram::storage::Status::kStorageError; in DeleteFile() 74 return nvram::storage::Status::kSuccess; in DeleteFile() 78 nvram::storage::Status LoadFile(const char* name, nvram::Blob* blob) { in LoadFile() 83 return nvram::storage::Status::kNotFound; in LoadFile() 86 return nvram::storage::Status::kStorageError; in LoadFile() 92 return nvram::storage::Status::kStorageError; in LoadFile() 97 return nvram::storage::Status::kStorageError; in LoadFile() 102 return nvram::storage::Status::kStorageError; in LoadFile() [all …]
|
D | memory_storage.cpp | 30 Status Load(Blob* blob) const { in Load() 32 return Status::kNotFound; in Load() 36 return Status::kStorageError; in Load() 39 return Status::kSuccess; in Load() 42 Status Store(const Blob& blob) { in Store() 44 return Status::kStorageError; in Store() 47 return Status::kSuccess; in Store() 50 Status Delete() { in Delete() 51 return blob_.Resize(0) ? Status::kSuccess : Status::kStorageError; in Delete() 81 Status LoadHeader(Blob* blob) { in LoadHeader() [all …]
|
/system/update_engine/ |
D | binder_service_brillo.h | 54 android::binder::Status SetUpdateAttemptFlags(int flags) override; 55 android::binder::Status AttemptUpdate(const android::String16& app_version, 59 android::binder::Status AttemptRollback(bool powerwash) override; 60 android::binder::Status CanRollback(bool* out_can_rollback) override; 61 android::binder::Status ResetStatus() override; 62 android::binder::Status GetStatus( 64 android::binder::Status RebootIfNeeded() override; 65 android::binder::Status SetChannel(const android::String16& target_channel, 67 android::binder::Status GetChannel(bool get_current_channel, 69 android::binder::Status SetCohortHint( [all …]
|
D | binder_service_brillo.cc | 30 using android::binder::Status; 45 Status ToStatus(ErrorPtr* error) { in ToStatus() 46 return Status::fromServiceSpecificError( in ToStatus() 52 Status BinderUpdateEngineBrilloService::CallCommonHandler( in CallCommonHandler() 57 return Status::ok(); in CallCommonHandler() 61 Status BinderUpdateEngineBrilloService::SetUpdateAttemptFlags(int flags) { in SetUpdateAttemptFlags() 65 Status BinderUpdateEngineBrilloService::AttemptUpdate( in AttemptUpdate() 77 Status BinderUpdateEngineBrilloService::AttemptRollback(bool powerwash) { in AttemptRollback() 81 Status BinderUpdateEngineBrilloService::CanRollback(bool* out_can_rollback) { in CanRollback() 85 Status BinderUpdateEngineBrilloService::ResetStatus() { in ResetStatus() [all …]
|
D | binder_service_android.cc | 25 using android::binder::Status; 30 Status ErrorPtrToStatus(const brillo::ErrorPtr& error) { in ErrorPtrToStatus() 31 return Status::fromServiceSpecificError( in ErrorPtrToStatus() 59 Status BinderUpdateEngineAndroidService::bind( in bind() 80 return Status::ok(); in bind() 83 Status BinderUpdateEngineAndroidService::unbind( in unbind() 91 return Status::ok(); in unbind() 94 Status BinderUpdateEngineAndroidService::applyPayload( in applyPayload() 111 return Status::ok(); in applyPayload() 114 Status BinderUpdateEngineAndroidService::suspend() { in suspend() [all …]
|
/system/netd/server/ |
D | NetdNativeService.h | 36 binder::Status isAlive(bool *alive) override; 39 binder::Status firewallReplaceUidChain( 44 binder::Status bandwidthEnableDataSaver(bool enable, bool *ret) override; 47 binder::Status networkCreatePhysical(int32_t netId, const std::string& permission) 49 binder::Status networkCreateVpn(int32_t netId, bool hasDns, bool secure) override; 50 binder::Status networkDestroy(int32_t netId) override; 52 binder::Status networkAddInterface(int32_t netId, const std::string& iface) override; 53 binder::Status networkRemoveInterface(int32_t netId, const std::string& iface) override; 55 binder::Status networkAddUidRanges(int32_t netId, const std::vector<UidRange>& uids) 57 binder::Status networkRemoveUidRanges(int32_t netId, const std::vector<UidRange>& uids) [all …]
|
D | NetdNativeService.cpp | 57 binder::Status toBinderStatus(const netdutils::Status s) { in toBinderStatus() 59 return binder::Status::ok(); in toBinderStatus() 61 return binder::Status::fromServiceSpecificError(s.code(), s.msg().c_str()); in toBinderStatus() 64 binder::Status checkPermission(const char *permission) { in checkPermission() 69 return binder::Status::ok(); in checkPermission() 72 return binder::Status::fromExceptionCode(binder::Status::EX_SECURITY, String8(err.c_str())); in checkPermission() 80 return binder::Status::fromExceptionCode( \ 81 binder::Status::EX_SECURITY, \ 88 binder::Status status = checkPermission((permission)); \ 100 inline binder::Status statusFromErrcode(int ret) { in statusFromErrcode() [all …]
|
/system/libhidl/base/ |
D | Status.cpp | 64 #define EXCEPTION_TO_STRING_PAIR(EXCEPTION) {Status::Exception::EXCEPTION, #EXCEPTION} in exceptionToString() 80 Status Status::ok() { in ok() 81 return Status(); in ok() 84 Status Status::fromExceptionCode(int32_t exceptionCode) { in fromExceptionCode() 85 return Status(exceptionCode, OK); in fromExceptionCode() 88 Status Status::fromExceptionCode(int32_t exceptionCode, in fromExceptionCode() 90 return Status(exceptionCode, OK, message); in fromExceptionCode() 93 Status Status::fromStatusT(status_t status) { in fromStatusT() 94 Status ret; in fromStatusT() 99 Status::Status(int32_t exceptionCode, int32_t errorCode) in Status() function in android::hardware::Status [all …]
|
/system/nvram/core/ |
D | persistence.cpp | 46 storage::Status EncodeObject(const Object& object, Blob* blob) { in EncodeObject() 53 return storage::Status::kStorageError; in EncodeObject() 55 return storage::Status::kSuccess; in EncodeObject() 67 storage::Status DecodeObject(const Blob& blob, Object* object) { in DecodeObject() 74 return storage::Status::kStorageError; in DecodeObject() 76 return storage::Status::kSuccess; in DecodeObject() 99 storage::Status LoadHeader(NvramHeader* header) { in LoadHeader() 101 storage::Status status = storage::LoadHeader(&blob); in LoadHeader() 102 if (status != storage::Status::kSuccess) { in LoadHeader() 108 storage::Status StoreHeader(const NvramHeader& header) { in StoreHeader() [all …]
|
/system/netd/libnetdutils/ |
D | Status.cpp | 24 void expectOk(const Status&) { in expectOk() argument 28 Status statusFromErrno(int err, const std::string& msg) { in statusFromErrno() 29 return Status(err, base::StringPrintf("[%s] : %s", strerror(err), msg.c_str())); in statusFromErrno() 32 bool equalToErrno(const Status& status, int err) { in equalToErrno() 36 binder::Status asBinderStatus(const netdutils::Status& status) { in asBinderStatus() 38 return binder::Status::ok(); in asBinderStatus() 40 return binder::Status::fromServiceSpecificError(status.code(), status.msg().c_str()); in asBinderStatus() 43 std::string toString(const Status& status) { in toString() 49 std::ostream& operator<<(std::ostream& os, const Status& s) { in operator <<()
|
/system/nvram/core/tests/ |
D | fake_storage.cpp | 31 Status Load(Blob* blob) { in Load() 33 return Status::kStorageError; in Load() 37 return Status::kNotFound; in Load() 41 return Status::kSuccess; in Load() 44 Status Store(const Blob& blob) { in Store() 46 return Status::kStorageError; in Store() 51 return Status::kSuccess; in Store() 54 Status Delete() { in Delete() 56 return Status::kStorageError; in Delete() 61 return Status::kSuccess; in Delete() [all …]
|
/system/security/keystore/ |
D | key_store_service.h | 47 ::android::binder::Status getState(int32_t userId, int32_t* _aidl_return) override; 48 ::android::binder::Status get(const ::android::String16& name, int32_t uid, 50 ::android::binder::Status insert(const ::android::String16& name, 53 ::android::binder::Status del(const ::android::String16& name, int32_t uid, 55 ::android::binder::Status exist(const ::android::String16& name, int32_t uid, 57 ::android::binder::Status list(const ::android::String16& namePrefix, int32_t uid, 59 ::android::binder::Status reset(int32_t* _aidl_return) override; 60 ::android::binder::Status onUserPasswordChanged(int32_t userId, 63 ::android::binder::Status lock(int32_t userId, int32_t* _aidl_return) override; 64 ::android::binder::Status unlock(int32_t userId, const ::android::String16& userPassword, [all …]
|
D | key_store_service.cpp | 55 using ::android::binder::Status; 153 Status KeyStoreService::getState(int32_t userId, int32_t* aidl_return) { in getState() 157 return Status::ok(); in getState() 160 return Status::ok(); in getState() 163 Status KeyStoreService::get(const String16& name, int32_t uid, ::std::vector<uint8_t>* item) { in get() 168 return Status::fromServiceSpecificError( in get() 180 return Status::fromServiceSpecificError(static_cast<int32_t>(rc)); in get() 185 return Status::ok(); in get() 188 Status KeyStoreService::insert(const String16& name, const ::std::vector<uint8_t>& item, in insert() 196 return Status::ok(); in insert() [all …]
|
/system/libhidl/base/include/hidl/ |
D | Status.h | 53 class Status final { 74 static Status ok(); 82 static Status fromExceptionCode(int32_t exceptionCode); 83 static Status fromExceptionCode(int32_t exceptionCode, 85 static Status fromStatusT(status_t status); 87 Status() = default; 88 ~Status() = default; 91 Status(const Status& status) = default; 92 Status(Status&& status) = default; 93 Status& operator=(const Status& status) = default; [all …]
|
/system/bt/service/example/heart_rate/ |
D | heart_rate_server.cc | 28 using android::binder::Status; 45 Status OnAdvertiserRegistered(int status, int advertiser_id) { in OnAdvertiserRegistered() 49 return Status::ok(); in OnAdvertiserRegistered() 81 return Status::ok(); in OnAdvertiserRegistered() 84 Status OnMultiAdvertiseCallback( in OnMultiAdvertiseCallback() 88 return Status::ok(); in OnMultiAdvertiseCallback() 227 Status HeartRateServer::OnServerRegistered(int status, int server_if) { in OnServerRegistered() 233 return Status::ok(); in OnServerRegistered() 264 Status stat = gatt_->AddService(server_if_, (BluetoothGattService)hrService, in OnServerRegistered() 269 return Status::ok(); in OnServerRegistered() [all …]
|
/system/bt/include/hardware/avrcp/ |
D | avrcp_logging_helper.h | 152 inline std::string StatusText(const Status& status) { in StatusText() 154 CASE_RETURN_TEXT(Status::INVALID_COMMAND); in StatusText() 155 CASE_RETURN_TEXT(Status::INVALID_PARAMETER); in StatusText() 156 CASE_RETURN_TEXT(Status::PARAMETER_CONTENT_ERROR); in StatusText() 157 CASE_RETURN_TEXT(Status::INTERNAL_ERROR); in StatusText() 158 CASE_RETURN_TEXT(Status::NO_ERROR); in StatusText() 159 CASE_RETURN_TEXT(Status::UIDS_CHANGED); in StatusText() 160 CASE_RETURN_TEXT(Status::RESERVED); in StatusText() 161 CASE_RETURN_TEXT(Status::INVALID_DIRECTION); in StatusText() 162 CASE_RETURN_TEXT(Status::NOT_A_DIRECTORY); in StatusText() [all …]
|