Commit Graph

692917 Commits

Author SHA1 Message Date
Hunter Knepshield
d98616989e APIs for SIM call manager voice status
This CL creates two new PhoneAccount capabilities for the SIM call
manager (and potentially telephony itself for PSTN PhoneAccounts) to
advertise that they support voice calling, potentially independent of
voice service state. With this information, telecom will feed updated
back into telephony for plumbing through the standard ServiceState-based
APIs.

Bug: 205737545
Test: atest android.telecom.cts.PhoneAccountOperationsTest
  (an additional CTS test for the TelephonyManager API will be added as
  a follow-up)
Change-Id: If7a5b03a7aa630823ac238ef27721e5e6cc596e6
Merged-In: If7a5b03a7aa630823ac238ef27721e5e6cc596e6
2022-08-12 18:22:29 +00:00
Bob Badour
1db210c09c Merge "Add stats to notice UI." 2022-08-12 14:09:19 +00:00
Bob Badour
008ca223c7 Merge "Fix broken anchor tags." 2022-08-12 14:07:53 +00:00
Kyunglyul Hyun
cfe3dc567f Merge "Fix AudioDeviceInventory#disconnectLeAudio" 2022-08-12 10:06:35 +00:00
Kyunglyul Hyun
80786db7b4 Fix AudioDeviceInventory#disconnectLeAudio
This CL fixes disconnectLeAudio to disconnect devices properly
and make it send becoming noisy intent when
an LE audio device is disconnected.

It also calls disconnectLeAudio for broadcast profiles.

Bug: 230298077
Test: manually turning off BT to check if
media is paused.

Merged-In: Ifd74c244e19f5e7f92fdbd8f7d20cd99a054425a
Change-Id: Ifd74c244e19f5e7f92fdbd8f7d20cd99a054425a
(cherry picked from commit 695a264811)
2022-08-12 08:08:37 +00:00
Bob Badour
a52ed87bb0 Add stats to notice UI.
https://screenshot.googleplex.com/3WFzphfDAifZZvF

Bug: 241421504

Test: m droid dist

Change-Id: I1b85a60345bedb108ba5186bdc4a4667890ba4e5
2022-08-12 05:39:57 +00:00
Bob Badour
b59def48c9 Fix broken anchor tags.
Test: m droid dist

Change-Id: Ie27ab42f10a00d1c982f4d3ef928cca58019dc1f
2022-08-11 20:51:39 -07:00
Treehugger Robot
00545d0fd6 Merge "Update OWNERS for RemoteViews related files." 2022-08-11 16:49:52 +00:00
Chiachang Wang
1660147b84 Merge "Revert "Invert the order of event sending and VpnRunner.exit()"" 2022-08-11 11:44:07 +00:00
Chiachang Wang
3e34c6d8fc Revert "Invert the order of event sending and VpnRunner.exit()"
This reverts commit 9cfd367413.

Reason for revert: <Break test>

Change-Id: Ibdd13c67c2f7cda5331df14f0bedd4e33f8df3fa
2022-08-11 11:39:32 +00:00
Treehugger Robot
6e261d7b9a Merge "AudioService: RecordActivityMonitor: fix unbounded list growth" 2022-08-11 08:37:31 +00:00
Chiachang Wang
47b156d650 Merge "Invert the order of event sending and VpnRunner.exit()" 2022-08-11 08:10:13 +00:00
chiachangwang
9cfd367413 Invert the order of event sending and VpnRunner.exit()
Invert the order to prevent confusing VPN disconnected
notification being sent before the runner actually exits.

Bug: 235322391
Test: atest FrameworksNetTests
Change-Id: I3b2eed8bf4de4b8dd00d4797509884ebeff9ad75
2022-08-11 04:14:54 +00:00
Mikhail Naganov
1c9ea30bd7 AudioService: RecordActivityMonitor: fix unbounded list growth
This CL fixes the growing list of Dispatchers in
RecordActivityMonitor by comparing dispatcher callback
via asBinder() method of the interface.

