1# 2# Copyright (C) 2022 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17# A list of methods that are found to be latency sensitive. We have this manual 18# due to current limitations of our boot image profiling, where knowing what 19# methods are latency sensitive is difficult. For example, this method is executed 20# in the system server, not on the UI thread of an app. 21HSPLandroid/graphics/Color;->luminance()F 22 23# For now, compile all methods in MessageQueue to avoid performance cliffs for 24# flagged/evolving hot code paths. See: b/338098106 25HSPLandroid/os/MessageQueue;->* 26HSPLandroid/os/MessageQueue$FileDescriptorRecord;->* 27HSPLandroid/os/MessageQueue$IdleHandler;->* 28HSPLandroid/os/MessageQueue$MessageCompare;->* 29HSPLandroid/os/MessageQueue$MatchAllFutureMessages;->* 30HSPLandroid/os/MessageQueue$MatchAllMessages;->* 31HSPLandroid/os/MessageQueue$MatchBarrierToken;->* 32HSPLandroid/os/MessageQueue$MatchDeliverableMessages;->* 33HSPLandroid/os/MessageQueue$MatchHandler;->* 34HSPLandroid/os/MessageQueue$MatchHandlerAndObject;->* 35HSPLandroid/os/MessageQueue$MatchHandlerAndObjectEquals;->* 36HSPLandroid/os/MessageQueue$MatchHandlerRunnableAndObject;->* 37HSPLandroid/os/MessageQueue$MatchHandlerRunnableAndObjectEquals;->* 38HSPLandroid/os/MessageQueue$MatchHandlerWhatAndObject;->* 39HSPLandroid/os/MessageQueue$MatchHandlerWhatAndObjectEquals;->* 40HSPLandroid/os/MessageQueue$MessageCounts;->* 41HSPLandroid/os/MessageQueue$StackNode;->* 42HSPLandroid/os/MessageQueue$MessageNode;->* 43HSPLandroid/os/MessageQueue$OnFileDescriptorEventListener$Events;->* 44HSPLandroid/os/MessageQueue$OnFileDescriptorEventListener;->* 45HSPLandroid/os/MessageQueue$StackNodeType;->* 46HSPLandroid/os/MessageQueue$StateNode;->* 47HSPLandroid/os/MessageQueue$TimedParkStateNode;->* 48