Home
last modified time | relevance | path

Searched refs:label (Results 1 – 25 of 240) sorted by relevance

12345678910

/system/bt/gd/cert/
Dperformance_test_logger.py32 def log_single_point(self, label=""): argument
33 if label not in self.single_points:
34 self.single_points[label] = []
35 self.single_points[label].append(datetime.now())
37 def start_interval(self, label=""): argument
38 if label not in self.start_interval_points:
39 self.start_interval_points[label] = []
40 self.start_interval_points[label].append(datetime.now())
42 def end_interval(self, label=""): argument
43 if label not in self.end_interval_points:
[all …]
Dgd_device.py81 logging.exception("[%s] Failed to clean up properly due to" % device.label)
141 …t__(self, grpc_port: str, grpc_root_server_port: str, signal_port: str, cmd: List[str], label: str,
164 self.label = label
170 … '%s_%s_backing_logs.txt' % (self.type_identifier, self.label))
172 … cmd.append("--btsnoop=%s" % os.path.join(self.log_path_base, '%s_btsnoop_hci.log' % self.label))
174 … cmd.append("--btsnooz=%s" % os.path.join(self.log_path_base, '%s_btsnooz_hci.log' % self.label))
176 … cmd.append("--btconfig=%s" % os.path.join(self.log_path_base, '%s_bt_config.conf' % self.label))
179 if "cert" in self.label:
193 …make_ports_available([self.signal_port]), "[%s] Failed to make signal port available" % self.label)
223 tag=self.label,
[all …]
/system/extras/perf2cfg/doc/
DFSM.dot13 "Start" -> "End" [ label = "EOF" ];
14 "Start" -> "Parse Method Name" [ label = "'begin_compilation'" ];
15 "Start" -> "Error" [ label = "NOT('begin_compilation')" ];
18 [ label = "method_name IN analyzer.methods" ];
20 [ label = "method_name NOT IN analyzer.methods" ];
21 "Parse Method Name" -> "Error" [ label = "EOF OR NOT('name')" ];
23 "Skip Method" -> "End" [ label = "EOF" ];
24 "Skip Method" -> "Parse Method Name" [ label = "'begin_compilation'" ];
27 "Skip to CFG" -> "Start CFG" [ label = "'end_compilation'" ];
29 "Skip to CFG" -> "Error" [ label = "EOF" ];
[all …]
/system/extras/tests/workloads/
Dsystemapps.sh76 label=$1
85 curMax=$(eval "echo \$${label}max")
87 curMin=$(eval "echo \$${label}min")
89 curSum=$(eval "echo \$${label}sum")
91 curRestart=$(eval "echo \$${label}restart")
93 curReclaim=$(eval "echo \$${label}reclaim")
95 curFrames=$(eval "echo \$${label}frames")
97 curJanks=$(eval "echo \$${label}janks")
99 cur90=$(eval "echo \$${label}90")
101 cur95=$(eval "echo \$${label}95")
[all …]
/system/bt/profile/avrcp/
Ddevice.h64 base::Callback<void(uint8_t label, bool browse,
143 void MessageReceived(uint8_t label, std::shared_ptr<Packet> pkt);
144 void BrowseMessageReceived(uint8_t label, std::shared_ptr<BrowsePacket> pkt);
145 void VendorPacketHandler(uint8_t label, std::shared_ptr<VendorPacket> pkt);
153 uint8_t label, bool interim, std::string curr_song_id,
158 uint8_t label, const std::shared_ptr<GetCapabilitiesRequest>& pkt);
162 uint8_t label, const std::shared_ptr<RegisterNotificationRequest>& pkt);
170 uint8_t label, bool interim, std::string curr_song_id,
175 virtual void PlaybackPosNotificationResponse(uint8_t label, bool interim,
179 virtual void GetPlayStatusResponse(uint8_t label, PlayStatus status);
[all …]
Ddevice.cc39 base::Callback<void(uint8_t label, bool browse, in Device() argument
96 void Device::VendorPacketHandler(uint8_t label, in VendorPacketHandler() argument
104 send_message(label, false, std::move(response)); in VendorPacketHandler()
125 send_message(label, false, std::move(response)); in VendorPacketHandler()
126 active_labels_.erase(label); in VendorPacketHandler()
138 HandleVolumeChanged(label, register_notification); in VendorPacketHandler()
156 HandleGetCapabilities(label, in VendorPacketHandler()
161 HandleNotification(label, in VendorPacketHandler()
171 send_message(label, false, std::move(response)); in VendorPacketHandler()
175 label, get_element_attributes_request_pkt)); in VendorPacketHandler()
[all …]
/system/bt/stack/include/
Davdtc_api.h97 extern void AVDTC_DiscoverRsp(const RawAddress& bd_addr, uint8_t label,
109 extern void AVDTC_GetCapRsp(const RawAddress& bd_addr, uint8_t label,
121 extern void AVDTC_GetAllCapRsp(const RawAddress& bd_addr, uint8_t label,
144 extern void AVDTC_GetConfigRsp(uint8_t handle, uint8_t label,
167 extern void AVDTC_OpenRsp(uint8_t handle, uint8_t label);
179 uint8_t label);
190 extern void AVDTC_CloseRsp(uint8_t handle, uint8_t label);
202 uint8_t label);
224 extern void AVDTC_AbortRsp(uint8_t handle, uint8_t label);
236 uint8_t label, uint8_t err_code, uint8_t err_param);
Davrc_api.h204 using tAVRC_MSG_CBACK = base::Callback<void(uint8_t handle, uint8_t label,
217 uint8_t label; member
462 extern uint16_t AVRC_MsgReq(uint8_t handle, uint8_t label, uint8_t ctype,
486 extern uint16_t AVRC_UnitCmd(uint8_t handle, uint8_t label);
513 extern uint16_t AVRC_SubCmd(uint8_t handle, uint8_t label, uint8_t page);
538 extern uint16_t AVRC_PassCmd(uint8_t handle, uint8_t label,
567 extern uint16_t AVRC_PassRsp(uint8_t handle, uint8_t label,
593 extern uint16_t AVRC_VendorCmd(uint8_t handle, uint8_t label,
622 extern uint16_t AVRC_VendorRsp(uint8_t handle, uint8_t label,
/system/vold/model/
DEmulatedVolume.cpp94 std::string label = getLabel(); in mountFuseBindMounts() local
113 androidSource = StringPrintf("/mnt/runtime/default/%s/%d/Android", label.c_str(), userId); in mountFuseBindMounts()
123 StringPrintf("/mnt/user/%d/%s/%d/Android/data", userId, label.c_str(), userId)); in mountFuseBindMounts()
131 StringPrintf("/mnt/user/%d/%s/%d/Android/obb", userId, label.c_str(), userId)); in mountFuseBindMounts()
143 label.c_str(), userId)); in mountFuseBindMounts()
145 userId, label.c_str(), userId)); in mountFuseBindMounts()
158 std::string label = getLabel(); in unmountFuseBindMounts() local
163 StringPrintf("/mnt/installer/%d/%s/%d/Android/obb", userId, label.c_str(), userId)); in unmountFuseBindMounts()
173 userId, label.c_str(), userId)); in unmountFuseBindMounts()
181 userId, label.c_str(), userId)); in unmountFuseBindMounts()
[all …]
/system/extras/simpleperf/scripts/
Dprofile_pb2.py38 number=1, type=11, cpp_type=10, label=3,
45 number=2, type=11, cpp_type=10, label=3,
52 number=3, type=11, cpp_type=10, label=3,
59 number=4, type=11, cpp_type=10, label=3,
66 number=5, type=11, cpp_type=10, label=3,
73 number=6, type=9, cpp_type=9, label=3,
80 number=7, type=3, cpp_type=2, label=1,
87 number=8, type=3, cpp_type=2, label=1,
94 number=9, type=3, cpp_type=2, label=1,
101 number=10, type=3, cpp_type=2, label=1,
[all …]
/system/update_engine/scripts/update_payload/
Dupdate_metadata_pb2.py114 number=1, type=4, cpp_type=4, label=1,
121 number=2, type=4, cpp_type=4, label=1,
152 number=1, type=13, cpp_type=3, label=1,
159 number=2, type=12, cpp_type=9, label=1,
166 number=3, type=7, cpp_type=3, label=1,
196 number=1, type=11, cpp_type=10, label=3,
227 number=1, type=4, cpp_type=4, label=1,
234 number=2, type=12, cpp_type=9, label=1,
265 number=1, type=9, cpp_type=9, label=1,
272 number=2, type=9, cpp_type=9, label=1,
[all …]
/system/bt/stack/avct/
Davct_defs.h51 #define AVCT_BUILD_HDR(p, label, type, cr_ipid) \ argument
52 *(p)++ = ((label) << 4) | ((type) << 2) | (cr_ipid);
54 #define AVCT_PARSE_HDR(p, label, type, cr_ipid) \ argument
56 (label) = *(p) >> 4; \
/system/bt/stack/avrc/
Davrc_opt.cc93 uint16_t AVRC_UnitCmd(uint8_t handle, uint8_t label) { in AVRC_UnitCmd() argument
108 return AVCT_MsgReq(handle, label, AVCT_CMD, p_cmd); in AVRC_UnitCmd()
136 uint16_t AVRC_SubCmd(uint8_t handle, uint8_t label, uint8_t page) { in AVRC_SubCmd() argument
153 return AVCT_MsgReq(handle, label, AVCT_CMD, p_cmd); in AVRC_SubCmd()
179 uint16_t AVRC_VendorCmd(uint8_t handle, uint8_t label, in AVRC_VendorCmd() argument
183 return AVCT_MsgReq(handle, label, AVCT_CMD, p_buf); in AVRC_VendorCmd()
214 uint16_t AVRC_VendorRsp(uint8_t handle, uint8_t label, in AVRC_VendorRsp() argument
218 return AVCT_MsgReq(handle, label, AVCT_RSP, p_buf); in AVRC_VendorRsp()
/system/bt/service/
Davrcp_control.h44 int32_t abs_vol, int32_t label) = 0;
47 const std::string& device_address, int32_t label) = 0;
75 int32_t label);
80 int32_t abs_vol, int32_t label);
93 uint8_t label) override;
95 uint8_t label) override;
Davrcp_control.cc87 int32_t abs_vol, int32_t label) { in SetAbsVolumeResponse() argument
99 ->set_volume_rsp(addr, abs_vol, label); in SetAbsVolumeResponse()
111 int32_t label) { in RegisterForAbsVolumeCallbackResponse() argument
125 abs_vol, label); in RegisterForAbsVolumeCallbackResponse()
145 uint8_t abs_vol, uint8_t label) { in CtrlSetabsvolCmdCallback() argument
149 delegate_->OnSetAbsVolumeRequest(device_address, abs_vol, label); in CtrlSetabsvolCmdCallback()
153 const RawAddress& bd_addr, uint8_t label) { in CtrlRegisternotificationAbsVolCallback() argument
157 delegate_->OnRegisterForAbsVolumeCallbackRequest(device_address, label); in CtrlRegisternotificationAbsVolCallback()
/system/bt/bta/av/
Dbta_av_api.cc397 void BTA_AvRemoteCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_RC rc_id, in BTA_AvRemoteCmd() argument
408 p_buf->label = label; in BTA_AvRemoteCmd()
424 void BTA_AvRemoteVendorUniqueCmd(uint8_t rc_handle, uint8_t label, in BTA_AvRemoteVendorUniqueCmd() argument
430 p_buf->label = label; in BTA_AvRemoteVendorUniqueCmd()
456 void BTA_AvVendorCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code, in BTA_AvVendorCmd() argument
467 p_buf->label = label; in BTA_AvVendorCmd()
491 void BTA_AvVendorRsp(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE rsp_code, in BTA_AvVendorRsp() argument
505 p_buf->label = label; in BTA_AvVendorRsp()
569 void BTA_AvMetaRsp(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE rsp_code, in BTA_AvMetaRsp() argument
579 p_buf->label = label; in BTA_AvMetaRsp()
[all …]
/system/keymaster/include/keymaster/km_openssl/
Dckdf.h28 keymaster_error_t ckdf(const KeymasterKeyBlob& key, const KeymasterBlob& label,
36 inline keymaster_error_t ckdf(const KeymasterKeyBlob& key, const KeymasterBlob& label, in ckdf() argument
38 return ckdf(key, label, &context_chunks, 1 /* num_chunks */, output); in ckdf()
/system/keymaster/tests/
Dckdf_test.cpp31 const char* label; member
90 auto label = hex2blob(test.label); in TEST() local
97 ASSERT_EQ(KM_ERROR_OK, ckdf(key, label, context, &output)); in TEST()
/system/bt/test/mock/
Dmock_bta_av_api.cc49 void BTA_AvMetaCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code, in BTA_AvMetaCmd() argument
53 void BTA_AvMetaRsp(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE rsp_code, in BTA_AvMetaRsp() argument
85 void BTA_AvRemoteCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_RC rc_id, in BTA_AvRemoteCmd() argument
89 void BTA_AvRemoteVendorUniqueCmd(uint8_t rc_handle, uint8_t label, in BTA_AvRemoteVendorUniqueCmd() argument
98 void BTA_AvVendorCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code, in BTA_AvVendorCmd() argument
102 void BTA_AvVendorRsp(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE rsp_code, in BTA_AvVendorRsp() argument
Dmock_stack_avrc_api.cc54 uint16_t AVRC_MsgReq(uint8_t handle, uint8_t label, uint8_t ctype, in AVRC_MsgReq() argument
68 uint16_t AVRC_PassCmd(uint8_t handle, uint8_t label, tAVRC_MSG_PASS* p_msg) { in AVRC_PassCmd() argument
72 uint16_t AVRC_PassRsp(uint8_t handle, uint8_t label, tAVRC_MSG_PASS* p_msg) { in AVRC_PassRsp() argument
81 void avrc_start_cmd_timer(uint8_t handle, uint8_t label, uint8_t msg_mask) { in avrc_start_cmd_timer() argument
/system/bt/service/ipc/binder/
Dbluetooth_avrcp_control_binder_server.cc125 int32_t label, bool* _aidl_return) { in SetAbsVolumeResponse() argument
135 abs_vol, label)) { in SetAbsVolumeResponse()
147 int32_t abs_vol, int32_t label, bool* _aidl_return) { in RegisterForAbsVolumeCallbackResponse() argument
157 String8(device_address).string(), response_type, abs_vol, label)) { in RegisterForAbsVolumeCallbackResponse()
192 const std::string& device_address, int32_t abs_vol, int32_t label) { in OnSetAbsVolumeRequest() argument
194 auto func = [&addr_s16, abs_vol, label](IInterface* cb) { in OnSetAbsVolumeRequest()
196 avrcp_control_cb->OnSetAbsVolumeRequest(addr_s16, abs_vol, label); in OnSetAbsVolumeRequest()
203 const std::string& device_address, int32_t label) { in OnRegisterForAbsVolumeCallbackRequest() argument
205 auto func = [&addr_s16, label](IInterface* cb) { in OnRegisterForAbsVolumeCallbackRequest()
207 avrcp_control_cb->OnRegisterForAbsVolumeCallbackRequest(addr_s16, label); in OnRegisterForAbsVolumeCallbackRequest()
/system/bt/btif/test/
Dbtif_rc_test.cc64 void BTA_AvMetaCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code, in BTA_AvMetaCmd() argument
66 void BTA_AvMetaRsp(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE rsp_code, in BTA_AvMetaRsp() argument
68 void BTA_AvRemoteCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_RC rc_id, in BTA_AvRemoteCmd() argument
70 void BTA_AvRemoteVendorUniqueCmd(uint8_t rc_handle, uint8_t label, in BTA_AvRemoteVendorUniqueCmd() argument
73 void BTA_AvVendorCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code, in BTA_AvVendorCmd() argument
75 void BTA_AvVendorRsp(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE rsp_code, in BTA_AvVendorRsp() argument
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dcow_writer.h62 bool AddLabel(uint64_t label);
80 virtual bool EmitLabel(uint64_t label) = 0;
102 bool InitializeAppend(android::base::unique_fd&&, uint64_t label);
103 bool InitializeAppend(android::base::borrowed_fd fd, uint64_t label);
115 virtual bool EmitLabel(uint64_t label) override;
123 bool OpenForAppend(uint64_t label);
/system/bt/stack/test/
Dstack_avdtp_test.cc104 uint8_t label = 0; in TEST_F() local
112 ASSERT_EQ(AVDT_ConfigRsp(scb_handle_, label, err_code, category), AVDT_SUCCESS); in TEST_F()
139 uint8_t label = 0; in TEST_F() local
144 ASSERT_EQ(AVDT_ConfigRsp(scb_handle_, label, err_code, category), AVDT_SUCCESS); in TEST_F()
158 uint8_t label = 0; in TEST_F() local
163 ASSERT_EQ(AVDT_ConfigRsp(scb_handle_, label, err_code, category), AVDT_SUCCESS); in TEST_F()
/system/core/toolbox/
Dgetevent.c16 struct label { struct
24 static struct label key_value_labels[] = { argument
55 static const char *get_label(const struct label *labels, int value) in get_label()
99 const char* label; in print_possible_events() local
102 struct label* bit_labels; in print_possible_events()
121 label = "KEY"; in print_possible_events()
125 label = "REL"; in print_possible_events()
129 label = "ABS"; in print_possible_events()
133 label = "MSC"; in print_possible_events()
138 label = "LED"; in print_possible_events()
[all …]

12345678910