/system/weaved/common/ |
H A D | binder_constants.cc | 18 namespace binder { namespace in namespace:weaved 22 } // namespace binder
|
H A D | binder_constants.h | 19 namespace binder { namespace in namespace:weaved 23 } // namespace binder
|
H A D | binder_utils.cc | 24 android::binder::Status ToStatus(bool success, weave::ErrorPtr* error) { 26 return android::binder::Status::ok(); 27 return android::binder::Status::fromServiceSpecificError( 31 bool StatusToError(android::binder::Status status, brillo::ErrorPtr* error) { 34 brillo::Error::AddTo(error, FROM_HERE, "binder", 46 android::binder::Status ParseDictionary( 57 return android::binder::Status::fromServiceSpecificError( 62 return android::binder::Status::ok();
|
/system/core/metricsd/ |
H A D | metrics_collector_service_impl.cc | 19 #include <binder/IServiceManager.h> 20 #include <binder/Status.h> 32 android::binder::Status BnMetricsCollectorServiceImpl::notifyUserCrash() { 34 return android::binder::Status::ok();
|
H A D | metrics_collector_service_impl.h | 20 // metrics_collector binder service implementation. Constructed by 25 #include <binder/Status.h> 40 android::binder::Status notifyUserCrash();
|
/system/core/libbinderwrapper/ |
H A D | stub_binder_wrapper.cc | 20 #include <binder/Binder.h> 21 #include <binder/IBinder.h> 32 const sp<IBinder>& binder) { 33 services_to_return_[service_name] = binder; 42 void StubBinderWrapper::NotifyAboutBinderDeath(const sp<IBinder>& binder) { argument 43 const auto it = death_callbacks_.find(binder); 54 const sp<IBinder>& binder) { 55 registered_services_[service_name] = binder; 60 sp<BBinder> binder(new BBinder()); 61 local_binders_.push_back(binder); 31 SetBinderForService(const std::string& service_name, const sp<IBinder>& binder) argument 53 RegisterService(const std::string& service_name, const sp<IBinder>& binder) argument 65 RegisterForDeathNotifications( const sp<IBinder>& binder, const base::Closure& callback) argument 72 UnregisterForDeathNotifications( const sp<IBinder>& binder) argument [all...] |
H A D | real_binder_wrapper.cc | 20 #include <binder/Binder.h> 21 #include <binder/IBinder.h> 22 #include <binder/IPCThreadState.h> 23 #include <binder/IServiceManager.h> 27 // Class that handles binder death notifications. libbinder wants the recipient 42 // Callback to run in response to binder death. 58 sp<IBinder> binder = local 60 if (!binder.get()) 62 return binder; 66 const sp<IBinder>& binder) { 65 RegisterService(const std::string& service_name, const sp<IBinder>& binder) argument 86 RegisterForDeathNotifications( const sp<IBinder>& binder, const base::Closure& callback) argument 99 UnregisterForDeathNotifications( const sp<IBinder>& binder) argument [all...] |
H A D | real_binder_wrapper.h | 36 const sp<IBinder>& binder) override; 38 bool RegisterForDeathNotifications(const sp<IBinder>& binder, 40 bool UnregisterForDeathNotifications(const sp<IBinder>& binder) override; 47 // Map from binder handle to object that should be notified of the binder's
|
/system/weaved/buffet/ |
H A D | binder_command_proxy.h | 27 // Implementation of android::weave::IWeaveCommand binder object. 28 // This class simply redirects binder calls to the underlying weave::Command 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 [all...] |
H A D | binder_command_proxy.cc | 31 android::binder::Status ReportDestroyedError() { 32 return android::binder::Status::fromServiceSpecificError( 41 android::binder::Status BinderCommandProxy::getId(android::String16* id) { 46 return android::binder::Status::ok(); 49 android::binder::Status BinderCommandProxy::getName(android::String16* name) { 54 return android::binder::Status::ok(); 57 android::binder::Status BinderCommandProxy::getComponent( 63 return android::binder::Status::ok(); 66 android::binder::Status BinderCommandProxy::getState(android::String16* state) { 71 return android::binder [all...] |
/system/update_engine/ |
H A 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 [all...] |
H A 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/ |
H A D | NetdNativeService.cpp | 27 #include <binder/IPCThreadState.h> 28 #include <binder/IServiceManager.h> 51 binder::Status checkPermission(const char *permission) { 56 return binder::Status::ok(); 59 return binder::Status::fromExceptionCode(binder::Status::EX_SECURITY, String8(err.c_str())); 67 return binder::Status::fromExceptionCode( \ 68 binder::Status::EX_SECURITY, \ 75 binder::Status status = checkPermission((permission)); \ 102 const binder [all...] |
H A D | NetdNativeService.h | 22 #include <binder/BinderService.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, 52 binder::Status tetherApplyDnsInterfaces(bool *ret) override; 54 binder [all...] |
/system/vold/ |
H A D | CheckBattery.cpp | 20 #include <binder/IServiceManager.h>
|
/system/core/metricsd/uploader/ |
H A 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/security/keystore/ |
H A D | keystore_get.cpp | 18 #include <binder/IServiceManager.h> 26 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); local 27 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
|
/system/netd/tests/dns_responder/ |
H A D | Android.mk | 29 LOCAL_AIDL_INCLUDES += system/netd/server/binder 34 system/netd/server/binder \ 41 ../../server/binder/android/net/INetd.aidl \ 42 ../../server/binder/android/net/UidRange.cpp
|
/system/core/gatekeeperd/ |
H A D | IUserManager.h | 22 #include <binder/IInterface.h> 23 #include <binder/Parcel.h>
|
/system/bt/service/ipc/binder/ |
H A D | ipc_handler_binder.cpp | 17 #include "service/ipc/binder/ipc_handler_binder.h" 22 #include <binder/IPCThreadState.h> 23 #include <binder/IServiceManager.h> 24 #include <binder/ProcessState.h> 26 #include "service/ipc/binder/bluetooth_binder_server.h" 48 android::sp<binder::BluetoothBinderServer> bt_server = 49 new binder::BluetoothBinderServer(adapter()); 51 String16(binder::IBluetooth::kServiceName),
|
/system/core/include/binderwrapper/ |
H A D | stub_binder_wrapper.h | 25 #include <binder/Binder.h> 26 #include <binder/IBinder.h> 35 // First, assuming a base IFoo binder interface, create a stub class that 56 // sp<IBinder> binder(foo); 57 // wrapper->SetBinderForService("foo", binder); 61 // sp<IBinder> binder = BinderWrapper::Get()->GetService("foo"); 62 // CHECK(binder.get()); 63 // sp<IFoo> foo = interface_cast<IFoo>(binder); 68 // local_binders() to check that they're passed as expected in binder calls. 83 // Sets the binder t [all...] |
H A D | binder_wrapper.h | 39 // with the real binder system). 58 // Gets the binder for communicating with the service identified by 62 // Registers |binder| as |service_name| with the service manager. 64 const sp<IBinder>& binder) = 0; 66 // Creates a local binder object. 69 // Registers |callback| to be invoked when |binder| dies. If another callback 70 // is currently registered for |binder|, it will be replaced. 72 const sp<IBinder>& binder, 75 // Unregisters the callback, if any, for |binder|. 76 virtual bool UnregisterForDeathNotifications(const sp<IBinder>& binder) [all...] |
/system/connectivity/shill/binder/ |
H A D | manager_binder_adaptor.h | 28 #include "shill/binder/binder_adaptor.h" 32 namespace binder { namespace in namespace:android 34 } // 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 [all...] |
H A D | service_binder_adaptor.h | 27 #include "shill/binder/binder_adaptor.h" 30 namespace binder { namespace in namespace:android 32 } // 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/core/fingerprintd/ |
H A D | fingerprintd.cpp | 22 #include <binder/IPCThreadState.h> 23 #include <binder/IServiceManager.h> 24 #include <binder/PermissionCache.h> 44 ALOGE("Couldn't register " LOG_TAG " binder service!");
|