Home
last modified time | relevance | path

Searched refs:IBinder (Results 1 – 25 of 108) sorted by relevance

12345

/system/security/keystore/
Doperation.h41 using ::android::IBinder;
54 explicit OperationMap(IBinder::DeathRecipient* deathRecipient);
55 sp<IBinder> addOperation(uint64_t handle, uint64_t keyid, KeyPurpose purpose,
56 const sp<Keymaster>& dev, const sp<IBinder>& appToken,
59 std::shared_ptr<Operation> getOperation(const sp<IBinder>& token);
60 std::shared_ptr<Operation> removeOperation(const sp<IBinder>& token, bool wasSuccessful);
62 sp<IBinder> getOldestPruneableOperation();
63 std::vector<sp<IBinder>> getOperationsForToken(const sp<IBinder>& appToken);
66 void updateLru(const sp<IBinder>& token);
67 void removeOperationTracking(const sp<IBinder>& token, const sp<IBinder>& appToken);
[all …]
Doperation.cpp26 OperationMap::OperationMap(IBinder::DeathRecipient* deathRecipient) in OperationMap()
29 sp<IBinder> OperationMap::addOperation(uint64_t handle, uint64_t keyid, KeyPurpose purpose, in addOperation()
30 const sp<Keymaster>& dev, const sp<IBinder>& appToken, in addOperation()
33 sp<IBinder> token = new ::android::BBinder(); in addOperation()
42 std::shared_ptr<Operation> OperationMap::getOperation(const sp<IBinder>& token) { in getOperation()
52 void OperationMap::updateLru(const sp<IBinder>& token) { in updateLru()
60 std::shared_ptr<Operation> OperationMap::removeOperation(const sp<IBinder>& token, in removeOperation()
75 void OperationMap::removeOperationTracking(const sp<IBinder>& token, const sp<IBinder>& appToken) { in removeOperationTracking()
90 sp<IBinder> OperationMap::getOldestPruneableOperation() { in getOldestPruneableOperation()
96 std::vector<sp<IBinder>> OperationMap::getOperationsForToken(const sp<IBinder>& appToken) { in getOperationsForToken()
Dconfirmation_manager.h45 explicit ConfirmationManager(android::IBinder::DeathRecipient* deathRecipient);
52 Status presentConfirmationPrompt(const android::sp<android::IBinder>& listener,
63 Status cancelConfirmationPrompt(const android::sp<android::IBinder>& listener,
73 void binderDied(const android::wp<android::IBinder>& who);
95 android::sp<android::IBinder> mCurrentListener;
97 android::IBinder::DeathRecipient* mDeathRecipient;
Doperation_struct.h33 using ::android::IBinder;
40 KeyCharacteristics&& characteristics_, sp<IBinder> appToken_, in Operation()
55 sp<IBinder> appToken;
/system/libhwbinder/include/hwbinder/
DProcessState.h43 void setContextObject(const sp<IBinder>& object);
44 sp<IBinder> getContextObject(const sp<IBinder>& caller);
46 void setContextObject(const sp<IBinder>& object,
48 sp<IBinder> getContextObject(const String16& name,
49 const sp<IBinder>& caller);
54 const sp<IBinder>& caller,
62 sp<IBinder> getStrongProxyForHandle(int32_t handle);
63 wp<IBinder> getWeakProxyForHandle(int32_t handle);
64 void expungeHandle(int32_t handle, IBinder* binder);
103 IBinder* binder;
[all …]
DIInterface.h31 static sp<IBinder> asBinder(const IInterface*);
32 static sp<IBinder> asBinder(const sp<IInterface>&);
35 virtual IBinder* onAsBinder() = 0;
44 explicit BpInterface(const sp<IBinder>& remote);
45 virtual IBinder* onAsBinder();
55 inline BpInterface<INTERFACE>::BpInterface(const sp<IBinder>& remote) in BpInterface()
61 inline IBinder* BpInterface<INTERFACE>::onAsBinder() in onAsBinder()
DIBinder.h42 class IBinder : public virtual RefBase
52 IBinder();
63 virtual void binderDied(const wp<IBinder>& who) = 0;
139 virtual ~IBinder();
DBinder.h28 class BHwBinder : public IBinder
94 explicit BpHwRefBase(const sp<IBinder>& o);
101 inline IBinder* remote() const { return mRemote; } in remote()
107 IBinder* const mRemote;
DParcel.h38 class IBinder; variable
68 bool checkInterface(IBinder*) const;
98 status_t writeStrongBinder(const sp<IBinder>& val);
99 status_t writeWeakBinder(const wp<IBinder>& val);
154 sp<IBinder> readStrongBinder() const;
155 status_t readStrongBinder(sp<IBinder>* val) const;
156 status_t readNullableStrongBinder(sp<IBinder>* val) const;
157 wp<IBinder> readWeakBinder() const;
328 const sp<IBinder>& binder, flat_binder_object* out);
330 const wp<IBinder>& binder, flat_binder_object* out);
[all …]
/system/core/libbinderwrapper/include/binderwrapper/
Dstub_binder_wrapper.h86 const sp<IBinder>& binder);
90 sp<IBinder> GetRegisteredService(const std::string& service_name) const;
93 void NotifyAboutBinderDeath(const sp<IBinder>& binder);
96 sp<IBinder> GetService(const std::string& service_name) override;
98 const sp<IBinder>& binder) override;
100 bool RegisterForDeathNotifications(const sp<IBinder>& binder,
102 bool UnregisterForDeathNotifications(const sp<IBinder>& binder) override;
107 using ServiceMap = std::map<std::string, sp<IBinder>>;
122 std::map<sp<IBinder>, ::base::Closure> death_callbacks_;
Dbinder_wrapper.h30 class IBinder; variable
60 virtual sp<IBinder> GetService(const std::string& service_name) = 0;
64 const sp<IBinder>& binder) = 0;
72 const sp<IBinder>& binder,
76 virtual bool UnregisterForDeathNotifications(const sp<IBinder>& binder) = 0;
/system/core/libbinderwrapper/
Dstub_binder_wrapper.cc32 const sp<IBinder>& binder) { in SetBinderForService()
36 sp<IBinder> StubBinderWrapper::GetRegisteredService( in GetRegisteredService()
39 return it != registered_services_.end() ? it->second : sp<IBinder>(); in GetRegisteredService()
42 void StubBinderWrapper::NotifyAboutBinderDeath(const sp<IBinder>& binder) { in NotifyAboutBinderDeath()
48 sp<IBinder> StubBinderWrapper::GetService(const std::string& service_name) { in GetService()
50 return it != services_to_return_.end() ? it->second : sp<IBinder>(); in GetService()
54 const sp<IBinder>& binder) { in RegisterService()
66 const sp<IBinder>& binder, in RegisterForDeathNotifications()
73 const sp<IBinder>& binder) { in UnregisterForDeathNotifications()
Dreal_binder_wrapper.h27 class IBinder; variable
36 sp<IBinder> GetService(const std::string& service_name) override;
38 const sp<IBinder>& binder) override;
40 bool RegisterForDeathNotifications(const sp<IBinder>& binder,
42 bool UnregisterForDeathNotifications(const sp<IBinder>& binder) override;
51 std::map<sp<IBinder>, sp<DeathRecipient>> death_recipients_;
Dreal_binder_wrapper.cc30 class RealBinderWrapper::DeathRecipient : public IBinder::DeathRecipient {
37 void binderDied(const wp<IBinder>& who) override { in binderDied()
52 sp<IBinder> RealBinderWrapper::GetService(const std::string& service_name) { in GetService()
56 return sp<IBinder>(); in GetService()
58 sp<IBinder> binder = in GetService()
66 const sp<IBinder>& binder) { in RegisterService()
87 const sp<IBinder>& binder, in RegisterForDeathNotifications()
100 const sp<IBinder>& binder) { in UnregisterForDeathNotifications()
/system/core/gatekeeperd/
DIGateKeeperService.h31 ENROLL = IBinder::FIRST_CALL_TRANSACTION + 0,
32 VERIFY = IBinder::FIRST_CALL_TRANSACTION + 1,
33 VERIFY_CHALLENGE = IBinder::FIRST_CALL_TRANSACTION + 2,
34 GET_SECURE_USER_ID = IBinder::FIRST_CALL_TRANSACTION + 3,
35 CLEAR_SECURE_USER_ID = IBinder::FIRST_CALL_TRANSACTION + 4,
36 REPORT_DEVICE_SETUP_COMPLETE = IBinder::FIRST_CALL_TRANSACTION + 5,
/system/libhwbinder/
DBinder.cpp33 IBinder::IBinder() in IBinder() function in android::hardware::IBinder
38 IBinder::~IBinder() in ~IBinder()
44 BHwBinder* IBinder::localBinder() in localBinder()
49 BpHwBinder* IBinder::remoteBinder() in remoteBinder()
54 bool IBinder::checkSubclass(const void* /*subclassID*/) const in checkSubclass()
219 BpHwRefBase::BpHwRefBase(const sp<IBinder>& o) in BpHwRefBase()
DProcessState.cpp95 void ProcessState::setContextObject(const sp<IBinder>& object) in setContextObject()
100 sp<IBinder> ProcessState::getContextObject(const sp<IBinder>& /*caller*/) in getContextObject() argument
105 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) in setContextObject()
111 sp<IBinder> ProcessState::getContextObject(const String16& name, const sp<IBinder>& caller) in getContextObject()
114 sp<IBinder> object( in getContextObject()
265 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) in getStrongProxyForHandle()
267 sp<IBinder> result; in getStrongProxyForHandle()
277 IBinder* b = e->binder; in getStrongProxyForHandle()
295 wp<IBinder> ProcessState::getWeakProxyForHandle(int32_t handle) in getWeakProxyForHandle()
297 wp<IBinder> result; in getWeakProxyForHandle()
[all …]
/system/netd/server/
DOemNetdListener.cpp26 ::android::sp<::android::IBinder> OemNetdListener::getListener() { in getListener()
31 ::android::sp<::android::IBinder> OemNetdListener::getIBinder() { in getIBinder()
56 class DeathRecipient : public ::android::IBinder::DeathRecipient { in registerOemUnsolicitedEventListenerInternal()
62 void binderDied(const ::android::wp<::android::IBinder>& /* who */) override { in registerOemUnsolicitedEventListenerInternal() argument
70 ::android::sp<::android::IBinder::DeathRecipient> deathRecipient = in registerOemUnsolicitedEventListenerInternal()
DOemNetdListener.h35 const ::android::sp<::android::IBinder::DeathRecipient>>;
39 static ::android::sp<::android::IBinder> getListener();
49 ::android::sp<::android::IBinder> mIBinder GUARDED_BY(mMutex);
52 ::android::sp<::android::IBinder> getIBinder() EXCLUDES(mMutex);
DEventReporter.cpp30 android::sp<android::IBinder> b = android::defaultServiceManager()->checkService( in getNetdEventListener()
51 class DeathRecipient : public android::IBinder::DeathRecipient { in registerUnsolEventListener()
57 void binderDied(const android::wp<android::IBinder>& /* who */) override { in registerUnsolEventListener() argument
65 android::sp<android::IBinder::DeathRecipient> deathRecipient = in registerUnsolEventListener()
/system/libhidl/transport/token/1.0/utils/include/hidl/
DHybridInterface.h206 const sp<IBinder::DeathRecipient>& recipient,
210 const wp<IBinder::DeathRecipient>& recipient,
213 wp<IBinder::DeathRecipient>* outRecipient = nullptr);
222 wp<IBinder::DeathRecipient> recipient;
225 wp<IBinder> who;
227 const wp<IBinder::DeathRecipient>& r, in Obituary()
229 const wp<IBinder>& w) : in Obituary()
246 sp<IBinder::DeathRecipient> dr = recipient.promote(); in serviceDied()
282 explicit HpInterface(const sp<IBinder>& impl);
287 IBinder* mBpBinder;
[all …]
/system/bt/service/ipc/binder/
Dremote_callback_list.h70 class CallbackDeathRecipient : public android::IBinder::DeathRecipient {
78 void binderDied(const android::wp<android::IBinder>& who) override;
87 using CallbackMap = std::unordered_map<android::IBinder*,
101 using android::IBinder;
117 sp<IBinder> binder = IInterface::asBinder(callback.get()); in Register()
141 sp<IBinder> binder = IInterface::asBinder(callback.get()); in Unregister()
189 const wp<IBinder>& who) { in binderDied()
192 sp<IBinder> binder = IInterface::asBinder(callback_.get()); in binderDied()
/system/tools/aidl/tests/android/aidl/tests/
DITestService.aidl81 List<IBinder> ReverseNamedCallbackList(in List<IBinder> input, in ReverseNamedCallbackList()
82 out List<IBinder> repeated); in ReverseNamedCallbackList()
101 void TakesAnIBinder(in IBinder input); in TakesAnIBinder()
102 void TakesAnIBinderList(in List<IBinder> input); in TakesAnIBinderList()
103 void TakesANullableIBinder(in @nullable IBinder input); in TakesANullableIBinder()
104 void TakesANullableIBinderList(in @nullable List<IBinder> input); in TakesANullableIBinderList()
/system/security/keystore/binder/android/security/keystore/
DIKeystoreService.aidl58 …int begin(in IKeystoreOperationResultCallback cb, IBinder appToken, String alias, int purpose, boo… in begin()
60 …int update(in IKeystoreOperationResultCallback cb, IBinder token, in KeymasterArguments params, in… in update()
61 …int finish(in IKeystoreOperationResultCallback cb, IBinder token, in KeymasterArguments params, in… in finish()
63 int abort(in IKeystoreResponseCallback cb, IBinder token); in abort()
73 int presentConfirmationPrompt(IBinder listener, String promptText, in byte[] extraData, in presentConfirmationPrompt()
75 int cancelConfirmationPrompt(IBinder listener); in cancelConfirmationPrompt()
/system/bt/binder/android/bluetooth/
DIBluetoothProfileServiceConnection.aidl20 import android.os.IBinder;
28 void onServiceConnected(in ComponentName comp, in IBinder service); in onServiceConnected()

12345