Home
last modified time | relevance | path

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

12345678910>>...17

/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 …]
DVoldNativeServiceValidation.cpp33 binder::Status Ok() { in Ok()
34 return binder::Status::ok(); in Ok()
37 binder::Status Exception(uint32_t code, const std::string& msg) { in Exception()
38 return binder::Status::fromExceptionCode(code, String8(msg.c_str())); in Exception()
41 binder::Status CheckPermission(const char* permission) { in CheckPermission()
49 return Exception(binder::Status::EX_SECURITY, in CheckPermission()
54 binder::Status CheckUidOrRoot(uid_t expectedUid) { in CheckUidOrRoot()
59 return Exception(binder::Status::EX_SECURITY, in CheckUidOrRoot()
64 binder::Status CheckArgumentId(const std::string& id) { in CheckArgumentId()
66 return Exception(binder::Status::EX_ILLEGAL_ARGUMENT, "Missing ID"); in CheckArgumentId()
[all …]
DVoldNativeService.cpp57 static binder::Status error(const std::string& msg) { in error()
59 return binder::Status::fromServiceSpecificError(errno, String8(msg.c_str())); in error()
62 static binder::Status translate(int status) { in translate()
64 return binder::Status::ok(); in translate()
66 return binder::Status::fromServiceSpecificError(status); in translate()
70 static binder::Status translateBool(bool status) { in translateBool()
72 return binder::Status::ok(); in translateBool()
74 return binder::Status::fromServiceSpecificError(status); in translateBool()
80 binder::Status status = CheckUidOrRoot(AID_SYSTEM); \
88 binder::Status status = CheckArgumentId((id)); \
[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();
44 android::binder::Status cp_prepareCheckpoint();
46 android::binder::Status cp_restoreCheckpoint(const std::string& mountPoint, int count = 0);
48 android::binder::Status cp_markBootAttempt();
DVoldNativeServiceValidation.h28 binder::Status Ok();
29 binder::Status Exception(uint32_t code, const std::string& msg);
31 binder::Status CheckPermission(const char* permission);
32 binder::Status CheckUidOrRoot(uid_t expectedUid);
33 binder::Status CheckArgumentId(const std::string& id);
34 binder::Status CheckArgumentPath(const std::string& path);
35 binder::Status CheckArgumentHex(const std::string& hex);
/system/netd/server/
DNetdNativeService.h37 binder::Status isAlive(bool *alive) override;
40 binder::Status firewallReplaceUidChain(const std::string& chainName, bool isAllowlist,
42 binder::Status firewallSetFirewallType(int32_t firewallType) override;
43 binder::Status firewallSetInterfaceRule(const std::string& ifName,
45 binder::Status firewallSetUidRule(int32_t childChain, int32_t uid,
47 binder::Status firewallEnableChildChain(int32_t childChain, bool enable) override;
48 binder::Status firewallAddUidInterfaceRules(const std::string& ifName,
50 binder::Status firewallRemoveUidInterfaceRules(const std::vector<int32_t>& uids) override;
53 binder::Status bandwidthEnableDataSaver(bool enable, bool *ret) override;
54 binder::Status bandwidthSetInterfaceQuota(const std::string& ifName, int64_t bytes) override;
[all …]
DNetdNativeService.cpp70 binder::Status checkAnyPermission(const std::vector<const char*>& permissions) { in checkAnyPermission()
86 return binder::Status::ok(); in checkAnyPermission()
94 return binder::Status::ok(); in checkAnyPermission()
101 return binder::Status::ok(); in checkAnyPermission()
107 return binder::Status::fromExceptionCode(binder::Status::EX_SECURITY, err.c_str()); in checkAnyPermission()
112 binder::Status status = checkAnyPermission({__VA_ARGS__}); \
139 binder::Status asBinderStatus(const netdutils::Status& status) { in asBinderStatus()
141 return binder::Status::ok(); in asBinderStatus()
143 return binder::Status::fromServiceSpecificError(status.code(), status.msg().c_str()); in asBinderStatus()
147 binder::Status asBinderStatus(const base::Result<T> result) { in asBinderStatus()
[all …]
/system/gsid/
Dgsi_service.h41 binder::Status openInstall(const std::string& install_dir, int* _aidl_return) override;
42 binder::Status closeInstall(int32_t* _aidl_return) override;
43 binder::Status createPartition(const ::std::string& name, int64_t size, bool readOnly,
45 binder::Status commitGsiChunkFromStream(const ::android::os::ParcelFileDescriptor& stream,
47 binder::Status getInstallProgress(::android::gsi::GsiProgress* _aidl_return) override;
48 binder::Status setGsiAshmem(const ::android::os::ParcelFileDescriptor& ashmem, int64_t size,
50 binder::Status commitGsiChunkFromAshmem(int64_t bytes, bool* _aidl_return) override;
51 binder::Status cancelGsiInstall(bool* _aidl_return) override;
52 binder::Status enableGsi(bool oneShot, const std::string& dsuSlot, int* _aidl_return) override;
53 binder::Status enableGsiAsync(bool oneShot, const ::std::string& dsuSlot,
[all …]
Dgsi_service.cpp61 using android::binder::LazyServiceRegistrar;
85 binder::Status status = CheckUid(); \
91 binder::Status status = CheckUid(AccessLevel::SystemOrShell); \
114 binder::Status GsiService::openInstall(const std::string& install_dir, int* _aidl_return) { in openInstall()
119 return binder::Status::ok(); in openInstall()
124 return binder::Status::ok(); in openInstall()
133 return binder::Status::ok(); in openInstall()
136 binder::Status GsiService::closeInstall(int* _aidl_return) { in closeInstall()
146 return binder::Status::ok(); in closeInstall()
149 binder::Status GsiService::createPartition(const ::std::string& name, int64_t size, bool readOnly, in createPartition()
[all …]
/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/security/identity/
DAndroid.bp50 "binder/android/security/identity/ICredential.aidl",
51 "binder/android/security/identity/IWritableCredential.aidl",
52 "binder/android/security/identity/ICredentialStore.aidl",
53 "binder/android/security/identity/AccessControlProfileParcel.aidl",
54 "binder/android/security/identity/EntryNamespaceParcel.aidl",
55 "binder/android/security/identity/EntryParcel.aidl",
56 "binder/android/security/identity/RequestNamespaceParcel.aidl",
57 "binder/android/security/identity/RequestEntryParcel.aidl",
58 "binder/android/security/identity/ResultNamespaceParcel.aidl",
59 "binder/android/security/identity/ResultEntryParcel.aidl",
[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/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 onUserPasswordChanged(int32_t userId,
72 ::android::binder::Status lock(int32_t userId, int32_t* _aidl_return) override;
73 ::android::binder::Status unlock(int32_t userId, const ::android::String16& userPassword,
[all …]
/system/update_engine/
Dbinder_service_android.h51 android::binder::Status applyPayload(
56 android::binder::Status applyPayloadFd(
61 android::binder::Status bind(
64 android::binder::Status unbind(
67 android::binder::Status suspend() override;
68 android::binder::Status resume() override;
69 android::binder::Status cancel() override;
70 android::binder::Status resetStatus() override;
71 android::binder::Status verifyPayloadApplicable(
73 android::binder::Status allocateSpaceForPayload(
[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/extras/profcollectd/libprofcollectd/
Dbinder_service.h35 binder::Status ReadConfig() override;
36 binder::Status ScheduleCollection() override;
37 binder::Status TerminateCollection() override;
38 binder::Status TraceOnce(const std::string& tag) override;
39 binder::Status ProcessProfile() override;
40 binder::Status GetSupportedProvider(std::string* provider) override;
/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 …]
/system/connectivity/wificond/scanning/
Dscanner_impl.h44 ::android::binder::Status getScanResults(
49 ::android::binder::Status getPnoScanResults(
52 ::android::binder::Status scan(
56 ::android::binder::Status startPnoScan(
59 ::android::binder::Status stopPnoScan(bool* out_success) override;
60 ::android::binder::Status abortScan() override;
62 ::android::binder::Status subscribeScanEvents(
64 ::android::binder::Status unsubscribeScanEvents() override;
65 ::android::binder::Status subscribePnoScanEvents(
68 ::android::binder::Status unsubscribePnoScanEvents() override;

12345678910>>...17