Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DIoStatsEntry.java71 public final IoStatsEntry.Metrics foreground; field in IoStatsEntry
79 long runtimeMillis, IoStatsEntry.Metrics foreground, IoStatsEntry.Metrics background) { in IoStatsEntry() argument
82 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 …]
DIoStats.java134 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() local
174 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 …]
DUidIoRecord.java75 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()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DCarStorageMonitoringTest.java346 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 …]
DIoStatsTrackerTest.java103 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()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoPermissionAppsFragment.java156 PreferenceGroup foreground = new PreferenceCategory(getContext()); in bindUi() local
157 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()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagelifetime/
DStorageLifetimeFragment.java76 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 +
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DThemeComponentOption.java428 Drawable foreground = shapeDrawable.getConstantState().newDrawable(); in ShapeOption() local
429 mShape = new LayerDrawable(new Drawable[]{background, foreground}); in ShapeOption()
444 ShapeDrawable foreground = (ShapeDrawable) mShape.getDrawable(1); in bindThumbnailTile() local
446 foreground.setIntrinsicHeight(background.getIntrinsicHeight() - borderWidth); in bindThumbnailTile()
447 foreground.setIntrinsicWidth(background.getIntrinsicWidth() - borderWidth); in bindThumbnailTile()
454 foreground.setTint(ColorUtils.blendARGB(primaryColor, foregroundColor, .05f)); in bindThumbnailTile()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DColorPreference.java126 final Drawable foreground = swatch.getDrawable(); in onBindListItem() local
127 if (foreground instanceof ColorDrawable) { in onBindListItem()
128 ((ColorDrawable) foreground).setColor(argb); in onBindListItem()
/packages/apps/Settings/src/com/android/settings/accessibility/
DColorPreference.java126 final Drawable foreground = swatch.getDrawable(); in onBindListItem() local
127 if (foreground instanceof ColorDrawable) { in onBindListItem()
128 ((ColorDrawable) foreground).setColor(argb); in onBindListItem()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DImportancePreference.java158 Drawable foreground = drawable.findDrawableByLayerId(R.id.fore); in colorizeImageButton() local
162 foreground.setTint(Color.WHITE); in colorizeImageButton()
165 foreground.setTint(color); in colorizeImageButton()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java133 ShiftedBitmapDrawable foreground = new ShiftedBitmapDrawable(previewBitmap, in createDrawableOnUiThread() local
136 return new FolderAdaptiveIcon(new ColorDrawable(bg.getBgColor()), foreground, badge, mask); in createDrawableOnUiThread()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DPaymentBackend.java151 void setForegroundMode(boolean foreground) { in setForegroundMode() argument
153 Settings.Secure.NFC_PAYMENT_FOREGROUND, foreground ? 1 : 0); in setForegroundMode()
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentBackend.java151 void setForegroundMode(boolean foreground) { in setForegroundMode() argument
153 Settings.Secure.NFC_PAYMENT_FOREGROUND, foreground ? 1 : 0); in setForegroundMode()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java465 Drawable foreground = adaptiveIcon.getForeground(); in setIcon() local
466 if (foreground == null) { in setIcon()
467 foreground = new ColorDrawable(Color.TRANSPARENT); in setIcon()
469 mForeground = foreground; in setIcon()
/packages/services/Car/tools/ioanalyze/
Danalyzer.py121 def plot(self, foreground=True, background=True, total=True): argument
127 if foreground:
/packages/apps/Traceur/
Dnotify_traceur.sh2 exec /system/bin/am start-foreground-service -n com.android.traceur/.StopTraceService
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningState.java949 if (si.foreground) { in update()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java949 if (si.foreground) { in update()
/packages/services/Car/car-lib/api/
Dsystem-current.txt914 field public final android.car.storagemonitoring.IoStatsEntry.Metrics foreground;
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz