Home | History | Annotate | Download | only in multimedia
      1 # Copyright 2016 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 """This module is shared by client and server."""
      6 
      7 class MicrophoneProps(object):
      8     """Properties of microphone app that both server and client should know."""
      9     TEST_NAME = 'cheets_MicrophoneApp'
     10     READY_TAG_FILE = '/tmp/.cheets_MicrophoneApp.ready'
     11     EXIT_TAG_FILE = '/tmp/.cheets_MicrophoneApp.exit'
     12     # Allow some time for microphone app startup and recorder preparation.
     13     RECORD_FUZZ_SECS  = 5
     14     # The recording duration is fixed in microphone app.
     15     RECORD_SECS = 10
     16 
     17 
     18 class PlayMusicProps(object):
     19     """Properties of Play Music app that both server and client should know."""
     20     TEST_NAME = 'cheets_PlayMusicApp'
     21     READY_TAG_FILE = '/tmp/.cheets_PlayMusicApp.ready'
     22     EXIT_TAG_FILE = '/tmp/.cheets_PlayMusicApp.exit'
     23 
     24 
     25 class PlayVideoProps(object):
     26     """Properties of Play Video app that both server and client should know."""
     27     TEST_NAME = 'cheets_PlayVideoApp'
     28     READY_TAG_FILE = '/tmp/.cheets_PlayVideoApp.ready'
     29     EXIT_TAG_FILE = '/tmp/.cheets_PlayVideoApp.exit'
     30