/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_lib.py | 109 self._commit(lambda obj: self._increment_count(obj)) 112 def _increment_count(self, obj): argument 114 self._parent.captured.append(obj) 432 when(thing).test_request(lambda obj: obj == "B").always().increment_count() 460 when(thing).test_request(lambda obj: obj == "B").then(times=1).increment_count() 461 when(thing).test_request(lambda obj: obj == "C").always().increment_count() 490 thing.behaviors.test_request_behavior.set_default(lambda obj: thing.increment_unhandled()) 501 is_a = lambda obj: obj == "A" argument 515 when(thing).test_request(lambda obj: obj == "A").then().increment_count() 521 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/extras/module_ndk_libs/libnativehelper/include_jni/ |
D | jni.h | 523 jint Throw(jthrowable obj) in Throw() 524 { return functions->Throw(this, obj); } in Throw() 547 jobject NewGlobalRef(jobject obj) in NewGlobalRef() 548 { return functions->NewGlobalRef(this, obj); } in NewGlobalRef() 583 jclass GetObjectClass(jobject obj) in GetObjectClass() 584 { return functions->GetObjectClass(this, obj); } in GetObjectClass() 586 jboolean IsInstanceOf(jobject obj, jclass clazz) in IsInstanceOf() 587 { return functions->IsInstanceOf(this, obj, clazz); } in IsInstanceOf() 593 _jtype Call##_jname##Method(jobject obj, jmethodID methodID, ...) \ 598 result = functions->Call##_jname##MethodV(this, obj, methodID, \ [all …]
|
/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 | 508 BHwBinder* obj = mPendingStrongDerefs[0]; in processPendingDerefs() local 510 obj->decStrong(mProcess.get()); in processPendingDerefs() 531 RefBase* obj = mPostWriteStrongDerefs[0]; in processPostWriteDerefs() local 533 obj->decStrong(mProcess.get()); in processPostWriteDerefs() 1029 void IPCThreadState::setTheContextObject(sp<BHwBinder> obj) in setTheContextObject() argument 1031 the_context_object = obj; in setTheContextObject() 1049 BHwBinder* obj; in executeCommand() local 1062 obj = (BHwBinder*)mIn.readPointer(); in executeCommand() 1063 ALOG_ASSERT(refs->refBase() == obj, in executeCommand() 1065 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/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/ |
D | IDeprecated.java | 29 public static android.aidl.tests.IDeprecated asInterface(android.os.IBinder obj) in asInterface() argument 31 if ((obj==null)) { in asInterface() 34 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 38 return new android.aidl.tests.IDeprecated.Stub.Proxy(obj); in asInterface()
|
D | INewName.java | 31 public static android.aidl.tests.INewName asInterface(android.os.IBinder obj) in asInterface() argument 33 if ((obj==null)) { in asInterface() 36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 40 return new android.aidl.tests.INewName.Stub.Proxy(obj); in asInterface()
|
D | INamedCallback.java | 31 public static android.aidl.tests.INamedCallback asInterface(android.os.IBinder obj) in asInterface() argument 33 if ((obj==null)) { in asInterface() 36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 40 return new android.aidl.tests.INamedCallback.Stub.Proxy(obj); in asInterface()
|
D | IOldName.java | 31 public static android.aidl.tests.IOldName asInterface(android.os.IBinder obj) in asInterface() argument 33 if ((obj==null)) { in asInterface() 36 android.os.IInterface iin = obj.queryLocalInterface(DESCRIPTOR); in asInterface() 40 return new android.aidl.tests.IOldName.Stub.Proxy(obj); in asInterface()
|
/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 | 34 inline base::Callback<MakeUnboundRunType<Functor, T, Args...>> BindOn(T* obj, Functor&& functor, Ar… in BindOn() argument 35 …return common::Bind(std::forward<Functor>(functor), common::Unretained(obj), std::forward<Args>(ar… in BindOn()
|
/system/bt/gd/rust/gddi/src/ |
D | lib.rs | 104 pub async fn inject<T: 'static + Clone + Send + Sync>(self: &Arc<Self>, obj: T) { in inject() 106 instances.insert(TypeId::of::<T>(), Box::new(obj)); in inject() 112 while let Some(obj) = start_order.pop() { in stop_all() 113 obj.stop(); in stop_all()
|
/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 | 146 llvm::object::ObjectFile* obj = nullptr; member 178 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.get()); in OpenObjectFile() 179 if (wrapper->obj == nullptr) { in OpenObjectFile() 193 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.get()); in OpenObjectFileInMemory() 194 if (wrapper->obj == nullptr) { in OpenObjectFileInMemory() 477 if (auto obj = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(wrapper.obj)) { in CreateElfFileImpl() local 479 new ElfFileImpl<llvm::object::ELF32LEObjectFile>(std::move(wrapper), obj)); in CreateElfFileImpl() 481 if (auto obj = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(wrapper.obj)) { in CreateElfFileImpl() local 483 new ElfFileImpl<llvm::object::ELF64LEObjectFile>(std::move(wrapper), obj)); in CreateElfFileImpl()
|
/system/nfc/ |
D | CleanSpec.mk | 46 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libnfc-nci_intermediates)
|
/system/netd/libnetdutils/ |
D | ThreadUtilTest.cpp | 87 NoopRun* obj = new NoopRun(); in TEST() local 89 threadLaunch(obj); in TEST()
|