/external/autotest/server/site_tests/bluetooth_SDP_ServiceBrowse/ |
bluetooth_SDP_ServiceBrowse.py | 22 def get_attribute_ssr_sar(self, class_id, attr_id, size): 27 @param attr_id: ID of attribute to check. 41 record_handle, self.MAX_ATTR_BYTE_CNT, [attr_id]) 43 value[0] == attr_id): 50 def get_attribute_ssar(self, class_id, attr_id, size): 54 @param attr_id: ID of attribute to check. 61 [class_id], self.MAX_ATTR_BYTE_CNT, [attr_id], size) 69 elem[0] == attr_id): 76 def test_attribute(self, class_id, attr_id, get_attribute): 81 @param attr_id: ID of attribute to check [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
DialerFilterRule.java | 20 import static com.android.SdkConstants.ATTR_ID; 46 hint.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/hint"); //$NON-NLS-1$ 51 primary.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/primary"); //$NON-NLS-1$ 59 //icon.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/icon"); //$NON-NLS-1$
|
TabHostRule.java | 20 import static com.android.SdkConstants.ATTR_ID; 52 node.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/tabhost"); //$NON-NLS-1$ 65 tab.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/tabs"); //$NON-NLS-1$ 70 frame.setAttribute(ANDROID_URI, ATTR_ID, "@android:id/tabcontent"); //$NON-NLS-1$ 76 child.setAttribute(ANDROID_URI, ATTR_ID,
|
SlidingDrawerRule.java | 20 import static com.android.SdkConstants.ATTR_ID; 59 handle.setAttribute(ANDROID_URI, ATTR_ID, handleId); 63 content.setAttribute(ANDROID_URI, ATTR_ID, contentId);
|
RadioGroupRule.java | 19 import static com.android.SdkConstants.ATTR_ID; 43 handle.setAttribute(ANDROID_URI, ATTR_ID, String.format("@+id/radio%d", i));
|
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchAttributeRequest/ |
bluetooth_SDP_ServiceSearchAttributeRequest.py | 99 for attr_id in self.FAKE_GENERAL_ATTRIBUTE_IDS: 100 attr = ET.Element('attribute', {'id': str(attr_id)}) 105 attr_id = self.FAKE_ATTRIBUTE_VALUE + offset 106 attr = ET.Element('attribute', {'id': str(attr_id)}) 115 def test_non_existing(self, class_id, attr_id): 119 @param attr_id: ID of attribute to check. 128 [attr_id], 132 'should not!' % (class_id, attr_id)) 135 def get_attribute(self, class_id, attr_id, size): 140 @param attr_id: ID of attribute to check [all...] |
/external/autotest/server/site_tests/bluetooth_SDP_ServiceAttributeRequest/ |
bluetooth_SDP_ServiceAttributeRequest.py | 140 def get_attribute(self, class_id, attr_id): 144 @param attr_id: ID of attribute to check. 150 record_handle, self.MAX_ATTR_BYTE_CNT, [attr_id]) 151 if isinstance(res, list) and len(res) == 2 and res[0] == attr_id: 158 def assert_attribute_equals(self, class_id, attr_id, expected_value): 159 """Verify that |attr_id| of service with |class_id| has |expected_value| 162 @param attr_id: ID of attribute to check. 166 self.assert_equal(self.get_attribute(class_id, attr_id), 308 for attr_id in self.FAKE_GENERAL_ATTRIBUTE_IDS: 310 attr_id, self.FAKE_ATTRIBUTE_VALUE [all...] |
/system/bt/bta/gatt/ |
bta_gatts_utils.c | 156 tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_attr_id(tBTA_GATTS_CB *p_cb, UINT16 attr_id) 166 attr_id >= p_cb->srvc_cb[i].service_id && 167 attr_id < p_cb->srvc_cb[i + 1].service_id) || 172 attr_id >= p_cb->srvc_cb[i].service_id) || 175 attr_id >= p_cb->srvc_cb[i].service_id)
|
bta_gatts_act.c | 394 UINT16 attr_id = 0; local 397 attr_id = GATTS_AddIncludeService(p_msg->api_add_incl_srvc.hdr.layer_specific, 402 cb_data.add_result.attr_id = attr_id; 404 if (attr_id) 428 UINT16 attr_id = 0; local 431 attr_id = GATTS_AddCharacteristic(p_msg->api_add_char.hdr.layer_specific, 437 cb_data.add_result.attr_id = attr_id; 440 if (attr_id) 464 UINT16 attr_id = 0; local [all...] |
bta_gatts_int.h | 119 UINT16 attr_id; member in struct:__anon73305 256 extern tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_attr_id(tBTA_GATTS_CB *p_cb, UINT16 attr_id);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
Match.java | 18 import static com.android.SdkConstants.ATTR_ID; 84 id = edge.node.getStringAttr(ANDROID_URI, ATTR_ID); 87 edge.node.setAttribute(ANDROID_URI, ATTR_ID, id);
|
DeletionHandler.java | 19 import static com.android.SdkConstants.ATTR_ID; 73 String id = child.getStringAttr(ANDROID_URI, ATTR_ID); 81 String id = node.getStringAttr(ANDROID_URI, ATTR_ID); 90 String id = node.getStringAttr(ANDROID_URI, ATTR_ID);
|
/system/extras/simpleperf/ |
record_file_writer.cpp | 84 for (auto& attr_id : attr_ids) { 85 if (!Write(attr_id.ids.data(), attr_id.ids.size() * sizeof(uint64_t))) { 95 for (auto& attr_id : attr_ids) { 97 file_attr.attr = *attr_id.attr; 99 file_attr.ids.size = attr_id.ids.size() * sizeof(uint64_t);
|
record_file_test.cpp | 42 AttrWithId attr_id; local 43 attr_id.attr = attrs_.back().get(); 44 attr_id.ids.push_back(attrs_.size()); // Fake id. 45 attr_ids_.push_back(attr_id);
|
/system/bt/stack/avrc/ |
avrc_pars_tg.c | 157 p_result->list_app_values.attr_id = *p++; 158 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->list_app_values.attr_id)) 196 p_app_set[xx].attr_id = *p++; 198 if (!avrc_is_valid_player_attrib_value(p_app_set[xx].attr_id, p_app_set[xx].attr_val)) 222 BE_STREAM_TO_UINT8 (p_result->get_app_val_txt.attr_id, p); 223 if (!AVRC_IS_VALID_ATTRIBUTE(p_result->get_app_val_txt.attr_id)) 228 if ( (len - 2/* attr_id & num_val */) != p_result->get_app_val_txt.num_val) 236 if (!avrc_is_valid_player_attrib_value(p_result->get_app_val_txt.attr_id,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
AvrcpControllerClasses.java | 295 public byte attr_Id; 329 plAppSetting.attr_Id = bb.get(); 347 if(plAppSetting.attr_Id == attribId) 360 switch(plAppSetting.attr_Id) { 378 switch(plAppSetting.attr_Id) { 381 AvrcpUtils.mapAttribIdValtoAvrcpPlayerSetting(plAppSetting.attr_Id, 386 AvrcpUtils.mapAttribIdValtoAvrcpPlayerSetting(plAppSetting.attr_Id, 391 AvrcpUtils.mapAttribIdValtoAvrcpPlayerSetting(plAppSetting.attr_Id, 396 AvrcpUtils.mapAttribIdValtoAvrcpPlayerSetting(plAppSetting.attr_Id, 405 if(mPlayerAppAttrId == plAppSetting.attr_Id) [all...] |
/system/bt/stack/sdp/ |
sdp_db.c | 395 BOOLEAN SDP_AddAttribute (UINT32 handle, UINT16 attr_id, UINT8 attr_type, 421 handle,attr_id,attr_type,attr_len,p_val,num_array); 426 handle,attr_id,attr_type,attr_len,p_val,*p_val); 431 handle,attr_id,attr_type,attr_len,p_val,p_val); 447 if (p_attr->id == attr_id) 449 SDP_DeleteAttribute (handle, attr_id); 452 if (p_attr->id > attr_id) 469 p_attr->id = attr_id; 500 attr_id, attr_len ); 527 BOOLEAN SDP_AddSequence (UINT32 handle, UINT16 attr_id, UINT16 num_elem [all...] |
sdp_api.c | 260 tSDP_DISC_REC *SDP_FindAttributeInDb (tSDP_DISCOVERY_DB *p_db, UINT16 attr_id, 281 if (p_attr->attr_id == attr_id) 305 tSDP_DISC_ATTR *SDP_FindAttributeInRec (tSDP_DISC_REC *p_rec, UINT16 attr_id) 313 if (p_attr->attr_id == attr_id) 345 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) 398 else if (p_attr->attr_id == ATTR_ID_SERVICE_ID) 434 if ((p_attr->attr_id == ATTR_ID_SERVICE_CLASS_ID_LIST) 456 else if (p_attr->attr_id == ATTR_ID_SERVICE_ID [all...] |
sdp_discovery.c | 54 UINT16 attr_id, tSDP_DISC_ATTR *p_parent_attr, UINT8 nest_level); 724 UINT16 attr_id; local 763 BE_STREAM_TO_UINT16 (attr_id, p); 766 p = add_attr (p, p_ccb->p_db, p_rec, attr_id, NULL, 0); 833 UINT16 attr_id, tSDP_DISC_ATTR *p_parent_attr, UINT8 nest_level) 866 p_attr->attr_id = attr_id; 986 if(is_additional_list != 0 || attr_id == ATTR_ID_ADDITION_PROTO_DESC_LISTS) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/ |
eapol_test.sgml | 155 attr_id:syntax:value, or attr_id alone. attr_id should be the numeric 158 to send. When attr_id is given alone, NULL is used as the attribute
|
/hardware/libhardware/include/hardware/ |
bt_rc.h | 114 uint8_t attr_id; member in struct:__anon32067 123 uint8_t attr_id; member in struct:__anon32068 145 uint8_t id; /* can be attr_id or value_id */ 150 uint32_t attr_id; member in struct:__anon32072 165 typedef void (* btrc_list_player_app_values_callback)(btrc_player_attr_t attr_id); 180 typedef void (* btrc_get_player_app_values_text_callback) (uint8_t attr_id, uint8_t num_val, uint8_t *p_vals); 249 /** Returns the current application attribute values for each of the specified attr_id */
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
OutlineLabelProvider.java | 20 import static com.android.SdkConstants.ATTR_ID; 67 String id = getAttributeNS(e, ANDROID_URI, ATTR_ID);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LintTooltip.java | 18 import static com.android.SdkConstants.ATTR_ID; 75 String id = BaseLayoutRule.stripIdPrefix(node.getAttributeValue(ATTR_ID));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutMetadataTest.java | 18 import static com.android.SdkConstants.ATTR_ID; 95 String id = node.getAttributeValue(ATTR_ID);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
TestDragElement.java | 19 import static com.android.SdkConstants.ATTR_ID; 88 return set(ANDROID_URI, ATTR_ID, id);
|