Home
last modified time | relevance | path

Searched refs:attribute (Results 1 – 25 of 54) sorted by relevance

123

/system/sepolicy/prebuilts/api/26.0/public/
Dattributes8 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_type;
[all …]
Dproperty.te58 # device specific properties. Properties with this attribute
/system/sepolicy/public/
Dattributes8 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;
34 attribute core_data_file_type;
36 attribute vendor_file_type;
39 attribute sysfs_type;
[all …]
Dproperty.te58 # device specific properties. Properties with this attribute
/system/connectivity/wificond/net/
Dnl80211_packet.h109 void AddAttribute(const BaseNL80211Attr& attribute);
114 bool GetAttribute(int id, NL80211NestedAttr* attribute) const;
123 NL80211Attr<T> attribute(empty_vec); in GetAttributeValue()
124 if (!GetAttribute(id, &attribute)) { in GetAttributeValue()
127 *value = attribute.GetValue(); in GetAttributeValue()
132 bool GetAttribute(int id, NL80211Attr<T>* attribute) const { in GetAttribute() argument
143 *attribute = NL80211Attr<T>(std::vector<uint8_t>(start, end)); in GetAttribute()
144 if (!attribute->IsValid()) { in GetAttribute()
Dnl80211_attribute.h139 void AddAttribute(const BaseNL80211Attr& attribute);
150 bool GetAttribute(int id, NL80211NestedAttr* attribute) const;
159 NL80211Attr<T> attribute(empty_vec); in GetAttributeValue()
160 if (!GetAttribute(id, &attribute)) { in GetAttributeValue()
163 *value = attribute.GetValue(); in GetAttributeValue()
193 NL80211Attr<T> attribute(std::vector<uint8_t>( in GetListOfAttributeValues()
196 if (!attribute.IsValid()) { in GetListOfAttributeValues()
199 attr_list.emplace_back(attribute.GetValue()); in GetListOfAttributeValues()
211 bool GetAttribute(int id, NL80211Attr<T>* attribute) const { in GetAttribute() argument
221 *attribute = NL80211Attr<T>(std::vector<uint8_t>(start, end)); in GetAttribute()
[all …]
Dnl80211_packet.cpp170 void NL80211Packet::AddAttribute(const BaseNL80211Attr& attribute) { in AddAttribute() argument
171 const vector<uint8_t>& append_data = attribute.GetConstData(); in AddAttribute()
200 NL80211NestedAttr* attribute) const { in GetAttribute()
211 *attribute = NL80211NestedAttr(vector<uint8_t>(start, end)); in GetAttribute()
212 if (!attribute->IsValid()) { in GetAttribute()
Dnl80211_attribute.cpp142 void NL80211NestedAttr::AddAttribute(const BaseNL80211Attr& attribute) { in AddAttribute() argument
143 const vector<uint8_t>& append_data = attribute.GetConstData(); in AddAttribute()
171 NL80211NestedAttr* attribute) const { in GetAttribute()
181 *attribute = NL80211NestedAttr(vector<uint8_t>(start, end)); in GetAttribute()
182 if (!attribute->IsValid()) { in GetAttribute()
/system/tpm/tpm_manager/client/
Dmain.cc331 NvramSpaceAttribute* attribute) { in DecodeAttribute() argument
333 *attribute = NVRAM_PERSISTENT_WRITE_LOCK; in DecodeAttribute()
337 *attribute = NVRAM_BOOT_WRITE_LOCK; in DecodeAttribute()
341 *attribute = NVRAM_BOOT_READ_LOCK; in DecodeAttribute()
345 *attribute = NVRAM_WRITE_AUTHORIZATION; in DecodeAttribute()
349 *attribute = NVRAM_READ_AUTHORIZATION; in DecodeAttribute()
353 *attribute = NVRAM_WRITE_EXTEND; in DecodeAttribute()
357 *attribute = NVRAM_GLOBAL_LOCK; in DecodeAttribute()
361 *attribute = NVRAM_PLATFORM_WRITE; in DecodeAttribute()
365 *attribute = NVRAM_OWNER_WRITE; in DecodeAttribute()
[all …]
/system/sepolicy/private/
Dattributes1 # Temporary attribute used for migrating permissions out of domain.
3 # from domain and assign them to the domain_deprecated attribute.
9 attribute domain_deprecated;
Ddomain_deprecated.te1 # rules removed from the domain attribute
/system/sepolicy/prebuilts/api/26.0/private/
Dattributes1 # Temporary attribute used for migrating permissions out of domain.
3 # from domain and assign them to the domain_deprecated attribute.
9 attribute domain_deprecated;
/system/tpm/tpm_manager/server/
Dtpm_nvram_impl.cc70 for (auto attribute : attributes) { in MapAttributesToTpm() local
71 switch (attribute) { in MapAttributesToTpm()
221 for (const auto& attribute : attributes) { in WriteSpace() local
222 if (attribute == NVRAM_OWNER_WRITE) { in WriteSpace()
228 if (attribute == NVRAM_WRITE_AUTHORIZATION) { in WriteSpace()
260 for (const auto& attribute : attributes) { in ReadSpace() local
261 if (attribute == NVRAM_OWNER_READ) { in ReadSpace()
267 if (attribute == NVRAM_READ_AUTHORIZATION) { in ReadSpace()
318 for (const auto& attribute : attributes) { in LockSpace() local
319 if (attribute == NVRAM_OWNER_READ) { in LockSpace()
[all …]
/system/tpm/attestation/server/
Dpkcs11_key_store.cc113 CK_ATTRIBUTE attribute = {CKA_VALUE, nullptr, 0}; in Read() local
114 if (C_GetAttributeValue(session.handle(), key_handle, &attribute, 1) != in Read()
119 key_data->resize(attribute.ulValueLen); in Read()
120 attribute.pValue = string_as_array(key_data); in Read()
121 if (C_GetAttributeValue(session.handle(), key_handle, &attribute, 1) != in Read()
126 key_data->resize(attribute.ulValueLen); in Read()
531 CK_ATTRIBUTE attribute = {CKA_LABEL, nullptr, 0}; in GetKeyName() local
532 if (C_GetAttributeValue(session_handle, object_handle, &attribute, 1) != in GetKeyName()
537 key_name->resize(attribute.ulValueLen); in GetKeyName()
538 attribute.pValue = string_as_array(key_name); in GetKeyName()
[all …]
/system/core/adf/libadfhwc/
Dadfhwc.cpp119 const drm_mode_modeinfo &mode, const uint32_t attribute) in adf_display_attribute() argument
121 switch (attribute) { in adf_display_attribute()
140 ALOGE("unknown display attribute %u", attribute); in adf_display_attribute()
170 const drm_mode_modeinfo &mode, const uint32_t attribute) in adf_display_attribute_hwc2() argument
172 switch (attribute) { in adf_display_attribute_hwc2()
191 ALOGE("unknown display attribute %u", attribute); in adf_display_attribute_hwc2()
/system/bt/stack/sdp/
Dsdp_db.cc74 p_attr = &p_rec->attribute[0]; in sdp_db_service_search()
180 for (xx = 0, p_at = &p_rec->attribute[0]; xx < p_rec->num_attributes; in sdp_db_find_attr_in_rec()
324 p_rec->attribute[zz].value_ptr -= sizeof(tSDP_RECORD); in SDP_DeleteRecord()
399 tSDP_ATTRIBUTE* p_attr = &p_rec->attribute[0]; in SDP_AddAttribute()
415 p_attr = &p_rec->attribute[p_rec->num_attributes]; in SDP_AddAttribute()
419 p_rec->attribute[yy] = p_rec->attribute[yy - 1]; in SDP_AddAttribute()
807 tSDP_ATTRIBUTE* p_attr = &p_rec->attribute[0]; in SDP_DeleteAttribute()
818 if (p_rec->attribute[yy].value_ptr > pad_ptr) in SDP_DeleteAttribute()
819 p_rec->attribute[yy].value_ptr -= len; in SDP_DeleteAttribute()
/system/sepolicy/tools/sepolicy-analyze/
DAndroid.mk9 LOCAL_SRC_FILES := sepolicy-analyze.c dups.c neverallow.c perm.c typecmp.c booleans.c attribute.c u…
DREADME63 ATTRIBUTE (attribute)
64 sepolicy-analyze out/target/product/<board>/root/sepolicy attribute <name>
66 Displays the types associated with the specified attribute name.
68 sepolicy-analyze out/target/product/<board>/root/sepolicy attribute -r <name>
72 sepolicy-analyze out/target/product/<board>/root/sepolicy attribute -l
Dsepolicy-analyze.c27 COMP(attribute)
/system/core/init/
Ddevices.h59 SysfsPermissions(const std::string& name, const std::string& attribute, mode_t perm, uid_t uid, in SysfsPermissions() argument
61 : Permissions(name, perm, uid, gid), attribute_(attribute) {} in SysfsPermissions()
/system/netd/server/
DNetlinkCommands.h73 uint32_t getRtmU32Attribute(const nlmsghdr *nlh, int attribute);
DNetlinkCommands.cpp203 uint32_t getRtmU32Attribute(const nlmsghdr *nlh, int attribute) { in getRtmU32Attribute() argument
208 if (rta->rta_type == attribute) { in getRtmU32Attribute()
/system/bt/service/doc/
DIBluetoothGattClient.txt44 * Refreshes the local client-side attribute cache that mirrors the attribute
56 * results will be returned from the attribute cache. Returns false in case of
87 * request cannot be started. If the write request fails due to attribute
125 * request cannot be started. If the write request fails due to attribute
/system/tpm/tpm_manager/common/
Dtpm_manager.proto72 // spaces, this interface cannot be used to define spaces with this attribute.
77 // interface cannot be used to define spaces with this attribute.
99 // This will be true if the NVRAM_READ_AUTHORIZATION attribute was not
102 // This will be true if the NVRAM_WRITE_AUTHORIZATION attribute was not
/system/tpm/attestation/common/
Dproto_print.py68 def AddField(self, attribute, field_type, field_name): argument
76 self.fields.append(Field(repeated=attribute == 'repeated',

123