/external/chromium_org/components/copresence/handlers/audio/ |
audio_directive_list.cc | 19 AudioDirective::AudioDirective(const std::string& op_id, base::Time end_time) 20 : op_id(op_id), end_time(end_time) { 29 void AudioDirectiveList::AddDirective(const std::string& op_id, 35 std::vector<AudioDirective>::iterator it = FindDirectiveByOpId(op_id); 44 active_directives_.push_back(AudioDirective(op_id, end_time)); 50 void AudioDirectiveList::RemoveDirective(const std::string& op_id) { 51 std::vector<AudioDirective>::iterator it = FindDirectiveByOpId(op_id); 76 const std::string& op_id) { 80 if (it->op_id == op_id [all...] |
audio_directive_list.h | 25 AudioDirective(const std::string& op_id, base::Time end_time); 27 std::string op_id; member in struct:copresence::AudioDirective 42 void AddDirective(const std::string& op_id, base::TimeDelta ttl); 43 void RemoveDirective(const std::string& op_id); 59 const std::string& op_id);
|
audio_directive_list_unittest.cc | 33 EXPECT_EQ("op_id2", directive_list_->GetActiveDirective()->op_id); 36 EXPECT_EQ("op_id3", directive_list_->GetActiveDirective()->op_id); 48 EXPECT_EQ("op_id3", directive_list_->GetActiveDirective()->op_id); 50 EXPECT_EQ("op_id4", directive_list_->GetActiveDirective()->op_id); 52 EXPECT_EQ("op_id2", directive_list_->GetActiveDirective()->op_id); 54 EXPECT_EQ("op_id1", directive_list_->GetActiveDirective()->op_id); 67 EXPECT_EQ("op_id4", directive_list_->GetActiveDirective()->op_id); 69 EXPECT_EQ("op_id3", directive_list_->GetActiveDirective()->op_id); 73 EXPECT_EQ("op_id2", directive_list_->GetActiveDirective()->op_id); 75 EXPECT_EQ("op_id1", directive_list_->GetActiveDirective()->op_id); [all...] |
audio_directive_handler.cc | 74 const std::string& op_id, 83 transmits_list_inaudible_.AddDirective(op_id, ttl); 87 transmits_list_audible_.AddDirective(op_id, ttl); 97 receives_list_.AddDirective(op_id, ttl); 106 void AudioDirectiveHandler::RemoveInstructions(const std::string& op_id) { 107 transmits_list_audible_.RemoveDirective(op_id); 108 transmits_list_inaudible_.RemoveDirective(op_id); 109 receives_list_.RemoveDirective(op_id); 127 DVLOG(3) << "Playing audible for op_id: " << audible_transmit->op_id; [all...] |
audio_directive_handler.h | 55 const std::string& op_id, 59 void RemoveInstructions(const std::string& op_id);
|
/external/chromium_org/components/copresence/handlers/ |
directive_handler.cc | 29 std::string op_id; local 31 op_id = directive.published_message_id(); 33 op_id = directive.subscription_id(); 46 ti, op_id, base::TimeDelta::FromMilliseconds(directive.ttl_millis())); 50 void DirectiveHandler::RemoveDirectives(const std::string& op_id) { 53 audio_handler_->RemoveInstructions(op_id);
|
directive_handler.h | 38 virtual void RemoveDirectives(const std::string& op_id);
|
/external/chromium_org/chrome/browser/chromeos/login/easy_unlock/ |
easy_unlock_key_manager.cc | 94 const int op_id = GetNextOperationId(); local 99 op_id, 102 get_keys_ops_[op_id] = op.release(); 223 int op_id, 228 get_keys_ops_.find(op_id);
|
easy_unlock_key_manager.h | 104 void OnKeysFetched(int op_id,
|
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_utils.c | 170 if (p_msg->op_id == AVRC_ID_VENDOR && p_msg->pass_len == AVRC_PASS_THRU_GROUP_LEN)
|
avrc_api.c | 704 if (p_pkt->len < 5) /* 3 bytes: ctype, subunit*, opcode & op_id & len */ 713 msg.pass.op_id = (AVRC_PASS_OP_ID_MASK & *p_data); 819 *p_data = (AVRC_PASS_OP_ID_MASK&p_msg->op_id); 824 if (p_msg->op_id == AVRC_ID_VENDOR) 833 else /* set msg len to 0 for other op_id */ 835 /* set msg len to 0 for other op_id */ [all...] |
/hardware/samsung_slsi/exynos5/libgscaler/ |
exynos_gscaler.c | 714 int op_id = 0; local 742 op_id = rand() % 1000000; // just make random id 743 sprintf(mutex_name, "%sOp%d", LOG_TAG, op_id); 874 int op_id = 0; local 923 op_id = rand() % 1000000; // just make random id 924 sprintf(mutex_name, "%sOp%d", LOG_TAG, op_id); [all...] |
/external/chromium_org/components/copresence/rpc/ |
rpc_handler_unittest.cc | 60 virtual void RemoveDirectives(const std::string& op_id) OVERRIDE {
|
/hardware/samsung_slsi/exynos5/librotator/ |
exynos_rotator.c | 587 int op_id = 0; local 608 op_id = rand() % 1000000; // just make random id 609 sprintf(mutex_name, "%sOp%d", LOG_TAG, op_id);
|
/external/bluetooth/bluedroid/bta/av/ |
bta_av_act.c | 888 if (p_data->rc_msg.msg.pass.op_id == AVRC_ID_VENDOR) 900 p_data->rc_msg.msg.hdr.ctype = bta_av_op_supported(p_data->rc_msg.msg.pass.op_id, is_inquiry); 913 av.remote_cmd.rc_id = p_data->rc_msg.msg.pass.op_id; 926 av.remote_rsp.rc_id = p_data->rc_msg.msg.pass.op_id; [all...] |
bta_av_api.c | 414 p_buf->msg.op_id = rc_id;
|
/external/bluetooth/bluedroid/stack/include/ |
avrc_defs.h | 804 UINT8 op_id; \/* Operation ID. *\/ member in struct:__anon5954 [all...] |