Home
last modified time | relevance | path

Searched refs:ThreadLocal (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/base/core/java/android/os/
DThreadLocalWorkSource.java43 private static final ThreadLocal<int []> sWorkSourceUid =
44 ThreadLocal.withInitial(() -> new int[] {UID_NONE});
DCancellationSignalBeamer.java151 private static final ThreadLocal<Pair<Sender, ArrayList<CloseableToken>>> sScope =
152 new ThreadLocal<>();
DStrictMode.java394 private static final ThreadLocal<OnThreadViolationListener> sThreadViolationListener =
395 new ThreadLocal<>();
396 private static final ThreadLocal<Executor> sThreadViolationExecutor = new ThreadLocal<>();
1248 private static final ThreadLocal<ArrayList<ViolationInfo>> gatheredViolations =
1249 new ThreadLocal<ArrayList<ViolationInfo>>() {
1578 private static final ThreadLocal<ArrayList<ViolationInfo>> violationsBeingTimed =
1579 new ThreadLocal<ArrayList<ViolationInfo>>() {
1587 private static final ThreadLocal<Handler> THREAD_HANDLER =
1588 new ThreadLocal<Handler>() {
1595 private static final ThreadLocal<AndroidBlockGuardPolicy> THREAD_ANDROID_POLICY =
[all …]
DLooper.java75 static final ThreadLocal<Looper> sThreadLocal = new ThreadLocal<Looper>();
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DThreadLocalPerfTest.java34 private static final ThreadLocal<char[]> BUFFER =
35 new ThreadLocal<char[]>() {
/frameworks/base/media/java/android/media/permission/
DIdentityContext.java48 private static ThreadLocal<Identity> sThreadLocalIdentity = new ThreadLocal<>();
/frameworks/base/services/core/java/com/android/server/
DThreadPriorityBooster.java34 private final ThreadLocal<PriorityState> mThreadState = new ThreadLocal<PriorityState>() {
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageParser2.java62 private final ThreadLocal<ApplicationInfo> mSharedAppInfo =
63 ThreadLocal.withInitial(() -> {
69 private final ThreadLocal<ParseTypeImpl> mSharedResult;
110 mSharedResult = ThreadLocal.withInitial(() -> new ParseTypeImpl(enforcementCallback)); in PackageParser2()
/frameworks/layoutlib/bridge/src/android/os/
DHandler_Delegate.java105 private final static ThreadLocal<IHandlerCallback> sCallbacks =
106 new ThreadLocal<IHandlerCallback>();
/frameworks/base/core/java/android/hardware/camera2/utils/
DCloseableLock.java63 private final ThreadLocal<Integer> mLockCount =
64 new ThreadLocal<Integer>() {
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DBasicTexture.java55 private static ThreadLocal sInFinalizer = new ThreadLocal();
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationUtils.java41 private static final ThreadLocal<Matcher> sCachedMatcher = ThreadLocal.withInitial(
/frameworks/base/core/java/com/android/internal/util/
DProviderAccessStats.java46 private final ThreadLocal<PerThreadData> mThreadLocal =
47 ThreadLocal.withInitial(() -> new PerThreadData());
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiLogger.java47 private static final ThreadLocal<HdmiLogger> sLogger = new ThreadLocal<>();
/frameworks/base/tools/lock_agent/java/com/android/lock_checker/
DOnThreadLockChecker.java48 private final ThreadLocal<List<Object>> mHeldLocks = ThreadLocal
53 private final ThreadLocal<LockHook.StacktraceHasher> mStacktraceHasher = ThreadLocal
DLockHook.java63 private static final ThreadLocal<Boolean> sDoCheck = ThreadLocal.withInitial(() -> true);
/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java44 private final ThreadLocal<Boolean> mApplyingBatch = new ThreadLocal<Boolean>();
/frameworks/libs/systemui/tracinglib/core/common/src/coroutines/
DTraceData.kt32 internal class TraceCountThreadLocal : ThreadLocal<Int>() {
DTraceContextElement.kt32 @PublishedApi internal class TraceDataThreadLocal : ThreadLocal<TraceData?>()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooper.java96 ThreadLocal<Looper> threadLocalLooper = (ThreadLocal<Looper>) THREAD_LOCAL_LOOPER_FIELD in TestLooper()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.cpp671 if (f_pEData != NULL && ResolveInfo::ThreadLocal != f_pEData->type()) { in finalizeTargetSymbols()
674 if (f_p_EData != NULL && ResolveInfo::ThreadLocal != f_p_EData->type()) { in finalizeTargetSymbols()
678 ResolveInfo::ThreadLocal != f_pBSSStart->type()) { in finalizeTargetSymbols()
681 if (f_pEnd != NULL && ResolveInfo::ThreadLocal != f_pEnd->type()) { in finalizeTargetSymbols()
684 if (f_p_End != NULL && ResolveInfo::ThreadLocal != f_p_End->type()) { in finalizeTargetSymbols()
826 if (ResolveInfo::ThreadLocal == (*com_sym)->type()) { in allocateCommonSymbols()
884 if (ResolveInfo::ThreadLocal == (*com_sym)->type()) { in allocateCommonSymbols()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java48 private final ThreadLocal<TmpValues> mThreadLocalTmps = ThreadLocal.withInitial(TmpValues::new);
DWindowChangeAnimationSpec.java47 private final ThreadLocal<TmpValues> mThreadLocalTmps = ThreadLocal.withInitial(TmpValues::new);
/frameworks/base/core/java/android/transition/
DTransitionManager.java79 private static ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>>
81 new ThreadLocal<WeakReference<ArrayMap<ViewGroup, ArrayList<Transition>>>>();
/frameworks/base/core/java/android/animation/
DAnimationHandler.java94 public final static ThreadLocal<AnimationHandler> sAnimatorHandler = new ThreadLocal<>();

123