commit | 0b066b7d11d5b995714929b840a85298ff345385 | [log] [tgz] |
---|---|---|
author | sandeepbandaru <sandeepbandaru@google.com> | Wed Jun 05 10:24:43 2024 +0000 |
committer | sandeepbandaru <sandeepbandaru@google.com> | Thu Jun 06 09:46:02 2024 +0000 |
tree | 538d75d9fb3c8d9e7168e9199e7f9890eccda008 | |
parent | a8d4e7e285ab9f7f20d20550d7d65d16631b9605 [diff] |
Cache the inference service-uid when connected and reuse in LocalServices - This is not fixing the bug in questions, but removing the extra `getIsolatedOwner` call that was being made for all isolated uids, which was increasing the error log rate significantly. Bug: 286903116 Test: atest android.ondeviceintelligence.cts.OnDeviceIntelligenceManagerTest#inferenceServiceShouldReturnParentPackageName Change-Id: I63e94b567f5fe1f3711e7eaa79298b88d6ef9e58