Home
last modified time | relevance | path

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

12

/system/libhwbinder/
DParcel.cpp99 const flat_binder_object& obj, const void* who) in acquire_binder_object() argument
101 switch (obj.hdr.type) { in acquire_binder_object()
103 if (obj.binder) { in acquire_binder_object()
104 LOG_REFS("Parcel %p acquiring reference on local %p", who, obj.cookie); in acquire_binder_object()
105 reinterpret_cast<IBinder*>(obj.cookie)->incStrong(who); in acquire_binder_object()
109 if (obj.binder) in acquire_binder_object()
110 reinterpret_cast<RefBase::weakref_type*>(obj.binder)->incWeak(who); in acquire_binder_object()
113 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle); in acquire_binder_object()
121 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle); in acquire_binder_object()
127 ALOGD("Invalid object type 0x%08x", obj.hdr.type); in acquire_binder_object()
[all …]
DIPCThreadState.cpp511 BHwBinder* obj = mPendingStrongDerefs[0]; in processPendingDerefs() local
513 obj->decStrong(mProcess.get()); in processPendingDerefs()
534 RefBase* obj = mPostWriteStrongDerefs[0]; in processPostWriteDerefs() local
536 obj->decStrong(mProcess.get()); in processPostWriteDerefs()
1014 void IPCThreadState::setTheContextObject(sp<BHwBinder> obj) in setTheContextObject() argument
1016 mContextObject = obj; in setTheContextObject()
1030 BHwBinder* obj; in executeCommand() local
1043 obj = (BHwBinder*)mIn.readPointer(); in executeCommand()
1044 ALOG_ASSERT(refs->refBase() == obj, in executeCommand()
1046 refs, obj, refs->refBase()); in executeCommand()
[all …]
/system/netd/server/
Dthread_util.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) { return -EINVAL;} in threadLaunch()
54 rval = pthread_create(&thread, &scoped_attr.attr, &runAndDelete<T>, obj); in threadLaunch()
/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.cc186 SmrHelper *obj = static_cast<SmrHelper *>(release_cb_data); in smrReleaseCb() local
187 LockGuard<Mutex> lock(obj->mMutex); in smrReleaseCb()
188 obj->mWaiting = false; in smrReleaseCb()
189 obj->mCond.notify_one(); in smrReleaseCb()
204 SmrHelper *obj = static_cast<SmrHelper *>(wait_for_service_cb_data); in smrWaitForServiceCb() local
205 LockGuard<Mutex> lock(obj->mMutex); in smrWaitForServiceCb()
206 obj->mServiceTimedOut = timeout_expired; in smrWaitForServiceCb()
207 obj->mWaiting = false; in smrWaitForServiceCb()
208 obj->mCond.notify_one(); in smrWaitForServiceCb()
/system/extras/simpleperf/
Dread_elf.cpp160 static ElfStatus GetBuildIdFromObjectFile(llvm::object::ObjectFile* obj, BuildId* build_id) { in GetBuildIdFromObjectFile() argument
161 if (auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(obj)) { in GetBuildIdFromObjectFile()
163 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(obj)) { in GetBuildIdFromObjectFile()
171 llvm::object::ObjectFile* obj; member
173 BinaryWrapper() : obj(nullptr) { in BinaryWrapper()
199 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.getBinary()); in OpenObjectFile()
200 if (wrapper->obj == nullptr) { in OpenObjectFile()
214 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.getBinary()); in OpenObjectFileFromString()
215 if (wrapper->obj == nullptr) { in OpenObjectFileFromString()
236 return GetBuildIdFromObjectFile(wrapper.obj, build_id); in GetBuildIdFromEmbeddedElfFile()
[all …]
/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/core/logd/
DLogTimes.cpp77 void LogTimeEntry::threadStop(void* obj) { in threadStop() argument
78 LogTimeEntry* me = reinterpret_cast<LogTimeEntry*>(obj); in threadStop()
116 void* LogTimeEntry::threadStart(void* obj) { in threadStart() argument
119 LogTimeEntry* me = reinterpret_cast<LogTimeEntry*>(obj); in threadStart()
121 pthread_cleanup_push(threadStop, obj); in threadStart()
190 int LogTimeEntry::FilterFirstPass(const LogBufferElement* element, void* obj) { in FilterFirstPass() argument
191 LogTimeEntry* me = reinterpret_cast<LogTimeEntry*>(obj); in FilterFirstPass()
218 int LogTimeEntry::FilterSecondPass(const LogBufferElement* element, void* obj) { in FilterSecondPass() argument
219 LogTimeEntry* me = reinterpret_cast<LogTimeEntry*>(obj); in FilterSecondPass()
/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/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/update_engine/update_manager/
Dgeneric_variables_unittest.cc116 CopyConstructorTestClass test_func(CopyConstructorTestClass* obj) { in test_func() argument
117 obj->val_++; // So we can check that the function was called. in test_func()
118 return *obj; in test_func()
/system/nfc/
DCleanSpec.mk46 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libnfc-nci_intermediates)
/system/libhidl/transport/token/1.0/utils/include/hidl/
DHybridInterface.h201 const ::android::sp<::android::IBinder>& obj); \
215 const ::android::sp<::android::IBinder>& obj) \
218 if (obj != nullptr) { \
220 obj->queryLocalInterface( \
223 intr = new Hp##INTERFACE(obj); \
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h124 MQDescriptor<T, flavor> &obj, in readEmbeddedFromParcel() argument
133 obj.grantors(), in readEmbeddedFromParcel()
154 const MQDescriptor<T, flavor> &obj, in writeEmbeddedToParcel() argument
163 obj.grantors(), in writeEmbeddedToParcel()
172 obj.handle(), in writeEmbeddedToParcel()
/system/extras/
DCleanSpec.mk48 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/taskstats_intermediates)
/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);
1396 inline bool VerifyChreMessage(flatbuffers::Verifier &verifier, const void *obj, ChreMessage type) {
1402 auto ptr = reinterpret_cast<const NanoappMessage *>(obj);
1406 auto ptr = reinterpret_cast<const HubInfoRequest *>(obj);
1410 auto ptr = reinterpret_cast<const HubInfoResponse *>(obj);
1414 auto ptr = reinterpret_cast<const NanoappListRequest *>(obj);
1418 auto ptr = reinterpret_cast<const NanoappListResponse *>(obj);
1422 auto ptr = reinterpret_cast<const LoadNanoappRequest *>(obj);
1426 auto ptr = reinterpret_cast<const LoadNanoappResponse *>(obj);
1430 auto ptr = reinterpret_cast<const UnloadNanoappRequest *>(obj);
[all …]
/system/chre/util/include/chre/util/
Dunique_ptr_impl.h71 ObjectType *obj = mObject; in release() local
73 return obj; in release()
/system/bt/osi/include/
Dreactor.h87 void reactor_unregister(reactor_object_t* obj);
/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);
2499 inline bool VerifyChreMessage(flatbuffers::Verifier &verifier, const void *obj, ChreMessage type) {
2505 auto ptr = reinterpret_cast<const NanoappMessage *>(obj);
2509 auto ptr = reinterpret_cast<const HubInfoRequest *>(obj);
2513 auto ptr = reinterpret_cast<const HubInfoResponse *>(obj);
2517 auto ptr = reinterpret_cast<const NanoappListRequest *>(obj);
2521 auto ptr = reinterpret_cast<const NanoappListResponse *>(obj);
2525 auto ptr = reinterpret_cast<const LoadNanoappRequest *>(obj);
2529 auto ptr = reinterpret_cast<const LoadNanoappResponse *>(obj);
[all …]
/system/core/libsysutils/include/sysutils/
DSocketListener.h55 static void *threadStart(void *obj);
/system/security/keystore-engine/
Dandroid_engine.cpp83 #define OWNERSHIP_TRANSFERRED(obj) \ argument
84 typeof ((obj).release()) _dummy __attribute__((unused)) = (obj).release()
/system/core/
DCleanSpec.mk56 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/lmkd_intermediates/import_includes)
57 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libsysutils_intermediates/import_…
/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