/system/security/keystore/ |
D | operation.h | 36 using ::android::IBinder; 49 explicit OperationMap(IBinder::DeathRecipient* deathRecipient); 50 sp<IBinder> addOperation(uint64_t handle, uint64_t keyid, KeyPurpose purpose, 51 const sp<Keymaster>& dev, const sp<IBinder>& appToken, 54 NullOr<const Operation&> getOperation(const sp<IBinder>& token); 55 NullOr<Operation> removeOperation(const sp<IBinder>& token, bool wasSuccessful); 59 void setOperationAuthToken(const sp<IBinder>& token, HardwareAuthToken authToken); 60 void setOperationVerificationToken(const sp<IBinder>& token, VerificationToken authToken); 61 sp<IBinder> getOldestPruneableOperation(); 62 std::vector<sp<IBinder>> getOperationsForToken(const sp<IBinder>& appToken); [all …]
|
D | operation.cpp | 24 OperationMap::OperationMap(IBinder::DeathRecipient* deathRecipient) in OperationMap() 27 sp<IBinder> OperationMap::addOperation(uint64_t handle, uint64_t keyid, KeyPurpose purpose, in addOperation() 28 const sp<Keymaster>& dev, const sp<IBinder>& appToken, in addOperation() 31 sp<IBinder> token = new ::android::BBinder(); in addOperation() 40 NullOr<const Operation&> OperationMap::getOperation(const sp<IBinder>& token) { in getOperation() 48 void OperationMap::updateLru(const sp<IBinder>& token) { in updateLru() 56 NullOr<Operation> OperationMap::removeOperation(const sp<IBinder>& token, bool wasSuccessful) { in removeOperation() 70 void OperationMap::removeOperationTracking(const sp<IBinder>& token, const sp<IBinder>& appToken) { in removeOperationTracking() 93 sp<IBinder> OperationMap::getOldestPruneableOperation() { in getOldestPruneableOperation() 94 if (!hasPruneableOperation()) return sp<IBinder>(nullptr); in getOldestPruneableOperation() [all …]
|
D | confirmation_manager.h | 45 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;
|
D | operation_struct.h | 30 using ::android::IBinder; 37 KeyCharacteristics&& characteristics_, sp<IBinder> appToken_, in Operation() 51 sp<IBinder> appToken;
|
D | confirmation_manager.cpp | 33 using android::IBinder; 50 ConfirmationManager::ConfirmationManager(IBinder::DeathRecipient* deathRecipient) in ConfirmationManager() 54 Status ConfirmationManager::presentConfirmationPrompt(const sp<IBinder>& listener, in presentConfirmationPrompt() 107 Status ConfirmationManager::cancelConfirmationPrompt(const sp<IBinder>& listener, in cancelConfirmationPrompt() 148 sp<IBinder> listener = mCurrentListener; in finalizeTransaction() 193 void ConfirmationManager::binderDied(const wp<IBinder>& who) { in binderDied()
|
/system/libhwbinder/include/hwbinder/ |
D | ProcessState.h | 43 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); 85 IBinder* binder; [all …]
|
D | IInterface.h | 31 static sp<IBinder> asBinder(const IInterface*); 32 static sp<IBinder> asBinder(const sp<IInterface>&); 35 virtual IBinder* onAsBinder() = 0; 44 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()
|
D | IBinder.h | 42 class IBinder : public virtual RefBase 52 IBinder(); 63 virtual void binderDied(const wp<IBinder>& who) = 0; 119 virtual ~IBinder();
|
D | Parcel.h | 38 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 …]
|
D | Binder.h | 28 class BHwBinder : public IBinder 85 BpHwRefBase(const sp<IBinder>& o); 91 inline IBinder* remote() const { return mRemote; } in remote() 97 IBinder* const mRemote;
|
/system/core/libbinderwrapper/ |
D | stub_binder_wrapper.cc | 32 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()
|
D | real_binder_wrapper.h | 27 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_;
|
D | real_binder_wrapper.cc | 30 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/libbinderwrapper/include/binderwrapper/ |
D | stub_binder_wrapper.h | 86 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_;
|
D | binder_wrapper.h | 30 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/gatekeeperd/ |
D | IGateKeeperService.h | 31 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/ |
D | Binder.cpp | 33 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() 185 BpHwRefBase::BpHwRefBase(const sp<IBinder>& o) in BpHwRefBase()
|
D | ProcessState.cpp | 95 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() 228 sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) in getStrongProxyForHandle() 230 sp<IBinder> result; in getStrongProxyForHandle() 240 IBinder* b = e->binder; in getStrongProxyForHandle() 258 wp<IBinder> ProcessState::getWeakProxyForHandle(int32_t handle) in getWeakProxyForHandle() 260 wp<IBinder> result; in getWeakProxyForHandle() [all …]
|
D | IInterface.cpp | 34 sp<IBinder> IInterface::asBinder(const IInterface* iface) in asBinder() 41 sp<IBinder> IInterface::asBinder(const sp<IInterface>& iface) in asBinder()
|
/system/libhidl/transport/token/1.0/utils/include/hidl/ |
D | HybridInterface.h | 127 const sp<IBinder::DeathRecipient>& recipient, 131 const wp<IBinder::DeathRecipient>& recipient, 134 wp<IBinder::DeathRecipient>* outRecipient = nullptr); 139 wp<IBinder::DeathRecipient> recipient; 142 wp<IBinder> who; 144 const wp<IBinder::DeathRecipient>& r, in Obituary() 146 const wp<IBinder>& w) : in Obituary() 163 sp<IBinder::DeathRecipient> dr = recipient.promote(); in serviceDied() 184 explicit HpInterface(const sp<IBinder>& impl); 189 IBinder* mImpl; [all …]
|
/system/bt/service/ipc/binder/ |
D | remote_callback_list.h | 70 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/ |
D | ITestService.aidl | 78 List<IBinder> ReverseNamedCallbackList(in List<IBinder> input, in ReverseNamedCallbackList() 79 out List<IBinder> repeated); in ReverseNamedCallbackList() 94 void TakesAnIBinder(in IBinder input); in TakesAnIBinder() 95 void TakesAnIBinderList(in List<IBinder> input); in TakesAnIBinderList() 96 void TakesANullableIBinder(in @nullable IBinder input); in TakesANullableIBinder() 97 void TakesANullableIBinderList(in @nullable List<IBinder> input); in TakesANullableIBinderList()
|
/system/security/keystore/binder/android/security/ |
D | IKeystoreService.aidl | 67 OperationResult begin(IBinder appToken, String alias, int purpose, boolean pruneable, in begin() 69 OperationResult update(IBinder token, in KeymasterArguments params, in byte[] input); in update() 70 OperationResult finish(IBinder token, in KeymasterArguments params, in byte[] signature, in finish() 72 int abort(IBinder handle); in abort() 73 boolean isOperationAuthorized(IBinder token); in isOperationAuthorized() 84 int presentConfirmationPrompt(IBinder listener, String promptText, in byte[] extraData, in presentConfirmationPrompt() 86 int cancelConfirmationPrompt(IBinder listener); in cancelConfirmationPrompt()
|
/system/bt/binder/android/bluetooth/ |
D | IBluetoothProfileServiceConnection.aidl | 20 import android.os.IBinder; 28 void onServiceConnected(in ComponentName comp, in IBinder service); in onServiceConnected()
|
/system/tools/aidl/tests/ |
D | aidl_test_client_nullables.cpp | 138 sp<IBinder> binder = new BBinder(); in CheckAppropriateIBinderHandling() 139 sp<IBinder> null_binder = nullptr; in CheckAppropriateIBinderHandling() 140 unique_ptr<vector<sp<IBinder>>> list_with_nulls( in CheckAppropriateIBinderHandling() 141 new vector<sp<IBinder>>{binder, null_binder}); in CheckAppropriateIBinderHandling() 142 unique_ptr<vector<sp<IBinder>>> list_without_nulls( in CheckAppropriateIBinderHandling() 143 new vector<sp<IBinder>>{binder, binder}); in CheckAppropriateIBinderHandling()
|