/system/update_engine/ |
D | binder_service_brillo.h | 58 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 …]
|
D | binder_service_android.h | 59 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;
|
/system/netd/server/ |
D | NetdNativeService.cpp | 48 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 …]
|
D | NetdNativeService.h | 36 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,
|
D | Android.mk | 28 LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/binder 29 LOCAL_AIDL_INCLUDES := $(LOCAL_PATH)/binder 30 LOCAL_C_INCLUDES := $(LOCAL_PATH)/binder 32 binder/android/net/INetd.aidl \ 33 binder/android/net/UidRange.cpp 107 binder/android/net/metrics/IDnsEventListener.aidl \ 109 LOCAL_AIDL_INCLUDES := $(LOCAL_PATH)/binder 133 LOCAL_C_INCLUDES := system/netd/server system/netd/server/binder system/core/logwrapper/include
|
/system/core/libbinderwrapper/ |
D | stub_binder_wrapper.cc | 32 const sp<IBinder>& binder) { in SetBinderForService() argument 33 services_to_return_[service_name] = binder; in SetBinderForService() 42 void StubBinderWrapper::NotifyAboutBinderDeath(const sp<IBinder>& binder) { in NotifyAboutBinderDeath() argument 43 const auto it = death_callbacks_.find(binder); in NotifyAboutBinderDeath() 54 const sp<IBinder>& binder) { in RegisterService() argument 55 registered_services_[service_name] = binder; in RegisterService() 60 sp<BBinder> binder(new BBinder()); in CreateLocalBinder() local 61 local_binders_.push_back(binder); in CreateLocalBinder() 62 return binder; in CreateLocalBinder() 66 const sp<IBinder>& binder, in RegisterForDeathNotifications() argument [all …]
|
D | real_binder_wrapper.cc | 58 sp<IBinder> binder = in GetService() local 60 if (!binder.get()) in GetService() 62 return binder; in GetService() 66 const sp<IBinder>& binder) { in RegisterService() argument 73 String16(service_name.c_str()), binder); in RegisterService() 87 const sp<IBinder>& binder, in RegisterForDeathNotifications() argument 90 if (binder->linkToDeath(recipient) != OK) { in RegisterForDeathNotifications() 92 << binder.get(); in RegisterForDeathNotifications() 95 death_recipients_[binder] = recipient; in RegisterForDeathNotifications() 100 const sp<IBinder>& binder) { in UnregisterForDeathNotifications() argument [all …]
|
/system/weaved/buffet/ |
D | binder_command_proxy.h | 35 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 …]
|
D | binder_command_proxy.cc | 31 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 …]
|
D | manager.h | 71 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 …]
|
D | manager.cc | 364 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 …]
|
D | binder_weave_service.cc | 44 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/nativepower/daemon/ |
D | wake_lock_manager_unittest.cc | 97 sp<BBinder> binder = binder_wrapper()->CreateLocalBinder(); in TEST_F() local 98 EXPECT_TRUE(manager_.AddRequest(binder, "foo", "bar", -1)); in TEST_F() 105 EXPECT_TRUE(manager_.AddRequest(binder, "a", "b", -1)); in TEST_F() 110 EXPECT_TRUE(manager_.RemoveRequest(binder)); in TEST_F() 117 sp<BBinder> binder = binder_wrapper()->CreateLocalBinder(); in TEST_F() local 118 EXPECT_FALSE(manager_.RemoveRequest(binder)); in TEST_F() 124 sp<BBinder> binder = binder_wrapper()->CreateLocalBinder(); in TEST_F() local 125 EXPECT_TRUE(manager_.AddRequest(binder, "foo", "bar", -1)); in TEST_F() 131 binder_wrapper()->NotifyAboutBinderDeath(binder); in TEST_F() 137 EXPECT_TRUE(manager_.AddRequest(binder, "foo", "bar", -1)); in TEST_F()
|
/system/connectivity/shill/binder/ |
D | manager_binder_adaptor.h | 32 namespace binder { 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(
|
D | service_binder_adaptor.h | 30 namespace binder { 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/bt/service/ |
D | Android.mk | 54 common/bluetooth/binder/IBluetooth.cpp \ 55 common/bluetooth/binder/IBluetoothCallback.cpp \ 56 common/bluetooth/binder/IBluetoothGattClient.cpp \ 57 common/bluetooth/binder/IBluetoothGattClientCallback.cpp \ 58 common/bluetooth/binder/IBluetoothGattServer.cpp \ 59 common/bluetooth/binder/IBluetoothGattServerCallback.cpp \ 60 common/bluetooth/binder/IBluetoothLowEnergy.cpp \ 61 common/bluetooth/binder/IBluetoothLowEnergyCallback.cpp \ 62 common/bluetooth/binder/parcel_helpers.cpp 84 ipc/binder/bluetooth_binder_server.cpp \ [all …]
|
/system/weaved/common/ |
D | binder_utils.cc | 24 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/core/metricsd/uploader/ |
D | bn_metricsd_impl.h | 29 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/bt/service/ipc/binder/ |
D | remote_callback_list.h | 29 namespace binder { 117 sp<IBinder> binder = IInterface::asBinder(callback.get()); in Register() local 118 if (callbacks_.find(binder.get()) != callbacks_.end()) { in Register() 125 if (binder->linkToDeath(dr) != android::NO_ERROR) { in Register() 130 callbacks_[binder.get()] = dr; in Register() 141 sp<IBinder> binder = IInterface::asBinder(callback.get()); in Unregister() local 142 auto iter = callbacks_.find(binder.get()); in Unregister() 194 sp<IBinder> binder = IInterface::asBinder(callback_.get()); in binderDied() local 195 CHECK(who.unsafe_get() == binder.get()); in binderDied() 199 auto iter = owner_->callbacks_.find(binder.get()); in binderDied()
|
/system/weaved/libweaved/ |
D | command.cc | 31 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 …]
|
D | service.cc | 126 android::binder::Status onServiceConnected( 131 android::binder::Status onCommand( 149 android::binder::Status notifyServiceManagerChange( 255 android::binder::Status WeaveClient::onServiceConnected( in onServiceConnected() 261 return android::binder::Status::ok(); in onServiceConnected() 264 android::binder::Status WeaveClient::onCommand( in onCommand() 276 return android::binder::Status::ok(); in onCommand() 283 android::binder::Status NotificationListener::notifyServiceManagerChange( in notifyServiceManagerChange() 288 return android::binder::Status::ok(); in notifyServiceManagerChange() 303 android::sp<android::IBinder> binder = in ~ServiceImpl() local [all …]
|
/system/tpm/trunks/ |
D | trunks_binder_service.cc | 77 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/core/include/binderwrapper/ |
D | stub_binder_wrapper.h | 86 const sp<IBinder>& binder); 93 void NotifyAboutBinderDeath(const sp<IBinder>& binder); 98 const sp<IBinder>& binder) override; 100 bool RegisterForDeathNotifications(const sp<IBinder>& binder, 102 bool UnregisterForDeathNotifications(const sp<IBinder>& binder) override;
|
D | binder_wrapper.h | 64 const sp<IBinder>& binder) = 0; 72 const sp<IBinder>& binder, 76 virtual bool UnregisterForDeathNotifications(const sp<IBinder>& binder) = 0;
|
/system/tools/aidl/tests/ |
D | test_helpers.h | 34 android::binder::Status(android::aidl::tests::ITestService::*func)(T, T*), in RepeatPrimitive() 37 android::binder::Status status = (*service.*func)(input, &reply); in RepeatPrimitive() 49 android::binder::Status(android::aidl::tests::ITestService::*func)( in ReverseArray() 54 android::binder::Status status = (*service.*func)( in ReverseArray()
|