Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 43) sorted by relevance

12

/system/netd/libnetdutils/include/netdutils/
DThreadUtil.h38 inline void* runAndDelete(void* obj) { in runAndDelete() argument
39 std::unique_ptr<T> handler(reinterpret_cast<T*>(obj)); in runAndDelete()
45 inline int threadLaunch(T* obj) { in threadLaunch() argument
46 if (obj == nullptr) { in threadLaunch()
58 rval = pthread_create(&thread, &scoped_attr.attr, &runAndDelete<T>, obj); in threadLaunch()
/system/libhwbinder/
DParcel.cpp91 const flat_binder_object& obj, const void* who) in acquire_binder_object() argument
93 switch (obj.hdr.type) { in acquire_binder_object()
95 if (obj.binder) { in acquire_binder_object()
96 LOG_REFS("Parcel %p acquiring reference on local %p", who, obj.cookie); in acquire_binder_object()
97 reinterpret_cast<IBinder*>(obj.cookie)->incStrong(who); in acquire_binder_object()
101 if (obj.binder) in acquire_binder_object()
102 reinterpret_cast<RefBase::weakref_type*>(obj.binder)->incWeak(who); in acquire_binder_object()
105 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle); in acquire_binder_object()
113 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle); in acquire_binder_object()
119 ALOGD("Invalid object type 0x%08x", obj.hdr.type); in acquire_binder_object()
[all …]
DIPCThreadState.cpp521 BHwBinder* obj = mPendingStrongDerefs[0]; in processPendingDerefs() local
523 obj->decStrong(mProcess.get()); in processPendingDerefs()
544 RefBase* obj = mPostWriteStrongDerefs[0]; in processPostWriteDerefs() local
546 obj->decStrong(mProcess.get()); in processPostWriteDerefs()
1033 void IPCThreadState::setTheContextObject(sp<BHwBinder> obj) in setTheContextObject() argument
1035 mContextObject = obj; in setTheContextObject()
1053 BHwBinder* obj; in executeCommand() local
1066 obj = (BHwBinder*)mIn.readPointer(); in executeCommand()
1067 ALOG_ASSERT(refs->refBase() == obj, in executeCommand()
1069 refs, obj, refs->refBase()); in executeCommand()
[all …]
/system/media/
DCleanSpec.mk48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterfw_intermediates)
49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_imageproc_inte…
50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_text_intermedi…
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_ui_intermediat…
52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_videosrc_inter…
53 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libaudioutils_intermediates)
54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterfw_intermediates)
/system/chre/platform/slpi/smgr/
Dsmr_helper.cc206 SmrHelper *obj = static_cast<SmrHelper *>(release_cb_data); in smrReleaseCb() local
207 LockGuard<Mutex> lock(obj->mMutex); in smrReleaseCb()
208 obj->mWaiting = false; in smrReleaseCb()
209 obj->mCond.notify_one(); in smrReleaseCb()
224 SmrHelper *obj = static_cast<SmrHelper *>(wait_for_service_cb_data); in smrWaitForServiceCb() local
225 LockGuard<Mutex> lock(obj->mMutex); in smrWaitForServiceCb()
226 obj->mServiceTimedOut = timeout_expired; in smrWaitForServiceCb()
227 obj->mWaiting = false; in smrWaitForServiceCb()
228 obj->mCond.notify_one(); in smrWaitForServiceCb()
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dflatbuffers_serialization.h79 size_t Serialize(const SerializeType &obj, uint8_t *out_buffer,
82 const auto fbs_obj = obj.Serialize(&builder);
107 SerializeType *obj, const char *log_tag = "") {
113 if (obj == nullptr) {
131 return obj->Deserialize(*fbs_obj);
/system/extras/simpleperf/
Dread_elf.cpp166 static ElfStatus GetBuildIdFromObjectFile(llvm::object::ObjectFile* obj, BuildId* build_id) { in GetBuildIdFromObjectFile() argument
167 if (auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(obj)) { in GetBuildIdFromObjectFile()
169 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(obj)) { in GetBuildIdFromObjectFile()
177 llvm::object::ObjectFile* obj; member
179 BinaryWrapper() : obj(nullptr) { in BinaryWrapper()
205 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.getBinary()); in OpenObjectFile()
206 if (wrapper->obj == nullptr) { in OpenObjectFile()
220 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.getBinary()); in OpenObjectFileInMemory()
221 if (wrapper->obj == nullptr) { in OpenObjectFileInMemory()
242 return GetBuildIdFromObjectFile(wrapper.obj, build_id); in GetBuildIdFromEmbeddedElfFile()
[all …]
/system/bt/osi/src/
Dreactor.cc197 void reactor_unregister(reactor_object_t* obj) { in reactor_unregister() argument
198 CHECK(obj != NULL); in reactor_unregister()
200 reactor_t* reactor = obj->reactor; in reactor_unregister()
202 if (epoll_ctl(reactor->epoll_fd, EPOLL_CTL_DEL, obj->fd, NULL) == -1) in reactor_unregister()
204 __func__, obj->fd, strerror(errno)); in reactor_unregister()
214 list_append(reactor->invalidation_list, obj); in reactor_unregister()
225 obj->mutex->lock(); in reactor_unregister()
226 obj->mutex->unlock(); in reactor_unregister()
227 delete obj->mutex; in reactor_unregister()
228 osi_free(obj); in reactor_unregister()
/system/core/libutils/
DCleanSpec.mk50 $(call add-clean-step, rm -rf $(HOST_OUT)/obj/STATIC_LIBRARIES/libutils_intermediates/import_includ…
51 $(call add-clean-step, rm -rf $(HOST_OUT)/obj/STATIC_LIBRARIES/lib64utils_intermediates/import_incl…
/system/core/logd/
DLogTimes.cpp68 void* LogTimeEntry::threadStart(void* obj) { in threadStart() argument
71 LogTimeEntry* me = reinterpret_cast<LogTimeEntry*>(obj); in threadStart()
147 int LogTimeEntry::FilterFirstPass(const LogBufferElement* element, void* obj) { in FilterFirstPass() argument
148 LogTimeEntry* me = reinterpret_cast<LogTimeEntry*>(obj); in FilterFirstPass()
175 int LogTimeEntry::FilterSecondPass(const LogBufferElement* element, void* obj) { in FilterSecondPass() argument
176 LogTimeEntry* me = reinterpret_cast<LogTimeEntry*>(obj); in FilterSecondPass()
/system/netd/libnetdutils/
DThreadUtilTest.cpp55 NoopRun* obj = new NoopRun(); in TEST() local
57 threadLaunch(obj); in TEST()
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/
Dnative-lib.cpp32 jthrowable obj = (jthrowable)env->NewObject(cls, cid, msg, err); in ThrowErrnoException() local
33 if (obj == nullptr) { in ThrowErrnoException()
36 env->Throw(obj); in ThrowErrnoException()
/system/nfc/
DCleanSpec.mk46 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libnfc-nci_intermediates)
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h131 MQDescriptor<T, flavor> &obj, in readEmbeddedFromParcel() argument
140 obj.grantors(), in readEmbeddedFromParcel()
161 const MQDescriptor<T, flavor> &obj, in writeEmbeddedToParcel() argument
170 obj.grantors(), in writeEmbeddedToParcel()
179 obj.handle(), in writeEmbeddedToParcel()
/system/apex/shim/
DREADME.md42 * out/target/product/${DEVICE}/obj/ETC/com.android.apex.cts.shim.v1_intermediates/com.android.ape…
43 * out/target/product/${DEVICE}/obj/ETC/com.android.apex.cts.shim.v2_intermediates/com.android.ape…
44 * out/target/product/${DEVICE}/obj/ETC/com.android.apex.cts.shim.v2_wrong_sha_intermediates/com.a…
/system/update_engine/update_manager/
Dgeneric_variables_unittest.cc111 CopyConstructorTestClass test_func(CopyConstructorTestClass* obj) { in test_func() argument
112 obj->val_++; // So we can check that the function was called. in test_func()
113 return *obj; in test_func()
Dgeneric_variables.h129 ConstCopyVariable(const std::string& name, const T& obj) in ConstCopyVariable() argument
130 : Variable<T>(name, kVariableModeConst), obj_(obj) {} in ConstCopyVariable()
/system/timezone/tzlookup_generator/
DREADME.android6 vogar --mode=jvm --classpath ${ANDROID_HOST_OUT}/../common/obj/JAVA_LIBRARIES/tzlookup_generator_in…
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_messages_generated.h179 bool VerifyChreMessage(flatbuffers::Verifier &verifier, const void *obj, ChreMessage type);
1426 inline bool VerifyChreMessage(flatbuffers::Verifier &verifier, const void *obj, ChreMessage type) {
1432 auto ptr = reinterpret_cast<const NanoappMessage *>(obj);
1436 auto ptr = reinterpret_cast<const HubInfoRequest *>(obj);
1440 auto ptr = reinterpret_cast<const HubInfoResponse *>(obj);
1444 auto ptr = reinterpret_cast<const NanoappListRequest *>(obj);
1448 auto ptr = reinterpret_cast<const NanoappListResponse *>(obj);
1452 auto ptr = reinterpret_cast<const LoadNanoappRequest *>(obj);
1456 auto ptr = reinterpret_cast<const LoadNanoappResponse *>(obj);
1460 auto ptr = reinterpret_cast<const UnloadNanoappRequest *>(obj);
[all …]
/system/bt/osi/include/
Dreactor.h87 void reactor_unregister(reactor_object_t* obj);
/system/chre/util/include/chre/util/
Dunique_ptr_impl.h67 ObjectType *obj = mObject; in release() local
69 return obj; in release()
/system/chre/host/common/include/chre_host/
Dhost_messages_generated.h220 …static flatbuffers::NativeTable *UnPack(const void *obj, ChreMessage type, const flatbuffers::reso…
293 bool VerifyChreMessage(flatbuffers::Verifier &verifier, const void *obj, ChreMessage type);
2536 inline bool VerifyChreMessage(flatbuffers::Verifier &verifier, const void *obj, ChreMessage type) {
2542 auto ptr = reinterpret_cast<const NanoappMessage *>(obj);
2546 auto ptr = reinterpret_cast<const HubInfoRequest *>(obj);
2550 auto ptr = reinterpret_cast<const HubInfoResponse *>(obj);
2554 auto ptr = reinterpret_cast<const NanoappListRequest *>(obj);
2558 auto ptr = reinterpret_cast<const NanoappListResponse *>(obj);
2562 auto ptr = reinterpret_cast<const LoadNanoappRequest *>(obj);
2566 auto ptr = reinterpret_cast<const LoadNanoappResponse *>(obj);
[all …]
/system/libhidl/transport/token/1.0/utils/include/hidl/
DHybridInterface.h377 const ::android::sp<::android::IBinder>& obj); \
398 const ::android::sp<::android::IBinder>& obj) \
401 if (obj != nullptr) { \
403 obj->queryLocalInterface( \
406 intr = new Hp##INTERFACE(obj); \
/system/core/libsysutils/include/sysutils/
DSocketListener.h56 static void *threadStart(void *obj);
/system/security/keystore/
Dconfirmation_manager.cpp167 sp<BpConfirmationPromptCallback> obj = new BpConfirmationPromptCallback(listener); in finalizeTransaction() local
168 Status status = obj->onConfirmationPromptCompleted(static_cast<int32_t>(responseCode), in finalizeTransaction()

12