Test Harness Mode relies on enabling ADB upon boot. However, currently,
there appears to be a race condition when enabling ADB. Test Harness
Mode enables ADB in PHASE_BOOT_COMPLETED, and ADB sets itself up in
PHASE_ACTIVITY_MANAGER_READY, both by writing a setting. It appears that
sometimes, the setting for initializing ADB's state commits *after* the
setting to enable ADB for Test Harness Mode, which means that ADB turns
on for a brief moment, then off until the device is manually fixed.
This changes it so that the AdbService checks the Test Harness Mode
property when initializing ADB state, always enabling ADB on boot if
Test Harness Mode is enabled.
Bug: 232813060
Test: tested with user and userdebug builds, both enable adb correctly
Change-Id: I518415dda275bc3d563820ead611e5f017368c95
This filegroup makes more sense as a standalone modules-utils library,
and can be migrated to the modules-utils repository. Remove the
unnecessary dependency from services.net-module-wifi.
Test: m
Change-Id: I95d270e5e885fc40bd21af693058ace9818f1e3e
The flag should be propagated to Parcelable.writeToParcel(). But since
it was hidden, we were not able to pass the flag to elements of the
list.
Bug: 215654054
Test: atest android.os.cts.ParcelTest
Change-Id: I72d419caa74c62d979c5102ebd8eba4338ec3e3b
Before calling unbindService, we need to call bindService,
but there are some logic problems in DisplayHashController,
which cause this problem to occur. Add the control variable mBound.
Bug: 232001919
Test: atest DisplayHashManagerTest
Signed-off-by: hupeng3 <hp121520@gmail.com>
Change-Id: I84cd1542af345d5078ef40ab282d2d405e967e8e
TelephonyRegistry only updates some internal statuses related to
active modem count after receiving ACTION_MULTI_SIM_CONFIG_CHANGED.
If another component receives the same intent firstly and calls
TelephonyRegistryManager to either register or notify an event,
the internal status related to active modem count may not be able
to update yet, causing IAE saying e.g. phoneId is invalid.
To fix the issue, onMultiSimConfigChanged will be called to update
the internal statuses firstly before accessing them.
Bug: 230799289
Fix: 230773760
Test: atest TelephonyRegistryTest
Test: manual DS<->SS switching test
Merged-In: I31506a07406dee424546bfe4927e069280a7b011
Change-Id: I31506a07406dee424546bfe4927e069280a7b011
(cherry picked from commit 80b47e83f631b37cc72fbefc3686714672e1ef04)
group name was changed during review but not updated
in the permission mapping.
Bug: 232283779
Test: manual
Change-Id: Ib7df61fa4fd49c8419f0543fd6c54186a33ebeb6
- sys.system_server.crash_java
How many times the system server has crashed within
Java layer. sys.system_server.start_count is the time
that system_server has started.
Normally, (start_count - 1 - crash_java) is the count of
native crash or the other native processes triggered
system_server restart.
We expect the start_count is 1, and the crash_java is 0.
$ getprop | grep system_server
[sys.system_server.start_count]: [5]
[sys.system_server.crash_java]: [2]
...
Signed-off-by: duguowei <duguowei@xiaomi.corp-partner.google.com>
Change-Id: I14af2025def1ad8cb937b9e0dbd6d3a9d34c8558
The qualified network service change was accidentally
merged in ag/17294635. It should be merged in a different
CL. Revert back to the previous version.
Bug: 171809764
Test: Build
Merged-In: Id50e376c04141a347ff70cdc7ab7ad1fab661844
Change-Id: Id50e376c04141a347ff70cdc7ab7ad1fab661844
Moved MVNO matching logic out of old data stack. There
is no logic change here.
Bug: 171809764
Test: Manual
Merged-In: Ia7fc8042fe81a884bbab60c7a9bb6423f0401d65
Change-Id: Ia7fc8042fe81a884bbab60c7a9bb6423f0401d65
Reason: CtsAndroidTestBase28ApiSignatureTestCases has been renamed to
CtsAndroidTestBase29ApiSignatureTestCases, so correct this.
Bug: 233937435
Test: unittest
Change-Id: I3b1be4ce4033104fcb86027fe596c852d64e6fa1
services.speech-sources had no files in it,
so services.speech was just being built as
an empty jar file.
Bug: 210751803
Test: m services.speech && unzip out/target/product/generic_arm64/obj/JAVA_LIBRARIES/services.speech_intermediates/javalib.jar produces "zipfile is empty"
Change-Id: Id98db9ee98d71f639ef6104ad7fece92940944a9
On devices which use flattened APEX, treat the allowlists as part of the
system image.
Test: m # lunch wembley_2GB-userdebug
Bug: 221862988
Change-Id: I1971a686aa111b396f9e694a74be70d758078423
Merged-In: I1971a686aa111b396f9e694a74be70d758078423
If a data profile only contains traffic descriptor, and has no
APN setting, it should be considered enabled.
Fix: 233557423
Test: Manual + atest DataProfileTest
Merged-In: Ied26cbba3bde8491bfd6299a2724fc2c5b26c026
Change-Id: Ied26cbba3bde8491bfd6299a2724fc2c5b26c026
Map WRITE_SECURITY_LOG to AID_SECURITY_LOG_WRITE which is how logd
controls access to security log buffer.
Bug: 232283779
Test: manual
Change-Id: Ifde2e5192326f0811807dcb05563b1b5b63077ce