Bug: 242056995
Test: use the repro app from the bug
Change-Id: I3a2674dd339b84ecff609eef042ca41484a43255
2022-08-11 00:20:50 +00:00
Josep del Río
621c7b6946 Merge "Add current input team members as input owners" 2022-08-10 10:32:46 +00:00
Treehugger Robot
f35fce5bf4 Merge "Fix include in YuvToJpegEncoder" 2022-08-10 00:53:14 +00:00
Pinyao Ting
8767364abf Update OWNERS for RemoteViews related files.
Change-Id: I50719c5d5b19f0d5fd542a94726221b165020860
2022-08-09 23:40:35 +00:00
Elliott Hughes
6c62108411 Merge "Use timeout -i to distinguish cases where logcat is making progress." 2022-08-09 21:57:01 +00:00
Treehugger Robot
525e043906 Merge "Changing max SampleRate limits for raw audio decoder" 2022-08-09 21:47:08 +00:00
Kevin Lubick
ba25360a26 Fix include in YuvToJpegEncoder
I noticed this while cleaning up includes in
https://skia-review.googlesource.com/c/skia/+/565005

Change-Id: Ibbd6fd7741a79b913b822baa207a61f419b23fe2
2022-08-09 21:14:17 +00:00
Treehugger Robot
991fa9e77b Merge "Fix inconsistant nullability doc on onCellInfo()" 2022-08-09 20:39:47 +00:00
Jeff Sharkey
a27c2fd643 Merge "Migrate stringslint.py to AyeAye." 2022-08-09 17:29:23 +00:00
Arun Johnson
3c5683f310 Changing max SampleRate limits for raw audio decoder
bug: 240984267
Change-Id: Ib3d0b9755f0ec99daf5b3241ca23d3b0cc1fb839
2022-08-09 16:33:55 +00:00
Treehugger Robot
7547a2454d Merge "Limit the accepted length of SIM PIN to 8 digits" 2022-08-09 16:00:02 +00:00
Josep del Rio
0c0dd15907 Add current input team members as input owners
The INPUT_OWNERS file information is propagated to multiple folders,
and that information is used when approving CLs. This changeset will
add all the current team members as owners.

Test: Treehugger passes
Change-Id: I7289ca24055e4b22d955bdad91fb4aa6d7c8e55b
2022-08-09 15:06:21 +00:00
Elliott Hughes
8432d4a6ab Use timeout -i to distinguish cases where logcat is making progress.
Bug: http://b/196856709
Test: treehugger
Change-Id: I90ccb32df5ef841a02e9b759891552291142979f
2022-08-08 20:47:09 +00:00
Chiachang Wang
00f823fb2a Merge "Create LockDownVpnTracker via dependency for testing" 2022-08-08 00:52:04 +00:00
Treehugger Robot
7dae698327 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-08-07 04:49:43 +00:00
Treehugger Robot
1d81f1e0a3 Merge changes I6892f028,I2e52c3ab
* changes:
  RELAND MediaCodec: don't cache buffers until requested
  Revert "MediaCodec: don't cache buffers until requested"
2022-08-05 18:29:00 +00:00
Bill Yi
cac047396d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4f2d21c08155b91ac7703e198ba1826996532db4
2022-08-05 11:21:58 -07:00
Katsuyuki Hirayama
4c8e2ca6d4 Limit the accepted length of SIM PIN to 8 digits
Adding the upper limit results in the correct error message being
displayed to the end user - "Type a PIN that is 4 to 8 numbers."

Limiting the SIM PIN length to between 4-8 digits is part of the
GSM SIM security requirements.  See GSM 02.17 version 5.0.1,
Section 5.6 PIN Management.

Bug: 31331481
Test: 1. Insert a SIM card with SIM PIN enabled
      2. Start the device
      3. Enter a SIM PIN with a length > 8
Change-Id: Ie5fba1c79074910b0bfd54df51e4412bbf32f5fe
2022-08-05 17:54:05 +00:00
Roland Levillain
6fe49fb663 Merge "Correct mapping for "boot-after-ota" compilation reason" 2022-08-04 13:49:17 +00:00
Jeff Sharkey
6e2c566316 Migrate stringslint.py to AyeAye.
This script has been deprecated and replaced by AyeAye checks
directly in Gerrit.

Bug: 164530987
Test: none
Change-Id: I6a36c0a7ac10cbec0667780c30ba4a20124edee4
2022-08-03 13:50:28 -06:00
Wonsik Kim
0e2297b795 RELAND MediaCodec: don't cache buffers until requested
Do not cache input/output buffers until explicitly requested.

Track validity of buffers before getInput/OutputBuffers so that the
dequeued buffers are marked accessible when the array is returned
to the client.

