/system/extras/simpleperf/ |
cmd_kmem.cpp | 232 // Decide the percentage of callchain by the sample_count, so use 1 as the 292 " mode. The percentage shown in the graph is determined by\n" 692 double percentage = 0.0; local 694 percentage = 100.0 * fragment / slab_sample_tree_.total_allocated_bytes; 696 fprintf(fp, "Total fragment: %" PRIu64 ", %f%%\n", fragment, percentage); 700 percentage = 0.0; 702 percentage = 100.0 * slab_sample_tree_.nr_cross_cpu_allocations / 706 slab_sample_tree_.nr_cross_cpu_allocations, percentage);
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
GenericSource2.cpp | 1489 int percentage = 100.0 * cachedPosUs \/ mDurationUs; local [all...] |
HTTPLiveSource2.cpp | 417 int32_t percentage; local 418 CHECK(msg->findInt32("percentage", &percentage)); 420 notify->setInt32("percentage", percentage);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
HTTPLiveSource.cpp | 416 int32_t percentage; local 417 CHECK(msg->findInt32("percentage", &percentage)); 419 notify->setInt32("percentage", percentage);
|
GenericSource.cpp | 1556 int percentage = 100.0 * cachedPosUs \/ mDurationUs; local [all...] |
/external/autotest/server/cros/ap_configurators/ |
trendnet_ap_configurator.py | 92 percentage = html.rstrip('%') 93 if int(percentage) < 95:
|
/external/v8/tools/clang/scripts/ |
apply_edits.py | 149 percentage = (float(done_files) / len(edits)) * 100 151 (edit_count, error_count, done_files, percentage))
|
run_tool.py | 183 percentage = (float(done_count) / len(self.__filenames)) * 100 186 (done_count, self.__toolname, self.__failed_count, percentage))
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/trackers/ |
BatteryNotLowTrackerTest.java | 86 int plugged, int status, float percentage, boolean expectedBatteryNotLow) { 87 mockContextReturns(createBatteryChangedIntent(plugged, status, percentage));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
AdvancedSettingsFragment.java | 182 private float getValueFromPercentage(final int percentage) { 183 return percentage / PERCENTAGE_FLOAT;
|
Settings.java | 347 final float percentage = prefs.getFloat( local 349 return (percentage != UNDEFINED_PREFERENCE_VALUE_FLOAT) ? percentage : defaultValue;
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/report/ |
report.go | 428 percentage(cumSum, rpt.total)) 707 fmt.Fprintf(tabw, " \t%.1f%s (%s):\t %s\n", f, u, percentage(t.FlatValue(), total), t.Name) 792 item.FlatFormat, percentage(item.Flat, rpt.total), 793 percentage(flatSum, rpt.total), 794 item.CumFormat, percentage(item.Cum, rpt.total), 1033 percentage(in.Weight, cum), in.Src.Info.PrintableName(), inline) 1040 percentage(flat, rpt.total), 1041 percentage(flatSum, rpt.total), 1043 percentage(cum, rpt.total), 1054 percentage(out.Weight, cum), out.Dest.Info.PrintableName(), inline 1088 func percentage(value, total int64) string { func [all...] |
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/report/ |
report.go | 428 percentage(cumSum, rpt.total)) 707 fmt.Fprintf(tabw, " \t%.1f%s (%s):\t %s\n", f, u, percentage(t.FlatValue(), total), t.Name) 792 item.FlatFormat, percentage(item.Flat, rpt.total), 793 percentage(flatSum, rpt.total), 794 item.CumFormat, percentage(item.Cum, rpt.total), 1033 percentage(in.Weight, cum), in.Src.Info.PrintableName(), inline) 1040 percentage(flat, rpt.total), 1041 percentage(flatSum, rpt.total), 1043 percentage(cum, rpt.total), 1054 percentage(out.Weight, cum), out.Dest.Info.PrintableName(), inline 1088 func percentage(value, total int64) string { func [all...] |
/system/extras/simpleperf/scripts/inferno/ |
script.js | 264 let percentage = match[2]; 265 // Write percentage 267 percentageTextElement.textContent = percentage; 268 // console.log("'" + percentage + "'")
|
/external/tensorflow/tensorflow/core/util/ |
stat_summarizer.cc | 264 const double percentage = detail.rel_end_us.sum() * 100.0 / stat.sum(); local 273 InitField(stream, 7) << percentage << "%"; 398 const float percentage = local 400 cdf += percentage; 405 InitField(stream, 10) << percentage << "%";
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
KeyguardIndicationController.java | 310 String percentage = NumberFormat.getPercentInstance() local 312 mTextView.switchIndication(percentage); 416 String percentage = NumberFormat.getPercentInstance() local 419 // We now have battery percentage in these strings and it's expected that all 426 percentage); 433 return mContext.getResources().getString(chargingId, percentage);
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
CircledImageView.java | 410 /** Sets the size of the image based on a percentage in [0, 1]. */ 411 public void setImageCirclePercentage(float percentage) { 412 float clamped = Math.max(0, Math.min(1, percentage)); 419 /** Sets the horizontal offset given a percentage in [0, 1]. */ 420 public void setImageHorizontalOffcenterPercentage(float percentage) { 421 if (percentage != mImageHorizontalOffcenterPercentage) { 422 mImageHorizontalOffcenterPercentage = percentage; 461 * Sets the radius of the circle to be a percentage of the largest dimension of the view. 463 * @param circleRadiusPercent A {@code float} from 0 to 1 representing the radius percentage. 500 * Sets the radius of the circle to be a percentage of the largest dimension of the view whe [all...] |
/sdk/attribute_stats/src/ |
Analyzer.java | 427 float percentage = 100 * usage.count/(float)totalCount; local 428 if (percentage < THRESHOLD && prevPercentage >= THRESHOLD) { 432 percentage, usage.attribute); 434 prevPercentage = percentage; 440 if (percentage >= THRESHOLD /*&& usage.count > 1*/) { // 1:Ignore when not enough data?
|
/external/autotest/client/profilers/powertop/src/ |
powertop.c | 900 double sleept, percentage;; local 906 percentage = c0 * 100.0 / (sysconf(_SC_NPROCESSORS_ONLN) * ticktime * 1000 * FREQ); 907 sprintf(cstate_lines[1], _("C0 (cpu running) (%4.1f%%)\n"), percentage); 908 if (percentage > 50) 914 percentage = (cur_duration[i] - 922 cnames[i], sleept, percentage); 925 if (percentage > 50)
|
/device/google/contexthub/firmware/os/drivers/st_hts221/ |
hts221.c | 178 float percentage = (float) ((mTask.y1_H - mTask.y0_H) * hum + \ local 182 return((percentage > 100) ? 100 : percentage);
|
/prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/graph/ |
dotgraph.go | 157 strings.TrimSpace(percentage(flat, b.config.Total))) 171 strings.TrimSpace(percentage(cum, b.config.Total))) 174 // Scale font sizes from 8 to 24 based on percentage of flat frequency. 383 // percentage computes the percentage of total of a value, and encodes 385 func percentage(value, total int64) string { func
|
/prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/graph/ |
dotgraph.go | 157 strings.TrimSpace(percentage(flat, b.config.Total))) 171 strings.TrimSpace(percentage(cum, b.config.Total))) 174 // Scale font sizes from 8 to 24 based on percentage of flat frequency. 383 // percentage computes the percentage of total of a value, and encodes 385 func percentage(value, total int64) string { func
|
/hardware/google/av/codec2/vndk/bufferpool/ |
AccessorImpl.cpp | 241 int percentage(T base, S total) { function in namespace:android::hardware::media::bufferpool::V1_0::implementation 252 mStats.mBuffersInUse, percentage(mStats.mBuffersInUse, mStats.mBuffersCached), 253 mStats.mTotalAllocations, percentage(mStats.mTotalRecycles, mStats.mTotalAllocations), 255 percentage(mStats.mTotalTransfers - mStats.mTotalFetches, mStats.mTotalTransfers));
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
naptypes.h | 150 typedef UINT8 Percentage; 163 Percentage percentage; member in struct:tagFixupInfo
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
NotificationImportExportListener.java | 234 String percentage = local 236 builder.setContentText(percentage);
|