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

  /external/chromium-trace/catapult/dashboard/dashboard/
layered_cache_test.py 14 from dashboard import layered_cache
24 layered_cache.DeleteExpiredEntitiesHandler)])
32 layered_cache.Set('str', 'Hello, World!')
33 layered_cache.Set('dict', {'hello': [1, 2, 3]})
40 self.assertEqual('Hello, World!', layered_cache.Get('str'))
42 self.assertIsNone(layered_cache.Get('str'))
50 self.assertEqual({'hello': [1, 2, 3]}, layered_cache.Get('dict'))
52 self.assertIsNone(layered_cache.Get('dict'))
55 layered_cache.SetExternal('str', 'Hello, World!')
56 layered_cache.SetExternal('dict', {'hello': [1, 2, 3]}
    [all...]
set_warning_message.py 11 from dashboard import layered_cache
30 'warning_message': layered_cache.Get('warning_message') or '',
31 'warning_bug': layered_cache.Get('warning_bug') or '',
40 layered_cache.Delete('warning_message')
41 layered_cache.Delete('warning_bug')
45 layered_cache.Set('warning_message', message, _DAYS_TO_SHOW_MESSAGE)
48 layered_cache.Set('warning_bug', bug, _DAYS_TO_SHOW_MESSAGE)
51 layered_cache.Delete('warning_bug')
set_warning_message_test.py 10 from dashboard import layered_cache
28 layered_cache.Set('warning_message', 'The Message')
29 layered_cache.Set('warning_bug', '12345')
44 self.assertIsNone(layered_cache.Get('warning_message'))
45 self.assertIsNone(layered_cache.Get('warning_bug'))
53 self.assertEqual('Stern warning', layered_cache.Get('warning_message'))
54 self.assertEqual('54321', layered_cache.Get('warning_bug'))
61 self.assertEqual('Random warning', layered_cache.Get('warning_message'))
62 self.assertIsNone(layered_cache.Get('warning_bug'))
67 self.assertEqual(None, layered_cache.Get('warning_message')
    [all...]
test_owner_test.py 7 from dashboard import layered_cache
36 owner_dict = layered_cache.GetExternal(test_owner._MASTER_OWNER_CACHE_KEY)
40 layered_cache.SetExternal(test_owner._MASTER_OWNER_CACHE_KEY,
45 owner_dict = layered_cache.GetExternal(test_owner._MASTER_OWNER_CACHE_KEY)
49 layered_cache.SetExternal(
52 owner_dict = layered_cache.GetExternal(test_owner._MASTER_OWNER_CACHE_KEY)
56 layered_cache.SetExternal(
59 owner_dict = layered_cache.GetExternal(test_owner._MASTER_OWNER_CACHE_KEY)
63 layered_cache.SetExternal(
70 layered_cache.SetExternal
    [all...]
chart_handler.py 9 from dashboard import layered_cache
38 'warning_message': layered_cache.Get('warning_message'),
39 'warning_bug': layered_cache.Get('warning_bug'),
edit_test_owners_test.py 13 from dashboard import layered_cache
37 layered_cache.SetExternal(test_owner._MASTER_OWNER_CACHE_KEY,
42 layered_cache.SetExternal(test_owner._MASTER_OWNER_CACHE_KEY,
88 owner_dict = layered_cache.GetExternal(test_owner._MASTER_OWNER_CACHE_KEY)
97 owner_dict = layered_cache.GetExternal(test_owner._MASTER_OWNER_CACHE_KEY)
111 owner_dict = layered_cache.GetExternal(test_owner._MASTER_OWNER_CACHE_KEY)
121 owner_dict = layered_cache.GetExternal(test_owner._MASTER_OWNER_CACHE_KEY)
131 owner_dict = layered_cache.GetExternal(test_owner._MASTER_OWNER_CACHE_KEY)
test_owner.py 13 Test owners data are stored in layered_cache as dictionary of test suite path to
21 from dashboard import layered_cache
42 owner_dict_cache = layered_cache.GetExternal(_CHARTJSON_OWNER_CACHE_KEY) or {}
63 layered_cache.SetExternal(_CHARTJSON_OWNER_CACHE_KEY, owner_dict_cache)
81 layered_cache.SetExternal(_MASTER_OWNER_CACHE_KEY, owner_dict_cache)
86 """Adds test owner from |owner_dict| to owner dict in layered_cache.
113 layered_cache.SetExternal(_MASTER_OWNER_CACHE_KEY, owner_dict_cache)
133 layered_cache.SetExternal(_MASTER_OWNER_CACHE_KEY, owner_dict_cache)
137 """Adds test owner from |owner_dict| to owner dict in layered_cache.
149 layered_cache.SetExternal(_MASTER_OWNER_CACHE_KEY, owner_dict_cache
    [all...]
bisect_stats.py 10 from dashboard import layered_cache
24 bisect_stats = layered_cache.GetExternal(_BISECT_STATS_CACHE_KEY)
78 Bisect stats stored in a layered_cache entity have the form below. Each
100 bisect_stats = layered_cache.GetExternal(_BISECT_STATS_CACHE_KEY)
117 layered_cache.SetExternal(_BISECT_STATS_CACHE_KEY, bisect_stats)
bench_find_anomalies_test.py 14 from dashboard import layered_cache
128 self.assertEqual({bench_key: True}, layered_cache.Get(
dispatcher.py 36 from dashboard import layered_cache
74 ('/delete_expired_entities', layered_cache.DeleteExpiredEntitiesHandler),
mr.py 29 from dashboard import layered_cache
159 layered_cache.Delete(graph_data.LIST_TESTS_SUBTEST_CACHE_KEY % (
list_tests.py 16 from dashboard import layered_cache
81 cached = layered_cache.Get(_ListSubTestCacheKey(suite_key))
91 layered_cache.Set(_ListSubTestCacheKey(suite_key), sub_tests)
list_tests_test.py 14 from dashboard import layered_cache
112 self.assertEqual(expected, layered_cache.Get(
128 layered_cache.Set(
update_bug_with_results.py 21 from dashboard import layered_cache
165 merge_issue = layered_cache.GetExternal(commit_cache_key)
202 layered_cache.SetExternal(commit_cache_key, str(job.bug_id),
237 A string to use as a layered_cache key, or None if we don't want
update_bug_with_results_test.py 16 from dashboard import layered_cache
312 layered_cache.GetExternal('commit_hash_2a1781d64d'))
327 caches = layered_cache.CachedPickledString.query().fetch()
bench_find_anomalies.py 52 from dashboard import layered_cache
398 submitted_benches = layered_cache.Get(_FIND_ANOMALIES_BENCH_CACHE_KEY)
406 layered_cache.Set(_FIND_ANOMALIES_BENCH_CACHE_KEY, submitted_benches)
add_point_test.py 19 from dashboard import layered_cache
791 layered_cache.Set(
795 layered_cache.Set(
813 self.assertIsNone(layered_cache.Get(
817 self.assertEqual({'foo': 'bar'}, layered_cache.Get(
    [all...]
  /external/chromium-trace/catapult/dashboard/dashboard/models/
graph_data.py 62 from dashboard import layered_cache
301 layered_cache.Delete(
308 layered_cache.Delete(

Completed in 115 milliseconds