Home
last modified time | relevance | path

Searched +full:call +full:- +full:bind (Results 1 – 25 of 1162) sorted by relevance

12345678910>>...47

/aosp_15_r20/packages/modules/Bluetooth/system/btif/src/
Dbtif_vc.cc2 * Copyright 2021 HIMSA II K/S - www.himsa.com.
3 * Represented by EHIMA - www.ehima.com
9 * http://www.apache.org/licenses/LICENSE-2.0
21 #include <base/functional/bind.h>
39 // TODO(b/369381361) Enfore -Wmissing-prototypes
40 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
42 using base::Bind;
58 this->callbacks_ = callbacks; in Init()
60 Bind(&VolumeControl::Initialize, this, in Init()
61 jni_thread_wrapper(Bind(&btif_storage_load_bonded_volume_control_devices)))); in Init()
[all …]
Dbtif_le_audio.cc2 * Copyright 2019 HIMSA II K/S - www.himsa.com. Represented by EHIMA -
9 * http://www.apache.org/licenses/LICENSE-2.0
32 // TODO(b/369381361) Enfore -Wmissing-prototypes
33 #pragma GCC diagnostic ignored "-Wmissing-prototypes"
35 using base::Bind;
56 do_in_jni_thread(Bind(&LeAudioClientCallbacks::OnInitialized, Unretained(callbacks))); in OnInitialized()
60 do_in_jni_thread(Bind(&LeAudioClientCallbacks::OnConnectionState, Unretained(callbacks), state, in OnConnectionState()
65 do_in_jni_thread(Bind(&LeAudioClientCallbacks::OnGroupStatus, Unretained(callbacks), group_id, in OnGroupStatus()
71 do_in_jni_thread(Bind(&LeAudioClientCallbacks::OnGroupNodeStatus, Unretained(callbacks), addr, in OnGroupNodeStatus()
77 do_in_jni_thread(Bind(&LeAudioClientCallbacks::OnAudioConf, Unretained(callbacks), direction, in OnAudioConf()
[all …]
/aosp_15_r20/external/grpc-grpc/test/cpp/util/
H A Dgrpc_tool_test.cc9 // http://www.apache.org/licenses/LICENSE-2.0
24 #include <gmock/gmock-matchers.h>
177 if (!context->client_metadata().empty()) { in Echo()
179 iter = context->client_metadata().begin(); in Echo()
180 iter != context->client_metadata().end(); ++iter) { in Echo()
181 context->AddInitialMetadata(ToString(iter->first), in Echo()
182 ToString(iter->second)); in Echo()
185 context->AddTrailingMetadata("trailing_key", "trailing_value"); in Echo()
186 response->set_message(request->message()); in Echo()
193 response->set_message(context->deadline() != in CheckDeadlineSet()
[all …]
/aosp_15_r20/external/clang/test/SemaCXX/
H A Dmember-pointer.cpp1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s
3 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
12 class H : A {}; // expected-note 2{{implicitly declared private here}}
17 void (*A::*ppfie)() throw(); // expected-error {{exception specifications are not allowed beyond a …
21 // expected-warning@-2 {{use of enumeration in a nested name specifier is a C++11 extension}}
23 // expected-error@-4 {{'pbi' does not point into a class}}
24 int C::*pci; // expected-error {{'pci' does not point into a class}}
25 void A::*pdv; // expected-error {{'pdv' declared as a member pointer to void}}
26 int& A::*pdr; // expected-error {{'pdr' declared as a member pointer to a reference}}
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/asio/test/
Dio_context.cpp5 // Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
16 // Test that header file is self-contained.
33 # include <boost/bind/bind.hpp>
63 --(*count); in decrement_to_zero()
66 boost::asio::post(*ioc, bindns::bind(decrement_to_zero, ioc, count)); in decrement_to_zero()
77 --(*count); in nested_decrement_to_zero()
80 bindns::bind(nested_decrement_to_zero, ioc, count)); in nested_decrement_to_zero()
93 boost::asio::post(*ioc, bindns::bind(sleep_increment, ioc, count)); in sleep_increment()
103 boost::asio::post(*ioc, bindns::bind(sleep_increment, ioc, count)); in start_sleep_increments()
113 ioc->run(); in io_context_run()
[all …]
Dstrand.cpp5 // Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com)
16 // Test that header file is self-contained.
34 # include <boost/bind/bind.hpp>
62 BOOST_ASIO_CHECK(!s->running_in_this_thread()); in increment_without_lock()
66 dispatch(*s, bindns::bind(increment, count)); in increment_without_lock()
69 // so the previous call to dispatch should have successfully nested. in increment_without_lock()
75 BOOST_ASIO_CHECK(s->running_in_this_thread()); in increment_with_lock()
79 dispatch(*s, bindns::bind(increment, count)); in increment_with_lock()
82 // previous call to dispatch should have successfully nested. in increment_with_lock()
122 post(*s, bindns::bind(sleep_increment, ioc, count)); in start_sleep_increments()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/net/
H A Dudp.rs13 /// After creating a `UdpSocket` by [`bind`]ing it to a socket address, data can be
25 /// [`bind`]: UdpSocket::bind
40 /// fn main() -> std::io::Result<()> {
42 /// let socket = UdpSocket::bind("127.0.0.1:34254")?;
66 /// If `addr` yields multiple addresses, `bind` will be attempted with
78 /// let socket = UdpSocket::bind("127.0.0.1:3400").expect("couldn't bind to address");
91 /// let socket = UdpSocket::bind(&addrs[..]).expect("couldn't bind to address");
100 /// let socket = UdpSocket::bind("127.0.0.1:0").unwrap();
103 /// Note that `bind` declares the scope of your network connection.
110 /// In order to limit your view of the network the least, `bind` to
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/net/
H A Dudp.rs13 /// After creating a `UdpSocket` by [`bind`]ing it to a socket address, data can be
25 /// [`bind`]: UdpSocket::bind
40 /// fn main() -> std::io::Result<()> {
42 /// let socket = UdpSocket::bind("127.0.0.1:34254")?;
66 /// If `addr` yields multiple addresses, `bind` will be attempted with
78 /// let socket = UdpSocket::bind("127.0.0.1:3400").expect("couldn't bind to address");
91 /// let socket = UdpSocket::bind(&addrs[..]).expect("couldn't bind to address");
100 /// let socket = UdpSocket::bind("127.0.0.1:0").unwrap();
103 /// Note that `bind` declares the scope of your network connection.
110 /// In order to limit your view of the network the least, `bind` to
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/net/
H A Dudp.rs13 /// After creating a `UdpSocket` by [`bind`]ing it to a socket address, data can be
25 /// [`bind`]: UdpSocket::bind
40 /// fn main() -> std::io::Result<()> {
42 /// let socket = UdpSocket::bind("127.0.0.1:34254")?;
66 /// If `addr` yields multiple addresses, `bind` will be attempted with
78 /// let socket = UdpSocket::bind("127.0.0.1:3400").expect("couldn't bind to address");
91 /// let socket = UdpSocket::bind(&addrs[..]).expect("couldn't bind to address");
100 /// let socket = UdpSocket::bind("127.0.0.1:0").unwrap();
103 /// Note that `bind` declares the scope of your network connection.
110 /// In order to limit your view of the network the least, `bind` to
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/net/
H A Dudp.rs13 /// After creating a `UdpSocket` by [`bind`]ing it to a socket address, data can be
25 /// [`bind`]: UdpSocket::bind
40 /// fn main() -> std::io::Result<()> {
42 /// let socket = UdpSocket::bind("127.0.0.1:34254")?;
66 /// If `addr` yields multiple addresses, `bind` will be attempted with
78 /// let socket = UdpSocket::bind("127.0.0.1:3400").expect("couldn't bind to address");
91 /// let socket = UdpSocket::bind(&addrs[..]).expect("couldn't bind to address");
100 /// let socket = UdpSocket::bind("127.0.0.1:0").unwrap();
103 /// Note that `bind` declares the scope of your network connection.
110 /// In order to limit your view of the network the least, `bind` to
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/net/
H A Dudp.rs13 /// After creating a `UdpSocket` by [`bind`]ing it to a socket address, data can be
25 /// [`bind`]: UdpSocket::bind
40 /// fn main() -> std::io::Result<()> {
42 /// let socket = UdpSocket::bind("127.0.0.1:34254")?;
66 /// If `addr` yields multiple addresses, `bind` will be attempted with
78 /// let socket = UdpSocket::bind("127.0.0.1:3400").expect("couldn't bind to address");
91 /// let socket = UdpSocket::bind(&addrs[..]).expect("couldn't bind to address");
100 /// let socket = UdpSocket::bind("127.0.0.1:0").unwrap();
103 /// Note that `bind` declares the scope of your network connection.
110 /// In order to limit your view of the network the least, `bind` to
[all …]
/aosp_15_r20/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java8 * http://www.apache.org/licenses/LICENSE-2.0
98 import com.android.server.telecom.Call;
145 @Mock Call mMockCall;
146 @Mock Call mMockSystemCall1;
147 @Mock Call mMockSystemCall2;
211 private @Mock Call mMockChildUserCall;
247 doAnswer(invocation -> { in setUp()
259 doAnswer(invocation -> { in setUp()
502 // Verify call for default dialer InCallService in testBindToService_DefaultDialer_NoEmergency()
504 // Verify call for car-mode InCallService in testBindToService_DefaultDialer_NoEmergency()
[all …]
/aosp_15_r20/cts/tests/tests/telecom/ThirdPtyInCallServiceTestApp/src/android/telecom/cts/thirdptyincallservice/
H A DCtsThirdPartyInCallService.java8 * http://www.apache.org/licenses/LICENSE-2.0
21 import android.telecom.Call;
43 private static Set<Call> sCalls = new HashSet<>();
45 private Call.Callback mCallback = new Call.Callback() {
47 public void onDetailsChanged(Call call, Call.Details details) {
57 * Used to bind a call
66 Log.d(TAG, "In Call Service on bind, " + olderState + " -> " + sServiceBoundLatch); in onBind()
72 * Used to unbind a call
80 Log.d(TAG, "In Call Service unbind, " + olderState + " -> " + sServiceUnboundlatch); in onUnbind()
85 public void onCallAdded(Call call) { in onCallAdded() argument
[all …]
/aosp_15_r20/out/soong/.intermediates/system/sepolicy/recovery_sepolicy.cil/android_common/shiba/
Drecovery_sepolicy.cil75 (fsuse xattr incremental-fs (u object_r labeledfs ((s0) (s0))))
113 (genfscon debugfs "/physical-memory-group-manager" (u object_r debugfs_mgm ((s0) (s0))))
124 (genfscon debugfs "/gs101-thermal" (u object_r debugfs_thermal ((s0) (s0))))
129 (genfscon debugfs "/dri/0/crtc-" (u object_r vendor_dri_debugfs ((s0) (s0))))
197 (genfscon proc "/sys/fs/pipe-max-size" (u object_r proc_pipe_conf ((s0) (s0))))
206 (genfscon proc "/sys/vm/page-cluster" (u object_r proc_page_cluster ((s0) (s0))))
218 (genfscon proc "/device-tree/avf" (u object_r proc_dt_avf ((s0) (s0))))
224 (genfscon proc "/sysrq-trigger" (u object_r proc_sysrq ((s0) (s0))))
279 (genfscon sysfs "/devices/platform/acpm_mfd_bus@15500000/i2c-7/7-001f/s2mpg14-meter/s2mpg14-odpm/ii…
280 (genfscon sysfs "/devices/platform/acpm_mfd_bus@15500000/i2c-7/7-001f/s2mpg14-meter/s2mpg14-odpm/ii…
[all …]
/aosp_15_r20/cts/tests/tests/telecom/src/android/telecom/cts/
H A DThirdPartyInCallServiceAppOpsPermissionTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
33 import android.telecom.Call;
51 private static final Uri TEST_URI = Uri.parse("tel:555-TEST");
82 // A bind status of false (unbound) requires tearDown() to run to tear down the in tearDown()
85 assertBindStatus(/* true: bind, false: unbind */false, /* expected result */true); in tearDown()
96 assertBindStatus(/* true: bind, false: unbind */true, /* expected result */false); in testWithoutAppOpsPermission()
111 assertBindStatus(/* true: bind, false: unbind */true, /* expected result */true); in testWithAppOpsPermission()
120 * Verifies that {@link android.telecom.Call#putExtras(Bundle)} changes made in one
125 @ApiTest(apis = {"android.telecom.Call#putExtras",
126 "android.telecom.Call.Callback#onDetailsChanged"})
[all …]
H A DSelfManagedConnectionTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
37 import android.telecom.Call;
77 // Default dialer that not support self-managed calls
83 // Default dialerhat support self-managed calls
219 * Test bind to non-UI in call services that support self-managed connections
229 control.resetLatchForServiceBound(true /* bind */); in testBindToSupportNonUiInCallService()
245 * Test bind to default dialer that support self-managed connections when device is not in car
257 control.resetLatchForServiceBound(true /* bind */); in testBindToSupportDefaultDialerNoCarMode()
272 * Test not bind to default dialer that not support self-managed connections when device is not
284 control.resetLatchForServiceBound(true /* bind */); in testNoBindToUnsupportDefaultDialerNoCarMode()
[all …]
/aosp_15_r20/external/swiftshader/tests/regres/testlists/vk-default/
H A Dbinding-model.txt1 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_0
2 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_1
3 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_2
4 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_3
5 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_4
6 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_5
7 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_6
8 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_7
9 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_8
10 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_9
[all …]
/aosp_15_r20/external/deqp/external/vulkancts/mustpass/main/vk-default/
H A Dbinding-model.txt1 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_0
2 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_1
3 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_2
4 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_3
5 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_4
6 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_5
7 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_6
8 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_7
9 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_8
10 dEQP-VK.binding_model.buffer_device_address.capture_replay_stress.seed_9
[all …]
/aosp_15_r20/external/pigweed/pw_web/webconsole/
H A Dpackage-lock.json12 "@codemirror/lang-javascript": "^6.0.2",
14 "@codemirror/theme-one-dark": "^6.0.0",
20 "object-path": "^0.11.8",
23 "react-dom": "18.2.0",
24 "react-virtualized": "^9.22.3",
25 "react-virtualized-auto-sizer": "^1.0.6",
26 "react-window": "^1.8.7",
28 "xterm-addon-fit": "^0.5.0"
33 "@types/react-dom": "18.0.6",
34 "@types/react-virtualized": "^9.21.21",
[all …]
/aosp_15_r20/external/guice/core/test/com/google/inject/
H A DJitBindingsTest.java8 * http://www.apache.org/licenses/LICENSE-2.0
63 bind(Foo.class).to(FooImpl.class); in testLinkedBindingWorks()
68 // FooImpl was implicitly bound, it is an error to call getInstance or getProvider, in testLinkedBindingWorks()
69 // It is OK to call getBinding for introspection, but an error to get the provider in testLinkedBindingWorks()
81 bind(Foo.class).to(FooImpl.class); in testMoreBasicsWork()
82 bind(Bar.class); in testMoreBasicsWork()
83 bind(FooBar.class); in testMoreBasicsWork()
88 // FooImpl was implicitly bound, it is an error to call getInstance or getProvider, in testMoreBasicsWork()
89 // It is OK to call getBinding for introspection, but an error to get the provider in testMoreBasicsWork()
101 bind(Foo.class).to(FooImpl.class).asEagerSingleton(); in testLinkedEagerSingleton()
[all …]
/aosp_15_r20/external/libchrome/dbus/
H A Dend_to_end_async_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
12 #include "base/bind.h"
39 // The end-to-end test exercises the asynchronous APIs in ObjectProxy and
47 // Start the D-Bus thread. in SetUp()
48 dbus_thread_.reset(new base::Thread("D-Bus Thread")); in SetUp()
51 ASSERT_TRUE(dbus_thread_->StartWithOptions(thread_options)); in SetUp()
53 // Start the test service, using the D-Bus thread. in SetUp()
55 options.dbus_task_runner = dbus_thread_->task_runner(); in SetUp()
57 ASSERT_TRUE(test_service_->StartService()); in SetUp()
58 ASSERT_TRUE(test_service_->WaitUntilServiceIsStarted()); in SetUp()
[all …]
/aosp_15_r20/external/deqp/external/openglcts/modules/gles31/
H A Des31cTextureStorageMultisampleTexStorage3DMultisampleTests.cpp1 /*-------------------------------------------------------------------------
3 * -----------------------------
5 * Copyright (c) 2014-2016 The Khronos Group Inc.
11 * http://www.apache.org/licenses/LICENSE-2.0
22 */ /*-------------------------------------------------------------------*/
28 * entry-points (ES3.1 only)
29 */ /*-------------------------------------------------------------------*/
45 * - "valid internalformat and samples values are accepted" test,
46 …* - "requests to set up multisample color textures with unsupported number of samples are rejected…
51 * - valid internalformat and samples values are accepted" test,
[all …]
H A Des31cTextureStorageMultisampleTexStorage2DMultisampleTests.cpp1 /*-------------------------------------------------------------------------
3 * -----------------------------
5 * Copyright (c) 2014-2016 The Khronos Group Inc.
11 * http://www.apache.org/licenses/LICENSE-2.0
22 */ /*-------------------------------------------------------------------*/
28 * entry-points (ES3.1 only)
29 */ /*-------------------------------------------------------------------*/
66 /* Call base class deinitialization routine */ in deinit()
108 /* Bind generated texture object ID to GL_TEXTURE_2D_MULTISAMPLE texture target */ in initInternalIteration()
134 glw::GLint internalformat_max_samples = -1; /* Will be determined later */ in iterate()
[all …]
/aosp_15_r20/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/
H A DCrossProfileSender.java8 * https://www.apache.org/licenses/LICENSE-2.0
121 private final CrossProfileCall call; field in CrossProfileSender.OngoingCrossProfileCall
124 private OngoingCrossProfileCall(CrossProfileSender sender, CrossProfileCall call) { in OngoingCrossProfileCall() argument
125 if (sender == null || call == null) { in OngoingCrossProfileCall()
129 this.call = call; in OngoingCrossProfileCall()
144 sender.removeConnectionHolder(call); in onResult()
148 call.callback.onResult(methodIdentifier, bundle); in onResult()
159 sender.removeConnectionHolder(call); in onException()
161 call.callback.onException(exception); in onException()
175 return sender.equals(that.sender) && call.equals(that.call); in equals()
[all …]
/aosp_15_r20/external/libchrome/mojo/public/cpp/bindings/tests/
H A Dsync_method_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
7 #include "base/bind.h"
36 return base::Bind(&LambdaBinder::RunLambda<Func>, func); in BindLambda()
223 Interface* operator->() { in operator ->()
224 return thread_safe_ptr_ ? thread_safe_ptr_->get() : ptr_.get(); in operator ->()
275 CHECK(task_runner()->RunsTasksInCurrentSequence()); in SetUp()
277 impl_->set_ping_handler( in SetUp()
288 CHECK(task_runner()->RunsTasksInCurrentSequence()); in TearDown()
341 master_impl_->set_send_interface_handler( in SetUp()
346 master_impl_->set_send_request_handler( in SetUp()
[all …]

12345678910>>...47