summaryrefslogtreecommitdiff
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
* Use readUniqueFileDescriptor in incidentd servicePawan Wagh2023-12-141-8/+12
| | | | | | | | | | | | | | | | readFileDescriptor doesn't provide ownership of the fds. fdopen needs ownership of the fds. Fds read from parcel should be duped in this scenario and readUniqueFileDescriptor dups fds internally. Test: m incidentd_service_fuzzer && adb sync data && adb shell /data/fuzz/x86_64/incidentd_service_fuzzer/incidentd_service_fuzzer Test: atest incidentd_test Bug: 286931110 Bug: 283699145 (cherry picked from commit ba78ef276951269f7b024baebdf1b8fa40bedb23) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6fe75d9d37321843ebae8a34a049f4d3f24e1965) Merged-In: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e Change-Id: Ibe03a17dee91ac5bf25d123d4fd9c0bdd3c7d80e
* Rely on Display#getRealSize when dumping XML hierarchy am: 74184991b7 am: ↵Manjeet Rulhania2023-03-013-3/+3
|\ | | | | | | | | | | | | | | | | 90075dd1fb am: 240d62f76f am: 071bddea2d am: a0f601fcbb am: 0a7d004120 am: fb216b3885 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21544237 Change-Id: Ief4a33e2a0fb2176daef9ba239b4a5bdd61ba10d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * Rely on Display#getRealSize when dumping XML hierarchy am: 74184991b7 am: ↵Manjeet Rulhania2023-03-013-3/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | 90075dd1fb am: 240d62f76f am: 071bddea2d am: a0f601fcbb Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21544237 Change-Id: I6f010b7ccabe04e9fe26ec96f356d0c6482f312c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | * Rely on Display#getRealSize when dumping XML hierarchy am: 74184991b7 am: ↵Manjeet Rulhania2023-02-283-3/+3
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90075dd1fb am: 240d62f76f Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21544237 Change-Id: I43096872c39e9a91a4a86fc5a7fdd67d52506400 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | | * Rely on Display#getRealSize when dumping XML hierarchy am: 74184991b7 am: ↵Manjeet Rulhania2023-02-283-3/+3
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90075dd1fb Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21544237 Change-Id: I06752d3d5c2fe76d5e0864c811762d70e6696ccb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | | | * Rely on Display#getRealSize when dumping XML hierarchy am: 74184991b7Manjeet Rulhania2023-02-283-3/+3
| | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21544237 Change-Id: I44f33b2c062bf7e9ef41e7d57d506d0eab9a73d3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | | | | * Rely on Display#getRealSize when dumping XML hierarchyManjeet Rulhania2023-02-233-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Previously, the height returned by Display#getSize was used to determine visible objects. Based on the API level and the presence of system decorations (e.g. notches), this can cause objects near the bottom of the screen to be considered out of bounds (i.e. only objects within y=0 and y=partial_height are considered even if the omitted decorations are at the top of the screen). cherry pick from aosp/2384832 Bug: 236669488 Test: manual Merged-In: Iba21245c947cec0d0054f6d86e3585ba73233223 Change-Id: I50f143528d1f5a5b677eb2628efbcd658f4cc1b0 (cherry picked from commit afebeb7b43f318a3ebd856f039d74475df92db9d)
| | | | * | [RESTRICT AUTOMERGE] Fix OOB write in noteAtomLogged am: cc0bba36c7Tej Singh2021-06-091-1/+4
| | | | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14669474 Change-Id: I2b09ed8723becf3dbd0ff73ac22ce7d45ffcb1e5
| | | | | * [RESTRICT AUTOMERGE] Fix OOB write in noteAtomLoggedTej Singh2021-05-201-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's possible for bad atoms to have negative atom ids. This results in an OOB write when we note that the atom was logged. This adds a validation check on the logging. Also added safetynet logging for negative atoms Bug: 187957589 Test: POC in bug no longer led to the OOB write & crash Test: checked event log for safetynet logging Change-Id: I8a6b094c94309d7b02430fb860891ef814efb426
| | | | | * Merge "Fix thread safety issue on clearing cache" into rvc-devTreeHugger Robot2021-02-031-0/+2
| | | | | |\
| | | | | | * Fix thread safety issue on clearing cacheTej Singh2021-01-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Historically, we havent held a lock on ForceClearCache and ClearCacheIfNecessary. This is not thread safe because kAllPullAtomInfo must be accessed in a lock, especially now that pullers can be registered/unregistered. Test: atest statsd_test, wrote a repro cl. Bug: 168156854 Bug: 173552790 Change-Id: I47d53a6d9d274bca4c78dbfd87e0097091b7b8cb Merged-In: I47d53a6d9d274bca4c78dbfd87e0097091b7b8cb (cherry picked from commit f9a4bb18ffa1605cced3ee4b161675a0c88941be)
| | | | * | | Merge "Fix the the proto definition for app startup and fully drawn events." ↵TreeHugger Robot2021-02-091-8/+8
| | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | into rvc-qpr-dev
| | | | | * | | Fix the the proto definition for app startup and fully drawn events.Calin Juravle2021-02-081-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActivityMetricsLoggers build the proto with the compilation reason first and then the compilation filter. Instead of changing the logging code, we prefer to change the proto field order: this will facilitate the speed up the resolution without the need to purge data or wait for further release builds. It is ok, because both fields are in fact int32 proto values so the ABI does not change. Test: m Bug: 178108751 (cherry picked from commit cf676e8028c2611461dc3e009dd9fe771f44bdb2) Merged-In: I36ec354d273dceace5245d7634c68ac63dc5a8cd Change-Id: I03c701efe2181ae7796547267902f884007593eb
| | | | * | | | Merge "Fix thread safety issue on clearing cache" into rvc-qpr-devTreeHugger Robot2021-02-031-0/+2
| | | | |\ \ \ \ | | | | | |/ / / | | | | |/| | |
| | | | | * | | Fix thread safety issue on clearing cacheTej Singh2021-01-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Historically, we havent held a lock on ForceClearCache and ClearCacheIfNecessary. This is not thread safe because kAllPullAtomInfo must be accessed in a lock, especially now that pullers can be registered/unregistered. Test: atest statsd_test, wrote a repro cl. Bug: 168156854 Bug: 173552790 Change-Id: I47d53a6d9d274bca4c78dbfd87e0097091b7b8cb Merged-In: I47d53a6d9d274bca4c78dbfd87e0097091b7b8cb Merged-In: I8bee7a0a6acecc1274d5acc0adb44c5dde8862e4 (cherry picked from commit f9a4bb18ffa1605cced3ee4b161675a0c88941be)
| | | | * | | | [RESTRICT AUTOMERGE] Fix potential out of bounds writes in LogEvent. am: ↵Muhammad Qureshi2021-01-302-4/+133
| | | | |\ \ \ \ | | | | | |/ / / | | | | |/| / / | | | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 53251a491f Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13321771 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I1da4a9159e5611d80c618913f728defb5399d927
| | | | | * / [RESTRICT AUTOMERGE] Fix potential out of bounds writes in LogEvent.Muhammad Qureshi2021-01-152-4/+133
| | | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mUidFieldIndex, mExclusiveStateFieldIndex, mAttributionChain{Start|End}Index are stored using int8_t. These values can overflow when mValues.size() exceeds INT8_MAX. Add proper bounds checking to ensure these values don't exceed INT8_MAX. Bug: 174488848 Bug: 174485572 Test: m Test: statsd_test Test: TreeHugger Change-Id: I416e2de06ca2935017e15d4e91000652831e6b6c
* | | | | | Set orientation for boot animation and default display rotation.Mariia Sandrikova2022-12-192-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the default display rotation value and boot animation orientation to the value specified in the sysprop ro.bootanim.set_orientation_<display_id>. Four values are supported: ORIENTATION_0, ORIENTATION_90, ORIENTATION_180 and ORIENTATION_270. If the value isn't specified or is ORIENTATION_0, nothing will be changed. This is needed to support having default rotation behavior and boot animation in orientation different from the natural device orientation. For example, on tablets that may want to keep natural orientation portrait for applications compatibility but have landscape orientation as a default choice from the UX perspective. Bug: 260627934 Test: manual test with all 4 values and atest WmTests still pass Change-Id: I322919999ef787ff2c149293d7e1c7e669796c9a
* | | | | | Fix boot animation alpha multiplication computationsAndrew Zeng2022-11-081-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, this was resulting in the output color roughtly as output_n = color_n * mask_n^2 * (mask_0 + mask_1 + mask_2 + mask_3) where n is a color channel between 0 and 3. This caused extra aliasing around edges, since the alpha fades too quickly along an edge. Bug: 239632466 Bug: 258246539 Test: verify pixel values for boot animation match mask on watch + phone Test: modify uFade value, verify pixel colors match Change-Id: I86742a181576e684aa698a190a8766f4223de799
* | | | | | [security] Make frro iteration thread-safeYurii Zubrytskyi2022-10-043-16/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a lock over all frro iterator methods to make sure the iterator isn't changed or removed from under the iteration call while it's running. + Also introduce an ID ensuring the caller is the same for all the acquire/next/release methods + a bit of moves where they were supposed to be from the start Bug: 245727875 Test: manual + presubmits Merged-In: Ie585b6d113ebddee491c9ee433f070bed71a57cc (cherry picked from commit de47d0b926045126c1f8911e48a8e38715e8c912) Change-Id: Ib4870d680501426dcc0a62eebd003451120179a5
* | | | | | Fix display size calculations in large screen (2/3)Yunfan Chen2022-08-091-2/+2
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix is taken from AOSP patch aosp/2154236. This will make sure the UI Automator always has the entire display to interact with. Otherwise, in multi-windowing mode or on devices with task bar, it will only be able to interact with the current focused window, the default launch bounds, or the display excluding task bar, depends on the actual scenario. Test: PlatformSenarioTests Bug: 238981445 Bug: 238985243 Bug: 238581838 Bug: 233945217 Change-Id: I9223ef5552ddb081e75de1242670862f2813e56d
* | | | | s/get_interesting_hal_pids/get_interesting_pids.Jayant Chowdhary2022-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since pids can belong to non hal processes as well, in theory. Bug: 233130219 Test: build Change-Id: I8ef6b2aaa871f6a8f992887a394d81c544e9cba4 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
* | | | | Try to load colors more frequentlyLucas Dupin2022-04-251-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During OTA, sysprops aren't available as early in the boot process. This causes the boot animation to not have dynamic colors. This CL tries to load the colors more frequently, at every part loop. Before we'd only try on the first frame of each animation part. Test: adb shell bootanimation Fixes: 229029861 Change-Id: I1bbebf93b4fbc31d945c4181472576cf29f13bc7
* | | | | bootanimation: correct logo position and size after resolution changedjoenchen2022-04-202-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The resolution may be changed while the boot animation is playing. mInitWidth and mInitHeight store the original resolution, and then the animation coordinate and size are recalculated according to the ratio (mWidth/mInitWidth and mHeight/mInitHeight). Bug: 228605923 Test: change resolution and then reboot to check the animation Change-Id: Id09490ecf7fc4b3e1a6baf073c134f357e9b327f (cherry picked from commit 764ea0442141b4b961bb6c6af18e66cfaa617b7f) Merged-In: Id09490ecf7fc4b3e1a6baf073c134f357e9b327f
* | | | | Merge "Add telecom log marking shell command." am: 5b04c63c64 am: b984978ad7 ↵Tyler Gunn2022-04-131-0/+16
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 5f44a37baa Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2061586 Change-Id: I8b7c0ed95bb77dd0761eebafa2deb645ec728163 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * | | | | Add telecom log marking shell command.Tyler Gunn2022-04-121-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We often get bugs where testers have executed a LONG list of test steps. It becomes extremely difficult to know where in the logs corresponds to which test script step. This adds a new telecom shell command: adb shell telecom log-mark Testing 1 2 3 This command adds a USER_LOG_MARK event log item to all ongoing calls and to the general telecom logs with the specified message. Test: Tested using the new shell command to mark the telecom logs in and out of calls. Fixes: 228895073 Change-Id: Ic11edc777e57a4fc8748a42c931379faf7cea671
* | | | | | Update LockSettingsCmd's showUsage method to defer to callingDave McCloskey2022-04-051-31/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "locksettings help". This removes the duplication and also fixes the current behavior showing the incorrect documentation for "locksettings verify" which does *not* log in the user. Test: adb shell locksettings Test: adb shell locksettings clear --old 0000 (to verify other commands still work) Change-Id: I429288a9e4280d41213e1c0fd8234d3666888abc
* | | | | | Modified the resetUsbPort command to AsynchronousRicky Niu2022-04-011-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because the resetUsbPort API modified to Asynchronous, related function need to be modified. Bug: 217369748 Signed-off-by: Ricky Niu <rickyniu@google.com> Change-Id: Ieef549736532688ff356b4bb8fa790fb10403300
* | | | | | Add resetUsbPort in svc usb commandRicky Niu2022-04-011-3/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement resetUsbPort to support manual testing on real device to verify feature functionality from App layer and VTS test. Bug: 216387845 Test: Manual test with "svc usb reset UsbPort" correctly Signed-off-by: Ricky Niu <rickyniu@google.com> Change-Id: Ieb29de3dd398859607490548a1f3a16f8359ae8f (cherry picked from commit 519062eabd54d4f961bb3c1ac65e937a678f905b) Merged-In: Ieb29de3dd398859607490548a1f3a16f8359ae8f
* | | | | | Reload color sysprops after failingLucas Dupin2022-03-292-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During OTA, sysprops aren't load as fast as during regular boot. This causes the animation to not be able to pick up the dynamic colors. We can mitigate this issue by trying to reload the sysprops at the beginning of each animation part. Test: manual Bug: 227381265 Change-Id: I4397079aacc52acb5cda54a925f70e4f5c745b3f
* | | | | | Add a way to instrument sdk sandbox processesNikita Ioffe2022-03-182-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following restrictions applies to the instrumentation of the sdk sandbox processes: * Instrumentation must be signed with the same certificate as the client app the instrumented sdk sandbox belongs to. * If there is a running instance of to-be-instrumented sdk sandbox process, then it will be killed before the instrumentation starts. * While instrumentation is running the client app won't be allowed to connect to the instrumented sdk sandbox process. * The --no-restart instrumentation of the sdk sandbox processes is not supported. Bug: 209061624 Test: atest SdkSandboxInprocessTests Change-Id: Ia4b145c091bf8da600a77ea82fc9e3cd97757275
* | | | | | Merge "Revert "Disable pointer authentication in app processes."" am: ↵Elliott Hughes2022-03-142-7/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9fc2910ca am: a236c37517 am: 95dc32f484 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2021036 Change-Id: Ic1be7b048ce64956ce5276c26a5a031e6192e3d6
| * | | | | Merge "Revert "Disable pointer authentication in app processes.""Elliott Hughes2022-03-142-7/+0
| |\ \ \ \ \
| | * | | | | Revert "Disable pointer authentication in app processes."Elliott Hughes2022-03-102-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "Disable pointer authentication in app processes." Revert submission 1954983-master-I3030c47be9d02a27505bd4775c1982a20755758c Reason for revert: PAC has shipped with S, and we're going with app compat outreach rather than regressing security. Reverted Changes: I3030c47be:Disable pointer authentication in app processes. I3030c47be:Disable pointer authentication in app processes. Change-Id: I75c4d2d3cf59aecf99d9c9d37c6750f999e74de8
* | | | | | | Merge "Disable "-readability-duplicate-include" tidy warning in generated ↵Pirama Arumuga Nainar2022-03-141-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | file" am: e6c05a8fd7 am: 07888666d2 am: 92d4ec9cd5 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2019339 Change-Id: Id5cca221c2e7c80c66d3233020e0900faee230c2
| * | | | | | Disable "-readability-duplicate-include" tidy warning in generated filePirama Arumuga Nainar2022-03-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /buildbot/src/android/master-plus-llvm/out/soong/.intermediates/frameworks/base/cmds/idmap2/libidmap2_protos/android_arm64_armv8-2a_cortex-a55_static/gen/proto/frameworks/base/cmds/idmap2/libidmap2/proto/fabricated_v1.pb.h:34:1: error: duplicate include [readability-duplicate-include,-warnings-as-errors] Change-Id: I5da44b2714ce8455a4b8af7556decfc1c24c0d11 Test: presubmit
| * | | | | | Merge "Forward `svc bluetooth` to "cmd bluetooth""Treehugger Robot2022-03-093-59/+20
| |\ \ \ \ \ \
| | * | | | | | Forward `svc bluetooth` to "cmd bluetooth"William Escande2022-02-233-59/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BluetoothShellCommand is now implementing the shell command Fix: 216233593 Test: manual: adb shell svc bluetooth enable Test: manual: adb shell svc bluetooth disable Merged-In: Icbd0395624585d5a22663472b5897ed4518e2670 Change-Id: Icbd0395624585d5a22663472b5897ed4518e2670
* | | | | | | | Merge "Add additional logs for bootanimation" am: 51a4954076 am: 4aa84137f0 ↵Treehugger Robot2022-03-041-0/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: a73e533986 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1991970 Change-Id: Ia36255c49f4323125ac37b812b28a87091c8cd79
| * | | | | | | Merge "Add additional logs for bootanimation" am: 51a4954076Treehugger Robot2022-03-041-0/+10
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1991970 Change-Id: Ie8d99a45040925a1e9957dcf4ac1dfbcf65d9752
| | * \ \ \ \ \ \ Merge "Add additional logs for bootanimation"Treehugger Robot2022-03-031-0/+10
| | |\ \ \ \ \ \ \
| | | * | | | | | | Add additional logs for bootanimationYoshiaki Maruoka2022-03-031-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The information will be printed - Message if no animation file - File name when it's loaded - Image name and path, loop information when playing - Play time at the end Bug: 220161782 Test: Manual, check logcat with and without bootanimation.zip Change-Id: I0e16bdeb4456a423649a27f7ae88f256e3fa3d19
* | | | | | | | | | Merge "Forward `svc bluetooth` to "cmd bluetooth"" into tm-devTreeHugger Robot2022-03-013-59/+20
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Forward `svc bluetooth` to "cmd bluetooth"William Escande2022-02-233-59/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BluetoothShellCommand is now implementing the shell command Fix: 216233593 Test: manual: adb shell svc bluetooth enable Test: manual: adb shell svc bluetooth disable Change-Id: Icbd0395624585d5a22663472b5897ed4518e2670
* | | | | | | | | | | incidentd: fix race in waitpid_with_timeoutTim Murray2022-02-231-12/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | waitpid_with_timeout has a race between a child process exiting and the signal being blocked. Add an early waitpid to detect a child that exited quickly. Test: TH Bug: 215574756 Change-Id: I6c7e9998d5b848c6144769f218fbcd7a0ee154bf (cherry picked from commit 1f3012d2235276348edda1f8a0564c223b7aff8e)
* | | | | | | | | | | Merge "idmap2: Remove more redundant "using" statements" am: ee8e50ac1f am: ↵Yi Kong2022-02-232-3/+0
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| / / / / / / / / / | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a872a08411 am: e676492866 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1991775 Change-Id: I2bef74e6be9d76721e6ef5f4e516f7da8dc574ab
| * | | | | | | | | Merge "idmap2: Remove more redundant "using" statements" am: ee8e50ac1fYi Kong2022-02-232-3/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1991775 Change-Id: I029e6c4037a86993923a3e204df4fef60a4de2bf
| | * | | | | | | | idmap2: Remove more redundant "using" statementsYi Kong2022-02-202-3/+0
| | | |/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: presubmit Bug: 219872355 Change-Id: I74e5b38400060477f9d50b51b1f261ec6a181dd1
* | | | | | | | | Merge "idmap2: Remove redundant "using" statements" am: 871327e261 am: ↵Yurii Zubrytskyi2022-02-182-2/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e0db6292d am: 22af5f4dd0 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1990330 Change-Id: Id60f75ef1d69b8f501e21ce8c1ccd8ff9f8548a6
| * | | | | | | | Merge "idmap2: Remove redundant "using" statements" am: 871327e261Yurii Zubrytskyi2022-02-182-2/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1990330 Change-Id: I362da94b4ee8445aff305872024a4aff55cc9d3d