/system/bt/gd/cert/ |
D | behavior.py | 34 return lambda obj: True 42 def IGNORE_UNHANDLED(obj): argument 71 def run(self, obj): argument 73 if instance.try_run(obj): 74 self.__obj_invoked(obj) 78 self._default_fn(obj) 79 self.__obj_invoked(obj) 82 … "%s: behavior for %s went unhandled" % (self._reply_stage_factory().__class__.__name__, obj), 85 def __obj_invoked(self, obj): argument 87 self._invoked_obj.append(obj) [all …]
|
D | capture.py | 30 def __call__(self, obj): argument 31 if self._match_fn(obj) != True: 35 self._value = self._capture_fn(obj) 37 self._value = obj
|
D | cert_self_test.py | 112 self._commit(lambda obj: self._increment_count(obj)) 115 def _increment_count(self, obj): argument 117 self._parent.captured.append(obj) 510 when(thing).test_request(lambda obj: obj == "B").always().increment_count() 536 when(thing).test_request(lambda obj: obj == "B").then(times=1).increment_count() 537 when(thing).test_request(lambda obj: obj == "C").always().increment_count() 564 thing.behaviors.test_request_behavior.set_default(lambda obj: thing.increment_unhandled()) 574 is_a = lambda obj: obj == "A" argument 587 when(thing).test_request(lambda obj: obj == "A").then().increment_count() 593 wait_until(thing).test_request(lambda obj: obj == "A").times(1) [all …]
|
/system/media/ |
D | CleanSpec.mk | 48 $(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/netd/libnetdutils/include/netdutils/ |
D | ThreadUtil.h | 50 inline void* runAndDelete(void* obj) { in runAndDelete() argument 51 std::unique_ptr<T> handler(reinterpret_cast<T*>(obj)); in runAndDelete() 58 inline int threadLaunch(T* obj) { in threadLaunch() argument 59 if (obj == nullptr) { in threadLaunch() 71 rval = pthread_create(&thread, &scoped_attr.attr, &runAndDelete<T>, obj); in threadLaunch()
|
/system/chre/platform/slpi/smgr/ |
D | smr_helper.cc | 206 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/apex/apexer/ |
D | conv_apex_manifest.py | 42 obj = json.load(f, object_pairs_hook=collections.OrderedDict) 45 for key in list(obj): 47 del obj[key] 51 json.dump(obj, f, indent=2) 53 print(json.dumps(obj, indent=2)) 57 obj = json.load(f, object_pairs_hook=collections.OrderedDict) 58 pb = ParseDict(obj, apex_manifest_pb2.ApexManifest())
|
/system/libhwbinder/ |
D | Parcel.cpp | 85 const flat_binder_object& obj, const void* who) in acquire_binder_object() argument 87 switch (obj.hdr.type) { in acquire_binder_object() 89 if (obj.binder) { in acquire_binder_object() 90 LOG_REFS("Parcel %p acquiring reference on local %p", who, obj.cookie); in acquire_binder_object() 91 reinterpret_cast<IBinder*>(obj.cookie)->incStrong(who); in acquire_binder_object() 95 if (obj.binder) in acquire_binder_object() 96 reinterpret_cast<RefBase::weakref_type*>(obj.binder)->incWeak(who); in acquire_binder_object() 99 const sp<IBinder> b = proc->getStrongProxyForHandle(obj.handle); in acquire_binder_object() 107 const wp<IBinder> b = proc->getWeakProxyForHandle(obj.handle); in acquire_binder_object() 113 ALOGD("Invalid object type 0x%08x", obj.hdr.type); in acquire_binder_object() [all …]
|
D | IPCThreadState.cpp | 519 BHwBinder* obj = mPendingStrongDerefs[0]; in processPendingDerefs() local 521 obj->decStrong(mProcess.get()); in processPendingDerefs() 542 RefBase* obj = mPostWriteStrongDerefs[0]; in processPostWriteDerefs() local 544 obj->decStrong(mProcess.get()); in processPostWriteDerefs() 1035 void IPCThreadState::setTheContextObject(sp<BHwBinder> obj) in setTheContextObject() argument 1037 the_context_object = obj; in setTheContextObject() 1055 BHwBinder* obj; in executeCommand() local 1068 obj = (BHwBinder*)mIn.readPointer(); in executeCommand() 1069 ALOG_ASSERT(refs->refBase() == obj, in executeCommand() 1071 refs, obj, refs->refBase()); in executeCommand() [all …]
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
D | flatbuffers_serialization.h | 79 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/bt/osi/src/ |
D | reactor.cc | 195 void reactor_unregister(reactor_object_t* obj) { in reactor_unregister() argument 196 CHECK(obj != NULL); in reactor_unregister() 198 reactor_t* reactor = obj->reactor; in reactor_unregister() 200 if (epoll_ctl(reactor->epoll_fd, EPOLL_CTL_DEL, obj->fd, NULL) == -1) in reactor_unregister() 202 obj->fd, strerror(errno)); in reactor_unregister() 212 list_append(reactor->invalidation_list, obj); in reactor_unregister() 223 obj->mutex->lock(); in reactor_unregister() 224 obj->mutex->unlock(); in reactor_unregister() 225 delete obj->mutex; in reactor_unregister() 226 osi_free(obj); in reactor_unregister()
|
/system/bt/gd/os/ |
D | handler.h | 61 void CallOn(T* obj, Functor&& functor, Args&&... args) { in CallOn() argument 62 …Post(common::BindOnce(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(… in CallOn() 74 T* obj, Functor&& functor, Args&&... args) { in BindOnceOn() argument 76 …common::BindOnce(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(args)… in BindOnceOn() 87 T* obj, Functor&& functor, Args&&... args) { in BindOn() argument 89 …common::Bind(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(args)...)… in BindOn()
|
/system/core/libutils/ |
D | CleanSpec.mk | 50 $(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/incremental_delivery/libdataloader/ |
D | JNIHelpers.h | 62 static inline jstring GetStringField(JNIEnv* env, jobject obj, jfieldID field) { in GetStringField() argument 63 return reinterpret_cast<jstring>(env->GetObjectField(obj, field)); in GetStringField() 66 static inline jbyteArray GetByteArrayField(JNIEnv* env, jobject obj, jfieldID field) { in GetByteArrayField() argument 67 return reinterpret_cast<jbyteArray>(env->GetObjectField(obj, field)); in GetByteArrayField()
|
/system/bt/gd/common/ |
D | bind.h | 35 inline base::Callback<MakeUnboundRunType<Functor, T, Args...>> BindOn(T* obj, Functor&& functor, Ar… in BindOn() argument 36 …return common::Bind(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(ar… in BindOn()
|
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/main/cpp/ |
D | native-lib.cpp | 32 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/libhidl/transport/include/hidl/ |
D | HidlBinderSupport.h | 124 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/simpleperf/ |
D | read_elf.cpp | 135 llvm::object::ObjectFile* obj = nullptr; member 167 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.get()); in OpenObjectFile() 168 if (wrapper->obj == nullptr) { in OpenObjectFile() 182 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.get()); in OpenObjectFileInMemory() 183 if (wrapper->obj == nullptr) { in OpenObjectFileInMemory() 461 if (auto obj = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(wrapper.obj)) { in CreateElfFileImpl() local 463 new ElfFileImpl<llvm::object::ELF32LEObjectFile>(std::move(wrapper), obj)); in CreateElfFileImpl() 465 if (auto obj = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(wrapper.obj)) { in CreateElfFileImpl() local 467 new ElfFileImpl<llvm::object::ELF64LEObjectFile>(std::move(wrapper), obj)); in CreateElfFileImpl()
|
/system/netd/libnetdutils/ |
D | ThreadUtilTest.cpp | 87 NoopRun* obj = new NoopRun(); in TEST() local 89 threadLaunch(obj); in TEST()
|
/system/nfc/ |
D | CleanSpec.mk | 46 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libnfc-nci_intermediates)
|
/system/update_engine/update_manager/ |
D | generic_variables_unittest.cc | 111 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()
|
/system/apex/shim/ |
D | README.md | 43 * out/target/product/${DEVICE}/obj/ETC/com.android.apex.cts.shim.v1_intermediates/com.android.ape… 44 * out/target/product/${DEVICE}/obj/ETC/com.android.apex.cts.shim.v2_intermediates/com.android.ape… 45 * out/target/product/${DEVICE}/obj/ETC/com.android.apex.cts.shim.v2_wrong_sha_intermediates/com.a…
|
/system/gsid/tests/ |
D | LockScreenAutomation.java | 136 UiObject2 obj = mDevice.findObject(selector); in findAndClick() local 137 if (obj != null) { in findAndClick() 138 obj.click(); in findAndClick()
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | host_messages_generated.h | 179 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/ |
D | reactor.h | 87 void reactor_unregister(reactor_object_t* obj);
|