Bug: 189889230
Bug: 236106096
Test: manual
Change-Id: I6892f02853f00c3e355c827ec943fbdf183469f1
2022-08-03 11:09:53 -07:00
Stefano Cianciulli
a1e35fbfcc Correct mapping for "boot-after-ota" compilation reason
The "boot" compilation reason is now deprecated (since Android S),
but the mapping between PackageManagerService.REASON_BOOT_AFTER_OTA
and the corresponding value in ART_COMPILATION_FILTER has not been
updated (or it has been incorrect all along). Note that this will
require a change in APC/Pitot to make sure that both the previous and
the new value for this ID are treated in the same way (so we don't
lose data logged ahead of this change, which is still valid, just
associated with an unexpected ID).

Bug: 239548426
Test: atest ArtStatsLogUtilsTest
Change-Id: I38b4a16768f32f8ed2ecfe5d5c389ad4ec3b6b6e
2022-08-03 13:25:44 +00:00
Yike Zhang
1c6932c66e Merge "Use PushFilePreparer to push files in OverlayDeviceTests" 2022-08-03 00:41:22 +00:00
Steven Moreland
c2bd9f481f Merge "Reword ambiguous documentation in Parcel" 2022-08-02 20:13:56 +00:00
Josh Tsuji
ef9dfbfa4a Merge "VolumeDialogImpl: Respect multiple visible rows in landscape" 2022-08-02 18:29:01 +00:00
Yike Zhang
7260b5c938 Merge "Use PushFilePreparer to push files in dex-builder-test" 2022-08-02 15:31:31 +00:00
Treehugger Robot
2567308aff Merge "Make Vpn more testable with a wrapper class" 2022-08-02 12:08:13 +00:00
Treehugger Robot
3a578fe5ec Merge "Remove ProcFileReader from framework-connectivity-shared-srcs" 2022-08-02 11:43:16 +00:00
Lucas Lin
147ce8dbf9 Merge "Tidy up VPN code" 2022-08-02 07:58:50 +00:00
lucaslin
7146e2cb02 Tidy up VPN code
This commit addressed the comments in different commits, it did
- Make isVpnApp() to be a static method.
- Rename getRedactedNetworkCapabilitiesOfUnderlyingNetwork to
  getRedactedNetworkCapabilities and rename
  getRedactedLinkPropertiesOfUnderlyingNetwork to
  getRedactedLinkProperties.
- Reduce the scope of synchronized block in handleSessionLost().
- Fast return when there is an IllegalArgumentException in
  handleSessionLost().
- Remove inaccurate comment.
- Update the document of mCurrentToken.
- Define an initial token value of IKE session.
- Add "/* exeception */" annotation to handleSessionLost(null)
  calls.

Bug: 236409954
Test: atest FrameworksNetTests:VpnTest
Change-Id: I8c938f8796345dc2eee6c8eff513b0f993bc8165
2022-08-02 02:24:18 +00:00
Yan Yan
01aeca4d3f Make Vpn more testable with a wrapper class
This commit creates a wrapper class for NetworkAgent to make the
Vpn code more testable.

Bug: 192077544
Test: atest VpnTest
Change-Id: Ia599fed8c874ea9622a1f56f686de293bcbfddb8
2022-08-02 02:05:16 +00:00
Jon Eckenrode
9f59ca049c Merge "Fixed typo in class description." 2022-08-02 00:23:45 +00:00
danielzhang130
c63f3f259c Reword ambiguous documentation in Parcel
- original documentation for Parcel.unmarshall could be understood
  both ways: Parcel written with bytes of data, data written with
  bytes of Parcel

Test: Not applicable
Signed-off-by: danielzhang130 <danielzhang130@gmail.com>
Change-Id: I9afd3ae66ca03f391b272ac0524593395ffe53fa
2022-08-01 23:47:47 +00:00
Treehugger Robot
3614185d38 Merge "Adds OWNERS for ScreenshotHelper" 2022-08-01 19:15:30 +00:00
Treehugger Robot
d84afeb673 Merge "Log the errno if calling fork() fails" 2022-08-01 18:47:30 +00:00
Mark Renouf
27df215eba Adds OWNERS for ScreenshotHelper
This code is managed as part of SystemUI screenshots.

Change-Id: I624a52754cffcca66798d2813d25d8896597a39a
2022-07-29 14:20:16 -04:00
Treehugger Robot
46a915f625 Merge "Improve docs for generated properties in PropertyMapper" 2022-07-28 16:53:10 +00:00