/system/sepolicy/public/ |
H A D | attributes | 8 attribute dev_type; 11 attribute domain; 16 attribute fs_type; 19 attribute contextmount_type; 25 attribute file_type; 28 attribute exec_type; 31 attribute data_file_type; 33 attribute core_data_file_type; 35 attribute vendor_file_type; 38 attribute sysfs_typ [all...] |
H A D | te_macros | 89 # Defines type attribute used to identify various service-related types. 91 attribute pdx_$1_endpoint_dir_type; 92 attribute pdx_$1_endpoint_socket_type; 93 attribute pdx_$1_channel_socket_type; 94 attribute pdx_$1_server_type;
|
/system/connectivity/wificond/net/ |
H A D | nl80211_packet.h | 109 void AddAttribute(const BaseNL80211Attr& attribute); 110 // For NLA_FLAG attribute 114 bool GetAttribute(int id, NL80211NestedAttr* attribute) const; 119 // All data in |attribute| created here will be overwritten by 122 // for creating a valid attribute. 123 NL80211Attr<T> attribute(empty_vec); 124 if (!GetAttribute(id, &attribute)) { 127 *value = attribute.GetValue(); 132 bool GetAttribute(int id, NL80211Attr<T>* attribute) const { 143 *attribute [all...] |
H A D | nl80211_attribute.h | 39 // This is used when we initialize a NL80211 attribute from an existing 42 // A util helper function to find a specific sub attribute from a buffer. 43 // This buffer is supposed to be from a nested attribute or a nl80211 packet. 115 // We parse string attribute buffer in the same way kernel does. 139 void AddAttribute(const BaseNL80211Attr& attribute); 140 // For NLA_FLAG attribute 144 // Access an attribute nested within |this|. 145 // The result is returned by writing the attribute object to |*attribute|. 149 // attribute i [all...] |
H A D | nl80211_attribute.cpp | 64 // Skip the top level attribute header. 71 LOG(ERROR) << "Failed to get attribute: broken nl80211 atrribute."; 142 void NL80211NestedAttr::AddAttribute(const BaseNL80211Attr& attribute) { argument 143 const vector<uint8_t>& append_data = attribute.GetConstData(); 144 // Append the data of |attribute| to |this|. 147 // We don't need to worry about padding for nested attribute. 153 // We only need to append a header for flag attribute. 154 // Make space for the new attribute. 171 NL80211NestedAttr* attribute) const { 181 *attribute [all...] |
H A D | nl80211_packet.cpp | 170 void NL80211Packet::AddAttribute(const BaseNL80211Attr& attribute) { argument 171 const vector<uint8_t>& append_data = attribute.GetConstData(); 172 // Append the data of |attribute| to |this|. 181 // We only need to append a header for flag attribute. 182 // Make space for the new attribute. 200 NL80211NestedAttr* attribute) const { 211 *attribute = NL80211NestedAttr(vector<uint8_t>(start, end)); 212 if (!attribute->IsValid()) { 227 LOG(INFO) << "Have attribute with nla_type=" << header->nla_type
|
/system/sepolicy/tools/sepolicy-analyze/ |
H A D | Android.mk | 9 LOCAL_SRC_FILES := sepolicy-analyze.c dups.c neverallow.c perm.c typecmp.c booleans.c attribute.c utils.c
|
H A D | sepolicy-analyze.c | 10 #include "attribute.h" 27 COMP(attribute)
|
/system/tpm/tpm_manager/client/ |
H A D | main.cc | 83 Defines an NV space. The attribute format is a '|' separated list of: 331 NvramSpaceAttribute* attribute) { 333 *attribute = NVRAM_PERSISTENT_WRITE_LOCK; 337 *attribute = NVRAM_BOOT_WRITE_LOCK; 341 *attribute = NVRAM_BOOT_READ_LOCK; 345 *attribute = NVRAM_WRITE_AUTHORIZATION; 349 *attribute = NVRAM_READ_AUTHORIZATION; 353 *attribute = NVRAM_WRITE_EXTEND; 357 *attribute = NVRAM_GLOBAL_LOCK; 361 *attribute 330 DecodeAttribute(const std::string& attribute_str, NvramSpaceAttribute* attribute) argument 395 NvramSpaceAttribute attribute; local [all...] |
/system/tpm/tpm_manager/server/ |
H A D | tpm_nvram_impl.cc | 70 for (auto attribute : attributes) { 71 switch (attribute) { 221 for (const auto& attribute : attributes) { 222 if (attribute == NVRAM_OWNER_WRITE) { 228 if (attribute == NVRAM_WRITE_AUTHORIZATION) { 260 for (const auto& attribute : attributes) { 261 if (attribute == NVRAM_OWNER_READ) { 267 if (attribute == NVRAM_READ_AUTHORIZATION) { 318 for (const auto& attribute : attributes) { 319 if (attribute [all...] |
H A D | tpm_manager_service.cc | 299 for (auto attribute : attributes) { 300 reply->add_attributes(attribute);
|
H A D | tpm2_nvram_impl.cc | 69 for (auto attribute : attributes) { 70 switch (attribute) {
|
/system/netd/server/ |
H A D | NetlinkCommands.h | 72 // Returns the value of the specific __u32 attribute, or 0 if the attribute was not present. 73 uint32_t getRtmU32Attribute(const nlmsghdr *nlh, int attribute);
|
H A D | NetlinkCommands.cpp | 203 uint32_t getRtmU32Attribute(const nlmsghdr *nlh, int attribute) { argument 208 if (rta->rta_type == attribute) {
|
/system/core/adf/libadfhwc/ |
H A D | adfhwc.cpp | 119 const drm_mode_modeinfo &mode, const uint32_t attribute) 121 switch (attribute) { 140 ALOGE("unknown display attribute %u", attribute); 170 const drm_mode_modeinfo &mode, const uint32_t attribute) 172 switch (attribute) { 191 ALOGE("unknown display attribute %u", attribute); 118 adf_display_attribute(const adf_interface_data &data, const drm_mode_modeinfo &mode, const uint32_t attribute) argument 169 adf_display_attribute_hwc2(const adf_interface_data &data, const drm_mode_modeinfo &mode, const uint32_t attribute) argument
|
/system/tpm/attestation/server/ |
H A D | pkcs11_key_store.cc | 112 // First get the attribute with a NULL buffer which will give us the length. 113 CK_ATTRIBUTE attribute = {CKA_VALUE, nullptr, 0}; local 114 if (C_GetAttributeValue(session.handle(), key_handle, &attribute, 1) != 119 key_data->resize(attribute.ulValueLen); 120 attribute.pValue = string_as_array(key_data); 121 if (C_GetAttributeValue(session.handle(), key_handle, &attribute, 1) != 126 key_data->resize(attribute.ulValueLen); 531 CK_ATTRIBUTE attribute = {CKA_LABEL, nullptr, 0}; local 532 if (C_GetAttributeValue(session_handle, object_handle, &attribute, 1) != 537 key_name->resize(attribute [all...] |
/system/bt/stack/sdp/ |
H A D | sdp_db.cc | 74 p_attr = &p_rec->attribute[0]; 164 * the specified attribute, (the caller may specify be a range 165 * of attributes), the attribute is returned. 167 * Returns Pointer to the attribute, or NULL if not found. 176 for (xx = 0, p_at = &p_rec->attribute[0]; xx < p_rec->num_attributes; 181 /* No matching attribute found */ 271 /* Add the first attribute (the handle) automatically */ 318 /* Adjust the attribute value pointer for each attribute */ 320 p_rec->attribute[z [all...] |
H A D | sdpint.h | 81 /* Max length we support for any attribute */ 99 /* Internal attribute sequence definitions */ 110 /* Define the attribute element of the SDP database record */ 123 tSDP_ATTRIBUTE attribute[SDP_MAX_REC_ATTR]; member in struct:__anon1261 215 uint16_t max_attr_list_size; /* Max attribute list size to use */
|
/system/tpm/attestation/common/ |
H A D | proto_print.py | 68 def AddField(self, attribute, field_type, field_name): 72 attribute: This should be 'optional', 'required', or 'repeated'. 76 self.fields.append(Field(repeated=attribute == 'repeated',
|