telemetry.android.android_story | index telemetry/android/android_story.py

`# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.`

Modules
`` |  |

telemetry.android.shared_android_state | telemetry.story |  |

Classes
`` |  |

telemetry.story.story.Story(__builtin__.object)
  AndroidStory

class AndroidStory(telemetry.story.story.Story)
`` |  |

Method resolution order:
  AndroidStory
  telemetry.story.story.Story
  __builtin__.object

Methods defined here:

Run(self, shared_state)
  `Execute the interactions with the applications.`

__init__(self, start_intent, is_app_ready_predicate=None, name='', labels=None, is_local=False)
  `Creates a new story for Android app.
  Args:
  start_intent: See AndroidPlatform.LaunchAndroidApplication.
  is_app_ready_predicate: See AndroidPlatform.LaunchAndroidApplication.
  name: See Story.__init__.
  labels: See Story.__init__.
  is_app_ready_predicate: See Story.__init__.`

Methods inherited from telemetry.story.story.Story:

AsDict(self)
  `Converts a story object to a dict suitable for JSON output.`

Data descriptors inherited from telemetry.story.story.Story:

__dict__
  `dictionary for instance variables (if defined)`

__weakref__
  `list of weak references to the object (if defined)`

display_name

file_safe_name
  `A version of display_name that's safe to use as a filename.
  The default implementation sanitizes special characters with underscores,
  but it's okay to override it with a more specific implementation in
  subclasses.`

id

is_local
  `Returns True iff this story does not require network.`

labels

make_javascript_deterministic

name

serving_dir
  `Returns the absolute path to a directory with hash files to data that
  should be updated from cloud storage, or None if no files need to be
  updated.`

shared_state_class