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

123

/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);
55 sp(const sp<T>& other);
56 template<typename U> sp(U* other);
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/core/include/utils/
H A DStrongPointer.h34 inline bool operator _op_ (const sp<T>& o) const { \
41 inline bool operator _op_ (const sp<U>& o) const { \
59 class sp { class in namespace:android
61 inline sp() : m_ptr(0) { } function in class:android::sp
63 sp(T* other);
64 sp(const sp<T>& other);
65 template<typename U> sp(U* other);
66 template<typename U> sp(const sp<
120 sp<T>::sp(const sp<T>& other) function in class:android::sp
127 sp<T>::sp(U* other) function in class:android::sp
134 sp<T>::sp(const sp<U>& other) function in class:android::sp
[all...]
H A DBlobCache.h151 CacheEntry(const sp<Blob>& key, const sp<Blob>& value);
157 sp<Blob> getKey() const;
158 sp<Blob> getValue() const;
160 void setValue(const sp<Blob>& value);
165 sp<Blob> mKey;
168 sp<Blob> mValue;
H A DLooper.h318 int addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data);
332 * a sp<LooperCallback> instead of a bare function pointer. The LooperCallback will
348 void sendMessage(const sp<MessageHandler>& handler, const Message& message);
358 void sendMessageDelayed(nsecs_t uptimeDelay, const sp<MessageHandler>& handler,
369 void sendMessageAtTime(nsecs_t uptime, const sp<MessageHandler>& handler,
378 void removeMessages(const sp<MessageHandler>& handler);
386 void removeMessages(const sp<MessageHandler>& handler, int what);
403 static sp<Looper> prepare(int opts);
411 static void setForThread(const sp<Looper>& looper);
417 static sp<Loope
[all...]
H A DRefBase.h39 inline bool operator _op_ (const sp<T>& o) const { \
46 inline bool operator _op_ (const sp<U>& o) const { \
225 wp(const sp<T>& other);
227 template<typename U> wp(const sp<U>& other);
236 wp& operator = (const sp<T>& other);
240 template<typename U> wp& operator = (const sp<U>& other);
244 // promotion to sp
246 sp<T> promote() const;
298 template<typename Y> friend class sp;
328 wp<T>::wp(const sp<
[all...]
H A DNativeHandle.h33 static sp<NativeHandle> create(native_handle_t* handle, bool ownsHandle);
/system/security/keystore/
H A Doperation.h50 sp<IBinder> addOperation(keymaster_operation_handle_t handle, uint64_t keyid,
52 sp<IBinder> appToken, keymaster_key_characteristics_t* characteristics,
54 bool getOperation(sp<IBinder> token, keymaster_operation_handle_t* outHandle,
58 bool removeOperation(sp<IBinder> token);
61 bool getOperationAuthToken(sp<IBinder> token, const hw_auth_token_t** outToken);
62 bool setOperationAuthToken(sp<IBinder> token, const hw_auth_token_t* authToken);
63 sp<IBinder> getOldestPruneableOperation();
64 std::vector<sp<IBinder>> getOperationsForToken(sp<IBinder> appToken);
67 void updateLru(sp<IBinde
[all...]
H A Dkeystore_get.cpp25 sp<IServiceManager> sm = defaultServiceManager();
26 sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
27 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
H A Doperation.cpp27 sp<IBinder> OperationMap::addOperation(keymaster_operation_handle_t handle,
30 sp<IBinder> appToken,
33 sp<IBinder> token = new BBinder();
45 bool OperationMap::getOperation(sp<IBinder> token, keymaster_operation_handle_t* outHandle,
68 void OperationMap::updateLru(sp<IBinder> token) {
76 bool OperationMap::removeOperation(sp<IBinder> token) {
81 sp<IBinder> appToken = entry->second.appToken;
91 void OperationMap::removeOperationTracking(sp<IBinder> token, sp<IBinder> appToken) {
114 sp<IBinde
[all...]
/system/core/healthd/
H A DBatteryPropertiesRegistrar.h38 Vector<sp<IBatteryPropertiesListener> > mListeners;
40 void registerListener(const sp<IBatteryPropertiesListener>& listener);
41 void unregisterListener(const sp<IBatteryPropertiesListener>& listener);
/system/core/toolbox/
H A Drenice.c51 struct sched_param sp; local
74 sched_getparam(pid, &sp);
75 printf("RT prio: %d (of %d to %d)\n", sp.sched_priority,
141 struct sched_param sp = { .sched_priority = prio }; local
144 ret = sched_setscheduler(pid, sched, &sp);
/system/core/libbacktrace/
H A DUnwindPtrace.cpp91 unw_word_t sp; local
92 ret = unw_get_reg(&cursor, UNW_REG_SP, &sp);
103 frame->sp = static_cast<uintptr_t>(sp);
108 prev->stack_size = frame->sp - prev->sp;
H A DUnwindCurrent.cpp95 unw_word_t sp; local
96 ret = unw_get_reg(cursor.get(), UNW_REG_SP, &sp);
106 frame->sp = static_cast<uintptr_t>(sp);
120 prev->stack_size = frame->sp - prev->sp;
/system/core/fingerprintd/
H A Dfingerprintd.cpp38 android::sp<android::IServiceManager> serviceManager = android::defaultServiceManager();
39 android::sp<android::FingerprintDaemonProxy> proxy =
H A DFingerprintDaemonProxy.h35 virtual void init(const sp<IFingerprintDaemonCallback>& callback);
58 sp<IFingerprintDaemonCallback> mCallback;
/system/core/libutils/
H A DBlobCache.cpp83 sp<Blob> dummyKey(new Blob(key, keySize, false));
90 sp<Blob> keyBlob(new Blob(key, keySize, true));
91 sp<Blob> valueBlob(new Blob(value, valueSize, true));
112 sp<Blob> valueBlob(new Blob(value, valueSize, true));
113 sp<Blob> oldValueBlob(mCacheEntries[index].getValue());
143 sp<Blob> dummyKey(new Blob(key, keySize, false));
153 sp<Blob> valueBlob(mCacheEntries[index].getValue());
173 sp<Blob> keyBlob = e.getKey();
174 sp<Blob> valueBlob = e.getValue();
201 sp<Blo
[all...]
H A DNativeHandle.cpp22 sp<NativeHandle> NativeHandle::create(
/system/security/keystore-engine/
H A Drsa_meth.cpp82 sp<IServiceManager> sm = defaultServiceManager();
83 sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
84 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
126 sp<IServiceManager> sm = defaultServiceManager();
127 sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
128 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
H A Dandroid_engine.cpp148 sp<IServiceManager> sm = defaultServiceManager();
149 sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
150 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
244 sp<IServiceManager> sm = defaultServiceManager();
245 sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
246 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
403 sp<IServiceManager> sm = defaultServiceManager();
404 sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
405 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
H A Ddsa_meth.cpp59 sp<IServiceManager> sm = defaultServiceManager();
60 sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
61 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
H A Decdsa_meth.cpp65 sp<IServiceManager> sm = defaultServiceManager();
66 sp<IBinder> binder = sm->getService(String16("android.security.keystore"));
67 sp<IKeystoreService> service = interface_cast<IKeystoreService>(binder);
/system/core/libpixelflinger/codeflinger/
H A DCodeCache.h66 // protocol for sp<>
86 sp<Assembly> lookup(const AssemblyKeyBase& key) const;
89 const sp<Assembly>& assembly);
95 inline cache_entry_t(const sp<Assembly>& a, int64_t w)
97 sp<Assembly> entry;
/system/core/libpixelflinger/
H A Drotate90CW_4x4_16v6.S36 stmfd sp!, {r4,r5, r6,r7, r8,r9, r10,r11, lr}
62 ldmfd sp!, {r4,r5, r6,r7, r8,r9, r10,r11, pc}
/system/core/libutils/tests/
H A DLooper_test.cpp27 sp<Looper> mLooper;
30 DelayedWake(int delayMillis, const sp<Looper> looper) :
56 void setCallback(const sp<Looper>& looper, int fd, int events) {
103 sp<Looper> mLooper;
140 sp<DelayedWake> delayedWake = new DelayedWake(100, mLooper);
251 sp<DelayedWriteSignal> delayedWriteSignal = new DelayedWriteSignal(100, & pipe);
383 sp<Looper> looper = new Looper(false /*allowNonCallbacks*/);
441 sp<StubMessageHandler> handler = new StubMessageHandler();
459 sp<StubMessageHandler> handler1 = new StubMessageHandler();
460 sp<StubMessageHandle
[all...]
/system/core/debuggerd/arm64/
H A Dmachine.cpp48 if (regs.pc != regs.sp) {
49 dump_memory(log, backtrace, static_cast<uintptr_t>(regs.sp), "code around sp:");
76 _LOG(log, logtype::REGISTERS, " sp %016llx pc %016llx pstate %016llx\n",
77 r.sp, r.pc, r.pstate);

Completed in 425 milliseconds

123