/frameworks/wilhelm/src/ |
D | ThreadPool.cpp | 25 ThreadPool *tp = (ThreadPool *) context; in ThreadPool_start() local 26 assert(NULL != tp); in ThreadPool_start() 28 Closure *pClosure = ThreadPool_remove(tp); in ThreadPool_start() 81 static void ThreadPool_deinit_internal(ThreadPool *tp, unsigned initialized, unsigned nThreads); 87 SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads) in ThreadPool_init() argument 89 assert(NULL != tp); in ThreadPool_init() 90 memset(tp, 0, sizeof(ThreadPool)); in ThreadPool_init() 91 tp->mShutdown = SL_BOOLEAN_FALSE; in ThreadPool_init() 98 err = pthread_mutex_init(&tp->mMutex, (const pthread_mutexattr_t *) NULL); in ThreadPool_init() 103 err = pthread_cond_init(&tp->mCondNotFull, (const pthread_condattr_t *) NULL); in ThreadPool_init() [all …]
|
D | ThreadPool.h | 86 extern SLresult ThreadPool_init(ThreadPool *tp, unsigned maxClosures, unsigned maxThreads); 87 extern void ThreadPool_deinit(ThreadPool *tp); 88 extern SLresult ThreadPool_add(ThreadPool *tp, ClosureKind kind, 91 extern Closure *ThreadPool_remove(ThreadPool *tp); 92 extern SLresult ThreadPool_add_ppi(ThreadPool *tp, ClosureHandler_ppi handler, 94 extern SLresult ThreadPool_add_ppii(ThreadPool *tp, ClosureHandler_ppii handler, 96 extern SLresult ThreadPool_add_piipp(ThreadPool *tp, ClosureHandler_piipp handler,
|
/frameworks/base/core/java/android/text/ |
D | TextPaint.java | 65 public void set(TextPaint tp) { in set() argument 66 super.set(tp); in set() 68 bgColor = tp.bgColor; in set() 69 baselineShift = tp.baselineShift; in set() 70 linkColor = tp.linkColor; in set() 71 drawableState = tp.drawableState; in set() 72 density = tp.density; in set() 73 underlineColor = tp.underlineColor; in set() 74 underlineThickness = tp.underlineThickness; in set()
|
/frameworks/base/core/java/android/text/style/ |
D | MetricAffectingSpan.java | 70 public void updateDrawState(@NonNull TextPaint tp) { in updateDrawState() argument 71 mStyle.updateDrawState(tp); in updateDrawState() 78 public void updateMeasureState(@NonNull TextPaint tp) { in updateMeasureState() argument 79 mStyle.updateMeasureState(tp); in updateMeasureState()
|
D | CharacterStyle.java | 27 public abstract void updateDrawState(TextPaint tp); in updateDrawState() argument 74 public void updateDrawState(TextPaint tp) { in updateDrawState() argument 75 mStyle.updateDrawState(tp); in updateDrawState()
|
D | SuggestionSpan.java | 385 public void updateDrawState(TextPaint tp) { in updateDrawState() argument 392 tp.setUnderlineText(mEasyCorrectUnderlineColor, mEasyCorrectUnderlineThickness); in updateDrawState() 393 } else if (tp.underlineColor == 0) { in updateDrawState() 397 tp.setUnderlineText( in updateDrawState() 400 tp.setUnderlineText(mMisspelledUnderlineColor, mMisspelledUnderlineThickness); in updateDrawState() 404 tp.setUnderlineText(mAutoCorrectionUnderlineColor, mAutoCorrectionUnderlineThickness); in updateDrawState() 406 tp.setUnderlineText(mMisspelledUnderlineColor, mMisspelledUnderlineThickness); in updateDrawState() 408 tp.setUnderlineText(mGrammarErrorUnderlineColor, mGrammarErrorUnderlineThickness); in updateDrawState()
|
D | SuggestionRangeSpan.java | 76 public void updateDrawState(TextPaint tp) { in updateDrawState() argument 77 tp.bgColor = mBackgroundColor; in updateDrawState()
|
/frameworks/base/core/tests/coretests/src/android/text/style/ |
D | UnderlineSpanTest.java | 59 final TextPaint tp = new TextPaint(); in textWidth() local 60 tp.setTextSize(100.0f); // Large enough so that the difference in kerning is visible. in textWidth() 63 text, 0, text.length(), tp, largeWidth).build(); in textWidth()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | TransferPipe.java | 149 try (TransferPipe tp = new TransferPipe()) { in go() argument 150 caller.go(iface, tp.getWriteFd().getFileDescriptor(), prefix, args); in go() 151 tp.go(out, timeout); in go() 171 try (TransferPipe tp = new TransferPipe()) { in goDump() argument 172 binder.dumpAsync(tp.getWriteFd().getFileDescriptor(), args); in goDump() 173 tp.go(out, timeout); in goDump()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/d2d/ |
D | Communicator.java | 324 Optional<TransportProtocol> tp = mTransportProtocols.stream() in setTransportActive() local 327 if (!tp.isPresent()) { in setTransportActive() 333 .filter(p -> p != tp.get()) in setTransportActive() 335 tp.get().forceNegotiated(); in setTransportActive() 336 mActiveTransport = tp.get(); in setTransportActive()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProviderMap.java | 442 TransferPipe tp = new TransferPipe(); in dumpToTransferPipe() local 445 tp.getWriteFd(), r.provider.asBinder(), args); in dumpToTransferPipe() 446 tp.setBufferPrefix(prefix); in dumpToTransferPipe() 449 tp.go(fd, 2000); in dumpToTransferPipe() 451 tp.kill(); in dumpToTransferPipe()
|
D | ActiveServices.java | 5498 TransferPipe tp = new TransferPipe(); in dumpServiceClient() local 5500 thread.dumpService(tp.getWriteFd(), r, args); in dumpServiceClient() 5501 tp.setBufferPrefix(" "); in dumpServiceClient() 5504 tp.go(fd, 2000); in dumpServiceClient() 5506 tp.kill(); in dumpServiceClient() 5829 TransferPipe tp = new TransferPipe(); in dumpService() local 5831 thread.dumpService(tp.getWriteFd(), r, args); in dumpService() 5832 tp.setBufferPrefix(prefix + " "); in dumpService() 5833 tp.go(fd); in dumpService() 5835 tp.kill(); in dumpService()
|
D | ActivityManagerService.java | 10079 TransferPipe tp = new TransferPipe(); in dumpGraphicsHardwareUsage() local 10081 thread.dumpGfxInfo(tp.getWriteFd(), args); in dumpGraphicsHardwareUsage() 10082 tp.go(fd); in dumpGraphicsHardwareUsage() 10084 tp.kill(); in dumpGraphicsHardwareUsage() 10118 TransferPipe tp = new TransferPipe(); in dumpBinderCacheContents() local 10120 thread.dumpCacheInfo(tp.getWriteFd(), args); in dumpBinderCacheContents() 10121 tp.go(fd); in dumpBinderCacheContents() 10123 tp.kill(); in dumpBinderCacheContents() 10153 TransferPipe tp = new TransferPipe(); in dumpDbInfo() local 10155 thread.dumpDbInfo(tp.getWriteFd(), args); in dumpDbInfo() [all …]
|
/frameworks/base/services/translation/java/com/android/server/translation/ |
D | TranslationManagerServiceImpl.java | 253 try (TransferPipe tp = new TransferPipe()) { in dumpLocked() argument 254 activityTokens.getApplicationThread().dumpActivity(tp.getWriteFd(), in dumpLocked() 257 tp.go(fd); in dumpLocked()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | SuggestionsPopupWindowTest.java | 336 TextPaint tp = new TextPaint(); in testTextAppearanceInSuggestionsPopup() local 337 taSpan[0].updateDrawState(tp); in testTextAppearanceInSuggestionsPopup() 338 assertEquals(expectedHighlightTextColor, tp.getColor()); in testTextAppearanceInSuggestionsPopup() 339 assertEquals(expectedHighlightTextSize, tp.getTextSize(), 0f); in testTextAppearanceInSuggestionsPopup()
|
/frameworks/base/tools/codegen/src/com/android/codegen/ |
D | ClassPrinter.kt | 227 val tp = (builderExtension as ClassOrInterfaceDeclaration).typeParameters in <lambda>() constant 228 BuilderType = if (tp.isEmpty()) BuilderClass in <lambda>()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncDispatchRealtimeTest.cpp | 32 constexpr nsecs_t toNs(std::chrono::duration<Rep, Per> const& tp) { in toNs() argument 33 return std::chrono::duration_cast<std::chrono::nanoseconds>(tp).count(); in toNs()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | ExifUtils.cpp | 887 struct timespec tp; in setFromMetadata() local 889 bool time_available = clock_gettime(CLOCK_REALTIME, &tp) != -1; in setFromMetadata() 890 localtime_r(&tp.tv_sec, &time_info); in setFromMetadata() 1104 if (snprintf(str, sizeof(str), "%03ld", tp.tv_nsec / 1000000) < 0) { in setFromMetadata() 1105 ALOGE("%s: Subsec is invalid: %ld", __FUNCTION__, tp.tv_nsec); in setFromMetadata()
|
/frameworks/av/services/audioflinger/ |
D | PlaybackTracks.h | 304 for (auto& tp : mTeePatches) { f(tp.patchTrack); } in forEachTeePatchTrack()
|
/frameworks/base/core/java/android/os/ |
D | Debug.java | 2184 final TypedProperties tp = new TypedProperties(); 2197 tp.load(r); 2209 debugProperties = tp.isEmpty() ? null : tp;
|
/frameworks/base/startop/scripts/app_startup/ |
D | analyze_metrics.py | 265 def is_baseline_fun(tp): argument 266 ll, dat = tp
|
/frameworks/base/services/core/java/com/android/server/statusbar/ |
D | StatusBarManagerService.java | 1646 try (TransferPipe tp = new TransferPipe()) { in passThroughShellCommand() argument 1649 tp.setBufferPrefix(" "); in passThroughShellCommand() 1650 mBar.passThroughShellCommand(args, tp.getWriteFd()); in passThroughShellCommand() 1652 tp.go(fd); in passThroughShellCommand()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 4380 TransferPipe tp = null; in dumpService() local 4383 tp = new TransferPipe(); in dumpService() 4384 tp.setBufferPrefix(" "); in dumpService() 4385 service.dumpAsync(tp.getWriteFd().getFileDescriptor(), args); in dumpService() 4386 tp.go(fd, 10000); in dumpService() 4388 if (tp != null) { in dumpService() 4389 tp.kill(); in dumpService()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskSupervisor.java | 2048 TransferPipe tp = new TransferPipe(); in dumpHistoryList() local 2051 tp.getWriteFd(), r.appToken, innerPrefix, args); in dumpHistoryList() 2053 tp.go(fd, 2000); in dumpHistoryList() 2055 tp.kill(); in dumpHistoryList()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 2596 public void updateDrawState(TextPaint tp) { in updateDrawState() argument 2597 tp.bgColor = mMarqueeColor; in updateDrawState()
|