Home
last modified time | relevance | path

Searched refs:adjustments (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/brightness/
DBrightnessReason.java115 public String toString(int adjustments) { in toString() argument
119 if ((adjustments & ADJUSTMENT_AUTO_TEMP) != 0) { in toString()
122 if ((adjustments & ADJUSTMENT_AUTO) != 0) { in toString()
/frameworks/base/core/tests/coretests/src/android/view/
DDisplayAdjustmentsTests.java55 DisplayAdjustments adjustments = new DisplayAdjustments(configuration); in testConfigurationConstructor_copiesConfiguration() local
57 assertEquals(configuration, adjustments.getConfiguration()); in testConfigurationConstructor_copiesConfiguration()
/frameworks/base/core/java/android/service/notification/
DNotificationAssistantService.java339 public final void adjustNotifications(@NonNull List<Adjustment> adjustments) { in adjustNotifications() argument
342 for (Adjustment adjustment : adjustments) { in adjustNotifications()
345 getNotificationInterface().applyAdjustmentsFromAssistant(mWrapper, adjustments); in adjustNotifications()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DAutomaticBrightnessControllerTest.java331 float[] adjustments = new float[]{0.2f, 0.6f}; in testRecalculateSplines() local
332 mController.recalculateSplines(true, adjustments); in testRecalculateSplines()
334 verify(mBrightnessMappingStrategy).recalculateSplines(true, adjustments); in testRecalculateSplines()
341 mController.recalculateSplines(false, adjustments); in testRecalculateSplines()
343 verify(mBrightnessMappingStrategy).recalculateSplines(false, adjustments); in testRecalculateSplines()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.md76 to better amortize the cost of OOM adjustments.
/frameworks/base/core/java/android/app/
DINotificationManager.aidl183 …oid applyAdjustmentsFromAssistant(in INotificationListener token, in List<Adjustment> adjustments); in applyAdjustmentsFromAssistant() argument
/frameworks/base/core/java/android/view/
DDisplay.java2039 final DisplayAdjustments adjustments = getDisplayAdjustments(); in toString() local
2040 mDisplayInfo.getAppMetrics(mTempMetrics, adjustments); in toString()
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags219 # Auto-brightness adjustments by the user.
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java6292 List<Adjustment> adjustments = new ArrayList<>();
6293 adjustments.add(adjustment);
6294 applyAdjustmentsFromAssistant(token, adjustments);
6299 List<Adjustment> adjustments) {
6306 for (Adjustment adjustment : adjustments) {
6600 final Bundle adjustments = adjustment.getSignals();
6601 Bundle.setDefusable(adjustments, true);
6603 for (String potentialKey : adjustments.keySet()) {
6609 adjustments.remove(removeKey);
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java6436 List<Adjustment> adjustments = new ArrayList<>(); in testApplyAdjustmentsLogged() local
6444 adjustments.add(adjustment1); in testApplyAdjustmentsLogged()
6452 adjustments.add(adjustment2); in testApplyAdjustmentsLogged()
6454 mBinderService.applyAdjustmentsFromAssistant(null, adjustments); in testApplyAdjustmentsLogged()
9641 List<String> adjustments = mBinderService.getAllowedAssistantAdjustments(null); in testGetAllowedAssistantAdjustments() local
9642 assertNotNull(adjustments); in testGetAllowedAssistantAdjustments()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto7395 // Custom tag for NotificationItem. Hash of the NAS that made adjustments.