• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2021 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 public class Multi {
$inline$NeedsEnvironmentMultiDex(String str)18   public static String $inline$NeedsEnvironmentMultiDex(String str) {
19     // StringBuilderAppend needs an environment but it doesn't need a .bss entry.
20     StringBuilder sb = new StringBuilder();
21     return sb.append(str).toString();
22   }
23 
$inline$NeedsBssEntryStringMultiDex()24   public static String $inline$NeedsBssEntryStringMultiDex() {
25     return "def";
26   }
27 
$noinline$InnerInvokeMultiDex()28   private static String $noinline$InnerInvokeMultiDex() {
29     return "ghi";
30   }
31 
$inline$NeedsBssEntryInvokeMultiDex()32   public static String $inline$NeedsBssEntryInvokeMultiDex() {
33     return $noinline$InnerInvokeMultiDex();
34   }
35 
NeedsBssEntryClassMultiDex()36   public static Class<?> NeedsBssEntryClassMultiDex() {
37     return Multi2.class;
38   }
39 
40   private class Multi2 {}
41 }
42