HomeSort by relevance Sort by last modified time
    Searched refs:api (Results 26 - 50 of 4316) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/skqp/infra/bots/recipes/
skpbench.py 30 def _run(api, title, *cmd, **kwargs):
31 with api.context(cwd=api.vars.skia_dir):
32 return api.run(api.step, title, cmd=list(cmd), **kwargs)
35 def _adb(api, title, *cmd, **kwargs):
38 return _run(api, title, ADB_BINARY, *cmd, **kwargs)
41 def skpbench_steps(api):
43 app = api.vars.skia_out.join(api.vars.configuration, 'skpbench'
    [all...]
calmbench.py 23 def RunSteps(api):
24 api.core.setup()
25 api.flavor.install(skps=True, svgs=True)
26 with api.context(cwd=api.vars.skia_dir):
27 extra_arg = '--svgs %s --skps %s' % (api.flavor.device_dirs.svg_dir,
28 api.flavor.device_dirs.skp_dir)
31 if api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU':
39 api.vars.skia_dir.join('tools', 'calmbench', 'ab.py'),
40 api.vars.swarming_out_dir
    [all...]
housekeeper.py 21 def RunSteps(api):
23 api.core.setup()
25 cwd = api.path['checkout']
29 with api.context(cwd=cwd):
30 gsutil_path = api.bot_update._module.PACKAGE_REPO_ROOT.join('gsutil.py')
31 if not api.vars.is_trybot:
32 api.run(
33 api.step,
35 cmd=['python', api.core.resource('generate_and_upload_doxygen.py')],
38 cmd = ['python', api.core.resource('run_binary_size_analysis.py')
    [all...]
recreate_skps.py 41 def RunSteps(api):
43 api.core.setup()
45 src_dir = api.vars.checkout_root.join('src')
48 with api.context(cwd=src_dir):
54 with api.context(env=gn_env):
55 api.run(api.step, 'GN', cmd=[gn, 'gen', out_dir])
58 api.run(api.step, 'Build Chrome', cmd=['ninja', '-C', out_dir, 'chrome'])
61 output_dir = api.path['start_dir'].join('skp_output'
    [all...]
upload_skiaserve.py 23 def RunSteps(api):
24 api.vars.setup()
26 if api.properties.get('patch_issue') or api.properties.get('patch_set'):
30 src = api.path['start_dir'].join('out', api.vars.configuration, 'skiaserve')
31 target_arch = api.vars.builder_cfg.get('target_arch')
33 target_arch, api.properties['revision'])
34 api.gsutil.cp('skiaserve', src, dest)
37 def GenTests(api)
    [all...]
update_meta_config.py 38 def RunSteps(api):
39 api.core.setup()
41 if api.vars.is_trybot:
43 update_meta_config_gitcookies = api.path.join(
44 api.path.expanduser('~'), UPDATE_META_CONFIG_GITCOOKIES_FILE)
45 repo_name = api.properties.get('repository').split('/')[-1].rstrip('.git')
47 api.vars.skia_dir.join('infra', 'bots', 'update_meta_config.py'),
49 '--tasks_json', api.vars.skia_dir.join('infra', 'bots', 'tasks.json'),
51 with api.infra.MetadataFetch(
52 api, UPDATE_META_CONFIG_KEY, UPDATE_META_CONFIG_GITCOOKIES_FILE)
    [all...]
infra.py 21 def RunSteps(api):
22 api.vars.setup()
23 api.core.checkout_steps()
24 api.infra.update_go_deps()
27 repo_name = api.properties['repository'].split('/')[-1]
30 with api.context(cwd=api.vars.checkout_root.join(repo_name),
31 env=api.infra.go_env):
32 api.step('infra_tests', cmd=['make', '-C', 'infra/bots', 'test'])
35 def GenTests(api)
    [all...]
android_compile.py 16 def RunSteps(api):
17 api.vars.setup()
19 buildername = api.properties['buildername']
20 issue = api.properties.get('patch_issue')
21 patchset = api.properties.get('patch_set')
29 infrabots_dir = api.vars.skia_dir.join('infra', 'bots')
39 api.step('Trigger and wait for task on android-compile.skia.org', cmd=cmd)
42 def GenTests(api):
44 api.test('android_compile_trybot') +
45 api.properties
    [all...]
  /external/skia/infra/bots/recipes/
calmbench.py 23 def RunSteps(api):
24 api.core.setup()
25 api.flavor.install(skps=True, svgs=True)
26 with api.context(cwd=api.vars.skia_dir):
27 extra_arg = '--svgs %s --skps %s' % (api.flavor.device_dirs.svg_dir,
28 api.flavor.device_dirs.skp_dir)
31 if api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU':
39 api.vars.skia_dir.join('tools', 'calmbench', 'ab.py'),
40 api.vars.swarming_out_dir
    [all...]
housekeeper.py 21 def RunSteps(api):
23 api.core.setup()
25 cwd = api.path['checkout']
29 with api.context(cwd=cwd):
30 gsutil_path = api.bot_update._module.PACKAGE_REPO_ROOT.join('gsutil.py')
31 if not api.vars.is_trybot:
32 api.run(
33 api.step,
35 cmd=['python', api.core.resource('generate_and_upload_doxygen.py')],
38 cmd = ['python', api.core.resource('run_binary_size_analysis.py')
    [all...]
recreate_skps.py 41 def RunSteps(api):
43 api.core.setup()
45 src_dir = api.vars.checkout_root.join('src')
48 with api.context(cwd=src_dir):
54 with api.context(env=gn_env):
55 api.run(api.step, 'GN', cmd=[gn, 'gen', out_dir])
58 api.run(api.step, 'Build Chrome', cmd=['ninja', '-C', out_dir, 'chrome'])
61 output_dir = api.path['start_dir'].join('skp_output'
    [all...]
upload_skiaserve.py 23 def RunSteps(api):
24 api.vars.setup()
26 if api.properties.get('patch_issue') or api.properties.get('patch_set'):
30 src = api.path['start_dir'].join('out', api.vars.configuration, 'skiaserve')
31 target_arch = api.vars.builder_cfg.get('target_arch')
33 target_arch, api.properties['revision'])
34 api.gsutil.cp('skiaserve', src, dest)
37 def GenTests(api)
    [all...]
update_meta_config.py 38 def RunSteps(api):
39 api.core.setup()
41 if api.vars.is_trybot:
43 update_meta_config_gitcookies = api.path.join(
44 api.path.expanduser('~'), UPDATE_META_CONFIG_GITCOOKIES_FILE)
45 repo_name = api.properties.get('repository').split('/')[-1].rstrip('.git')
47 api.vars.skia_dir.join('infra', 'bots', 'update_meta_config.py'),
49 '--tasks_json', api.vars.skia_dir.join('infra', 'bots', 'tasks.json'),
51 with api.infra.MetadataFetch(
52 api, UPDATE_META_CONFIG_KEY, UPDATE_META_CONFIG_GITCOOKIES_FILE)
    [all...]
infra.py 21 def RunSteps(api):
22 api.vars.setup()
23 api.core.checkout_bot_update()
24 api.infra.update_go_deps()
27 repo_name = api.properties['repository'].split('/')[-1]
30 with api.context(cwd=api.vars.checkout_root.join(repo_name),
31 env=api.infra.go_env):
32 api.step('infra_tests', cmd=['make', '-C', 'infra/bots', 'test'])
35 def GenTests(api)
    [all...]
  /external/skia/infra/bots/recipe_modules/flavor/examples/
full.py 15 def test_exceptions(api):
17 api.flavor.copy_directory_contents_to_device('src', 'dst')
21 api.flavor.copy_directory_contents_to_host('src', 'dst')
25 api.flavor.copy_file_to_device('src', 'dst')
30 def RunSteps(api):
31 api.vars.setup()
32 api.flavor.setup()
34 if api.properties.get('is_testing_exceptions') == 'True':
35 return test_exceptions(api)
37 api.flavor.compile('dm'
    [all...]
  /hardware/intel/common/omx-components/videocodec/securevideo/moorefield/
drm_vendor_api.c 27 uint32_t drm_vendor_api_init(struct drm_vendor_api *api)
31 if (api == NULL) {
36 api->handle = dlopen(LIB_DRM_VENDOR, RTLD_NOW);
37 if (api->handle == NULL) {
39 drm_vendor_api_deinit(api);
42 api->drm_keep_alive = (drm_keep_alive_t) dlsym(api->handle, "drm_keep_alive");
43 if (api->drm_keep_alive == NULL) {
48 api->drm_start_playback = (drm_start_playback_t) dlsym(api->handle, "drm_start_playback")
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/verification/api/
package-info.java 7 * This package should be open to public once verification API is fully finished.
9 package org.mockito.internal.verification.api;
  /frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
package-info.java 2 * Package containing all the interfaces that define the remote version of the Layoutlib API. This
3 * interface matches the local layout API closely. In some cases where special capabilities to
4 * support the remote calls are needed, the API will be different.
6 package com.android.layout.remote.api
  /external/skqp/infra/bots/recipe_modules/flavor/examples/
full.py 15 def test_exceptions(api):
17 api.flavor.copy_directory_contents_to_device('src', 'dst')
21 api.flavor.copy_directory_contents_to_host('src', 'dst')
25 api.flavor.copy_file_to_device('src', 'dst')
30 def RunSteps(api):
31 api.vars.setup()
32 api.flavor.setup()
34 if api.properties.get('is_testing_exceptions') == 'True':
35 return test_exceptions(api)
37 api.flavor.compile('dm'
    [all...]
  /external/skia/infra/bots/recipe_modules/gsutil/examples/
full.py 20 def RunSteps(api):
21 api.gsutil.cp('test file', '/foo/file', 'gs://bar-bucket/file',
24 def GenTests(api):
26 api.test('gsutil_tests') +
27 api.properties(buildername='Housekeeper-PerCommit-InfraTests',
35 api.test('failed_one_upload') +
36 api.properties(buildername='Housekeeper-PerCommit-InfraTests',
41 api.step_data('upload test file', retcode=1)
45 api.test('failed_all_uploads') +
46 api.properties(buildername='Housekeeper-PerCommit-InfraTests'
    [all...]
  /external/skqp/infra/bots/recipe_modules/gsutil/examples/
full.py 20 def RunSteps(api):
21 api.gsutil.cp('test file', '/foo/file', 'gs://bar-bucket/file',
24 def GenTests(api):
26 api.test('gsutil_tests') +
27 api.properties(buildername='Housekeeper-PerCommit-InfraTests',
35 api.test('failed_one_upload') +
36 api.properties(buildername='Housekeeper-PerCommit-InfraTests',
41 api.step_data('upload test file', retcode=1)
45 api.test('failed_all_uploads') +
46 api.properties(buildername='Housekeeper-PerCommit-InfraTests'
    [all...]
  /external/skia/infra/bots/recipe_modules/core/examples/
full.py 13 def RunSteps(api):
15 if 'NoDEPS' in api.properties['buildername']:
17 api.core.setup(bot_update=bot_update)
20 def GenTests(api):
23 api.test('test') +
24 api.properties(buildername=buildername,
29 api.properties(patch_storage='gerrit') +
30 api.properties.tryserver(
39 api.test('parent_revision') +
40 api.properties(buildername=buildername
    [all...]
  /external/skia/infra/bots/recipe_modules/vars/examples/
full.py 12 def RunSteps(api):
13 api.vars.setup()
15 api.vars.upload_dm_results,
16 api.vars.upload_perf_results,
17 api.vars.swarming_bot_id,
18 api.vars.swarming_task_id,
20 if api.vars.is_linux:
42 def GenTests(api):
45 api.test(buildername) +
46 api.properties(buildername=buildername
    [all...]
  /external/skqp/infra/bots/recipe_modules/vars/examples/
full.py 12 def RunSteps(api):
13 api.vars.setup()
15 api.vars.upload_dm_results,
16 api.vars.upload_perf_results,
17 api.vars.swarming_bot_id,
18 api.vars.swarming_task_id,
20 if api.vars.is_linux:
41 def GenTests(api):
44 api.test(buildername) +
45 api.properties(buildername=buildername
    [all...]
  /external/skia/infra/bots/recipe_modules/skia_swarming/examples/
full.py 14 def RunSteps(api):
15 api.skia_swarming.setup('mydir', swarming_rev='abc123')
16 api.skia_swarming.create_isolated_gen_json(
19 tasks_to_hashes = api.skia_swarming.batcharchive(targets=[
21 tasks = api.skia_swarming.trigger_swarming_tasks(
24 api.skia_swarming.collect_swarming_task(t)
27 def GenTests(api):
29 api.test('test') +
30 api.properties(revision='abc123')

Completed in 1844 milliseconds

12 3 4 5 6 7 8 91011>>