Home
last modified time | relevance | path

Searched +full:- +full:- +full:ipc (Results 1 – 25 of 1067) sorted by relevance

12345678910>>...43

/external/trusty/arm-trusted-firmware/plat/imx/common/include/sci/svc/timer/
Dsci_timer_api.h3 * Copyright 2017-2019 NXP
5 * SPDX-License-Identifier: BSD-3-Clause
72 * @param[in] ipc IPC handle
78 sc_err_t sc_timer_set_wdog_timeout(sc_ipc_t ipc, sc_timer_wdog_time_t timeout);
81 * This function sets the watchdog pre-timeout in milliseconds. If not
82 * set then the pre-timeout defaults to the max. Once locked this value
85 * @param[in] ipc IPC handle
86 * @param[in] pre_timeout pre-timeout period for the watchdog
88 * When the pre-timeout expires an IRQ will be generated. Note this timeout
94 sc_err_t sc_timer_set_wdog_pre_timeout(sc_ipc_t ipc,
[all …]
/external/arm-trusted-firmware/plat/imx/common/include/sci/svc/timer/
Dsci_timer_api.h3 * Copyright 2017-2019 NXP
5 * SPDX-License-Identifier: BSD-3-Clause
72 * @param[in] ipc IPC handle
78 sc_err_t sc_timer_set_wdog_timeout(sc_ipc_t ipc, sc_timer_wdog_time_t timeout);
81 * This function sets the watchdog pre-timeout in milliseconds. If not
82 * set then the pre-timeout defaults to the max. Once locked this value
85 * @param[in] ipc IPC handle
86 * @param[in] pre_timeout pre-timeout period for the watchdog
88 * When the pre-timeout expires an IRQ will be generated. Note this timeout
94 sc_err_t sc_timer_set_wdog_pre_timeout(sc_ipc_t ipc,
[all …]
/external/libchrome/ipc/
Dipc_channel_mojo_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
5 #include "ipc/ipc_channel_mojo.h"
39 #include "ipc/ipc_message.h"
40 #include "ipc/ipc_message_utils.h"
41 #include "ipc/ipc_mojo_handle_attachment.h"
42 #include "ipc/ipc_mojo_message_helper.h"
43 #include "ipc/ipc_mojo_param_traits.h"
44 #include "ipc/ipc_sync_channel.h"
45 #include "ipc/ipc_sync_message.h"
46 #include "ipc/ipc_test.mojom.h"
[all …]
Dipc_message_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
5 #include "ipc/ipc_message.h"
19 #include "ipc/ipc_message_utils.h"
22 // IPC messages for testing ----------------------------------------------------
25 #include "ipc/ipc_message_macros.h"
35 namespace IPC { namespace
42 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST()
74 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL); in TEST()
75 IPC::WriteParam(&msg, input); in TEST()
79 EXPECT_TRUE(IPC::ReadParam(&msg, &iter, &output)); in TEST()
[all …]
Dipc_fuzzing_tests.cc2 // Use of this source code is governed by a BSD-style license that can be
18 #include "ipc/ipc_test_base.h"
21 // IPC messages for testing ----------------------------------------------------
24 #include "ipc/ipc_message_macros.h"
34 // Message to create a mutex in the IPC server, using the received name.
40 // -----------------------------------------------------------------------------
46 uint32_t v1 = std::numeric_limits<uint32_t>::max() - 1; in TEST()
48 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST()
59 uint32_t v1 = std::numeric_limits<uint32_t>::max() - 1; in TEST()
61 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST()
[all …]
Dipc_mojo_bootstrap_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
5 #include "ipc/ipc_mojo_bootstrap.h"
14 #include "ipc/ipc.mojom.h"
15 #include "ipc/ipc_test_base.h"
26 explicit Connection(std::unique_ptr<IPC::MojoBootstrap> bootstrap, in Connection()
29 bootstrap_->Connect(&sender_, &receiver_); in Connection()
30 sender_->SetPeerPid(sender_id); in Connection()
33 void TakeReceiver(IPC::mojom::ChannelAssociatedRequest* receiver) { in TakeReceiver()
37 IPC::mojom::ChannelAssociatedPtr& GetSender() { return sender_; } in GetSender()
40 IPC::mojom::ChannelAssociatedPtr sender_;
[all …]
Dipc_channel_proxy_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
15 #include "ipc/ipc_message.h"
16 #include "ipc/ipc_test_base.h"
17 #include "ipc/message_filter.h"
21 #include "ipc/ipc_channel_proxy_unittest_messages.h"
24 #include "ipc/struct_constructor_macros.h"
25 #include "ipc/ipc_channel_proxy_unittest_messages.h"
28 #include "ipc/struct_destructor_macros.h"
29 #include "ipc/ipc_channel_proxy_unittest_messages.h"
32 #include "ipc/param_traits_write_macros.h"
[all …]
Dipc_message_protobuf_utils_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
13 #include "ipc/ipc_message_protobuf_utils.h"
17 #include "ipc/test_proto.pb.h"
18 #include "ipc/ipc_message.h"
19 #include "ipc/ipc_message_utils.h"
22 namespace IPC { namespace
34 if (!iter->ReadInt(&number)) in Read()
36 r->set_number(number); in Read()
52 return ReadParam(m, iter, r->mutable_numbers()) && in Read()
53 ReadParam(m, iter, r->mutable_strings()) && in Read()
[all …]
/external/trusty/arm-trusted-firmware/plat/imx/common/include/sci/svc/misc/
Dsci_misc_api.h3 * Copyright 2017-2019 NXP
5 * SPDX-License-Identifier: BSD-3-Clause
106 * @param[in] ipc IPC handle
114 * - SC_PARM if arguments out of range or invalid,
115 * - SC_ERR_NOACCESS if caller's partition is not the resource owner or parent
120 sc_err_t sc_misc_set_control(sc_ipc_t ipc, sc_rsrc_t resource,
126 * @param[in] ipc IPC handle
134 * - SC_PARM if arguments out of range or invalid,
135 * - SC_ERR_NOACCESS if caller's partition is not the resource owner or parent
140 sc_err_t sc_misc_get_control(sc_ipc_t ipc, sc_rsrc_t resource,
[all …]
/external/arm-trusted-firmware/plat/imx/common/include/sci/svc/misc/
Dsci_misc_api.h3 * Copyright 2017-2019 NXP
5 * SPDX-License-Identifier: BSD-3-Clause
106 * @param[in] ipc IPC handle
114 * - SC_PARM if arguments out of range or invalid,
115 * - SC_ERR_NOACCESS if caller's partition is not the resource owner or parent
120 sc_err_t sc_misc_set_control(sc_ipc_t ipc, sc_rsrc_t resource,
126 * @param[in] ipc IPC handle
134 * - SC_PARM if arguments out of range or invalid,
135 * - SC_ERR_NOACCESS if caller's partition is not the resource owner or parent
140 sc_err_t sc_misc_get_control(sc_ipc_t ipc, sc_rsrc_t resource,
[all …]
/external/cronet/stable/ipc/
Dipc_channel_mojo_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
5 #include "ipc/ipc_channel_mojo.h"
45 #include "ipc/ipc_channel_mojo_unittest.test-mojom.h"
46 #include "ipc/ipc_message.h"
47 #include "ipc/ipc_message_utils.h"
48 #include "ipc/ipc_mojo_handle_attachment.h"
49 #include "ipc/ipc_mojo_message_helper.h"
50 #include "ipc/ipc_mojo_param_traits.h"
51 #include "ipc/ipc_sync_channel.h"
52 #include "ipc/ipc_sync_message.h"
[all …]
Dipc_fuzzing_tests.cc2 // Use of this source code is governed by a BSD-style license that can be
18 #include "ipc/ipc_test_base.h"
21 // IPC messages for testing ----------------------------------------------------
24 #include "ipc/ipc_message_macros.h"
25 #include "ipc/ipc_message_start.h"
35 // Message to create a mutex in the IPC server, using the received name.
41 // -----------------------------------------------------------------------------
47 uint32_t v1 = std::numeric_limits<uint32_t>::max() - 1; in TEST()
49 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST()
60 uint32_t v1 = std::numeric_limits<uint32_t>::max() - 1; in TEST()
[all …]
Dipc_message_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
10 #include "ipc/ipc_message.h"
24 #include "ipc/ipc_message_utils.h"
27 // IPC messages for testing ----------------------------------------------------
30 #include "ipc/ipc_message_macros.h"
31 #include "ipc/ipc_message_start.h"
41 namespace IPC { namespace
48 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST()
76 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL); in TEST()
77 IPC::WriteParam(&msg, input); in TEST()
[all …]
Dipc_channel_proxy_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
18 #include "ipc/ipc_message.h"
19 #include "ipc/ipc_test_base.h"
20 #include "ipc/message_filter.h"
24 #include "ipc/ipc_channel_proxy_unittest_messages.h"
27 #include "ipc/struct_constructor_macros.h"
28 #include "ipc/ipc_channel_proxy_unittest_messages.h"
31 #include "ipc/param_traits_write_macros.h"
32 namespace IPC { namespace
33 #include "ipc/ipc_channel_proxy_unittest_messages.h"
[all …]
Dipc_mojo_bootstrap_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
10 #include "ipc/ipc_mojo_bootstrap.h"
19 #include "ipc/ipc.mojom.h"
20 #include "ipc/ipc_test_base.h"
31 explicit Connection(std::unique_ptr<IPC::MojoBootstrap> bootstrap, in Connection()
34 mojo::PendingAssociatedRemote<IPC::mojom::Channel> sender; in Connection()
35 bootstrap_->Connect(&sender, &receiver_); in Connection()
37 sender_->SetPeerPid(sender_id); in Connection()
40 // bound, because all of these tests are single-threaded and it will be in Connection()
42 bootstrap_->StartReceiving(); in Connection()
[all …]
Dipc_message_protobuf_utils_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
12 #include "ipc/ipc_message_protobuf_utils.h"
16 #include "ipc/test_proto.pb.h"
17 #include "ipc/ipc_message.h"
18 #include "ipc/ipc_message_utils.h"
21 namespace IPC { namespace
33 if (!iter->ReadInt(&number)) in Read()
35 r->set_number(number); in Read()
51 return ReadParam(m, iter, r->mutable_numbers()) && in Read()
52 ReadParam(m, iter, r->mutable_strings()) && in Read()
[all …]
/external/cronet/tot/ipc/
Dipc_channel_mojo_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
5 #include "ipc/ipc_channel_mojo.h"
45 #include "ipc/ipc_channel_mojo_unittest.test-mojom.h"
46 #include "ipc/ipc_message.h"
47 #include "ipc/ipc_message_utils.h"
48 #include "ipc/ipc_mojo_handle_attachment.h"
49 #include "ipc/ipc_mojo_message_helper.h"
50 #include "ipc/ipc_mojo_param_traits.h"
51 #include "ipc/ipc_sync_channel.h"
52 #include "ipc/ipc_sync_message.h"
[all …]
Dipc_fuzzing_tests.cc2 // Use of this source code is governed by a BSD-style license that can be
18 #include "ipc/ipc_test_base.h"
21 // IPC messages for testing ----------------------------------------------------
24 #include "ipc/ipc_message_macros.h"
25 #include "ipc/ipc_message_start.h"
35 // Message to create a mutex in the IPC server, using the received name.
41 // -----------------------------------------------------------------------------
47 uint32_t v1 = std::numeric_limits<uint32_t>::max() - 1; in TEST()
49 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST()
60 uint32_t v1 = std::numeric_limits<uint32_t>::max() - 1; in TEST()
[all …]
Dipc_message_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
10 #include "ipc/ipc_message.h"
24 #include "ipc/ipc_message_utils.h"
27 // IPC messages for testing ----------------------------------------------------
30 #include "ipc/ipc_message_macros.h"
31 #include "ipc/ipc_message_start.h"
41 namespace IPC { namespace
48 IPC::Message m(0, 1, IPC::Message::PRIORITY_NORMAL); in TEST()
76 IPC::Message msg(1, 2, IPC::Message::PRIORITY_NORMAL); in TEST()
77 IPC::WriteParam(&msg, input); in TEST()
[all …]
Dipc_channel_proxy_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
18 #include "ipc/ipc_message.h"
19 #include "ipc/ipc_test_base.h"
20 #include "ipc/message_filter.h"
24 #include "ipc/ipc_channel_proxy_unittest_messages.h"
27 #include "ipc/struct_constructor_macros.h"
28 #include "ipc/ipc_channel_proxy_unittest_messages.h"
31 #include "ipc/param_traits_write_macros.h"
32 namespace IPC { namespace
33 #include "ipc/ipc_channel_proxy_unittest_messages.h"
[all …]
Dipc_mojo_bootstrap_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
10 #include "ipc/ipc_mojo_bootstrap.h"
19 #include "ipc/ipc.mojom.h"
20 #include "ipc/ipc_test_base.h"
31 explicit Connection(std::unique_ptr<IPC::MojoBootstrap> bootstrap, in Connection()
34 mojo::PendingAssociatedRemote<IPC::mojom::Channel> sender; in Connection()
35 bootstrap_->Connect(&sender, &receiver_); in Connection()
37 sender_->SetPeerPid(sender_id); in Connection()
40 // bound, because all of these tests are single-threaded and it will be in Connection()
42 bootstrap_->StartReceiving(); in Connection()
[all …]
/external/trusty/arm-trusted-firmware/plat/imx/common/include/sci/svc/rm/
Dsci_rm_api.h2 * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
4 * SPDX-License-Identifier: BSD-3-Clause
57 #define SC_RM_SPA_NEGATE 3U /* Negate (force to be non-secure/user) */
68 #define SC_RM_PERM_NSPRIV_R 4U /* Secure R/W, non-secure privilege RO */
69 #define SC_RM_PERM_NS_R 5U /* Secure R/W, non-secure RO */
70 #define SC_RM_PERM_NSPRIV_RW 6U /* Secure R/W, non-secure privilege R/W */
118 * @param[in] ipc IPC handle
136 * - SC_ERR_NOACCESS if caller's partition is restricted,
137 * - SC_ERR_PARM if caller's partition is not secure but a new secure partition is requested,
138 * - SC_ERR_LOCKED if caller's partition is locked,
[all …]
/external/arm-trusted-firmware/plat/imx/common/include/sci/svc/rm/
Dsci_rm_api.h2 * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
4 * SPDX-License-Identifier: BSD-3-Clause
57 #define SC_RM_SPA_NEGATE 3U /* Negate (force to be non-secure/user) */
68 #define SC_RM_PERM_NSPRIV_R 4U /* Secure R/W, non-secure privilege RO */
69 #define SC_RM_PERM_NS_R 5U /* Secure R/W, non-secure RO */
70 #define SC_RM_PERM_NSPRIV_RW 6U /* Secure R/W, non-secure privilege R/W */
118 * @param[in] ipc IPC handle
136 * - SC_ERR_NOACCESS if caller's partition is restricted,
137 * - SC_ERR_PARM if caller's partition is not secure but a new secure partition is requested,
138 * - SC_ERR_LOCKED if caller's partition is locked,
[all …]
/external/trusty/arm-trusted-firmware/plat/imx/common/include/sci/svc/pm/
Dsci_pm_api.h2 * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
4 * SPDX-License-Identifier: BSD-3-Clause
10 * control, clock control, reset control, and wake-up event control.
58 #define SC_PM_PW_MODE_LP 2U /* Power in low-power */
90 #define SC_PM_CLK_MODE_AUTOGATE_SW_HW 5U /* Clock is in SW-HW autogate mode */
143 #define SC_PM_SYS_IF_MU 1U /* AP -> SCU message units */
144 #define SC_PM_SYS_IF_OCMEM 2U /* On-chip memory (ROM/OCRAM) */
152 #define SC_PM_WAKE_SRC_NONE 0U /* No wake source, used for self-kill */
204 * This type is used to specify a system-level interface to be power managed.
224 * @param[in] ipc IPC handle
[all …]
/external/arm-trusted-firmware/plat/imx/common/include/sci/svc/pm/
Dsci_pm_api.h2 * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
4 * SPDX-License-Identifier: BSD-3-Clause
10 * control, clock control, reset control, and wake-up event control.
58 #define SC_PM_PW_MODE_LP 2U /* Power in low-power */
90 #define SC_PM_CLK_MODE_AUTOGATE_SW_HW 5U /* Clock is in SW-HW autogate mode */
143 #define SC_PM_SYS_IF_MU 1U /* AP -> SCU message units */
144 #define SC_PM_SYS_IF_OCMEM 2U /* On-chip memory (ROM/OCRAM) */
152 #define SC_PM_WAKE_SRC_NONE 0U /* No wake source, used for self-kill */
204 * This type is used to specify a system-level interface to be power managed.
224 * @param[in] ipc IPC handle
[all …]

12345678910>>...43