Home
last modified time | relevance | path

Searched refs:withTagContext (Results 1 – 11 of 11) sorted by relevance

/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/
DScopedTagContextsTest.java56 public void withTagContext() { in withTagContext() method in ScopedTagContextsTest
59 Scope scope = tagger.withTagContext(scopedTags); in withTagContext()
71 Scope scope = tagger.withTagContext(scopedTags); in createBuilderFromCurrentTags()
98 Scope scope1 = tagger.withTagContext(scopedTags); in addToCurrentTagsWithBuilder()
DCurrentTagContextUtilsTest.java71 Scope scopedTags = CurrentTagContextUtils.withTagContext(tagContext); in testWithTagContext()
83 Scope scopedTags = CurrentTagContextUtils.withTagContext(tagContext); in testWithTagContextUsingWrap()
DTaggerImplTest.java279 assertThat(tagger.withTagContext(new SimpleTagContext(TAG1))).isSameAs(NoopScope.getInstance()); in withTagContext_ReturnsNoopScopeWhenTaggingIsDisabled()
298 Scope scope = tagger.withTagContext(tagsToSet); in getResultOfWithTagContext()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/tags/
DTagContextExample.java61 try (Scope scopedTagCtx1 = tagger.withTagContext(tags1)) { in main()
66 try (Scope scopedTagCtx2 = tagger.withTagContext(tags2)) { in main()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/tags/
DTaggerImpl.java76 public Scope withTagContext(TagContext tags) { in withTagContext() method in TaggerImpl
79 : CurrentTagContextUtils.withTagContext(toTagContextImpl(tags)); in withTagContext()
DCurrentTagContextUtils.java49 static Scope withTagContext(TagContext tags) { in withTagContext() method in CurrentTagContextUtils
DTagContextBuilderImpl.java58 return CurrentTagContextUtils.withTagContext(build()); in buildScoped()
/external/opencensus-java/api/src/main/java/io/opencensus/tags/
DTagger.java85 public abstract Scope withTagContext(TagContext tags); in withTagContext() method in Tagger
DNoopTags.java142 public Scope withTagContext(TagContext tags) { in withTagContext() method in NoopTags.NoopTagger
/external/opencensus-java/api/src/test/java/io/opencensus/tags/
DNoopTagsTest.java96 assertThat(noopTagger.withTagContext(TAG_CONTEXT)).isSameAs(NoopScope.getInstance()); in noopTagger()
110 noopTagger.withTagContext(null); in noopTagger_WithTagContext_DisallowsNull()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DStatsTestUtils.java190 public Scope withTagContext(TagContext tags) { in withTagContext() method in StatsTestUtils.FakeTagger