Home
last modified time | relevance | path

Searched refs:binder (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/system/vold/
DVoldNativeService.h34 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 addAppIds(const std::vector<std::string>& packageNames,
47 binder::Status addSandboxIds(const std::vector<int32_t>& appIds,
[all …]
DVoldNativeService.cpp53 static binder::Status ok() { in ok()
54 return binder::Status::ok(); in ok()
57 static binder::Status exception(uint32_t code, const std::string& msg) { in exception()
58 return binder::Status::fromExceptionCode(code, String8(msg.c_str())); in exception()
61 static binder::Status error(const std::string& msg) { in error()
63 return binder::Status::fromServiceSpecificError(errno, String8(msg.c_str())); in error()
66 static binder::Status translate(int status) { in translate()
68 return binder::Status::ok(); in translate()
70 return binder::Status::fromServiceSpecificError(status); in translate()
74 static binder::Status translateBool(bool status) { in translateBool()
[all …]
DCheckpoint.h26 android::binder::Status cp_supportsCheckpoint(bool& result);
28 android::binder::Status cp_supportsBlockCheckpoint(bool& result);
30 android::binder::Status cp_supportsFileCheckpoint(bool& result);
32 android::binder::Status cp_startCheckpoint(int retry);
34 android::binder::Status cp_commitChanges();
42 android::binder::Status cp_prepareCheckpoint();
44 android::binder::Status cp_restoreCheckpoint(const std::string& mountPoint, int count = 0);
46 android::binder::Status cp_markBootAttempt();
/system/netd/server/
DNetdNativeService.h37 binder::Status isAlive(bool *alive) override;
40 binder::Status firewallReplaceUidChain(
43 binder::Status firewallSetFirewallType(int32_t firewallType) override;
44 binder::Status firewallSetInterfaceRule(const std::string& ifName,
46 binder::Status firewallSetUidRule(int32_t childChain, int32_t uid,
48 binder::Status firewallEnableChildChain(int32_t childChain, bool enable) override;
49 binder::Status firewallAddUidInterfaceRules(const std::string& ifName,
51 binder::Status firewallRemoveUidInterfaceRules(const std::vector<int32_t>& uids) override;
54 binder::Status bandwidthEnableDataSaver(bool enable, bool *ret) override;
55 binder::Status bandwidthSetInterfaceQuota(const std::string& ifName, int64_t bytes) override;
[all …]
DNetdNativeService.cpp69 binder::Status checkAnyPermission(const std::vector<const char*>& permissions) { in checkAnyPermission()
83 return binder::Status::ok(); in checkAnyPermission()
88 return binder::Status::ok(); in checkAnyPermission()
94 return binder::Status::fromExceptionCode(binder::Status::EX_SECURITY, err.c_str()); in checkAnyPermission()
99 binder::Status status = checkAnyPermission({__VA_ARGS__}); \
129 binder::Status asBinderStatus(const netdutils::Status& status) { in asBinderStatus()
131 return binder::Status::ok(); in asBinderStatus()
133 return binder::Status::fromServiceSpecificError(status.code(), status.msg().c_str()); in asBinderStatus()
136 inline binder::Status statusFromErrcode(int ret) { in statusFromErrcode()
138 return binder::Status::fromServiceSpecificError(-ret, strerror(-ret)); in statusFromErrcode()
[all …]
/system/update_engine/
Dbinder_service_brillo.h54 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 …]
Dbinder_service_android.h51 android::binder::Status applyPayload(
56 android::binder::Status bind(
59 android::binder::Status unbind(
62 android::binder::Status suspend() override;
63 android::binder::Status resume() override;
64 android::binder::Status cancel() override;
65 android::binder::Status resetStatus() override;
66 android::binder::Status verifyPayloadApplicable(
/system/core/libbinderwrapper/
Dstub_binder_wrapper.cc32 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 …]
Dreal_binder_wrapper.cc58 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/netd/tests/
DTestUnsolService.cpp82 binder::Status TestUnsolService::onInterfaceClassActivityChanged(bool isActive, int label, in onInterfaceClassActivityChanged()
86 return binder::Status::ok(); in onInterfaceClassActivityChanged()
89 binder::Status TestUnsolService::onQuotaLimitReached(const std::string& alertName, in onQuotaLimitReached()
92 return binder::Status::ok(); in onQuotaLimitReached()
95 binder::Status TestUnsolService::onInterfaceDnsServerInfo(const std::string& ifName, in onInterfaceDnsServerInfo()
100 return binder::Status::ok(); in onInterfaceDnsServerInfo()
103 binder::Status TestUnsolService::onInterfaceAddressUpdated(const std::string&, in onInterfaceAddressUpdated()
106 return binder::Status::ok(); in onInterfaceAddressUpdated()
109 binder::Status TestUnsolService::onInterfaceAddressRemoved(const std::string& addr, in onInterfaceAddressRemoved()
114 return binder::Status::ok(); in onInterfaceAddressRemoved()
[all …]
DTestUnsolService.h56 binder::Status onInterfaceClassActivityChanged(bool isActive, int label, int64_t timestamp,
58 binder::Status onQuotaLimitReached(const std::string& alertName,
60 binder::Status onInterfaceDnsServerInfo(const std::string& ifName, int64_t lifetime,
62 binder::Status onInterfaceAddressUpdated(const std::string& addr, const std::string& ifName,
64 binder::Status onInterfaceAddressRemoved(const std::string& addr, const std::string& ifName,
66 binder::Status onInterfaceAdded(const std::string& ifName) override;
67 binder::Status onInterfaceRemoved(const std::string& ifName) override;
68 binder::Status onInterfaceChanged(const std::string& ifName, bool status) override;
69 binder::Status onInterfaceLinkStateChanged(const std::string& ifName, bool status) override;
70 binder::Status onRouteChanged(bool updated, const std::string& route,
[all …]
/system/netd/resolv/tests/
DBaseTestMetricsListener.cpp32 android::binder::Status BaseTestMetricsListener::onDnsEvent( in onDnsEvent()
37 return android::binder::Status::ok(); in onDnsEvent()
40 android::binder::Status BaseTestMetricsListener::onPrivateDnsValidationEvent( in onPrivateDnsValidationEvent()
44 return android::binder::Status::ok(); in onPrivateDnsValidationEvent()
47 android::binder::Status BaseTestMetricsListener::onConnectEvent( in onConnectEvent()
51 return android::binder::Status::ok(); in onConnectEvent()
54 android::binder::Status BaseTestMetricsListener::onWakeupEvent( in onWakeupEvent()
60 return android::binder::Status::ok(); in onWakeupEvent()
63 android::binder::Status BaseTestMetricsListener::onTcpSocketStatsEvent( in onTcpSocketStatsEvent()
68 return android::binder::Status::ok(); in onTcpSocketStatsEvent()
[all …]
/system/security/keystore/
Dkey_store_service.h54 ::android::binder::Status getState(int32_t userId, int32_t* _aidl_return) override;
55 ::android::binder::Status get(const ::android::String16& name, int32_t uid,
57 ::android::binder::Status insert(const ::android::String16& name,
60 ::android::binder::Status del(const ::android::String16& name, int32_t uid,
62 ::android::binder::Status exist(const ::android::String16& name, int32_t uid,
64 ::android::binder::Status list(const ::android::String16& namePrefix, int32_t uid,
66 ::android::binder::Status listUidsOfAuthBoundKeys(std::vector<::std::string>* uids,
69 ::android::binder::Status reset(int32_t* _aidl_return) override;
70 ::android::binder::Status onUserPasswordChanged(int32_t userId,
73 ::android::binder::Status lock(int32_t userId, int32_t* _aidl_return) override;
[all …]
/system/gsid/
Dgsi_service.h42 binder::Status startGsiInstall(int64_t gsiSize, int64_t userdataSize, bool wipeUserdata,
44 binder::Status beginGsiInstall(const GsiInstallParams& params, int* _aidl_return) override;
45 binder::Status commitGsiChunkFromStream(const ::android::os::ParcelFileDescriptor& stream,
47 binder::Status getInstallProgress(::android::gsi::GsiProgress* _aidl_return) override;
48 binder::Status commitGsiChunkFromMemory(const ::std::vector<uint8_t>& bytes,
50 binder::Status cancelGsiInstall(bool* _aidl_return) override;
51 binder::Status setGsiBootable(bool oneShot, int* _aidl_return) override;
52 binder::Status isGsiEnabled(bool* _aidl_return) override;
53 binder::Status removeGsiInstall(bool* _aidl_return) override;
54 binder::Status disableGsiInstall(bool* _aidl_return) override;
[all …]
/system/bt/service/
DAndroid.bp45 "ipc/binder/bluetooth_a2dp_sink_binder_server.cc",
46 "ipc/binder/bluetooth_a2dp_source_binder_server.cc",
47 "ipc/binder/bluetooth_avrcp_control_binder_server.cc",
48 "ipc/binder/bluetooth_avrcp_target_binder_server.cc",
49 "ipc/binder/bluetooth_binder_server.cc",
50 "ipc/binder/bluetooth_gatt_client_binder_server.cc",
51 "ipc/binder/bluetooth_gatt_server_binder_server.cc",
52 "ipc/binder/bluetooth_le_advertiser_binder_server.cc",
53 "ipc/binder/bluetooth_le_scanner_binder_server.cc",
54 "ipc/binder/bluetooth_low_energy_binder_server.cc",
[all …]
/system/bt/service/ipc/binder/
Dbluetooth_a2dp_sink_binder_server.h35 namespace binder {
46 android::binder::Status Register(
50 android::binder::Status Enable(bool* _aidl_return) override;
51 android::binder::Status Disable(bool* _aidl_return) override;
52 android::binder::Status Unregister() override;
53 android::binder::Status Connect(const android::String16& device_address,
55 android::binder::Status Disconnect(const android::String16& device_address,
57 android::binder::Status SetAudioFocusState(int state,
59 android::binder::Status SetAudioTrackGain(float gain,
Dbluetooth_avrcp_target_binder_server.h36 namespace binder {
49 android::binder::Status Register(
53 android::binder::Status Unregister(int32_t id) override;
54 android::binder::Status UnregisterAll() override;
55 android::binder::Status Enable(bool* _aidl_return) override;
56 android::binder::Status Disable(bool* _aidl_return) override;
57 android::binder::Status GetPlayStatusResponse(const android::String16& addr,
62 android::binder::Status ListPlayerAppAttrResponse(
65 android::binder::Status GetPlayerAppValueResponse(
69 android::binder::Status GetPlayerAppAttrTextResponse(
[all …]
Dbluetooth_avrcp_control_binder_server.h35 namespace binder {
46 android::binder::Status Register(
50 android::binder::Status Unregister(int32_t id) override;
51 android::binder::Status UnregisterAll() override;
52 android::binder::Status Enable(int32_t id, bool* _aidl_return) override;
53 android::binder::Status Disable(int32_t id, bool* _aidl_return) override;
54 android::binder::Status SendPassThroughCommand(
57 android::binder::Status SetAbsVolumeResponse(
60 android::binder::Status RegisterForAbsVolumeCallbackResponse(
Dbluetooth_a2dp_source_binder_server.h36 namespace binder {
49 android::binder::Status Register(
53 android::binder::Status Unregister() override;
54 android::binder::Status Enable(
58 android::binder::Status Disable(bool* _aidl_return) override;
59 android::binder::Status Connect(const android::String16& device_address,
61 android::binder::Status Disconnect(const android::String16& device_address,
63 android::binder::Status ConfigCodec(
/system/connectivity/wificond/
Dclient_interface_binder.h41 ::android::binder::Status getPacketCounters(
43 ::android::binder::Status signalPoll(
45 ::android::binder::Status getMacAddress(
47 ::android::binder::Status getInterfaceName(std::string* out_name) override;
48 ::android::binder::Status getWifiScannerImpl(
50 ::android::binder::Status setMacAddress(
52 ::android::binder::Status SendMgmtFrame(
Dserver.h51 android::binder::Status RegisterCallback(
54 android::binder::Status UnregisterCallback(
58 android::binder::Status getAvailable2gChannels(
61 android::binder::Status getAvailable5gNonDFSChannels(
64 android::binder::Status getAvailableDFSChannels(
67 android::binder::Status createApInterface(
72 android::binder::Status createClientInterface(
77 android::binder::Status tearDownApInterface(
81 android::binder::Status tearDownClientInterface(
85 android::binder::Status tearDownInterfaces() override;
[all …]
Dap_interface_binder.cpp75 binder::Status ApInterfaceBinder::registerCallback( in registerCallback()
79 return binder::Status::ok(); in registerCallback()
82 binder::Status ApInterfaceBinder::getInterfaceName(std::string* out_name) { in getInterfaceName()
84 return binder::Status::ok(); in getInterfaceName()
87 binder::Status ApInterfaceBinder::getNumberOfAssociatedStations( in getNumberOfAssociatedStations()
90 return binder::Status::ok(); in getNumberOfAssociatedStations()
/system/connectivity/wificond/scanning/
Dscanner_impl.h49 ::android::binder::Status getScanResults(
54 ::android::binder::Status getPnoScanResults(
57 ::android::binder::Status scan(
61 ::android::binder::Status startPnoScan(
64 ::android::binder::Status stopPnoScan(bool* out_success) override;
65 ::android::binder::Status abortScan() override;
67 ::android::binder::Status subscribeScanEvents(
69 ::android::binder::Status unsubscribeScanEvents() override;
70 ::android::binder::Status subscribePnoScanEvents(
73 ::android::binder::Status unsubscribePnoScanEvents() override;
/system/core/storaged/include/
Dstoraged_service.h40 binder::Status onUserStarted(int32_t userId);
41 binder::Status onUserStopped(int32_t userId);
42 binder::Status getRecentPerf(int32_t* _aidl_return);
50 binder::Status dumpUids(vector<UidInfo>* _aidl_return);
51 binder::Status dumpPerfHistory(vector<int32_t>* _aidl_return);
/system/sepolicy/prebuilts/api/29.0/private/
Ddumpstate.te19 # Allow dumpstate to make binder calls to incidentd
22 # Allow dumpstate to make binder calls to storaged service
25 # Allow dumpstate to make binder calls to statsd
28 # Allow dumpstate to talk to gpuservice over binder
31 # Allow dumpstate to talk to idmap over binder
47 dontaudit dumpstate perfprofd:binder call;
48 dontaudit dumpstate update_engine:binder call;

12345678910>>...15