Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base: add missing Text style in BatteryStyles [1/2] #7

Open
wants to merge 491 commits into
base: q10
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
491 commits
Select commit Hold shift + click to select a range
9991b85
Fix some crashes with lockscreen album art filter
neobuddy89 Nov 16, 2019
cb1a22c
Separate double tap to sleep on lockscreen [1/2]
neobuddy89 Sep 8, 2018
7e5dcea
SystemUI: Add case to quick pull down status bar anywhere
neobuddy89 Dec 5, 2017
95727bb
pocket: introduce pocket judge
kaluoshi Oct 29, 2019
bb43698
policy: introduce pocket lock
kaluoshi Oct 29, 2019
f7c1e79
pocket: Add hardware acceleration and properly maintain SYSTEM_UI flags
Sep 26, 2017
92c2bab
PocketService: Adjust light sensor rate to 400ms
TheCrazyLex Aug 15, 2017
a37d529
pocket: introduce pocket bridge
Oct 29, 2019
3c7b5f5
pocket: Adjust sleep timeout for pocket lock view to 10 secs
TheStrix Mar 6, 2019
137ccf7
pocket: Fix pocket lock view for display cutouts
TheStrix Mar 6, 2019
93b73ba
Pocket lock improvements
jhenrique09 Oct 29, 2019
c13c509
Fingerprint error vibration [1/2]
Beanstown Jan 14, 2016
417a19e
Camera: Extend face detection
Jul 6, 2015
b65ffe0
Camera: Clearing exception for Extended Face
Aug 28, 2017
9cbfd5f
camera: Skip HFR checks for privileged apps.
Aug 8, 2017
4457ff9
core: Add api to take screenshots
bigrushdog Sep 6, 2017
178d027
extended audio panel [1/2]
alexxxdev Dec 17, 2018
196503c
Position "At a Glance" on type clock below status bar.
AgentFabulous Sep 21, 2019
2c4551e
GlobalActionsDialog: Fix corner cases of NPE
neobuddy89 Nov 10, 2019
48a2881
Quick settings: Add Haptic Feedback to tiles [1/2]
amartinz Jan 1, 2015
6767598
base: Add three-fingers-swipe to screenshot [1/2]
ghbhaha Aug 8, 2015
902587a
base: Improvements for swipe to screenshot
jhenrique09 May 7, 2019
e8382bd
base: SwipeToScreenshot: Import MIUI implementation
jhenrique09 May 8, 2019
5a5f54c
Use API function for three finger screenshot
neobuddy89 Nov 10, 2019
1d0e136
base: Change toast background to a darker color
mydongistiny Jan 25, 2018
f11714d
base: SystemUI: enhance calendar link
maxwen Aug 20, 2018
de02600
CarrierConfigManager: enable LTE+ icon by default
xboxfanj Oct 19, 2019
3974b2a
fingerprint: notify client when cancelling succeeded
kaluoshi Oct 25, 2016
a3aca5b
ThemedMeterDrawable: Fix system crash on theme change
neobuddy89 Nov 28, 2019
9ea78dc
Battery light: 100% charged level (1/3)
Razziell May 7, 2018
83f81f7
PowerMenu: Hide the useless Emergency item
PMS22 Jan 12, 2020
3f3cb41
Add Flashlight blink on incoming calls [1/3]
PMS22 Jun 5, 2018
5e411a2
QuickSettings: Launch Ashes on long click Settings icon
Beanstown Sep 8, 2017
603ba92
Disable dashboards conditions and suggestions (1/2)
xyyx Sep 7, 2017
b47675d
Turn on development settings by default
xyyx Sep 7, 2018
e3d43d8
Allow to suppress notifications sound/vibration if screen is On [1/2]
ezio84 Apr 27, 2019
cd07580
core: Add support for MicroG
gudenau Sep 25, 2018
a92694f
base: Add Solid battery style from PA [1/2]
TheStrix Sep 1, 2019
c178b61
base: Add ambient pulse notification [1/2]
kldoc Oct 10, 2019
7723687
SystemUI: Fix ambient pulse notification layout
SKULSHADY Dec 2, 2019
f013493
Allow disabling of FC dialogs [1/2]
Oct 29, 2015
b441cef
Allow to set QS panel columns and rows [1/2]
ezio84 Dec 14, 2019
d75c25e
Allow tuning ambient display with sensors [1/3]
neobuddy89 Apr 8, 2017
d3407f1
QS columns/rows: fix rows not refreshing on setting change
ezio84 Dec 11, 2019
34f7ea5
Force Expanded Notifications [1/2]
Jan 6, 2014
627abd5
Grant Wellbeing the SUSPEND_APPS perm if already declared
Surge1223 Nov 28, 2019
f5ec1e5
Grant BIND_WALLPAPER permission to prebuilt wp picker
ezio84 Dec 7, 2019
6b7165e
Add missing SET_WALLPAPER_COMPONENT permission to prebuilt wp picker
ezio84 Dec 20, 2019
be602f3
Permissions: allow to grant permissions to more apps on dirty flash
ezio84 Dec 7, 2019
7a7f1c4
core: Add camera intents for camera state [1/2]
TheScarastic Aug 30, 2019
83492a1
SystemUI: keyguard show charging watt
maxwen Feb 12, 2019
3361557
SystemUI: bring back old style mobile data indicators [1/2]
maxwen Nov 27, 2019
a880a8a
StatusBarMobileView: Clean up
neobuddy89 Dec 27, 2019
4fc9773
Revert "Fix to avoid UI freeze issue"
PMS22 Jan 12, 2020
e98b206
Hide power menu on secure lockscreen [1/2]
Altaf-Mahdi Oct 24, 2015
918bf06
Hide power menu on secure lockscreen - improvements
neobuddy89 Dec 28, 2019
739911e
Add Restart SystemUI button on Advanced Restart Menu (1/2)
lindwurm Mar 29, 2019
346b3e6
base: Allow themes switching to drawable for qs icons
simrat39 Dec 6, 2019
be39024
base: SystemUI: enhance calendar link
maxwen Aug 20, 2018
8819418
base: Update some icons to MD2
SKULSHADY Sep 23, 2019
21a4672
ChooserActivity: remove ugly separator
Lucchetto Sep 24, 2019
6dfd405
Camera: Don't crash when trying to disable shutter sound
jhenrique09 Aug 20, 2018
f747895
base: Add rounded corners to activity open/close animation
suphon-t Sep 14, 2019
11f29be
Update date on keyguard when ticking past midnight
jhesketh Nov 6, 2019
1422681
fwb: Conditionally set scaled brightness
TheScarastic Dec 18, 2019
409151f
PackageInstaller: Show current and new version on APK installation
ezio84 Dec 25, 2019
3723bd1
SystemUI: Tiny expanding improvement
kaluoshi Nov 13, 2014
506de2f
SystemUI: Prevent dummy expansion of status bar
maxwen Jan 21, 2018
aef949b
pocket: Reduce sleep timeout for pocket lock
RadixQube Jun 2, 2019
9a0db73
pocket: Use MD2 lock drawable
SKULSHADY May 11, 2019
45db71d
telephony: Make IMS method updateToState accessible
neobuddy89 Dec 15, 2018
b635c83
Option to mute media with gesture [1/2]
tsubus Oct 30, 2018
61bef0e
SystemUI: Remove GarbageMonitor tile
jhenrique09 Aug 13, 2018
bf9e0d2
SystemUI: Increase ambient pulse light default duration
PMS22 Jan 12, 2020
757174b
Add smart pixels [1/2]
frap129 Jan 4, 2018
d76d85c
Smart Pixels: Dynamically register receiver
adindotdev Apr 21, 2018
a849363
core: Implement Aggressive Battery [1/2]
frap129 Feb 2, 2019
f230cd3
Aggressive Battery: fix auto enable on battery saver
shagbag913 Apr 7, 2019
c51c716
Add our favourite fonts in AOSP FontEngine [2/2]
SuperDroidBond Oct 13, 2019
01f8d0f
Add OnePlus Slate and SamsungOne font styles [1/2]
neobuddy89 Dec 29, 2019
a1531d8
Wire up default fonts with font engine
neobuddy89 Dec 29, 2019
b5b17ba
Add semi bold font alias for custom fonts
neobuddy89 Dec 29, 2019
d882b6b
Add Google Sans and Comic Sans font styles [1/2]
neobuddy89 Dec 29, 2019
b407f74
Update Google Sans font style [1/2]
neobuddy89 Dec 30, 2019
c9c00cb
Update default config for headline fonts
neobuddy89 Dec 30, 2019
dc9b5c5
Add regular / light font config
neobuddy89 Jan 5, 2020
e3ddd5d
Add new font config to font overlays
neobuddy89 Jan 5, 2020
330b796
Restore light font styling of AOSP
neobuddy89 Jan 5, 2020
faed6c4
Add hexagon and cylinder icon shape overlays
neobuddy89 Dec 29, 2019
3d368b0
FhUtils: Add method to determine battery temp
Jan 19, 2019
70ae696
FhUtils: Introduce method to determine countries that use Fahrenheit
Feb 1, 2019
620c398
Screenrecord: Change save location and make sure dirs exist
Surge1223 Oct 11, 2019
ec09b9e
Screenrec: allow to show a blinking red stop dot
ezio84 Oct 27, 2019
31d9c2c
Screenrec: use HEVC H.265 codec, add low quality option, fixes
ezio84 Oct 30, 2019
4a463d8
Screenrecord: fix FC when using custom dpi values
ezio84 Nov 14, 2019
da03cc8
Screenrecord: start delayed
ezio84 Nov 29, 2019
77b7610
Screenrecord: exclude dialog from Recents
ezio84 Nov 29, 2019
e070c7b
SystemUI: ScreenRec: Redesign the dialog
SKULSHADY Nov 11, 2019
cc917f9
Screenrecord: remember last recording options
ezio84 Nov 29, 2019
bc60c60
ScreenRec: fix possible SystemUI FC when stopping
ezio84 Nov 12, 2019
376fdb6
Add power menu option for screen record [1/3]
neobuddy89 Dec 28, 2019
50fbb68
Add delay for partial screenshot on long press
neobuddy89 Dec 28, 2019
ec8b330
RecordingService: Use IMPORTANCE_LOW notification channel
neobuddy89 Dec 30, 2019
984cedb
RecordingService: Use existing recording icon
neobuddy89 Dec 30, 2019
2ee688f
Add toggle to completely hide status bar on lockscreen [1/2]
neobuddy89 Dec 30, 2019
521c393
Separate battery estimate from percent for QS [1/2]
neobuddy89 Dec 30, 2019
3cbc510
Text battery style: show a bolt ⚡ when charging
ezio84 Feb 13, 2018
71210f3
Add toggle to display battery in quick status bar [1/2]
neobuddy89 Jan 3, 2020
195c6d7
Incall vibration options [1/3]
Beanstown Dec 16, 2019
05d232a
PowerMenu: Only tint items once
Jan 4, 2020
5eedfdc
BatteryMeterView: More robust for showing estimate
neobuddy89 Jan 4, 2020
dfa61e3
base: Handle NPE for ContentObserver
poad42 Jan 5, 2020
be4e3f9
Lockscreen charging info: show decimal in battery temperature
Lucchetto Dec 11, 2019
d418362
Ambient Music Ticker - Allow to pulse on new tracks [1/2]
ezio84 Nov 2, 2019
44e2fee
Disable Notifications vibration [1/2]
agxpro Dec 25, 2019
518dc9e
fwb: [1/2] Implement cutout force full screen
jhenrique09 Apr 29, 2019
e42b9d6
SystemUI: Show the charging bolt irrespective of battery style
PMS22 Jan 12, 2020
86986cd
Screen off animations [1/2]
bigrushdog Jan 12, 2018
5124afb
base: QS panel opacity [1/2]
Nico60 Apr 11, 2018
8ea1611
Add Comfortaa font [1/2]
neobuddy89 Jan 12, 2020
3f0eeca
FODCircleView: AOD content should move only in Y
darkobas Nov 24, 2019
771ebde
Update ElectronBeam screen off animation
bigrushdog Jan 4, 2020
d8c1620
Typeface Clock: update thumbnail
shagbag913 Nov 29, 2019
0130284
Keyguard: add binary custom clock face
maxwen Oct 23, 2019
e851c83
Graphics: Fix NPE in Gdrive
Oct 11, 2019
dc538a0
base: Use wireless charging animation for wired charging too
SKULSHADY May 28, 2019
344cd69
base: Add toggle to disable charging animation [1/2]
SKULSHADY Jun 6, 2019
c2d91a1
fw_base: make default value false for charging animation [2/2]
Miccia94 Jun 25, 2019
5cdb8da
Smart Pixels: Update default grid pattern
adindotdev Oct 22, 2018
2e96997
SystemUI: set user detail item to use system font
maxwen Jan 16, 2020
a2a1718
base: set alert dialog message to use system font
maxwen Jan 16, 2020
ae8c17b
Introduce bold digital and Samsung like lockscreen clocks
Myself5 Jan 7, 2020
4d663d7
KeyguardClockPositionAlgorithm: Allow forcing default clockY positioning
Myself5 Jan 6, 2020
6fa45ba
Improve haptics and use VibrationEffect
ritujb Jan 11, 2020
b1a247b
QS: Add partial/full screenshot QS tile
ezio84 Sep 6, 2017
8fe3bad
Add Compass tile
romanbb Sep 27, 2017
84b8a6f
CompassTile: Add a device supports compass check
PMS22 Oct 15, 2018
77e4e08
Disable long click for Compass tile
neobuddy89 Jul 7, 2019
5c4c4b3
Add Music QS Tile
kufikugel Sep 28, 2017
7f72640
MusicTile: Clean up redundant code
neobuddy89 Jul 14, 2019
7ab8815
MusicTile: Make tile state inactive if not playing music
neobuddy89 Oct 27, 2018
a5ffc7b
Add Always On Display QS Tile
SpiritCroc Jan 13, 2018
1a3f9ea
Disable long click for AOD tile
neobuddy89 Nov 10, 2019
900703d
Add Google Sound Search tile
ezio84 Feb 9, 2018
51be2a9
SoundSearchTile: Make default state inactive
neobuddy89 Nov 4, 2018
d2d1280
Disable long click for SoundSearch tile
neobuddy89 Jul 7, 2019
05da63b
QS: Add Sound tile to Quick Settings
Mar 21, 2019
5deebc8
Add Reboot/Recovery QS Tile
fusionjack Nov 16, 2017
f15330a
RebootTile: Fix gradient message display for reboot to recovery
neobuddy89 Feb 11, 2018
b6ed8fa
Extend reboot tile to add power off
neobuddy89 May 2, 2018
cf3a167
RebootTile: Make default state inactive
neobuddy89 Nov 10, 2019
f88185b
SoundTile: Make default state inactive
neobuddy89 Nov 10, 2019
ae3a0d2
LocationTile: Rotate location modes and fixes for handleClick
neobuddy89 Jun 2, 2019
3efa169
SystemUI: Name Cellular Tile based on carrier
Jun 7, 2018
88d969f
services: Use the default behaviour to kill app
luk1337 Aug 23, 2019
6a50c03
FOD: Use the cyan color
PMS22 Jan 24, 2020
6422feb
SystemUI: Use the dark mode as default
PMS22 Jan 24, 2020
21d12b3
SystemUI: Dismiss keyguard on boot if disabled by current profile
Mar 13, 2017
9be5400
SystemUI: Don't dismiss keyguard if user key isn't unlocked
luk1337 Sep 22, 2019
7cb1ff9
Revert "NtpTrustedTime: Refresh NTP server from resources before requ…
luca020400 Jan 13, 2020
fb923fe
Make NtpTrustedTime safer / expand docs
nfuller Dec 20, 2019
370a7cd
Consolidate ActivityStack#finishCurrentActivityLocked checking
Oct 22, 2019
4306d82
Camera: Avoid removing valid repeating requests
epeevs Nov 4, 2019
f0a9dd5
Fix StorageManagerService linkToDeath more than one time when vold/st…
gaoshanliukou Jun 13, 2019
b9e5213
Always allow back gesture when there are transient bars showing
Oct 4, 2019
38a761c
Use non-wakeup alarm for delay constraint.
kwadkore Jan 10, 2020
1e08b5c
SystemUI: Improve Samsung clock layout
SKULSHADY Jan 14, 2020
043c9ca
Gesture nav Assistant handles: don't show them in lockscreen
ezio84 Jan 6, 2020
d2ceec5
SystemUI: allow setting custom cutout shapes
arter97 Jan 3, 2020
ae69d1d
SystemUI: allow setting custom cutout shapes
arter97 Jan 3, 2020
76c69a2
SystemUI: implement better partial screenshot
Demon000 Jan 19, 2020
9db5c8d
[DO NOT MERGE] Check CellInfoCallback Detail for Null
Oct 15, 2019
aeb6e1a
ScreenshotHelper: ignore timeout when taking partial screenshots
Demon000 Jan 20, 2020
22ef2c6
Revert "base: set scrolling to 0.006f"
PMS22 Jan 29, 2020
211b12d
Hide tiles title: longpress will launch detail view
maxwen Sep 21, 2017
4836077
LocationTile: Long press for detail view if show QS tile titles is di…
PMS22 Jul 7, 2018
82c595d
Prevent battery tunables crashing on first boot
neobuddy89 Jan 26, 2020
300fa89
SettingsLib: Don't show system overlays on apps list
jhenrique09 Jan 25, 2020
09b76ed
Avoid system reboot while invalidate LegacyGlobalAction
Dec 18, 2019
01f111e
FODCircleView: disable touch detection on screen off
Demon000 Feb 3, 2020
e66b034
Automatic translation import
mikeNG Jan 27, 2020
948dfa7
SystemUI: Pass correct NetworkTemplate to CellularTile detail view
luk1337 Feb 2, 2020
3b05286
Updates to various icons:
dsandler Sep 13, 2019
97e9580
SystemUI: block gestural navigation when using partial screenshot
ezio84 Dec 1, 2019
f556a48
GlobalScreenshot: do not capture multiple screenshots simultaneously
Demon000 Feb 1, 2020
365ba47
SystemUI: Only add GarbageMonitor tile to default tiles on ENG builds
arco Feb 1, 2020
0e03a37
base: Port extended screenshot function from OOS
jhenrique09 Aug 11, 2019
eddee76
fwb: Increase Longshot timeout to 2 seconds
celtare21 Feb 2, 2020
51ea1ce
Fix Google Markup FC
DennySPB Aug 26, 2019
f1ab887
base: Improve navigation bar hiding toggle
agxpro Dec 2, 2019
a5ae3fc
base: Add qs status bar header image [1/2]
darkobas Oct 8, 2019
8da77f8
FODCircleView: fix incorrect position on keyguard
00day0 Jan 20, 2020
8bc84c8
FODCircleView: Recognizing fingerprint animation [1/2]
00day0 Jan 27, 2020
e875aa5
Add config to use base rounded corner radius for window animation
HarukeyUA Feb 8, 2020
6bc4226
[DO NOT MERGE] Return correct offsets for getAttributeRange()
jinpark6 Nov 19, 2019
6aaf049
Revoke granted permission when the permission defining app is removed.
moltmann Oct 28, 2019
d341507
DO NOT MERGE: Don't let NotificationEntryManager keep around old Rank…
Dec 10, 2019
a598f44
RESTRICT AUTOMERGE
Oct 22, 2019
4b03166
Handles null outInfo in deleteSystemPackageLI
patrickbaumann Aug 23, 2019
5b27102
RESTRICT AUTOMERGE TextClassifier cross-user vulnerability in direct-…
Jul 1, 2019
a55680e
Put userId at the end of parcel
tony-mak Dec 10, 2019
c9ad278
Revert "base: Improve navigation bar hiding toggle"
PMS22 Feb 25, 2020
2640667
base: navigation mode settings [1/2]
maxwen Sep 25, 2019
d544b6e
EdgeBackGestureHandler: Change back gesture height intervals
SKULSHADY Jan 11, 2020
5e62091
base: Hide pill in full gestural nav mode [1/2]
ganeshi4u Dec 27, 2019
e0b4e41
Allow to hide arrow for back gesture [1/2]
Nico60 Nov 18, 2019
8818487
FODCircleView: Add partial wakelock on aod
TheScarastic Dec 16, 2019
20d04f7
FODCircleView: Patch partial wakelock issues
TheScarastic Dec 19, 2019
ad11786
FODCircleView: Patch screen flickering
TheScarastic Jan 23, 2020
1c36127
Keyguard: ReInflate views when density or font scale change
Feb 13, 2020
5d7501c
Make resolver list layouts have round corners
shagbag913 Jan 30, 2020
8f33e3a
ProgressBar: Media volume bar indicates a wrong value
Jan 27, 2020
4b46dea
QS brightness slider: Update brightness thumb vector
JBCDroid2 Feb 5, 2020
d4af8a6
base: Lower the internal audio capture restriction
eldainosor Jan 11, 2020
cb24fa3
SystemUI: Recognizing FP animation effects [1/2]
joeyhuab Feb 8, 2020
4c129ed
SystemUI: Add OP Recognizing FP animations [1/2]
joeyhuab Feb 9, 2020
54ad322
SystemUI: Add PureView recognizing FP animations [1/2]
joeyhuab Feb 9, 2020
cad4a45
FODCircleView: cleanup FOD customization techniques
nullxception Feb 10, 2020
6d81383
SystemUI: Add BlueFirework recognizing FP animation [1/2]
Starfelll Feb 13, 2020
ce69fc8
Fix black image wallpaper issue
Dec 4, 2019
cd56082
Fix AnimatedImageDrawables using ByteBuffers
LeonScroggins Sep 11, 2019
f0f2ac1
Make smart actions icon to respect dark theme setting
tony-mak Nov 4, 2019
4c0ee9f
SystemUI: Separate FODAnimation into it's own class
TheScarastic Feb 22, 2020
7260da5
SystemUI: Add ColorOS7 recognizing FP animations [1/2]
Starfelll Feb 21, 2020
fc289f4
SystemUI: handle camera launch gesture from keyhandler
romanbb Feb 5, 2016
fc27956
Context-aware Bluetooth airplane mode
Oct 16, 2019
beca8ac
Change layout of ToggleAction for GlobalActionsDialog
Dec 24, 2019
bbb04f5
base: Use ro.build.date to clear cache dirs on update
maxwen Nov 19, 2019
3073b0e
Add upgrade step to fix system sounds issue
Chippa-a Jan 27, 2020
2df37be
RingtoneManager: Don't crash if the ringtone doesn't have a numerical ID
Tortel Jan 31, 2020
982453e
Reland "Apply front scrim to doze pulsing"
luca020400 Feb 3, 2020
75e64b8
Fix AoD front scrim being opaque at DOZE_PULSING.
Feb 3, 2020
8c1656e
Move high touch sensitivity and hovering to InputService
Danesh Mar 9, 2016
550acdd
Merge tag 'android-10.0.0_r27' of https://android.googlesource.com/pl…
PMS22 Feb 26, 2020
cb55da4
Enlarge EPSILON to 0.01 for android.display.cts.DisplayTest#testModeS…
Jan 13, 2020
f83b710
Allow zero stride
Jan 8, 2020
b420dab
Revert "FODCircleView: Patch screen flickering"
PMS22 Feb 26, 2020
cca145e
Revert "FODCircleView: Patch partial wakelock issues"
PMS22 Feb 26, 2020
8dd7774
Revert "FODCircleView: Add partial wakelock on aod"
PMS22 Feb 26, 2020
3c14dcf
SystemUI: Don't sleep on double tap below status bar
moetayuko Feb 27, 2020
6d03d80
fw/b torch: Let long press power turn torch off when screen is on.
sam3000 Jan 28, 2020
2a35916
Pad ime_switcher same as navbar buttons
codingKerensa Feb 25, 2020
cda0586
Start BiometricService even if no hardware is present
aleasto Feb 24, 2020
4a5ed3f
SystemUI: Show charging status in addition to trust granted/transient…
Tortel Jan 21, 2020
6ffed23
FingerprintDialogView: Improve on fod devices (#367)
Hikari-no-Tenshi Mar 2, 2020
d23e9c6
SystemUI: Update keyguard indication margin when fod is in use
Oct 5, 2019
2449459
SystemUI: update Bluetooth battery level assets.
Herna1994 Oct 1, 2019
7eabfa5
Revert "FODCircleView: disable touch detection on screen off"
PMS22 Mar 7, 2020
5b814b1
Merge tag 'android-10.0.0_r31' into lineage-17.1-android-10.0.0_r31
luca020400 Mar 7, 2020
85c41c8
base: add missing Text style in BatteryStyles [1/2]
Rpingat Mar 10, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 11 additions & 5 deletions Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ java_defaults {
"core/java/android/os/storage/IStorageShutdownObserver.aidl",
"core/java/android/os/storage/IObbActionListener.aidl",
"core/java/android/permission/IPermissionController.aidl",
"core/java/android/pocket/IPocketService.aidl",
"core/java/android/pocket/IPocketCallback.aidl",
":keystore_aidl",
"core/java/android/security/keymaster/IKeyAttestationApplicationIdProvider.aidl",
"core/java/android/service/appprediction/IPredictionService.aidl",
Expand Down Expand Up @@ -321,7 +323,6 @@ java_defaults {
"core/java/android/service/vr/IVrManager.aidl",
"core/java/android/service/vr/IVrStateCallbacks.aidl",
"core/java/android/service/watchdog/IExplicitHealthCheckService.aidl",
"core/java/android/service/watchdog/PackageConfig.aidl",
"core/java/android/print/ILayoutResultCallback.aidl",
"core/java/android/print/IPrinterDiscoveryObserver.aidl",
"core/java/android/print/IPrintDocumentAdapter.aidl",
Expand Down Expand Up @@ -421,6 +422,7 @@ java_defaults {
"core/java/com/android/internal/appwidget/IAppWidgetHost.aidl",
"core/java/com/android/internal/backup/IBackupTransport.aidl",
"core/java/com/android/internal/backup/IObbBackupService.aidl",
"core/java/com/android/internal/car/ICarStatsService.aidl",
"core/java/com/android/internal/inputmethod/IInputContentUriToken.aidl",
"core/java/com/android/internal/inputmethod/IInputMethodPrivilegedOperations.aidl",
"core/java/com/android/internal/inputmethod/IMultiClientInputMethod.aidl",
Expand All @@ -439,7 +441,6 @@ java_defaults {
"core/java/com/android/internal/os/IShellCallback.aidl",
"core/java/com/android/internal/statusbar/IStatusBar.aidl",
"core/java/com/android/internal/statusbar/IStatusBarService.aidl",
"core/java/com/android/internal/statusbar/RegisterStatusBarResult.aidl",
"core/java/com/android/internal/textservice/ISpellCheckerService.aidl",
"core/java/com/android/internal/textservice/ISpellCheckerServiceCallback.aidl",
"core/java/com/android/internal/textservice/ISpellCheckerSession.aidl",
Expand Down Expand Up @@ -695,6 +696,12 @@ java_defaults {
":platform-properties",

":framework-statslog-gen",

// Long screenshot
"core/java/com/android/internal/custom/longshot/ILongScreenshot.aidl",
"core/java/com/android/internal/custom/longshot/ILongScreenshotCallback.aidl",
"core/java/com/android/internal/custom/longshot/ILongScreenshotListener.aidl",
"core/java/com/android/internal/custom/longshot/ILongScreenshotManager.aidl",
],

aidl: {
Expand Down Expand Up @@ -1403,6 +1410,7 @@ droidstubs {
"core/res/AndroidManifest.xml",
],
args: metalava_framework_docs_args,
write_sdk_values: true,
}

droidstubs {
Expand All @@ -1412,6 +1420,7 @@ droidstubs {
"core/res/AndroidManifest.xml",
],
args: metalava_framework_docs_args + " --show-annotation android.annotation.SystemApi ",
write_sdk_values: true,
}

droiddoc {
Expand All @@ -1435,7 +1444,6 @@ droiddoc {
],
proofread_file: "offline-sdk-docs-proofrerad.txt",
args: framework_docs_only_args + " -offlinemode -title \"Android SDK\"",
write_sdk_values: true,
static_doc_index_redirect: "docs/docs-preview-index.html",
}

Expand All @@ -1453,7 +1461,6 @@ droiddoc {
],
proofread_file: "offline-sdk-referenceonly-docs-proofrerad.txt",
args: framework_docs_only_args + " -offlinemode -title \"Android SDK\" -referenceonly",
write_sdk_values: true,
static_doc_index_redirect: "docs/docs-documentation-redirect.html",
static_doc_properties: "docs/source.properties",
}
Expand All @@ -1473,7 +1480,6 @@ droiddoc {
proofread_file: "offline-system-sdk-referenceonly-docs-proofrerad.txt",
args: framework_docs_only_args + " -hide 101 -hide 104 -hide 108" +
" -offlinemode -title \"Android System SDK\" -referenceonly",
write_sdk_values: true,
static_doc_index_redirect: "docs/docs-documentation-redirect.html",
static_doc_properties: "docs/source.properties",
}
Expand Down
18 changes: 18 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,24 @@ $(OUT_DOCS)/offline-sdk-timestamp: $(OUT_DOCS)/offline-sdk-docs-docs.zip
.PHONY: docs offline-sdk-docs
docs offline-sdk-docs: $(OUT_DOCS)/offline-sdk-timestamp

SDK_METADATA_DIR :=$= $(call intermediates-dir-for,PACKAGING,framework-doc-stubs-metadata,,COMMON)
SDK_METADATA_FILES :=$= $(addprefix $(SDK_METADATA_DIR)/,\
activity_actions.txt \
broadcast_actions.txt \
categories.txt \
features.txt \
service_actions.txt \
widgets.txt)
SDK_METADATA :=$= $(firstword $(SDK_METADATA_FILES))
$(SDK_METADATA): .KATI_IMPLICIT_OUTPUTS := $(filter-out $(SDK_METADATA),$(SDK_METADATA_FILES))
$(SDK_METADATA): $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/framework-doc-stubs-metadata.zip
rm -rf $(SDK_METADATA_DIR)
mkdir -p $(SDK_METADATA_DIR)
unzip -qo $< -d $(SDK_METADATA_DIR)

.PHONY: framework-doc-stubs
framework-doc-stubs: $(SDK_METADATA)

# Run this for checkbuild
checkbuild: doc-comment-check-docs

Expand Down
1 change: 1 addition & 0 deletions CleanSpec.mk
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/symbols/system/lib/libhwui.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/libhwui.so)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/os/storage/*)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/content/IClipboard.P)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/pocket/*)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/telephony/java/com/android/internal/telephony/ITelephonyRegistry.P)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates)
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/docs/api-stubs*)
Expand Down
8 changes: 6 additions & 2 deletions cmds/bootanimation/BootAnimation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@

#include "BootAnimation.h"

#define ANIM_PATH_MAX 255
#define STR(x) #x
#define STRTO(x) STR(x)

namespace android {

static const char OEM_BOOTANIMATION_FILE[] = "/oem/media/bootanimation.zip";
Expand Down Expand Up @@ -96,7 +100,7 @@ static constexpr size_t FONT_NUM_ROWS = FONT_NUM_CHARS / FONT_NUM_COLS;
static const int TEXT_CENTER_VALUE = INT_MAX;
static const int TEXT_MISSING_VALUE = INT_MIN;
static const char EXIT_PROP_NAME[] = "service.bootanim.exit";
static const int ANIM_ENTRY_NAME_MAX = 256;
static const int ANIM_ENTRY_NAME_MAX = ANIM_PATH_MAX + 1;
static constexpr size_t TEXT_POS_LEN_MAX = 16;

// ---------------------------------------------------------------------------
Expand Down Expand Up @@ -694,7 +698,7 @@ bool BootAnimation::parseAnimationDesc(Animation& animation)
animation.width = width;
animation.height = height;
animation.fps = fps;
} else if (sscanf(l, " %c %d %d %s #%6s %16s %16s",
} else if (sscanf(l, " %c %d %d %" STRTO(ANIM_PATH_MAX) "s #%6s %16s %16s",
&pathType, &count, &pause, path, color, clockPos1, clockPos2) >= 4) {
//SLOGD("> type=%c, count=%d, pause=%d, path=%s, color=%s, clockPos1=%s, clockPos2=%s",
// pathType, count, pause, path, color, clockPos1, clockPos2);
Expand Down
2 changes: 2 additions & 0 deletions cmds/statsd/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ cc_defaults {

srcs: [
":statsd_aidl",
":ICarStatsService.aidl",
"src/active_config_list.proto",
"src/statsd_config.proto",
"src/uid_data.proto",
Expand All @@ -69,6 +70,7 @@ cc_defaults {
"src/config/ConfigKey.cpp",
"src/config/ConfigListener.cpp",
"src/config/ConfigManager.cpp",
"src/external/CarStatsPuller.cpp",
"src/external/GpuStatsPuller.cpp",
"src/external/Perfetto.cpp",
"src/external/Perfprofd.cpp",
Expand Down
23 changes: 18 additions & 5 deletions cmds/statsd/src/StatsService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,9 @@ status_t StatsService::onTransact(uint32_t code, const Parcel& data, Parcel* rep
IResultReceiver::asInterface(data.readStrongBinder());

err = command(in, out, err, args, resultReceiver);
resultReceiver->send(err);
if (resultReceiver != nullptr) {
resultReceiver->send(err);
}
return NO_ERROR;
}
default: { return BnStatsManager::onTransact(code, data, reply, flags); }
Expand Down Expand Up @@ -411,13 +413,20 @@ status_t StatsService::command(int in, int out, int err, Vector<String8>& args,
return cmd_trigger_active_config_broadcast(out, args);
}
if (!args[0].compare(String8("data-subscribe"))) {
if (mShellSubscriber == nullptr) {
mShellSubscriber = new ShellSubscriber(mUidMap, mPullerManager);
{
std::lock_guard<std::mutex> lock(mShellSubscriberMutex);
if (mShellSubscriber == nullptr) {
mShellSubscriber = new ShellSubscriber(mUidMap, mPullerManager);
}
}
int timeoutSec = -1;
if (argCount >= 2) {
timeoutSec = atoi(args[1].c_str());
}
if (resultReceiver == nullptr) {
ALOGI("Null resultReceiver given, no subscription will be started");
return UNEXPECTED_NULL;
}
mShellSubscriber->startNewSubscription(in, out, resultReceiver, timeoutSec);
return NO_ERROR;
}
Expand Down Expand Up @@ -1385,7 +1394,10 @@ Status StatsService::sendBinaryPushStateChangedAtom(const android::String16& tra

Status StatsService::sendWatchdogRollbackOccurredAtom(const int32_t rollbackTypeIn,
const android::String16& packageNameIn,
const int64_t packageVersionCodeIn) {
const int64_t packageVersionCodeIn,
const int32_t rollbackReasonIn,
const android::String16&
failingPackageNameIn) {
// Note: We skip the usage stats op check here since we do not have a package name.
// This is ok since we are overloading the usage_stats permission.
// This method only sends data, it does not receive it.
Expand All @@ -1407,7 +1419,8 @@ Status StatsService::sendWatchdogRollbackOccurredAtom(const int32_t rollbackType
}

android::util::stats_write(android::util::WATCHDOG_ROLLBACK_OCCURRED,
rollbackTypeIn, String8(packageNameIn).string(), packageVersionCodeIn);
rollbackTypeIn, String8(packageNameIn).string(), packageVersionCodeIn,
rollbackReasonIn, String8(failingPackageNameIn).string());

// Fast return to save disk read.
if (rollbackTypeIn != android::util::WATCHDOG_ROLLBACK_OCCURRED__ROLLBACK_TYPE__ROLLBACK_SUCCESS
Expand Down
8 changes: 7 additions & 1 deletion cmds/statsd/src/StatsService.h
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ class StatsService : public BnStatsManager,
virtual Status sendWatchdogRollbackOccurredAtom(
const int32_t rollbackTypeIn,
const android::String16& packageNameIn,
const int64_t packageVersionCodeIn) override;
const int64_t packageVersionCodeIn,
const int32_t rollbackReasonIn,
const android::String16& failingPackageNameIn) override;

/**
* Binder call to get registered experiment IDs.
Expand Down Expand Up @@ -432,6 +434,10 @@ class StatsService : public BnStatsManager,

sp<ShellSubscriber> mShellSubscriber;

/**
* Mutex for setting the shell subscriber
*/
mutable mutex mShellSubscriberMutex;
std::shared_ptr<LogEventQueue> mEventQueue;

FRIEND_TEST(StatsLogProcessorTest, TestActivationsPersistAcrossSystemServerRestart);
Expand Down
92 changes: 91 additions & 1 deletion cmds/statsd/src/atoms.proto
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,11 @@ message Atom {
218 [(log_from_module) = "permissioncontroller"];
ExclusionRectStateChanged exclusion_rect_state_changed = 223;
BackGesture back_gesture_reported_reported = 224;
VmsClientConnectionStateChanged vms_client_connection_state_changed = 230;
}

// Pulled events will start at field 10000.
// Next: 10062
// Next: 10067
oneof pulled {
WifiBytesTransfer wifi_bytes_transfer = 10000;
WifiBytesTransferByFgBg wifi_bytes_transfer_by_fg_bg = 10001;
Expand Down Expand Up @@ -388,6 +389,8 @@ message Atom {
CoolingDevice cooling_device = 10059;
AppOps app_ops = 10060;
ProcessSystemIonHeapSize process_system_ion_heap_size = 10061;
VmsClientStats vms_client_stats = 10065;
NotificationRemoteViews notification_remote_views = 10066;
}

// DO NOT USE field numbers above 100,000 in AOSP.
Expand Down Expand Up @@ -1684,6 +1687,19 @@ message WatchdogRollbackOccurred {
optional string package_name = 2;

optional int32 package_version_code = 3;

enum RollbackReasonType {
REASON_UNKNOWN = 0;
REASON_NATIVE_CRASH = 1;
REASON_EXPLICIT_HEALTH_CHECK = 2;
REASON_APP_CRASH = 3;
REASON_APP_NOT_RESPONDING = 4;
}
optional RollbackReasonType rollback_reason = 4;

// Set by RollbackPackageHealthObserver to be the package that is failing when a rollback
// is initiated. Empty if the package is unknown.
optional string failing_package_name = 5;
}

/**
Expand Down Expand Up @@ -3708,6 +3724,33 @@ message RoleRequestResultReported {
optional Result result = 9;
}

/**
* Logs when a Vehicle Maps Service client's connection state has changed
*
* Logged from:
* packages/services/Car/service/src/com/android/car/stats/VmsClientLog.java
*/
message VmsClientConnectionStateChanged {
// The UID of the VMS client app
optional int32 uid = 1 [(is_uid) = true];

enum State {
UNKNOWN = 0;
// Attempting to connect to the client
CONNECTING = 1;
// Client connection established
CONNECTED = 2;
// Client connection closed unexpectedly
DISCONNECTED = 3;
// Client connection closed by VMS
TERMINATED = 4;
// Error establishing the client connection
CONNECTION_ERROR = 5;
}

optional State state = 2;
}

//////////////////////////////////////////////////////////////////////
// Pulled atoms below this line //
//////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -4722,6 +4765,24 @@ message ProcStatsPkgProc {
optional ProcessStatsSectionProto proc_stats_section = 1;
}

// Next Tag: 2
message PackageRemoteViewInfoProto {
optional string package_name = 1;
// add per-package additional info here (like channels)
}

// Next Tag: 2
message NotificationRemoteViewsProto {
repeated PackageRemoteViewInfoProto package_remote_view_info = 1;
}

/**
* Pulled from NotificationManagerService.java
*/
message NotificationRemoteViews {
optional NotificationRemoteViewsProto notification_remote_views = 1;
}

message PowerProfileProto {
optional double cpu_suspend = 1;

Expand Down Expand Up @@ -6819,3 +6880,32 @@ message PermissionAppsFragmentViewed {
}
optional Category category = 6;
}

/**
* Pulls client metrics on data transferred via Vehicle Maps Service.
* Metrics are keyed by uid + layer.
*
* Pulled from:
* packages/services/Car/service/src/com/android/car/stats/CarStatsService.java
*/
message VmsClientStats {
// UID of the VMS client app
optional int32 uid = 1 [(is_uid) = true];

// VMS layer definition
optional int32 layer_type = 2;
optional int32 layer_channel = 3;
optional int32 layer_version = 4;

// Bytes and packets sent by the client for the layer
optional int64 tx_bytes = 5;
optional int64 tx_packets = 6;

// Bytes and packets received by the client for the layer
optional int64 rx_bytes = 7;
optional int64 rx_packets = 8;

// Bytes and packets dropped due to client error
optional int64 dropped_bytes = 9;
optional int64 dropped_packets = 10;
}
Loading