Searched refs:foreground (Results 1 – 24 of 24) sorted by relevance
71 public final IoStatsEntry.Metrics foreground; field in IoStatsEntry79 long runtimeMillis, IoStatsEntry.Metrics foreground, IoStatsEntry.Metrics background) { in IoStatsEntry() argument82 this.foreground = Objects.requireNonNull(foreground); in IoStatsEntry()89 foreground = in.readParcelable(IoStatsEntry.Metrics.class.getClassLoader()); in IoStatsEntry()96 foreground = new IoStatsEntry.Metrics(record.foreground_rchar, in IoStatsEntry()117 dest.writeParcelable(foreground, flags); in writeToParcel()128 jsonWriter.name("foreground"); foreground.writeToJson(jsonWriter); in writeToJson()139 foreground = new IoStatsEntry.Metrics(in.getJSONObject("foreground")); in IoStatsEntry()158 foreground.delta(other.foreground), background.delta(other.background)); in delta()168 foreground.equals(uidIoStatEntry.foreground) && in equals()[all …]
134 bytesRead += stats.foreground.bytesRead; in getForegroundTotals()135 bytesWritten += stats.foreground.bytesWritten; in getForegroundTotals()136 bytesReadFromStorage += stats.foreground.bytesReadFromStorage; in getForegroundTotals()137 bytesWrittenToStorage += stats.foreground.bytesWrittenToStorage; in getForegroundTotals()138 fsyncCalls += stats.foreground.fsyncCalls; in getForegroundTotals()171 IoStatsEntry.Metrics foreground = getForegroundTotals(); in getTotals() local174 return new IoStatsEntry.Metrics(foreground.bytesRead + background.bytesRead, in getTotals()175 foreground.bytesWritten + background.bytesWritten, in getTotals()176 foreground.bytesReadFromStorage + background.bytesReadFromStorage, in getTotals()177 foreground.bytesWrittenToStorage + background.bytesWrittenToStorage, in getTotals()[all …]
75 foreground_rchar - other.foreground.bytesRead, in delta()76 foreground_wchar - other.foreground.bytesWritten, in delta()77 foreground_read_bytes - other.foreground.bytesReadFromStorage, in delta()78 foreground_write_bytes - other.foreground.bytesWrittenToStorage, in delta()79 foreground_fsync - other.foreground.fsyncCalls, in delta()
346 assertEquals(256797495, entry.foreground.bytesRead); in testUidIoStatEntry()347 assertEquals(181736102, entry.foreground.bytesWritten); in testUidIoStatEntry()348 assertEquals(362132480, entry.foreground.bytesReadFromStorage); in testUidIoStatEntry()349 assertEquals(947167232, entry.foreground.bytesWrittenToStorage); in testUidIoStatEntry()350 assertEquals(250, entry.foreground.fsyncCalls); in testUidIoStatEntry()361 assertEquals(489007, entry.foreground.bytesRead); in testUidIoStatEntry()362 assertEquals(196802, entry.foreground.bytesWritten); in testUidIoStatEntry()363 assertEquals(0, entry.foreground.bytesReadFromStorage); in testUidIoStatEntry()364 assertEquals(20480, entry.foreground.bytesWrittenToStorage); in testUidIoStatEntry()365 assertEquals(1, entry.foreground.fsyncCalls); in testUidIoStatEntry()[all …]
103 assertEquals(10, sample0.foreground.bytesRead); in testUserMetricsChange()104 assertEquals(10, sample0.foreground.bytesWritten); in testUserMetricsChange()133 assertEquals(0, sample0.foreground.bytesRead); in testUpdateNoIoProcessActive()186 assertEquals(10, sample0.foreground.bytesRead); in testUpdateIoHappens()242 assertEquals(1, sample0.foreground.fsyncCalls); in testUpdateGoAwayComeBackIo()
156 PreferenceGroup foreground = new PreferenceCategory(getContext()); in bindUi() local157 foreground.setKey(KEY_ALLOWED_FOREGROUND_PERMISSIONS_GROUP); in bindUi()158 foreground.setTitle(R.string.allowed_foreground_header); in bindUi()159 foreground.setVisible(false); in bindUi()160 getPreferenceScreen().addPreference(foreground); in bindUi()
76 final long bytesWrittenToStorage = uidIoStats.foreground.bytesWrittenToStorage +78 final long fsyncCalls = uidIoStats.foreground.fsyncCalls +92 .mapToLong(stats -> stats.foreground.bytesWrittenToStorage +96 .mapToLong(stats -> stats.foreground.fsyncCalls +
126 final Drawable foreground = swatch.getDrawable(); in onBindListItem() local127 if (foreground instanceof ColorDrawable) { in onBindListItem()128 ((ColorDrawable) foreground).setColor(argb); in onBindListItem()
437 Drawable foreground = shapeDrawable.getConstantState().newDrawable(); in ShapeOption() local438 mShape = new LayerDrawable(new Drawable[]{background, foreground}); in ShapeOption()453 ShapeDrawable foreground = (ShapeDrawable) mShape.getDrawable(1); in bindThumbnailTile() local455 foreground.setIntrinsicHeight(background.getIntrinsicHeight() - borderWidth); in bindThumbnailTile()456 foreground.setIntrinsicWidth(background.getIntrinsicWidth() - borderWidth); in bindThumbnailTile()463 foreground.setTint(ColorUtils.blendARGB(primaryColor, foregroundColor, .05f)); in bindThumbnailTile()
158 Drawable foreground = drawable.findDrawableByLayerId(R.id.fore); in colorizeImageButton() local162 foreground.setTint(Color.WHITE); in colorizeImageButton()165 foreground.setTint(color); in colorizeImageButton()
140 ShiftedBitmapDrawable foreground = new ShiftedBitmapDrawable(previewBitmap, in createDrawableOnUiThread() local143 return new FolderAdaptiveIcon(new ColorDrawable(bg.getBgColor()), foreground, badge, mask); in createDrawableOnUiThread()
151 void setForegroundMode(boolean foreground) { in setForegroundMode() argument153 Settings.Secure.NFC_PAYMENT_FOREGROUND, foreground ? 1 : 0); in setForegroundMode()
473 Drawable foreground = adaptiveIcon.getForeground(); in setIcon() local474 if (foreground == null) { in setIcon()475 foreground = new ColorDrawable(Color.TRANSPARENT); in setIcon()477 mForeground = foreground; in setIcon()
121 def plot(self, foreground=True, background=True, total=True): argument127 if foreground:
2 exec /system/bin/am start-foreground-service -n com.android.traceur/.StopTraceService
61 2. `adb shell am start-foreground-service -a com.google.android.car.bugreport.action.START_SILENT c…
949 if (si.foreground) { in update()
914 field public final android.car.storagemonitoring.IoStatsEntry.Metrics foreground;
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...
1dictionary=main:en,locale=en,description=English,date=1414726273, ...