In the previous design of NSS and NPMS, those only had IMSI to identify
the cell network. Now the telephony has created the "subId" handle,
which is the preferred mechanism for identifying subscribers.
This commit adds NetworkStats support for subscriberId as a part of
the network identity key
Bug: 80526261
Test: atest NetworkTemplateTest NetworkStatsCollectionTest
NetworkStatsServiceTest NetworkIdentityTest
NetworkStatsDataMigrationUtilsTest
(cherry-picked from ag/16825721)
Change-Id: Ie1fe81006555dbcca4b62457fa6c319f04b4576d
Merged-In: Ie1fe81006555dbcca4b62457fa6c319f04b4576d
Update naming from getRequiresInternetValidation to
isInternedValdiationRequired. This addresses API
review feedback.
Bug: 220129160
Test: atest FrameworksNetTests
CTS-Coverage-Bug: 220129160
Change-Id: I9e25890af6ed73538e9e44381bf05d587808c8de
Returning null is already a behavior mentioned in the
public API document. Reverted the behavior back to be consistent
with Android 12.
Fix: 201089892
Test: atest CtsDevicePolicyManagerTestCases
Merged-In: Id4c8b41b23adfe931b9953113f7175a11703dc10
Change-Id: Id4c8b41b23adfe931b9953113f7175a11703dc10
Summary:
Currently, any attempts to compile secondary dexes from the command line
will fail, saying the reason is invalid.
For example, this command:
adb shell cmd package compile -r cmdline --secondary-dex
com.facebook.wakizashi
will fail with this error message/stack trace:
Exception occurred while executing 'compile':
java.lang.IllegalArgumentException: reason -1 invalid
at com.android.server.pm.PackageManagerServiceCompilerMapping.getReasonName(PackageManagerServiceCompilerMapping.java:146)
at com.android.server.pm.PackageDexOptimizer.dexOptSecondaryDexPathLI(PackageDexOptimizer.java:515)
at com.android.server.pm.PackageDexOptimizer.dexOptSecondaryDexPath(PackageDexOptimizer.java:437)
at com.android.server.pm.dex.DexManager.dexoptSecondaryDex(DexManager.java:548)
at com.android.server.pm.PackageManagerService.performDexOpt(PackageManagerService.java:12817)
at com.android.server.pm.PackageManagerService.performDexOptSecondary(PackageManagerService.java:12806)
at com.android.server.pm.PackageManagerShellCommand.runCompile(PackageManagerShellCommand.java:1812)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:222)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:24612)
at android.os.Binder.shellCommand(Binder.java:950)
at android.os.Binder.onTransact(Binder.java:834)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4818)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:8506)
at android.os.Binder.execTransactInternal(Binder.java:1184)
at android.os.Binder.execTransact(Binder.java:1143)
This is because a bug was introduced in this change:
7e477ab0f8
that removed the PackageManagerService.REASON_UNKNOWN (which was
previously equal to -1).
This change forgot to include the new replacement reason,
PackageManagerService.REASON_INSTALL,
for the secondary dexes dexopt path.
This DexoptOptions constructor, when not given a compilation reason,
will still default to -1, causing this bug when we later attempt to get the
reason name.
Test: m
Reviewers: calin@google.com
Subscribers:
Tasks:
Tags:
Signed-off-by: Daniel Jin <danjin@fb.com>
Change-Id: I246a44d35ae78f19feee58c93774da46b67a5e6d
Merged-In: Ic3cef72627985bb906e87b875c180a7dc32a295f
* changes:
Ignore vendor apex priv-app permission allowlists
Add test for parsing apex allowlists
Ignore prebuilt shared library if it doesn't exist on device
Rename updatable-library to apex-library
Parse new xml attributes used for updatable shared libraries
Create XML parser only once.
So they are consistent with Parcel and allow for patterns where the
client specifies a more narrow type to perform the check while returning
or populating a list of a broader type.
Test: atest -d android.os.cts.BundleTest
Bug: b/220872166#comment3
Change-Id: Ie0d430bb0ecd7fe4ee4bbbd245e38ff2813cc4eb
Add support for Curve 25519 in the public API.
This requires upgrading the keymint dependency to V2.
Note that this CL only passes tha tags to Keystore,
but does not yet let the caller use the generated keys
because of missing Conscrypt classes.
Bug: 194359292
Test: atest android.keystore.cts.Curve25519Test
Change-Id: I15223abec34b72c857e26fcc47d8ecf08c1f8c8d
This changes OWNERS of time-related code based on latest org changes.
This change removes a bluetooth line because it is invalid
and therefore prevents edits to other lines. There's no obvious
replacement.
Test: None
Bug: 189810551
Change-Id: I0eae5a0ddeb6650f34e2d0cfd5ab27d802067055
Initial command-line interface for NetworkTimeUpdateService for use in
tests.
To be joined by more commands as they are identified.
Bug: 213393821
Test: adb shell cmd network_time_update_service help
Test: adb shell cmd network_time_update_service clear_time
&& adb shell dumpsys network_time_update_service
Test: adb shell cmd network_time_update_service force_refresh
&& adb shell dumpsys network_time_update_service
Change-Id: I033764a7df9759e9fd4da0b0776f6535a574ff59
Add the description using Intent.EXTRA_USER to pass the UserHandle of
the user that owns the app.
Bug: 215300017
Test: build pass
Change-Id: Ieeaf0876b19cae60743cbf279e5c937a457165c9
Build.Version.RELEASE_OR_PREVIEW_DISPLAY propagates a string that
contains a user-friendly version name for preview releases, or the
Build.Version.RELEASE version for final releases.
Test: manual
Bug: 221950960
Change-Id: I31f8f67996e3e5e7edc00704b16b8df0db17d3a3