HomeSort by relevance Sort by last modified time
    Searched refs:audible (Results 1 - 14 of 14) sorted by null

  /external/chromium_org/components/copresence/public/
whispernet_client.h 22 AudioToken(const std::string& token, bool audible)
23 : token(token), audible(audible) {}
25 bool audible; member in struct:copresence::AudioToken
51 virtual void EncodeToken(const std::string& token, bool audible) = 0;
  /external/chromium_org/components/copresence/handlers/audio/
audio_directive_handler.cc 118 // If we have an active directive for audible or inaudible audio, ensure that
127 DVLOG(3) << "Playing audible for op_id: " << audible_transmit->op_id;
136 DVLOG(3) << "Stopping audible playback.";
179 void AudioDirectiveHandler::PlayToken(const std::string token, bool audible) {
183 if (audible && samples_cache_audible_.HasKey(valid_token)) {
186 } else if (!audible && samples_cache_inaudible_.HasKey(valid_token)) {
192 audible,
200 bool audible,
202 DVLOG(3) << "Token " << token << "[audible:" << audible << "] encoded." local
    [all...]
audio_directive_handler_unittest.cc 71 bool audible,
74 token, audible, CreateRandomAudioRefCounted(0x1337, 1, 0x7331));
79 bool audible) {
83 instruction.set_medium(audible ? AUDIO_AUDIBLE_DTMF
audio_directive_handler.h 30 // callback at a time, we need to have both the audible and inaudible in this
94 void PlayToken(const std::string token, bool audible);
100 bool audible,
  /external/chromium_org/chrome/browser/copresence/
chrome_whispernet_client_browsertest.cc 66 void EncodeTokenAndSaveSamples(bool audible) {
74 expected_audible_ = audible;
76 client->EncodeToken(kSixZeros, audible);
131 bool audible,
134 EXPECT_EQ(expected_audible_, audible);
145 EXPECT_EQ(expected_audible_, tokens[0].audible);
189 IN_PROC_BROWSER_TEST_F(ChromeWhispernetClientTest, Audible) {
chrome_whispernet_client.h 43 virtual void EncodeToken(const std::string& token, bool audible) OVERRIDE;
chrome_whispernet_client.cc 66 bool audible) {
74 token, audible),
  /external/chromium_org/chrome/browser/resources/whispernet_proxy/js/
wrapper.js 58 * @param {boolean} audible Whether we should use encode audible samples.
62 WhisperEncoder.prototype.encode = function(token, audible, raw) {
71 use_dtmf: audible,
96 { token: bytesToBase64(msg.token), audible: msg.audible }, msg.samples);
182 this.handleCandidates_(JSON.parse(msg.tokens), msg.audible);
192 * @param {boolean} audible Whether the received candidates are from the audible
196 WhisperDecoder.prototype.handleCandidates_ = function(candidates, audible) {
    [all...]
init.js 41 * @param {boolean} audible Whether we should use encode audible samples.
43 function encodeTokenRequest(token, audible) {
45 whisperEncoder.encode(atob(token), audible, true);
  /external/chromium_org/chrome/browser/extensions/api/copresence_private/
copresence_private_api.cc 40 params->tokens[i]->audible));
66 params->token.token, params->token.audible, samples);
  /external/chromium_org/components/copresence/rpc/
rpc_handler.cc 115 TokenTechnology* audible = local
117 audible->set_medium(AUDIO_AUDIBLE_DTMF);
118 audible->add_instruction_type(TRANSMIT);
119 audible->add_instruction_type(RECEIVE);
144 signals->set_medium(token.audible ? AUDIO_AUDIBLE_DTMF
489 bool audible,
494 whispernet_client->EncodeToken(token, audible);
rpc_handler.h 120 bool audible,
  /external/chromium_org/chrome/browser/extensions/api/copresence/
copresence_translations.cc 12 using copresence::AUDIBLE;
60 strategy->audible && *strategy->audible ?
61 AUDIBLE : AUDIO_CONFIGURATION_UNKNOWN);
copresence_api_unittest.cc 15 using copresence::AUDIBLE;
177 subscribe->strategies->audible.reset(new bool(true)); // Not default
196 EXPECT_EQ(AUDIBLE,

Completed in 221 milliseconds