Home
last modified time | relevance | path

Searched refs:NoopScope (Results 1 – 7 of 7) sorted by relevance

/external/opencensus-java/api/src/main/java/io/opencensus/internal/
DNoopScope.java22 public final class NoopScope implements Scope { class
23 private static final Scope INSTANCE = new NoopScope();
25 private NoopScope() {} in NoopScope() method in NoopScope
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/internal/
DNoopScope.java22 public final class NoopScope implements Scope { class
23 private static final Scope INSTANCE = new NoopScope();
25 private NoopScope() {} in NoopScope() method in NoopScope
/external/opencensus-java/api/src/test/java/io/opencensus/tags/
DNoopTagsTest.java22 import io.opencensus.internal.NoopScope;
96 assertThat(noopTagger.withTagContext(TAG_CONTEXT)).isSameAs(NoopScope.getInstance()); in noopTagger()
118 assertThat(NoopTags.getNoopTagContextBuilder().buildScoped()).isSameAs(NoopScope.getInstance()); in noopTagContextBuilder()
120 .isSameAs(NoopScope.getInstance()); in noopTagContextBuilder()
/external/opencensus-java/api/src/main/java/io/opencensus/tags/
DNoopTags.java20 import io.opencensus.internal.NoopScope;
144 return NoopScope.getInstance(); in withTagContext()
172 return NoopScope.getInstance(); in buildScoped()
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/tags/
DNoopTagContextBuilder.java20 import io.opencensus.implcore.internal.NoopScope;
49 return NoopScope.getInstance(); in buildScoped()
DTaggerImpl.java22 import io.opencensus.implcore.internal.NoopScope;
78 ? NoopScope.getInstance() in withTagContext()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/tags/
DTaggerImplTest.java25 import io.opencensus.implcore.internal.NoopScope;
279 assertThat(tagger.withTagContext(new SimpleTagContext(TAG1))).isSameAs(NoopScope.getInstance()); in withTagContext_ReturnsNoopScopeWhenTaggingIsDisabled()