Searched defs:obj (Results 1 - 23 of 23) sorted by relevance

/system/libvintf/include/vintf/
H A Dparse_string.h57 std::string to_string(const T &obj) { argument
59 oss << obj; local
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
H A Dflatbuffers_serialization.h79 size_t Serialize(const SerializeType &obj, uint8_t *out_buffer, argument
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);
106 Deserialize(const uint8_t *in_buffer, size_t in_buffer_len, SerializeType *obj, const char *log_tag = �) argument
/system/netd/server/
H A Dthread_util.h38 inline void* runAndDelete(void* obj) { argument
39 std::unique_ptr<T> handler(reinterpret_cast<T*>(obj));
45 inline int threadLaunch(T* obj) { argument
46 if (obj == nullptr) { return -EINVAL;}
54 rval = pthread_create(&thread, &scoped_attr.attr, &runAndDelete<T>, obj);
/system/chre/platform/slpi/smgr/
H A Dsmr_helper.cc186 SmrHelper *obj = static_cast<SmrHelper *>(release_cb_data); local
187 LockGuard<Mutex> lock(obj->mMutex);
188 obj->mWaiting = false;
189 obj->mCond.notify_one();
204 SmrHelper *obj = static_cast<SmrHelper *>(wait_for_service_cb_data); local
205 LockGuard<Mutex> lock(obj->mMutex);
206 obj->mServiceTimedOut = timeout_expired;
207 obj->mWaiting = false;
208 obj->mCond.notify_one();
/system/chre/util/include/chre/util/
H A Dunique_ptr_impl.h71 ObjectType *obj = mObject; local
73 return obj;
/system/core/logd/
H A DLogTimes.cpp77 void LogTimeEntry::threadStop(void* obj) { argument
78 LogTimeEntry* me = reinterpret_cast<LogTimeEntry*>(obj);
116 void* LogTimeEntry::threadStart(void* obj) { argument
119 LogTimeEntry* me = reinterpret_cast<LogTimeEntry*>(obj);
121 pthread_cleanup_push(threadStop, obj);
190 int LogTimeEntry::FilterFirstPass(const LogBufferElement* element, void* obj) { argument
191 LogTimeEntry* me = reinterpret_cast<LogTimeEntry*>(obj);
218 int LogTimeEntry::FilterSecondPass(const LogBufferElement* element, void* obj) { argument
219 LogTimeEntry* me = reinterpret_cast<LogTimeEntry*>(obj);
H A DLogReader.cpp156 static int callback(const LogBufferElement* element, void* obj) { argument
157 LogFindStart* me = reinterpret_cast<LogFindStart*>(obj);
/system/security/keystore/
H A Dconfirmation_manager.cpp167 sp<BpConfirmationPromptCallback> obj = new BpConfirmationPromptCallback(listener); local
168 Status status = obj->onConfirmationPromptCompleted(static_cast<int32_t>(responseCode),
/system/update_engine/update_manager/
H A Dgeneric_variables.h115 // Creates the variable returning copies of the passed |obj|. The value passed
118 ConstCopyVariable(const std::string& name, const T& obj) argument
119 : Variable<T>(name, kVariableModeConst), obj_(obj) {}
H A Dgeneric_variables_unittest.cc116 CopyConstructorTestClass test_func(CopyConstructorTestClass* obj) { argument
117 obj->val_++; // So we can check that the function was called.
118 return *obj;
/system/bt/osi/src/
H A Dreactor.cc197 void reactor_unregister(reactor_object_t* obj) { argument
198 CHECK(obj != NULL);
200 reactor_t* reactor = obj->reactor;
202 if (epoll_ctl(reactor->epoll_fd, EPOLL_CTL_DEL, obj->fd, NULL) == -1)
204 __func__, obj->fd, strerror(errno));
214 list_append(reactor->invalidation_list, obj);
217 // Taking the object lock here makes sure a callback for |obj| isn't
223 // are waiting until the reactor thread drops all references to |obj|.
224 // One the wait completes, we can unlock and destroy |obj| safely.
225 obj
[all...]
/system/core/libsysutils/src/
H A DSocketListener.cpp146 void *SocketListener::threadStart(void *obj) { argument
147 SocketListener *me = reinterpret_cast<SocketListener *>(obj);
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/
H A Dnative-lib.cpp32 jthrowable obj = (jthrowable)env->NewObject(cls, cid, msg, err); local
33 if (obj == nullptr) {
36 env->Throw(obj);
/system/libhidl/transport/include/hidl/
H A DHidlBinderSupport.h124 MQDescriptor<T, flavor> &obj,
133 obj.grantors(),
154 const MQDescriptor<T, flavor> &obj,
163 obj.grantors(),
172 obj.handle(),
123 readEmbeddedFromParcel( MQDescriptor<T, flavor> &obj, const ::android::hardware::Parcel &parcel, size_t parentHandle, size_t parentOffset) argument
153 writeEmbeddedToParcel( const MQDescriptor<T, flavor> &obj, ::android::hardware::Parcel *parcel, size_t parentHandle, size_t parentOffset) argument
/system/extras/simpleperf/
H A Dread_elf.cpp160 static ElfStatus GetBuildIdFromObjectFile(llvm::object::ObjectFile* obj, BuildId* build_id) { argument
161 if (auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(obj)) {
163 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(obj)) {
171 llvm::object::ObjectFile* obj; member in struct:BinaryWrapper
173 BinaryWrapper() : obj(nullptr) {
199 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.getBinary());
200 if (wrapper->obj == nullptr) {
214 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.getBinary());
215 if (wrapper->obj == nullptr) {
236 return GetBuildIdFromObjectFile(wrapper.obj, build_i
411 MatchBuildId(llvm::object::ObjectFile* obj, const BuildId& expected_build_id) argument
[all...]
/system/extras/ANRdaemon/
H A DANRdaemon.cpp180 sp<IBinder> obj = sm->checkService(services[i]); local
181 if (obj != NULL) {
183 obj->transact(IBinder::SYSPROPS_TRANSACTION, data, NULL, 0);
/system/tools/aidl/
H A Dast_java.h161 Expression* obj = nullptr; member in struct:android::aidl::java::MethodCall
169 MethodCall(Expression* obj, const std::string& name);
171 MethodCall(Expression* obj, const std::string& name, int argc, ...);
H A Dgenerate_java_binder.cpp188 Variable* obj = new Variable(types->IBinderType(), "obj"); local
198 m->parameters.push_back(obj);
202 ifstatement->expression = new Comparison(obj, "==", NULL_VALUE);
207 // IInterface iin = obj.queryLocalInterface(DESCRIPTOR)
208 MethodCall* queryLocalInterface = new MethodCall(obj, "queryLocalInterface");
234 ne->arguments.push_back(obj);
/system/libhwbinder/
H A DIPCThreadState.cpp502 BHwBinder* obj = mPendingStrongDerefs[0]; local
504 obj->decStrong(mProcess.get());
525 RefBase* obj = mPostWriteStrongDerefs[0]; local
527 obj->decStrong(mProcess.get());
1005 void IPCThreadState::setTheContextObject(sp<BHwBinder> obj) argument
1007 mContextObject = obj;
1021 BHwBinder* obj; local
1034 obj = (BHwBinder*)mIn.readPointer();
1035 ALOG_ASSERT(refs->refBase() == obj,
1037 refs, obj, ref
[all...]
H A DParcel.cpp99 const flat_binder_object& obj, const void* who)
101 switch (obj.hdr.type) {
103 if (obj.binder) {
104 LOG_REFS("Parcel %p acquiring reference on local %p", who, obj.cookie);
105 reinterpret_cast<IBinder*>(obj.cookie)->incStrong(who);
109 if (obj.binder)
110 reinterpret_cast<RefBase::weakref_type*>(obj.binder)->incWeak(who);
113 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle);
121 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle);
127 ALOGD("Invalid object type 0x%08x", obj
98 acquire_binder_object(const sp<ProcessState>& proc, const flat_binder_object& obj, const void* who) argument
130 acquire_object(const sp<ProcessState>& proc, const binder_object_header& obj, const void *who) argument
144 release_object(const sp<ProcessState>& proc, const flat_binder_object& obj, const void* who) argument
199 flat_binder_object obj; local
238 flat_binder_object obj; local
345 isBuffer(const binder_buffer_object& obj) argument
842 binder_buffer_object obj; local
862 binder_buffer_object obj; local
985 binder_buffer_object *obj = local
1437 const T* obj = reinterpret_cast<const T*>(mData+DPOS); local
[all...]
/system/chre/platform/shared/include/chre/platform/shared/
H A 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) { argument
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/platform/slpi/see/
H A Dsee_helper.cc1665 auto *obj = static_cast<SeeHelper *>(cbData); local
1666 obj->handleSnsClientEventMsg(client, msg, msgLen);
/system/chre/host/common/include/chre_host/
H A Dhost_messages_generated.h220 static flatbuffers::NativeTable *UnPack(const void *obj, ChreMessage type, const flatbuffers::resolver_function_t *resolver);
293 bool VerifyChreMessage(flatbuffers::Verifier &verifier, const void *obj, ChreMessage type);
2499 inline bool VerifyChreMessage(flatbuffers::Verifier &verifier, const void *obj, ChreMessage type) { argument
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);
2587 UnPack(const void *obj, ChreMessage type, const flatbuffers::resolver_function_t *resolver) argument
[all...]

Completed in 2434 milliseconds