summaryrefslogtreecommitdiff
path: root/packages/NeuralNetworks
AgeCommit message (Collapse)Author
2025-02-18Merge "[owners] Remove shivanker@google.com from ↵ Owner Cleanup Bot
packages/NeuralNetworks/OWNERS" into main am: bd412336ab am: e50d565842 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3466024 Change-Id: I5988b213d814eb940fc89477f57cd0f54034ea90 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-01-28[owners] Remove shivanker@google.com from packages/NeuralNetworks/OWNERS Owner Cleanup Bot
This suggested change is automatically generated based on group memberships and affiliations. If this change is unnecessary or in error, vote the lowest CR value (i.e. reject the CL) and the bot will abandon it. Vote the highest CR to approve this change. You may also abandon this change. See the owner's recent activity for context: https://android-review.googlesource.com/q/shivanker@google.com To report an issue, file a bug in the Infra>Codereview component. Change-Id: I66cd2d40aad029bff48af32621628427fa837ffd
2025-01-28BEGIN_PUBLIC Fergus Henderson
Use `@DurationMillisLong` rather than `@CurrentTimeMillisLong` for the "suspended time". Update the accessor methods for the `long suspendedTimeMs` field of `InferenceInfo` to use a duration annotation, rather than a timestamp annotation, since that field holds a duration, not an instant in time. END_PUBLIC Change-Id: I1d85bb1796f708dd2c3841ebc6e01e1678545a53 Bug: 392668668 Flag: EXEMPT bugfix
2024-12-12Revert module related chanages in platform folder sandeepbandaru
In order to allow migration to mainline module, certain hidden API calls were replaced to alternate usages in ag/30507833 These changes are not supposed to be used when the build flag is false, this CL reverts all such changes and brings them back to state before the refactor for module migration was done. Flag: build.release_ondevice_intelligence_module Bug: 376427781 Change-Id: If72804788d5a3db9e152be4c0d387efe8b156d8a
2024-12-12Fork code changes into platform/ and module/ folders sandeepbandaru
The platform folder will have all changes reverted to their state before the refactoring to avoid any new behavior when flag is off or in intermediate releases like 25q1. Flag: build.release_ondevice_intelligence_module Bug: 376427781 Change-Id: Ie2293837116684da833980f85b49099bfffe44bf
2024-12-11Make ODI service config strings system api sandeepbandaru
This is required to allow services.jar in mainline module to access the resource strings using the identifier. Bug: 372658837 Flag: android.app.ondeviceintelligence.flags.enable_on_device_intelligence_module Change-Id: Ibfc5c39e865877df6a650385fb665a7882731853
2024-12-09Remove user-unlocked listener in ODI manager service. Sandeep Bandaru
This would cause unnecessary overhead on boot time and is causing issues with boot time performance. This behavior can be left upto implementation to react to BOOT_COMPLETED broadcast. Bug: 382556975 Change-Id: I18070ed10000378d869c37f060452be8131f7bb5 Flag: EXEMPT bugfix
2024-12-09Remove flag check enableOnDeviceIntelligenceModule Sandeep Bandaru
This flag check fails for 25q1 release build as there the module migration build flag is not ramped, and this method is accessed from services.jar itself. There is no need to check for this flag for 25q1 atleast, for 25q2 since we are ensuring manually, the API flag is ramped before the build flag, that works fine too. Change-Id: I93c75270e3130fea1cce676aa5338fcaea7ca3b2 Bug: 382429792 Flag: EXEMPT bugfix
2024-12-05Fix test failure caused due to missing deps Sandeep Bandaru
* Add jar dependencies when RELEASE_ONDEVICE_INTELLIGENCE_MODULE is true. Change-Id: I4150b16f8a57f697e54d4e60fc5ee35713e10bdb Flag: build.release_ondevice_intelligence_module Bug: 376427781
2024-12-04Fix hidden API usages to alternative API usages Sandeep Bandaru
After moving the code to mainline module, all interactions from platform should be via APIs or relevant util classes cloned and jarjar'd within the module. This change moves such usages to existing APIs or makes a module-utils copy of such classes to be used independantly in the module. Flag: build.release_ondevice_intelligence_module Bug: 376427781 Change-Id: I5bc5fa5b7e2e2ba2899b4cbba536103d66a6aa19
2024-12-04Move ondeviceintelligence files to packages/NeuralNetworks sandeepbandaru
This change moves all ondeviceintelligence changes to the intermediate folder under packages/NeuralNetworks. The filegroup from here is utilized in packages/modules/NeuralNetwork to conditionally add this jar to the neuralnetworks APEX or platform based on the build flag value. Flag: build.release_ondevice_intelligence_module Bug: 376427781 Change-Id: I80fa114e6239f595e80d484e41865fd5a77462ae
2024-11-21Add OWNERS file for NeuralNetworks package Sandeep Bandaru
This directory is to be used as intermediate location to allow migration of platform code for NeuralNetworks into mainline module while preserving file commit history in the process. Bug: 376427781 Change-Id: Id4acf0498a3a99b82519dc5a201ca2429dfe8d0a