Home
last modified time | relevance | path

Searched refs:Context (Results 1 – 25 of 35) sorted by relevance

12

/tools/treble/build/treble_build/local/
Dninja.go41 Command(ctx context.Context, target string) (*bytes.Buffer, error) argument
42 Input(ctx context.Context, target string) (*bytes.Buffer, error) argument
43 Query(ctx context.Context, target string) (*bytes.Buffer, error) argument
44 Path(ctx context.Context, target string, dependency string) (*bytes.Buffer, error) argument
45 Paths(ctx context.Context, target string, dependency string) (*bytes.Buffer, error) argument
46 Deps(ctx context.Context) (*bytes.Buffer, error) argument
47 Build(ctx context.Context, target string) (*bytes.Buffer, error) argument
189 func (n *ninjaCmd) runTool(ctx context.Context, tool string, targets []string) (out *bytes.Buffer, …
208 func (n *ninjaCmd) Command(ctx context.Context, target string) (*bytes.Buffer, error) {
211 func (n *ninjaCmd) Input(ctx context.Context, target string) (*bytes.Buffer, error) {
[all …]
Dgit.go36 ProjectInfo(ctx context.Context, gitDir, workDir string) (out *bytes.Buffer, err error) argument
37 RemoteUrl(ctx context.Context, gitDir, workDir, remote string) (*bytes.Buffer, error) argument
38 Tree(ctx context.Context, gitDir, workDir, revision string) (*bytes.Buffer, error) argument
39 CommitInfo(ctx context.Context, gitDir, workDir, revision string) (*bytes.Buffer, error) argument
40 DiffBranches(ctx context.Context, gitDir, workDir, upstream, sha string) (*bytes.Buffer, error) argument
48 func (cli gitCli) Project(ctx context.Context, path, gitDir, remote, revision string) (*app.GitProj…
89 func (cli gitCli) PopulateFiles(ctx context.Context, proj *app.GitProject, upstream string) error {
115 func (cli gitCli) CommitInfo(ctx context.Context, proj *app.GitProject, sha string) (*app.GitCommit…
218 func (git *gitCmd) runDirCmd(ctx context.Context, gitDir string, workDir string, args []string) (*b…
227 func (git *gitCmd) ProjectInfo(ctx context.Context, gitDir, workDir string) (*bytes.Buffer, error) {
[all …]
Dninja_test.go36 func (n *ninjaTest) Command(ctx context.Context, target string) (*bytes.Buffer, error) {
39 func (n *ninjaTest) Input(ctx context.Context, target string) (*bytes.Buffer, error) {
42 func (n *ninjaTest) Query(ctx context.Context, target string) (*bytes.Buffer, error) {
45 func (n *ninjaTest) Path(ctx context.Context, target string, dependency string) (*bytes.Buffer, err…
48 func (n *ninjaTest) Paths(ctx context.Context, target string, dependency string) (*bytes.Buffer, er…
51 func (n *ninjaTest) Deps(ctx context.Context) (*bytes.Buffer, error) {
54 func (n *ninjaTest) Build(ctx context.Context, target string) (*bytes.Buffer, error) {
Dgit_test.go39 func (g *gitTestCli) ProjectInfo(ctx context.Context, gitDir, workDir string) (*bytes.Buffer, error…
42 func (g *gitTestCli) RemoteUrl(ctx context.Context, gitDir, workDir, remote string) (*bytes.Buffer,…
45 func (g *gitTestCli) Tree(ctx context.Context, gitDir, workDir, revision string) (*bytes.Buffer, er…
48 func (g *gitTestCli) CommitInfo(ctx context.Context, gitDir, workDir, sha string) (*bytes.Buffer, e…
51 func (g *gitTestCli) DiffBranches(ctx context.Context, gitDir, workDir, upstream, sha string) (*byt…
Dcmd.go29 func runPipe(ctx context.Context, timeout time.Duration, cmdName string, args []string, parser func… argument
53 func run(ctx context.Context, timeout time.Duration, cmdName string, args []string) (out *bytes.Buf… argument
/tools/treble/build/treble_build/report/
Drun.go30 func binaryExecutables(ctx context.Context, dir string, recursive bool) ([]string, int, error) { argument
60 func (rtx *Context) ResolveProjectMap(ctx context.Context, manifest string, upstreamBranch string) { argument
67 func ResolveHostTools(ctx context.Context, hostToolPath string) (*app.HostReport, error) { argument
85 func RunReport(ctx context.Context, rtx *Context, req *app.ReportRequest) (*app.Report, error) { argument
106 func ResolveCommit(ctx context.Context, rtx *Context, commit *app.ProjectCommit) (*app.GitCommit, [… argument
130 func RunQuery(ctx context.Context, rtx *Context, req *app.QueryRequest) (*app.QueryResponse, error)… argument
173 func RunPaths(ctx context.Context, rtx *Context, target string, singlePath bool, files []string) []… argument
Ddependencies.go24 Command(ctx context.Context, target string) (*app.BuildCommand, error) argument
25 Input(ctx context.Context, target string) (*app.BuildInput, error) argument
26 Query(ctx context.Context, target string) (*app.BuildQuery, error) argument
27 Path(ctx context.Context, target string, dependency string) (*app.BuildPath, error) argument
28 Paths(ctx context.Context, target string, dependency string) ([]*app.BuildPath, error) argument
29 Deps(ctx context.Context) (*app.BuildDeps, error) argument
33 …Project(ctx context.Context, path string, gitDir string, remote string, revision string) (*app.Git… argument
34 PopulateFiles(ctx context.Context, proj *app.GitProject, upstream string) error argument
35 CommitInfo(ctx context.Context, proj *app.GitProject, sha string) (*app.GitCommit, error) argument
Dbuild.go45 func createBuildTarget(ctx context.Context, rtx *Context, buildTarget *buildTargetData) *app.BuildT… argument
74 func targetResolvers(ctx context.Context, rtx *Context) (chan string, chan *buildTargetData) { argument
107 func resolveBuildInputs(ctx context.Context, rtx *Context, inChan chan *buildTargetData) chan *app.… argument
127 func queryResolvers(ctx context.Context, rtx *Context) (chan string, chan *buildSourceData) { argument
150 func pathsResolvers(ctx context.Context, rtx *Context, target string, singlePath bool) (chan string… argument
Dreport_test.go50 func (r *reportTest) Command(ctx context.Context, target string) (*app.BuildCommand, error) {
59 func (r *reportTest) Input(ctx context.Context, target string) (*app.BuildInput, error) {
68 func (r *reportTest) Query(ctx context.Context, target string) (*app.BuildQuery, error) {
77 func (r *reportTest) Path(ctx context.Context, target string, dependency string) (*app.BuildPath, e…
81 func (r *reportTest) Paths(ctx context.Context, target string, dependency string) ([]*app.BuildPath…
85 func (r *reportTest) Deps(ctx context.Context) (*app.BuildDeps, error) {
88 func (r *reportTest) Project(ctx context.Context, path string, gitDir string, remote string, revisi…
96 func (r *reportTest) PopulateFiles(ctx context.Context, proj *app.GitProject, upstream string) erro…
99 func (r *reportTest) CommitInfo(ctx context.Context, proj *app.GitProject, sha string) (*app.GitCom…
255 …rtx := &Context{RepoBase: "/src", Repo: test, Build: test, Project: test, WorkerCount: 1, BuildWor…
Dprojects.go40 func resolveProject(ctx context.Context, repoProj *app.RepoProject, remote *app.RepoRemote, proj Pr… argument
85 func lookupProjectFile(ctx context.Context, rtx *Context, filename string) (*project, *app.GitTreeO… argument
110 func resolveProjectMap(ctx context.Context, rtx *Context, manifestFile string, getFiles bool, upstr… argument
/tools/test/graphicsbenchmark/functional_tests/java/src/com/android/game/qualification/tests/
DChoreoTestActivity.java20 import android.content.Context;
45 public ChoreoTestView(Context context) { in ChoreoTestView()
73 public ChoreoTestView(Context context, AttributeSet attrs) { in ChoreoTestView()
77 public ChoreoTestView(Context context, AttributeSet attrs, int defStyleAttr) { in ChoreoTestView()
81 … public ChoreoTestView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ChoreoTestView()
DSurfaceFlingerTestActivity.java20 import android.content.Context;
70 public TestView(Context context) { in TestView()
97 public TestView(Context context, AttributeSet attrs) { in TestView()
101 public TestView(Context context, AttributeSet attrs, int defStyleAttr) { in TestView()
105 public TestView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in TestView()
/tools/test/mobly_snippets/gft/src/main/java/com/google/android/mobly/snippet/gft/
DSampleTelephonySnippet.java19 import android.content.Context;
31 Context context = InstrumentationRegistry.getInstrumentation().getContext(); in SampleTelephonySnippet()
32 mTelephonyManager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); in SampleTelephonySnippet()
/tools/asuite/atest/tf_proto/
Dinvocation_context.proto26 // Representation of a Tradefed Invocation Context in proto.
27 message Context { message
38 Context module_context = 5;
/tools/treble/build/treble_build/cmd/
Dmain.go37 Build(ctx context.Context, target string) *app.BuildCmdResult argument
41 Run(ctx context.Context, rtx *report.Context, rsp *response) error argument
156 rtx := &report.Context{
Dquery.go31 func (o queryReport) Run(ctx context.Context, rtx *report.Context, rsp *response) error {
Dpaths.go31 func (p pathsReport) Run(ctx context.Context, rtx *report.Context, rsp *response) error {
Dhost.go31 func (h *hostReport) Run(ctx context.Context, rtx *report.Context, rsp *response) error {
/tools/platform-compat/java/android/compat/testing/app/
DSharedLibraryInfoDeviceTest.java22 import android.content.Context;
63 private final Context context = instrumentation.getTargetContext();
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/
DGameQualificationTest.java20 import android.content.Context;
159 public void onReceive(Context context, Intent intent) { in registerReceiver()
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationApplicationId.java27 import android.content.Context;
40 public AttestationApplicationId(Context context) in AttestationApplicationId()
/tools/dexter/testdata/expected/
Dmedium.entry_hook895 method android.support.v4.app.NavUtils$NavUtilsImpl.getParentActivityName(android.content.Context, …
910 …t.v4.app.NavUtils$NavUtilsImplBase.getParentActivityName(android.content.Context, android.content.…
916 …nEntry(android.support.v4.app.NavUtils$NavUtilsImplBase, android.content.Context, android.content.…
942 35| invoke-virtual {v5}, android.content.Context.getPackageName():java.lang.String
966 method android.support.v4.app.NavUtils$NavUtilsImplJB.getParentActivityName(android.content.Context
973 ….OnEntry(android.support.v4.app.NavUtils$NavUtilsImplJB, android.content.Context, android.content.…
980 …t.v4.app.NavUtils$NavUtilsImplBase.getParentActivityName(android.content.Context, android.content.…
1026 method android.support.v4.app.NavUtils.getParentActivityIntent(android.content.Context, android.con…
1032 …0| invoke-static/range {v5..v6}, Tracer.OnEntry(android.content.Context, android.content.Component…
1035 …}, android.support.v4.app.NavUtils.getParentActivityName(android.content.Context, android.content.…
[all …]
Dmedium.rewrite848 method android.support.v4.app.NavUtils$NavUtilsImpl.getParentActivityName(android.content.Context, …
862 …t.v4.app.NavUtils$NavUtilsImplBase.getParentActivityName(android.content.Context, android.content.…
893 32| invoke-virtual {v5}, android.content.Context.getPackageName():java.lang.String
916 method android.support.v4.app.NavUtils$NavUtilsImplJB.getParentActivityName(android.content.Context
929 …t.v4.app.NavUtils$NavUtilsImplBase.getParentActivityName(android.content.Context, android.content.…
973 method android.support.v4.app.NavUtils.getParentActivityIntent(android.content.Context, android.con…
981 …}, android.support.v4.app.NavUtils.getParentActivityName(android.content.Context, android.content.…
997 …}, android.support.v4.app.NavUtils.getParentActivityName(android.content.Context, android.content.…
1020 method android.support.v4.app.NavUtils.getParentActivityName(android.content.Context, android.conte…
1027 …0| invoke-virtual {v4}, android.content.Context.getPackageManager():android.content.pm.PackageMana…
[all …]
Dmedium.wrap_invoke848 method android.support.v4.app.NavUtils$NavUtilsImpl.getParentActivityName(android.content.Context, …
862 …t.v4.app.NavUtils$NavUtilsImplBase.getParentActivityName(android.content.Context, android.content.…
893 32| invoke-static {v5}, Tracer.WrapInvoke(android.content.Context):java.lang.String
916 method android.support.v4.app.NavUtils$NavUtilsImplJB.getParentActivityName(android.content.Context
929 …t.v4.app.NavUtils$NavUtilsImplBase.getParentActivityName(android.content.Context, android.content.…
973 method android.support.v4.app.NavUtils.getParentActivityIntent(android.content.Context, android.con…
981 …}, android.support.v4.app.NavUtils.getParentActivityName(android.content.Context, android.content.…
997 …}, android.support.v4.app.NavUtils.getParentActivityName(android.content.Context, android.content.…
1020 method android.support.v4.app.NavUtils.getParentActivityName(android.content.Context, android.conte…
1027 …0| invoke-static {v4}, Tracer.WrapInvoke(android.content.Context):android.content.pm.PackageManager
[all …]
Dmedium.exit_hook920 method android.support.v4.app.NavUtils$NavUtilsImpl.getParentActivityName(android.content.Context, …
935 …t.v4.app.NavUtils$NavUtilsImplBase.getParentActivityName(android.content.Context, android.content.…
970 40| invoke-virtual {v5}, android.content.Context.getPackageName():java.lang.String
996 method android.support.v4.app.NavUtils$NavUtilsImplJB.getParentActivityName(android.content.Context
1009 …t.v4.app.NavUtils$NavUtilsImplBase.getParentActivityName(android.content.Context, android.content.…
1057 method android.support.v4.app.NavUtils.getParentActivityIntent(android.content.Context, android.con…
1065 …}, android.support.v4.app.NavUtils.getParentActivityName(android.content.Context, android.content.…
1083 …}, android.support.v4.app.NavUtils.getParentActivityName(android.content.Context, android.content.…
1108 method android.support.v4.app.NavUtils.getParentActivityName(android.content.Context, android.conte…
1115 …0| invoke-virtual {v4}, android.content.Context.getPackageManager():android.content.pm.PackageMana…
[all …]

12