May be called multiple times. When a scope is initially created, or after a child scope is
9 | * deactivated.
10 | */
11 | void afterScopeActivated();
12 |
13 | /** Called just after a scope is closed. */
14 | void afterScopeClosed();
15 | }
16 |
--------------------------------------------------------------------------------
/tools/javabackport/src/main/kotlin/java/util/concurrent/atomic/LongAdder.kt:
--------------------------------------------------------------------------------
1 | @file:Suppress("PackageNaming", "EmptyClassBlock")
2 |
3 | /*
4 | * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
5 | * This product includes software developed at Datadog (https://www.datadoghq.com/).
6 | * Copyright 2016-Present Datadog, Inc.
7 | */
8 |
9 | package java.util.concurrent.atomic
10 |
11 | /**
12 | * A fake placeholder class to let AssertJ work in instrumented tests for API<24.
13 | */
14 | class LongAdder
15 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # IntelliJ
3 | *.iml
4 | .idea/**
5 |
6 | # Android Studio 3+
7 | .navigation/
8 | captures/
9 | .externalNativeBuild
10 |
11 | # Gradle files
12 | .gradle/
13 | build/
14 |
15 | # CMake
16 | .cxx/
17 |
18 | # Local configuration file (sdk path, etc)
19 | local.properties
20 | repo/
21 | config/*
22 |
23 | # MacOS garbage
24 | .DS_Store
25 |
26 | # .log
27 | *.log
28 |
29 | # Kotlin
30 | .kotlin/
31 |
32 | # dd-sdk-android tools
33 | gh_token
34 | sdk_classpath
35 | detekt_classpath
36 | **/verification-metadata.xml
37 | !gradle/verification-metadata.xml
38 |
--------------------------------------------------------------------------------
/dd-sdk-android-internal/src/main/java/com/datadog/android/internal/profiler/NoOpExecutionTimer.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
3 | * This product includes software developed at Datadog (https://www.datadoghq.com/).
4 | * Copyright 2016-Present Datadog, Inc.
5 | */
6 |
7 | package com.datadog.android.internal.profiler
8 |
9 | internal class NoOpExecutionTimer : ExecutionTimer {
10 | override fun