Home
last modified time | relevance | path

Searched full:profiles (Results 1 – 25 of 1722) sorted by relevance

12345678910>>...69

/external/tpm2-tss/src/tss2-fapi/
Difapi_profiles.c39 /** Initialize the profiles information in the context in an asynchronous way
41 * Load the profile information from disk, fill the dictionary of loaded profiles and fill
46 * @param[in,out] profiles The context for the profiles information.
58 IFAPI_PROFILES *profiles, in ifapi_profiles_initialize_async() argument
66 check_not_null(profiles); in ifapi_profiles_initialize_async()
69 memset(profiles, 0, sizeof(*profiles)); in ifapi_profiles_initialize_async()
71 profiles->default_name = strdup(defaultprofile); in ifapi_profiles_initialize_async()
72 check_oom(profiles->default_name); in ifapi_profiles_initialize_async()
74 r = ifapi_io_dirfiles(profilesdir, &profiles->filenames, &profiles->num_profiles); in ifapi_profiles_initialize_async()
75 return_if_error(r, "Reading profiles from profiles dir"); in ifapi_profiles_initialize_async()
[all …]
Difapi_profiles.h13 /** Internal structure for FAPI profiles
41 /* An entry for the dictionary of loaded profiles */
52 /* Dictionary of loaded profiles */
53 struct IFAPI_PROFILE_ENTRY *profiles; member
55 /* Size of the loaded profiles dictionary */
62 IFAPI_PROFILES *profiles,
69 IFAPI_PROFILES *profiles,
74 const IFAPI_PROFILES *profiles,
80 IFAPI_PROFILES *profiles);
/external/dynamic_depth/internal/dynamic_depth/
Dprofiles.cc1 #include "dynamic_depth/profiles.h"
11 void Profiles::GetNamespaces( in GetNamespaces()
22 std::unique_ptr<Profiles> Profiles::FromProfileArray( in FromProfileArray()
28 std::unique_ptr<Profiles> profiles(new Profiles()); in FromProfileArray() local
29 profiles->profile_list_ = std::move(*profile_list); in FromProfileArray()
30 return profiles; in FromProfileArray()
33 std::unique_ptr<Profiles> Profiles::FromDeserializer( in FromDeserializer()
35 std::unique_ptr<Profiles> profiles(new Profiles()); in FromDeserializer() local
39 DynamicDepthConst::Namespace(DynamicDepthConst::Profiles()), in FromDeserializer()
40 DynamicDepthConst::Profiles(), i); in FromDeserializer()
[all …]
/external/aws-sdk-java-v2/core/profiles/src/test/java/software/amazon/awssdk/profiles/
DProfileFileTest.java16 package software.amazon.awssdk.profiles;
41 .isEqualTo(profiles(profile("foo"))); in emptyProfilesHaveNoProperties()
53 .isEqualTo(profiles(profile("foo"))); in profileNamesShouldBeTrimmed()
59 .isEqualTo(profiles(profile("foo"))); in tabsCanSeparateProfileNamesFromProfilePrefix()
72 .isEqualTo(profiles(profile("foo", property("name", "value")))); in profilesCanContainProperties()
79 .isEqualTo(profiles(profile("foo", property("name", "value")))); in windowsStyleLineEndingsAreSupported()
86 .isEqualTo(profiles(profile("foo", property("name", "val=ue")))); in equalsSignsAreSupportedInPropertyNames()
93 .isEqualTo(profiles(profile("foo", property("name", "\uD83D\uDE02")))); in unicodeCharactersAreSupportedInPropertyValues()
101 .isEqualTo(profiles(profile("foo", in profilesCanContainMultipleProperties()
110 .isEqualTo(profiles(profile("foo", property("name", "value")))); in propertyKeysAndValuesAreTrimmed()
[all …]
/external/cronet/components/metrics/call_stacks/
Dchild_call_stack_profile_collector_unittest.cc47 std::vector<ReceivedProfile>& profiles() { return profiles_; } in profiles() function in metrics::ChildCallStackProfileCollectorTest::Receiver
87 const std::vector<ChildCallStackProfileCollector::ProfileState>& profiles() in profiles() function in metrics::ChildCallStackProfileCollectorTest
101 EXPECT_EQ(0u, profiles().size()); in TEST_F()
106 ASSERT_EQ(1u, profiles().size()); in TEST_F()
107 ExpectProfile(profiles()[0], start_timestamp, mojom::ProfileType::kCPU); in TEST_F()
109 // Set the interface. The profiles should be passed to it. in TEST_F()
112 EXPECT_EQ(0u, profiles().size()); in TEST_F()
113 ASSERT_EQ(1u, receiver_impl_->profiles().size()); in TEST_F()
114 ExpectProfile(receiver_impl_->profiles()[0], start_timestamp, in TEST_F()
118 receiver_impl_->profiles().clear(); in TEST_F()
[all …]
Dcall_stack_profile_metrics_provider.cc42 // Cap the number of pending profiles to avoid excessive performance overhead
45 // profiles on canary and dev.
51 // profiles. Accessed asynchronously on the profiling thread after profiling has
63 // Singleton class responsible for retaining profiles received from
66 // store the profiles outside of a CallStackProfileMetricsProvider instance
78 // Retrieves all the pending profiles.
81 // Enables the collection of profiles by MaybeCollect*Profile if |enabled| is
82 // true. Otherwise, clears the currently collected profiles and ignores
83 // profiles provided to future invocations of MaybeCollect*Profile.
100 // Returns all the serialized profiles that have been collected but not yet
[all …]
Dcall_stack_profile_metrics_provider.h23 // base::Feature for reporting CPU profiles. Provided here for test use.
29 // A callback type that can be registered to intercept profiles, for testing
35 // Count of profiles, brokens down by the Process and Thread type of the
55 // thread. Note that receiving serialized profiles is supported separately so
56 // that profiles received in serialized form can be kept in that form until
64 // Allows tests to intercept received CPU profiles, to validate that the
65 // expected profiles are received. This function must be invoked prior to
71 // Gets the counts of all successfully collected profiles, broken down by
/external/ltp/testcases/lib/
Dtst_security.sh16 local profiles
22 profiles=
24 tst_apparmor_used_profile $cmd && profiles="$cmd $profiles"
26 [ -z "$profiles" ] && profiles="none"
27 tst_res TINFO "loaded AppArmor profiles: $profiles"
35 profiles=
37 tst_selinux_used_profile $cmd && profiles="$cmd $profiles"
39 [ -z "$profiles" ] && profiles="none"
40 tst_res TINFO "loaded SELinux profiles: $profiles"
44 # Detect whether AppArmor profiles are loaded
[all …]
/external/oss-fuzz/infra/base-images/base-runner/gocoverage/gocovmerge/
Dgocovmerge.go18 log.Fatalf("cannot merge profiles with different modes")
71 func addProfile(profiles []*cover.Profile, p *cover.Profile) []*cover.Profile {
72 i := sort.Search(len(profiles), func(i int) bool { return profiles[i].FileName >= p.FileName })
73 if i < len(profiles) && profiles[i].FileName == p.FileName {
74 mergeProfiles(profiles[i], p)
76 profiles = append(profiles, nil)
77 copy(profiles[i+1:], profiles[i:])
78 profiles[i] = p
80 return profiles
83 func dumpProfiles(profiles []*cover.Profile, out io.Writer) {
[all …]
/external/aws-sdk-java-v2/services/sso/src/test/java/software/amazon/awssdk/services/sso/auth/
DSsoProfileTest.java23 import software.amazon.awssdk.profiles.ProfileFile;
37 ProfileFile profiles = ProfileFile.builder() in createSsoCredentialsProvider_SsoAccountIdMissing_throwException() local
41 assertThat(profiles.profile("foo")).hasValueSatisfying(profile -> { in createSsoCredentialsProvider_SsoAccountIdMissing_throwException()
42 …assertThatThrownBy(() -> new ProfileCredentialsUtils(profiles, profile, profiles::profile).credent… in createSsoCredentialsProvider_SsoAccountIdMissing_throwException()
53 ProfileFile profiles = ProfileFile.builder() in createSsoCredentialsProvider_SsoRegionMissing_throwException() local
57 assertThat(profiles.profile("foo")).hasValueSatisfying(profile -> { in createSsoCredentialsProvider_SsoRegionMissing_throwException()
58 …assertThatThrownBy(() -> new ProfileCredentialsUtils(profiles, profile, profiles::profile).credent… in createSsoCredentialsProvider_SsoRegionMissing_throwException()
69 ProfileFile profiles = ProfileFile.builder() in createSsoCredentialsProvider_SsoRoleNameMissing_throwException() local
73 assertThat(profiles.profile("foo")).hasValueSatisfying(profile -> { in createSsoCredentialsProvider_SsoRoleNameMissing_throwException()
74 …assertThatThrownBy(() -> new ProfileCredentialsUtils(profiles, profile, profiles::profile).credent… in createSsoCredentialsProvider_SsoRoleNameMissing_throwException()
[all …]
/external/bazelbuild-rules_android/rules/
Dbaseline_profiles.bzl16 Defines baseline profiles processing methods in Android Rules.
31 """Processes all the transitive baseline profiles.
33 Baseline profiles propagated from libraries will be merged, and if optimizer integration is
34 enabled, startup profiles will be merged as well, and wildcards in baseline profiles will be
39 transitive_profiles: Depset. The transitive baseline profiles propagated from android_library
41 startup_profiles: List. The startup profiles.
44 …enable_optimizer_integration: Boolean. Whether to use startup profile and baseline profiles in opt…
45 merge_tool: FilesToRunProvider. An executable for merging baseline profiles.
46 profgen: FilesToRunProvider: An executable for compiling baseline profiles.
49 A struct containing all the outputs from processing baseline profiles.
[all …]
/external/dynamic_depth/includes/dynamic_depth/
Dprofiles.h15 // Implements the Device:Profiles field from the Dynamic Depth specification,
17 class Profiles : public Element {
28 // Creates this object from the given profiles. If the list is empty, returns
30 static std::unique_ptr<Profiles> FromProfileArray(
33 // Returns the deserialized profiles in a Profiles object, a unique_ptr owning
34 // nothing if parsing failed for all the profiles.
35 static std::unique_ptr<Profiles> FromDeserializer(
44 Profiles(const Profiles&) = delete;
45 void operator=(const Profiles&) = delete;
48 Profiles() = default;
/external/aws-sdk-java-v2/services/ssooidc/src/test/java/software/amazon/awssdk/services/ssooidc/internal/
DSsoOidcProfileTokenProviderFactoryTest.java26 import software.amazon.awssdk.profiles.ProfileFile;
87 ProfileFile profiles = ProfileFile.builder() in create_SsooidcTokenProvider_from_SsooidcSpecificProfile() local
91 … SdkTokenProvider sdkTokenProvider = new SsoOidcProfileTokenProviderFactory().create(profiles, in create_SsooidcTokenProvider_from_SsooidcSpecificProfile()
92profiles.profile("ssotoken").get()); in create_SsooidcTokenProvider_from_SsooidcSpecificProfile()
104 ProfileFile profiles = ProfileFile.builder() in create_SsoOidcTokenProvider_from_SsooidcSpecificProfileSupplier() local
108 …der sdkTokenProvider = new SsoOidcProfileTokenProviderFactory().create(() -> profiles, "ssotoken"); in create_SsoOidcTokenProvider_from_SsooidcSpecificProfileSupplier()
119 ProfileFile profiles = ProfileFile.builder() in create_SsoOidcTokenProvider_with_ssoAccountIdInProfile() local
125 ….isThrownBy(() -> new SsoOidcProfileTokenProviderFactory().create(profiles, profiles.profile("sso"… in create_SsoOidcTokenProvider_with_ssoAccountIdInProfile()
135 ProfileFile profiles = ProfileFile.builder() in create_SsoOidcTokenProvider_with_ssoRoleNameInProfile() local
141 ….isThrownBy(() -> new SsoOidcProfileTokenProviderFactory().create(profiles, profiles.profile("sso"… in create_SsoOidcTokenProvider_with_ssoRoleNameInProfile()
[all …]
/external/aws-sdk-java-v2/core/profiles/src/main/java/software/amazon/awssdk/profiles/
DProfileFile.java16 package software.amazon.awssdk.profiles;
31 import software.amazon.awssdk.profiles.internal.ProfileFileReader;
41 …* AWS configuration profiles allow you to share multiple sets of AWS security credentials between …
45 * For more information on setting up AWS configuration profiles, see:
49 …* A profile file can be created with {@link #builder()} and merged with other profiles files with …
54 public static final String PROFILES_SECTION_TITLE = "profiles";
115 * Retrieve an unmodifiable collection including all of the profiles in this file.
116 * @return An unmodifiable collection of the profiles in this file, keyed by profile name.
118 public Map<String, Profile> profiles() { in profiles() method in ProfileFile
125 Map<String, Profile> profiles = profilesAndSectionsMap.get(PROFILES_SECTION_TITLE); in toString() local
[all …]
/external/libcups/scheduler/
Dcolorman.c111 cups_array_t *profiles,
114 static void colord_create_profile(cups_array_t *profiles,
134 * 'cupsdRegisterColor()' - Register vendor color profiles in a PPD file.
194 * 'cupsdUnregisterColor()' - Unregister vendor color profiles in a PPD file.
262 * Find localized names for the color profiles... in apple_init_profile()
322 * 'apple_register_profiles()' - Register color profiles for a printer.
347 int num_profiles; /* Number of profiles */ in apple_register_profiles()
356 CFMutableDictionaryRef profiles, /* Dictionary of profiles */ in apple_register_profiles() local
377 * See if we have any profiles... in apple_register_profiles()
386 snprintf(iccfile, sizeof(iccfile), "%s/profiles/%s", DataDir, in apple_register_profiles()
[all …]
/external/google-cloud-java/java-deploy/proto-google-cloud-deploy-v1/src/main/java/com/google/cloud/deploy/v1/
DStageOrBuilder.java65 * Skaffold profiles to use when rendering the manifest for this stage's
69 * <code>repeated string profiles = 2;</code>
71 * @return A list containing the profiles.
78 * Skaffold profiles to use when rendering the manifest for this stage's
82 * <code>repeated string profiles = 2;</code>
84 * @return The count of profiles.
91 * Skaffold profiles to use when rendering the manifest for this stage's
95 * <code>repeated string profiles = 2;</code>
98 * @return The profiles at the given index.
105 * Skaffold profiles to use when rendering the manifest for this stage's
[all …]
/external/oss-fuzz/projects/orbit/
Dbuild.sh28 sed -i 's/\[settings\]/include(libfuzzer_base)\n\n[settings]/' ~/.conan/profiles/default
29 echo "CFLAGS=\$BASE_CFLAGS" >> ~/.conan/profiles/default
30 echo "CXXFLAGS=\$BASE_CXXFLAGS" >> ~/.conan/profiles/default
31 echo "LDFLAGS=\$BASE_LDFLAGS" >> ~/.conan/profiles/default
32 echo "OrbitProfiler:CFLAGS=\$BASE_CFLAGS $CFLAGS" >> ~/.conan/profiles/default
33 echo "OrbitProfiler:CXXFLAGS=\$BASE_CFLAGS $CXXFLAGS" >> ~/.conan/profiles/default
36 # echo "llvm:CFLAGS=\$BASE_CFLAGS $CFLAGS" >> ~/.conan/profiles/default
37 # echo "llvm:CXXFLAGS=\$BASE_CXXFLAGS $CXXFLAGS" >> ~/.conan/profiles/default
42 …pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION" >> ~/.conan/profiles/default
43 …tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -stdlib=libc++" >> ~/.conan/profiles/default
/external/autotest/client/site_tests/cellular_Hermes_MultiProfile/
Dcellular_Hermes_MultiProfile.py24 Test that Hermes can perform enable/disable operations on multiple profiles
29 Before running this test on test CI, two profiles need to be created on
30 go/stork-profile. The profiles required to be linked to the EID of the dut.
31 Profiles with class=operational and type=Android GTS test are known to work
35 There is a limit of 99 downloads before profiles to be deleted and
39 Install two production profiles before running the test.
60 raise error.TestError('Two distinct profiles need to be '
71 raise error.TestError('Two distinct profiles need to be installed '
74 # first get two profiles, check first_iccid and disable if not disabled,
94 logging.info('Stress enable/disable profiles')
/external/autotest/client/cros/networking/
Dhermes_proxy.py239 """@return the DBus profiles object."""
349 """Refreshes/Loads current euicc object profiles.
355 """Refreshes/Loads current euicc object pending profiles.
380 Set to true if downloading profiles from an SMDX with a test
381 certificate. This method used to download profiles to an esim from a
417 Return all the available profiles objects.
420 for the profiles. So, if the profiles DBus object has changed between
422 available profiles.
424 @return a dict of profiles objects. Return None if no profile is found.
435 logging.debug('Get installed profiles for current euicc')
[all …]
/external/toolchain-utils/pgo_tools/
Dbenchmark_pgo_profiles.py6 """Runs benchmarks, given potentially multiple PGO profiles.
31 # The full path to where `sys-devel/llvm` expects local profiles to be if
164 parser: argparse.ArgumentParser, profiles: List[ProfilePath]
169 for profile in profiles:
183 "there are other profiles specified by path."
189 "One or more profiles do not exist: " f"{nonexistent_profiles}"
195 profiles: List[ProfilePath],
201 profiles: profiles to benchmark with
221 for profile in profiles:
280 profiles = opts.profile
[all …]
/external/tensorflow/tensorflow/python/profiler/
Dpprof_profiler_test.py38 profiles = pprof_profiler.get_profiles(graph, run_metadata)
39 self.assertEqual(0, len(profiles))
54 profiles = pprof_profiler.get_profiles(graph, run_metadata)
55 self.assertEqual(0, len(profiles))
121 profiles = pprof_profiler.get_profiles(graph, run_metadata)
122 self.assertEqual(1, len(profiles))
123 self.assertTrue('deviceA' in profiles)
124 self.assertEqual(expected_proto, str(profiles['deviceA']))
148 profiles = pprof_profiler.get_profiles(sess.graph, run_metadata)
149 self.assertEqual(1, len(profiles))
[all …]
/external/crosvm/devices/src/virtio/video/decoder/
Dcapability.rs17 // Stores supporterd profiles and levels for each format.
18 profiles: BTreeMap<Format, Vec<Profile>>, field
27 profiles: BTreeMap<Format, Vec<Profile>>, in new()
33 profiles, in new()
50 let profiles = self.profiles.get(&fmt)?; in query_control() localVariable
51 Some(QueryCtrlResponse::Profile(profiles.to_vec())) in query_control()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DAudioDeviceInfoBuilder.java27 private ImmutableList<AudioProfile> profiles = ImmutableList.of(); field in AudioDeviceInfoBuilder
50 * Sets the {@link AudioProfile profiles}.
52 * @param profiles The list of {@link AudioProfile profiles}.
56 public AudioDeviceInfoBuilder setProfiles(List<AudioProfile> profiles) { in setProfiles() argument
57 this.profiles = ImmutableList.copyOf(profiles); in setProfiles()
69 ReflectionHelpers.setField(port, "mProfiles", profiles); in build()
/external/google-cloud-java/java-dms/proto-google-cloud-dms-v1/src/main/java/com/google/cloud/clouddms/v1/
DListConnectionProfilesRequestOrBuilder.java30 * Required. The parent, which owns this collection of connection profiles.
44 * Required. The parent, which owns this collection of connection profiles.
59 * The maximum number of connection profiles to return. The service may return
60 * fewer than this value. If unspecified, at most 50 connection profiles will
106 * A filter expression that filters connection profiles listed in the
110 * =, !=, &gt;, or &lt;. For example, list connection profiles created this year by
113 * = %lt;my_username%gt;** to list all connection profiles configured to
126 * A filter expression that filters connection profiles listed in the
130 * =, !=, &gt;, or &lt;. For example, list connection profiles created this year by
133 * = %lt;my_username%gt;** to list all connection profiles configured to
/external/autotest/client/cros/cellular/
Dhermes_utils.py39 @return a dict of profiles objects. Returns None if no profile is found
50 logging.info('No installed profiles on euicc:%s', euicc_path)
79 Uninstalls all installed test profiles
123 # Always euicc/0 is prod one and euicc/1 is for test esim profiles
172 # check for inactive profiles when enabled except enabled one
252 # skipping TESTING profiles to prevent install/uninstall operations
275 For prod esim having two profiles is prerequisite, return disabled profile
352 use SMDS calls to find iccid, activation code from pending profiles
353 and install those profiles, this requires profiles generated based
363 # get all pending profiles which are generated on DUT EID
[all …]

12345678910>>...69