Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 23 of 23) sorted by relevance

/frameworks/wilhelm/src/
DThreadPool.cpp25 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 …]
DThreadPool.h86 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/
DTextPaint.java65 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/
DMetricAffectingSpan.java70 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()
DCharacterStyle.java27 public abstract void updateDrawState(TextPaint tp); in updateDrawState() argument
74 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
75 mStyle.updateDrawState(tp); in updateDrawState()
DSuggestionRangeSpan.java76 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
77 tp.bgColor = mBackgroundColor; in updateDrawState()
DSuggestionSpan.java361 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
367 tp.setUnderlineText(mEasyCorrectUnderlineColor, mEasyCorrectUnderlineThickness); in updateDrawState()
368 } else if (tp.underlineColor == 0) { in updateDrawState()
371 tp.setUnderlineText(mMisspelledUnderlineColor, mMisspelledUnderlineThickness); in updateDrawState()
374 tp.setUnderlineText(mAutoCorrectionUnderlineColor, mAutoCorrectionUnderlineThickness); in updateDrawState()
/frameworks/base/core/tests/coretests/src/android/text/style/
DUnderlineSpanTest.java59 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/
DTransferPipe.java149 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/base/services/core/java/com/android/server/am/
DProviderMap.java438 TransferPipe tp = new TransferPipe(); in dumpToTransferPipe() local
441 tp.getWriteFd(), r.provider.asBinder(), args); in dumpToTransferPipe()
442 tp.setBufferPrefix(prefix); in dumpToTransferPipe()
445 tp.go(fd, 2000); in dumpToTransferPipe()
447 tp.kill(); in dumpToTransferPipe()
DActiveServices.java4140 TransferPipe tp = new TransferPipe(); in dumpServiceClient() local
4142 thread.dumpService(tp.getWriteFd(), r, args); in dumpServiceClient()
4143 tp.setBufferPrefix(" "); in dumpServiceClient()
4146 tp.go(fd, 2000); in dumpServiceClient()
4148 tp.kill(); in dumpServiceClient()
4466 TransferPipe tp = new TransferPipe(); in dumpService() local
4468 r.app.thread.dumpService(tp.getWriteFd(), r, args); in dumpService()
4469 tp.setBufferPrefix(prefix + " "); in dumpService()
4470 tp.go(fd); in dumpService()
4472 tp.kill(); in dumpService()
DActivityManagerService.java11980 TransferPipe tp = new TransferPipe(); in dumpGraphicsHardwareUsage() local
11982 r.thread.dumpGfxInfo(tp.getWriteFd(), args); in dumpGraphicsHardwareUsage()
11983 tp.go(fd); in dumpGraphicsHardwareUsage()
11985 tp.kill(); in dumpGraphicsHardwareUsage()
12013 TransferPipe tp = new TransferPipe(); in dumpDbInfo() local
12015 r.thread.dumpDbInfo(tp.getWriteFd(), args); in dumpDbInfo()
12016 tp.go(fd); in dumpDbInfo()
12018 tp.kill(); in dumpDbInfo()
12496 TransferPipe tp = new TransferPipe(); in dumpApplicationMemoryUsage() local
12498 thread.dumpMemInfo(tp.getWriteFd(), in dumpApplicationMemoryUsage()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DSuggestionsPopupWindowTest.java334 TextPaint tp = new TextPaint(); in testTextAppearanceInSuggestionsPopup() local
335 taSpan[0].updateDrawState(tp); in testTextAppearanceInSuggestionsPopup()
336 assertEquals(expectedHighlightTextColor, tp.getColor()); in testTextAppearanceInSuggestionsPopup()
337 assertEquals(expectedHighlightTextSize, tp.getTextSize(), 0f); in testTextAppearanceInSuggestionsPopup()
/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.cpp887 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()
1090 if (snprintf(str, sizeof(str), "%03ld", tp.tv_nsec / 1000000) < 0) { in setFromMetadata()
1091 ALOGE("%s: Subsec is invalid: %ld", __FUNCTION__, tp.tv_nsec); in setFromMetadata()
/frameworks/av/services/audioflinger/
DPlaybackTracks.h273 for (auto& tp : mTeePatches) { f(tp.patchTrack); } in forEachTeePatchTrack()
/frameworks/base/core/java/android/os/
DDebug.java2117 final TypedProperties tp = new TypedProperties();
2130 tp.load(r);
2142 debugProperties = tp.isEmpty() ? null : tp;
/frameworks/base/startop/scripts/app_startup/
Danalyze_metrics.py265 def is_baseline_fun(tp): argument
266 ll, dat = tp
/frameworks/base/core/java/android/app/
DActivityManager.java4081 TransferPipe tp = null;
4084 tp = new TransferPipe();
4085 tp.setBufferPrefix(" ");
4086 service.dumpAsync(tp.getWriteFd().getFileDescriptor(), args);
4087 tp.go(fd, 10000);
4089 if (tp != null) {
4090 tp.kill();
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStackSupervisor.java2266 TransferPipe tp = new TransferPipe(); in dumpHistoryList() local
2269 tp.getWriteFd(), r.appToken, innerPrefix, args); in dumpHistoryList()
2271 tp.go(fd, 2000); in dumpHistoryList()
2273 tp.kill(); in dumpHistoryList()
DActivityTaskManagerService.java5058 TransferPipe tp = new TransferPipe(); in dumpActivity() local
5060 r.app.getThread().dumpActivity(tp.getWriteFd(), in dumpActivity()
5062 tp.go(fd); in dumpActivity()
5064 tp.kill(); in dumpActivity()
/frameworks/native/opengl/libagl/
Dprimitives.cpp411 const GLubyte* tp = texcoordArray[i].element( in fetch_texcoord_impl() local
413 texcoordArray[i].fetch(c, coords.v, tp); in fetch_texcoord_impl()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2596 public void updateDrawState(TextPaint tp) { in updateDrawState() argument
2597 tp.bgColor = mMarqueeColor; in updateDrawState()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...