Home
last modified time | relevance | path

Searched refs:profile (Results 1 – 12 of 12) sorted by relevance

/system/ulib/zx/include/lib/zx/
A Dprofile.h14 class profile : public object<profile> {
18 constexpr profile() = default;
20 explicit profile(zx_handle_t value) : object(value) {} in profile() function
22 explicit profile(handle&& h) : object(h.release()) {} in profile() function
24 profile(profile&& other) : object(other.release()) {} in profile() function
26 profile& operator=(profile&& other) {
31 static zx_status_t create(const job& job, const zx_profile_info_t* info, profile* result);
34 using unowned_profile = unowned<profile>;
A Dobject.h16 class profile; variable
182 zx_status_t set_profile(const object<profile>& profile, uint32_t options) const { in set_profile() argument
183 return zx_object_set_profile(get(), profile.get(), options); in set_profile()
/system/utest/core/profile/
A Dprofile.cpp19 zx::profile profile; in profile_failures_test() local
21 ASSERT_EQ(zx::profile::create(*root_job, nullptr, &profile), ZX_ERR_INVALID_ARGS, ""); in profile_failures_test()
22 ASSERT_EQ(zx::profile::create(zx::job(), nullptr, &profile), ZX_ERR_BAD_HANDLE, ""); in profile_failures_test()
25 ASSERT_EQ(zx::profile::create( in profile_failures_test()
26 *root_job, &profile_info, &profile), ZX_ERR_NOT_SUPPORTED, ""); in profile_failures_test()
30 ASSERT_EQ(zx::profile::create( in profile_failures_test()
31 *root_job, &profile_info, &profile), ZX_ERR_INVALID_ARGS, ""); in profile_failures_test()
36 ASSERT_EQ(zx::profile::create( in profile_failures_test()
37 child_job, &profile_info, &profile), ZX_ERR_ACCESS_DENIED, ""); in profile_failures_test()
53 zx::profile profile1; in profile_priority_test()
[all …]
A Dprofile.c18 zx_handle_t profile; in make_profile_fails() local
20 ASSERT_EQ(zx_profile_create(root_job, NULL, &profile), ZX_ERR_INVALID_ARGS, ""); in make_profile_fails()
21 ASSERT_EQ(zx_profile_create(ZX_HANDLE_INVALID, NULL, &profile), ZX_ERR_BAD_HANDLE, ""); in make_profile_fails()
24 ASSERT_EQ(zx_profile_create(root_job, &profile_info, &profile), ZX_ERR_NOT_SUPPORTED, ""); in make_profile_fails()
28 ASSERT_EQ(zx_profile_create(root_job, &profile_info, &profile), ZX_ERR_INVALID_ARGS, ""); in make_profile_fails()
33 ASSERT_EQ(zx_profile_create(child_job, &profile_info, &profile), ZX_ERR_ACCESS_DENIED, ""); in make_profile_fails()
/system/ulib/zx/
A Dprofile.cpp12 zx_status_t profile::create(const job& job, const zx_profile_info_t* info, profile* result) { in create()
A Drules.mk27 $(LOCAL_DIR)/profile.cpp \
/system/ulib/cobalt-client/
A Dcobalt_logger.cpp37 request->profile.release_stage = in SendLoggerSimpleCreateRequest()
39 request->profile.config.size = config_size; in SendLoggerSimpleCreateRequest()
40 request->profile.config.vmo = config->release(); in SendLoggerSimpleCreateRequest()
/system/utest/cobalt-client/
A Dcobalt_logger_test.cpp114 zx_status_t CreateLogger(const fuchsia_cobalt_ProjectProfile* profile, zx_handle_t logger, in CreateLogger() argument
119 zx_status_t CreateLoggerSimple(const fuchsia_cobalt_ProjectProfile* profile, zx_handle_t logger, in CreateLoggerSimple() argument
121 zx::vmo config(profile->config.vmo); in CreateLoggerSimple()
126 EXPECT_EQ(profile->config.size, kVmoSize); in CreateLoggerSimple()
128 EXPECT_EQ(profile->release_stage, in CreateLoggerSimple()
/system/host/banjo/examples/
A Dtypes.banjo252 handle<profile> profile_handle;
271 handle<profile>? nullable_profile_handle;
/system/host/fidl/examples/
A Dtypes.fidl253 handle<profile> profile_handle;
273 handle<profile>? nullable_profile_handle;
/system/fidl/fuchsia-cobalt/
A Dcobalt.fidl94 // |profile| A ProjectProfile describing the Cobalt project that the
98 // profile does not contain a valid Cobalt config with only a single
100 1: CreateLogger(ProjectProfile profile, request<Logger> logger)
105 // |profile| A ProjectProfile describing the Cobalt project that the
109 // profile does not contain a valid Cobalt config with only a single
111 2: CreateLoggerSimple(ProjectProfile profile, request<LoggerSimple> logger)
/system/public/zircon/
A Dsyscalls.abigen252 #! profile must be of type ZX_OBJ_TYPE_PROFILE and have ZX_RIGHT_APPLY_PROFILE.
254 (handle: zx_handle_t, profile: zx_handle_t, options: uint32_t)
747 (root_job: zx_handle_t, profile: zx_profile_info_t[1] IN)

Completed in 19 milliseconds