Searched refs:sp (Results 1 - 25 of 266) sorted by relevance

1234567891011

/system/core/libpixelflinger/codeflinger/tinyutils/
H A Dsmartpointer.h31 inline bool operator _op_ (const sp<T>& o) const { \
38 inline bool operator _op_ (const sp<U>& o) const { \
49 class sp class in namespace:android::tinyutils
52 inline sp() : m_ptr(0) { } function in class:android::tinyutils::sp
54 sp(T* other); // NOLINT, implicit
55 sp(const sp<T>& other);
56 template<typename U> sp(U* other); // NOLINT, implicit
57 template<typename U> sp(const sp<
104 sp<T>::sp(const sp<T>& other) function in class:android::tinyutils::sp
111 sp<T>::sp(U* other) : m_ptr(other) function in class:android::tinyutils::sp
117 sp<T>::sp(const sp<U>& other) function in class:android::tinyutils::sp
[all...]
/system/tools/aidl/tests/
H A Daidl_test_client_primitives.h30 bool ConfirmPrimitiveRepeat(const sp<ITestService>& s);
31 bool ConfirmReverseArrays(const android::sp<ITestService>& s);
32 bool ConfirmReverseLists(const android::sp<ITestService>& s);
33 bool ConfirmReverseBinderLists(const android::sp<ITestService>& s);
H A Daidl_test_client_utf8_strings.h31 const android::sp<android::aidl::tests::ITestService>& s);
33 const android::sp<android::aidl::tests::ITestService>& s);
35 const android::sp<android::aidl::tests::ITestService>& s);
H A Daidl_test_client_file_descriptors.h30 bool ConfirmFileDescriptors(const sp<ITestService>& s);
31 bool ConfirmFileDescriptorArrays(const sp<ITestService>& s);
H A Daidl_test_client_parcelables.h30 bool ConfirmSimpleParcelables(const sp<ITestService>& s);
31 bool ConfirmPersistableBundles(const sp<ITestService>& s);
H A Daidl_test_client_nullables.h30 bool ConfirmNullables(const sp<ITestService>& s);
H A Daidl_test_client_service_exceptions.h30 bool ConfirmServiceSpecificExceptions(const sp<ITestService>& s);
/system/core/include/utils/
H A DStrongPointer.h28 inline bool operator _op_ (const sp<T>& o) const { \
35 inline bool operator _op_ (const sp<U>& o) const { \
53 class sp { class in namespace:android
55 inline sp() : m_ptr(0) { } function in class:android::sp
57 sp(T* other); // NOLINT(implicit)
58 sp(const sp<T>& other);
59 sp(sp<T>&& other);
60 template<typename U> sp(
121 sp<T>::sp(const sp<T>& other) function in class:android::sp
128 sp<T>::sp(sp<T>&& other) function in class:android::sp
134 sp<T>::sp(U* other) function in class:android::sp
141 sp<T>::sp(const sp<U>& other) function in class:android::sp
148 sp<T>::sp(sp<U>&& other) function in class:android::sp
[all...]
/system/core/libutils/include/utils/
H A DStrongPointer.h28 inline bool operator _op_ (const sp<T>& o) const { \
35 inline bool operator _op_ (const sp<U>& o) const { \
53 class sp { class in namespace:android
55 inline sp() : m_ptr(0) { } function in class:android::sp
57 sp(T* other); // NOLINT(implicit)
58 sp(const sp<T>& other);
59 sp(sp<T>&& other);
60 template<typename U> sp(
121 sp<T>::sp(const sp<T>& other) function in class:android::sp
128 sp<T>::sp(sp<T>&& other) function in class:android::sp
134 sp<T>::sp(U* other) function in class:android::sp
141 sp<T>::sp(const sp<U>& other) function in class:android::sp
148 sp<T>::sp(sp<U>&& other) function in class:android::sp
[all...]
/system/security/keystore/
H A Doperation.h31 using ::android::sp;
41 typedef ::android::sp<::android::hardware::keymaster::V3_0::IKeymasterDevice> km_device_t;
45 android::sp<android::IBinder> addOperation(uint64_t handle, uint64_t keyid, KeyPurpose purpose,
47 const android::sp<android::IBinder>& appToken,
50 bool getOperation(const android::sp<android::IBinder>& token, uint64_t* outHandle,
53 bool removeOperation(const android::sp<android::IBinder>& token);
57 bool getOperationAuthToken(const android::sp<android::IBinder>& token,
59 bool setOperationAuthToken(const android::sp<android::IBinder>& token,
61 android::sp<android::IBinder> getOldestPruneableOperation();
62 std::vector<android::sp<androi
[all...]
/system/core/libbinderwrapper/
H A Dreal_binder_wrapper.h36 sp<IBinder> GetService(const std::string& service_name) override;
38 const sp<IBinder>& binder) override;
39 sp<BBinder> CreateLocalBinder() 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_;
H A Dstub_binder_wrapper.cc32 const sp<IBinder>& binder) {
36 sp<IBinder> StubBinderWrapper::GetRegisteredService(
39 return it != registered_services_.end() ? it->second : sp<IBinder>();
42 void StubBinderWrapper::NotifyAboutBinderDeath(const sp<IBinder>& binder) {
48 sp<IBinder> StubBinderWrapper::GetService(const std::string& service_name) {
50 return it != services_to_return_.end() ? it->second : sp<IBinder>();
54 const sp<IBinder>& binder) {
59 sp<BBinder> StubBinderWrapper::CreateLocalBinder() {
60 sp<BBinder> binder(new BBinder());
66 const sp<IBinde
[all...]
/system/core/libbinderwrapper/include/binderwrapper/
H A Dstub_binder_wrapper.h56 // sp<IBinder> binder(foo);
61 // sp<IBinder> binder = BinderWrapper::Get()->GetService("foo");
63 // sp<IFoo> foo = interface_cast<IFoo>(binder);
75 const std::vector<sp<BBinder>>& local_binders() const {
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;
99 sp<BBinde
[all...]
H A Dbinder_wrapper.h60 virtual sp<IBinder> GetService(const std::string& service_name) = 0;
64 const sp<IBinder>& binder) = 0;
67 virtual sp<BBinder> CreateLocalBinder() = 0;
72 const sp<IBinder>& binder,
76 virtual bool UnregisterForDeathNotifications(const sp<IBinder>& binder) = 0;
/system/core/libpixelflinger/tests/arch-mips64/assembler/
H A Dasm_mips_test_jacket.S44 daddiu $sp, $sp, -96
45 sd $s0, 64($sp)
46 sd $s1, 72($sp)
47 sd $s2, 80($sp)
48 sd $ra, 88($sp)
86 ld $s0, 64($sp)
87 ld $s1, 72($sp)
88 ld $s2, 80($sp)
89 ld $ra, 88($sp)
[all...]
/system/libhwbinder/
H A DIInterface.cpp34 sp<IBinder> IInterface::asBinder(const IInterface* iface)
41 sp<IBinder> IInterface::asBinder(const sp<IInterface>& iface)
/system/media/brillo/audio/audioservice/
H A Daudio_daemon_handler.h34 virtual void Init(android::sp<android::IAudioPolicyService> aps) = 0;
49 virtual void APSConnect(android::sp<android::IAudioPolicyService> aps) = 0;
53 android::sp<android::IAudioPolicyService> aps_;
/system/libhidl/transport/include/hidl/
H A DHidlTransportSupport.h62 bool setMinSchedulerPolicy(const sp<::android::hidl::base::V1_0::IBase>& service,
76 Return<sp<IChild>> castInterface(sp<IParent> parent, const char *childIndicator, bool emitError) {
85 ? details::StatusOf<bool, sp<IChild>>(canCastRet)
86 : Return<sp<IChild>>(sp<IChild>(nullptr));
90 return sp<IChild>(nullptr); // cast failed.
95 return sp<IChild>(new BpChild(toBinder<IParent, BpParent>(parent)));
98 return sp<IChild>(static_cast<IChild *>(parent.get()));
/system/libhwbinder/include/hwbinder/
H A DIInterface.h31 static sp<IBinder> asBinder(const IInterface*);
32 static sp<IBinder> asBinder(const sp<IInterface>&);
44 BnInterface(const sp<INTERFACE>& impl);
46 const sp<INTERFACE> mImpl;
52 const sp<INTERFACE>& impl) : mImpl(impl)
61 BpInterface(const sp<IBinder>& remote);
77 inline BpInterface<INTERFACE>::BpInterface(const sp<IBinder>& remote)
H A DProcessState.h38 static sp<ProcessState> self();
40 void setContextObject(const sp<IBinder>& object);
41 sp<IBinder> getContextObject(const sp<IBinder>& caller);
43 void setContextObject(const sp<IBinder>& object,
45 sp<IBinder> getContextObject(const String16& name,
46 const sp<IBinder>& caller);
51 const sp<IBinder>& caller,
59 sp<IBinder> getStrongProxyForHandle(int32_t handle);
106 KeyedVector<String16, sp<IBinde
[all...]
/system/connectivity/wificond/rtt/
H A Drtt_controller_impl.h37 bool RegisterRttClient(android::sp<android::net::wifi::IRttClient> client);
38 bool UnregisterRttClient(android::sp<android::net::wifi::IRttClient> client);
42 android::sp<android::net::wifi::IRttController> GetBinder() const;
45 const android::sp<RttControllerBinder> binder_;
46 std::vector<android::sp<android::net::wifi::IRttClient>> clients_;
H A Drtt_controller_impl.cpp25 using android::sp;
39 sp<IRttController> RttControllerImpl::GetBinder() const {
43 bool RttControllerImpl::RegisterRttClient(android::sp<IRttClient> client) {
55 bool RttControllerImpl::UnregisterRttClient(android::sp<IRttClient> client) {
/system/libhidl/libhidlmemory/
H A Dmapping.cpp28 using android::sp;
35 static std::map<std::string, sp<IMapper>> gMappersByName;
38 static inline sp<IMapper> getMapperService(const std::string& name) {
45 sp<IMapper> mapper = IMapper::getService(name, true /* getStub */);
52 sp<IMemory> mapMemory(const hidl_memory& memory) {
54 sp<IMapper> mapper = getMapperService(memory.name());
64 Return<sp<IMemory>> ret = mapper->mapMemory(memory);
/system/libhidl/transport/
H A DStatic.cpp30 sp<android::hidl::manager::V1_0::IServiceManager> gDefaultServiceManager;
32 ConcurrentMap<std::string, std::function<sp<IBinder>(void *)>>
37 ConcurrentMap<std::string, std::function<sp<::android::hidl::base::V1_0::IBase>(void *)>>
/system/core/healthd/
H A DBatteryPropertiesRegistrar.h33 void publish(const sp<BatteryPropertiesRegistrar>& service);
39 Vector<sp<IBatteryPropertiesListener> > mListeners;
41 void registerListener(const sp<IBatteryPropertiesListener>& listener);
42 void unregisterListener(const sp<IBatteryPropertiesListener>& listener);

Completed in 453 milliseconds

1234567891011