/system/hwservicemanager/ |
D | test_lazy.cpp | 83 sp<RecordingClientCallback> cb = new RecordingClientCallback; in TEST_F() local 86 service->addClientCallback(cb, 1 /*knownClients*/); in TEST_F() 94 ASSERT_THAT(cb->stream, ElementsAre()); in TEST_F() 98 sp<RecordingClientCallback> cb = new RecordingClientCallback; in TEST_F() local 101 service->addClientCallback(cb, 2 /*knownClients*/); in TEST_F() 109 ASSERT_THAT(cb->stream, ElementsAre()); in TEST_F() 113 sp<RecordingClientCallback> cb = new RecordingClientCallback; in TEST_F() local 116 service->addClientCallback(cb, 1 /*knownClients*/); in TEST_F() 122 ASSERT_THAT(cb->stream, ElementsAre(true)); in TEST_F() 128 ASSERT_THAT(cb->stream, ElementsAre(true)); in TEST_F() [all …]
|
D | service.cpp | 68 sp<HwBinderCallback> cb = new HwBinderCallback; in setupTo() local 80 cb, in setupTo() 84 return cb; in setupTo() 97 sp<ClientCallbackCallback> cb = new ClientCallbackCallback(manager); in setupTo() local 119 cb, in setupTo() 123 return cb; in setupTo()
|
/system/update_engine/payload_generator/ |
D | erofs_iterate.h | 39 int erofs_iterate_root_dir(const struct erofs_sb_info* sbi, Callable cb) { in erofs_iterate_root_dir() argument 50 .ctx.cb = [](struct erofs_dir_context* arg) -> int { in erofs_iterate_root_dir() 57 auto cb = static_cast<Callable*>(ctx->arg); in erofs_iterate_root_dir() member 58 const auto err = (*cb)(ctx); in erofs_iterate_root_dir() 73 .arg = &cb, in erofs_iterate_root_dir()
|
/system/security/keystore2/src/ |
D | rkpd_client.rs | 123 let cb = GetRegistrationCallback::new_native_binder(tx); in get_rkpd_registration() localVariable 126 .getRegistration(&rpc_name, &cb) in get_rkpd_registration() 201 let cb = GetKeyCallback::new_native_binder(tx); in get_rkpd_attestation_key_from_registration_async() localVariable 204 .getKey(caller_uid.try_into().unwrap(), &cb) in get_rkpd_attestation_key_from_registration_async() 210 if let Err(e) = registration.cancelGetKey(&cb) { in get_rkpd_attestation_key_from_registration_async() 269 let cb = StoreUpgradedKeyCallback::new_native_binder(tx); in store_rkpd_attestation_key_with_registration_async() localVariable 272 .storeUpgradedKeyAsync(key_blob, upgraded_blob, &cb) in store_rkpd_attestation_key_with_registration_async() 366 fn getKey(&self, _: i32, cb: &Strong<dyn IGetKeyCallback>) -> binder::Result<()> { in getKey() 373 let get_key_cb = cb.clone(); in getKey() 394 cb: &Strong<dyn IStoreUpgradedKeyCallback>, in storeUpgradedKeyAsync() [all …]
|
/system/security/prng_seeder/src/ |
D | main.rs | 83 let cb = ConditionerBuilder::new(hwrng)?; in setup() localVariable 84 Ok((cb, listener)) in setup() 87 async fn listen_loop(cb: ConditionerBuilder, listener: UnixListener) -> Result<Infallible> { in listen_loop() 88 let mut conditioner = cb.build(); in listen_loop() 110 let (cb, listener) = match setup() { in run() 128 .block_on(async { listen_loop(cb, listener).await }) in run()
|
/system/nfc/src/rust/nci/ |
D | api.rs | 103 if let Some(cb) = self.callback.take() { in nfc_disable() 104 cb(1, &[]); in nfc_disable() 193 if let Some(cb) = self.callback { in nfc_set_config() 194 cb(2, &raw[3..]); in nfc_set_config() 232 if let Some(cb) = self.callback { in nfc_get_config() 233 cb(3, &raw[3..]); in nfc_get_config()
|
/system/security/keystore2/apc_compat/ |
D | apc_compat.rs | 154 cb: F, in prompt_user_confirmation() 159 let cb_data_ptr = Box::into_raw(Box::new(Box::new(cb) as Box<Callback>)); in prompt_user_confirmation() 160 let cb = ApcCompatCallback { in prompt_user_confirmation() localVariable 178 cb, in prompt_user_confirmation()
|
/system/core/libstats/pull_rust/ |
D | stats_pull.rs | 122 let cb = map.get(&atom_tag); in callback_wrapper() localVariable 123 match cb { in callback_wrapper() 125 Some(cb) => { in callback_wrapper() 126 let stats = cb(); in callback_wrapper()
|
/system/extras/profcollectd/libprofcollectd/ |
D | service.rs | 96 cb: &binder::Strong<(dyn IProviderStatusCallback)>, in registerProviderStatusCallback() 99 if let Err(e) = cb.onProviderReady() { in registerProviderStatusCallback() 105 let cb_binder: SpIBinder = cb.as_binder(); in registerProviderStatusCallback() 107 if let Ok(cb) = cb_binder.into_interface::<dyn IProviderStatusCallback>() { in registerProviderStatusCallback() 108 if let Err(e) = cb.onProviderReady() { in registerProviderStatusCallback()
|
D | scheduler.rs | 128 pub fn register_provider_ready_callback(&self, cb: Box<dyn FnOnce() + Send>) { in register_provider_ready_callback() 130 locked_callbacks.push(cb); in register_provider_ready_callback() 163 for cb in v { in start_thread_waiting_for_provider_ready() 164 cb(); in start_thread_waiting_for_provider_ready()
|
/system/tools/aidl/tests/java/src/android/aidl/tests/ |
D | NestedTypesTests.java | 56 Callback cb = new Callback(); in testUseNestedTypes() local 57 nestedService.flipStatusWithCallback(p.status, cb); in testUseNestedTypes() 58 assertThat(cb.received, is(ParcelableWithNested.Status.OK)); in testUseNestedTypes()
|
/system/tools/aidl/tests/ |
D | aidl_test_client_nested.cpp | 60 sp<Callback> cb = new Callback; in TEST_F() local 61 EXPECT_TRUE(nestedService->flipStatusWithCallback(r.status, cb).isOk()); in TEST_F() 62 EXPECT_THAT(cb->result, Optional(NestedStatus::OK)); in TEST_F()
|
D | aidl_test_client_ndk_nested.cpp | 70 auto cb = ndk::SharedRefBase::make<Callback>(); in TEST_F() local 71 status = nestedService->flipStatusWithCallback(r.status, cb); in TEST_F() 73 EXPECT_THAT(cb->result, Optional(NestedStatus::OK)); in TEST_F()
|
/system/chre/host/hal_generic/V1_2/ |
D | generic_context_hub_v1_2.cc | 71 uint32_t hubId, const sp<IContexthubCallback> &cb) { in registerCallback_1_2() argument 73 if (cb != nullptr) { in registerCallback_1_2() 74 wrappedCallback = new IContextHubCallbackWrapperV1_2(cb); in registerCallback_1_2()
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/nested/ |
D | BnNestedService.h | 30 …tus, const ::android::sp<::android::aidl::tests::nested::INestedService::ICallback>& cb) override { in flipStatusWithCallback() argument 32 if (cb) { in flipStatusWithCallback() 33 …ndroid::sp<::android::aidl::tests::nested::INestedService::ICallbackDelegator>::cast(delegate(cb)); in flipStatusWithCallback()
|
/system/chre/platform/shared/ |
D | nanoapp_loader.cc | 58 int atexitInternal(struct AtExitCallback &cb) { in atexitInternal() argument 65 gCurrentlyLoadingNanoapp->registerAtexitFunction(cb); in atexitInternal() 73 struct AtExitCallback cb(func, arg); in cxaAtexitOverride() local 74 atexitInternal(cb); in cxaAtexitOverride() 81 struct AtExitCallback cb(func); in atexitOverride() local 82 atexitInternal(cb); in atexitOverride() 355 void NanoappLoader::registerAtexitFunction(struct AtExitCallback &cb) { in registerAtexitFunction() argument 356 if (!mAtexitFunctions.push_back(cb)) { in registerAtexitFunction() 858 struct AtExitCallback cb = mAtexitFunctions.back(); in callAtexitFunctions() local 859 if (cb.arg.has_value()) { in callAtexitFunctions() [all …]
|
/system/ca-certificates/google/files/ |
D | 02b73561.0 | 41 e4:cb:c9:0e:42:90:f9:de:34:b9:a1:ba:11:f4:25: 46 b3:98:cb:ac:bc:64:53:40:bc:8f:ac:ac:36:cb:5c: 52 da:e6:ea:c1:47:1a:0b:0b:46:09:dd:02:fc:de:cb: 56 ab:2d:cb:a8:fe:01:49:48:f0:c0:dd:c7:68:d8:92: 81 35:c6:0d:ef:97:dc:4c:ab:11:e1:6b:cb:31:d1:6c:fb:48:80: 83 16:ec:98:c7:16:8b:59:a6:34:ab:05:57:2d:93:f7:aa:13:cb:
|
D | 2afc57aa.0 | 50 5a:cb:36:c6:07:56:f7:8c:cf:11:f4:4c:bb:30:70: 52 22:a9:22:45:4b:b0:66:2e:30:cc:9f:65:fd:fc:cb: 55 f1:e7:49:b0:14:e3:f5:62:cb:d5:72:bd:1f:b9:d2: 58 bb:ef:7d:e4:e2:9d:cb:5b:b6:6e:ff:e3:cd:5a:e7: 59 74:82:05:ba:80:25:38:cb:e4:69:9e:af:41:aa:1a: 84 50:28:cb:85:d2:d3:10:a2:59:6e:d3:93:54:00:7a:a2:46:95:
|
/system/libhidl/transport/manager/1.2/ |
D | IServiceManager.hal | 33 * @param cb non-null callback to call when there are no clients 37 * - the server or cb parameters are null 43 IClientCallback cb) 49 * If server is null, then this must remove the cb from all matching services. 52 * @param cb non-null callback to remove 55 * false if cb is null or if the client callback or server could not be found 57 unregisterClientCallback(interface server, IClientCallback cb) generates (bool success);
|
/system/ca-certificates/files/ |
D | bd43e1dd.0 | 57 b9:95:ef:cb:c7:f6:da:31:74:28:a6:e6:54:89:f5: 61 53:cb:c2:98:1c:84:a3:9e:b0:be:23:a4:da:dc:c8: 63 3b:70:d5:50:25:88:99:cb:cd:73:60:f7:d5:ff:35: 72 86:5b:c7:7f:6b:8b:55:1b:4a:c5:20:61:3d:ae:cb: 81 cb:00:c9:52:af:42:ff:37:8f:e1:a3:1e:7a:3d:50: 102 c6:7a:e0:47:be:6e:ce:cb:a3:72:3a:2d:69:5d:cb:c8:e8:45: 104 9e:af:a0:99:ad:be:a9:01:66:cb:38:1d:3c:df:43:1f:f4:4d: 110 cf:af:e7:86:2c:cb:1f:09:6f:a3:6f:a9:84:d4:73:bf:4d:a1: 118 37:5c:c6:cb:21:4e:b0:f7:99:47:18:85:c1:2b:ba:55:ae:06:
|
/system/security/keystore/ |
D | keystore_get_wifi_hidl.cpp | 50 auto cb = [&](IKeystore::KeystoreStatusCode status, hidl_vec<uint8_t> returnedValue) { in keystore_get() local 58 Return<void> ret = service->getBlob(hidl_string(key, keyLength), cb); in keystore_get()
|
/system/security/provisioner/support/ |
D | rkpd_client.cpp | 140 auto cb = sp<GetKeyCallback>::make(std::move(keyPromise_)); in onSuccess() local 141 auto status = registration->getKey(keyId_, cb); in onSuccess() 143 cb->onError(IGetKeyCallback::ErrorCode::ERROR_UNKNOWN, in onSuccess() 192 auto cb = sp<GetRegistrationCallback>::make(std::move(keyPromise), keyId); in getRpcKeyFuture() local 193 Status status = remoteProvisioning->getRegistration(*rpcName, cb); in getRpcKeyFuture()
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | SystemSuspendUnitTest.cpp | 586 sp<MockCallback> cb = new MockCallback(&impl); in TEST_F() local 588 controlService->registerCallback(cb, &retval); in TEST_F() 591 cb->disable(); in TEST_F() 618 sp<MockCallback> cb = new MockCallback(&impl); in TEST_F() local 621 controlService->registerCallback(cb, &retval); in TEST_F() 667 cb->disable(); in TEST_F() 674 sp<MockCallback> cb = new MockCallback(nullptr); in TEST_F() 676 controlService->registerCallback(cb, &retval); in TEST_F() 693 sp<MockCallback> cb = new MockCallback(nullptr); in notifyWakeup() local 694 cb->disable(); in notifyWakeup() [all …]
|
D | SuspendControlService.h | 62 const std::vector<sp<ISuspendCallback>>::iterator findCb(const wp<IBinder>& cb) { in findCb() argument 65 [&cb](const sp<ISuspendCallback>& i) { return cb == IInterface::asBinder(i); }); in findCb()
|
/system/tools/hidl/test/hidl_test/ |
D | FooCallback.h | 26 Return<void> heyItsYou(const sp<IFooCallback>& cb) override; 27 Return<bool> heyItsYouIsntIt(const sp<IFooCallback>& cb) override;
|