Home
last modified time | relevance | path

Searched refs:Constants (Results 1 – 10 of 10) sorted by relevance

/art/libartservice/service/javatests/com/android/server/art/
DUtilsTest.java51 new StaticMockitoRule(SystemProperties.class, Constants.class);
58 lenient().when(Constants.getPreferredAbi()).thenReturn("arm64-v8a"); in setUp()
59 lenient().when(Constants.getNative64BitAbi()).thenReturn("arm64-v8a"); in setUp()
60 lenient().when(Constants.getNative32BitAbi()).thenReturn("armeabi-v7a"); in setUp()
138 when(Constants.getPreferredAbi()).thenReturn("armeabi-v7a"); in testGetAllAbisNone()
163 when(Constants.getPreferredAbi()).thenReturn("armeabi-v7a"); in testGetAllAbisUnsupportedTranslation()
DDumpHelperTest.java67 new StaticMockitoRule(SystemProperties.class, Constants.class, ArtJni.class);
78 lenient().when(Constants.getPreferredAbi()).thenReturn("arm64-v8a"); in setUp()
79 lenient().when(Constants.getNative64BitAbi()).thenReturn("arm64-v8a"); in setUp()
80 lenient().when(Constants.getNative32BitAbi()).thenReturn("armeabi-v7a"); in setUp()
DPrimaryDexopterTestBase.java60 SystemProperties.class, Constants.class, PackageStateModulesUtils.class);
111 lenient().when(Constants.getPreferredAbi()).thenReturn("arm64-v8a"); in setUp()
112 lenient().when(Constants.getNative64BitAbi()).thenReturn("arm64-v8a"); in setUp()
113 lenient().when(Constants.getNative32BitAbi()).thenReturn("armeabi-v7a"); in setUp()
DSecondaryDexopterTest.java105 new StaticMockitoRule(SystemProperties.class, Constants.class);
138 lenient().when(Constants.getPreferredAbi()).thenReturn("arm64-v8a"); in setUp()
139 lenient().when(Constants.getNative64BitAbi()).thenReturn("arm64-v8a"); in setUp()
140 lenient().when(Constants.getNative32BitAbi()).thenReturn("armeabi-v7a"); in setUp()
DArtManagerLocalTest.java126 SystemProperties.class, Constants.class, PackageStateModulesUtils.class);
226 lenient().when(Constants.getPreferredAbi()).thenReturn("arm64-v8a"); in setUp()
227 lenient().when(Constants.getNative64BitAbi()).thenReturn("arm64-v8a"); in setUp()
228 lenient().when(Constants.getNative32BitAbi()).thenReturn("armeabi-v7a"); in setUp()
229 lenient().when(Constants.isBootImageProfilingEnabled()).thenReturn(true); in setUp()
348 lenient().when(Constants.getPreferredAbi()).thenReturn("x86_64"); in testDeleteDexoptArtifactsTranslatedIsas()
349 lenient().when(Constants.getNative64BitAbi()).thenReturn("x86_64"); in testDeleteDexoptArtifactsTranslatedIsas()
350 lenient().when(Constants.getNative32BitAbi()).thenReturn("x86"); in testDeleteDexoptArtifactsTranslatedIsas()
1075 lenient().when(Constants.getenv("BOOTCLASSPATH")).thenReturn("bcp0:bcp1"); in testSnapshotBootImageProfile()
1076 lenient().when(Constants.getenv("SYSTEMSERVERCLASSPATH")).thenReturn("sscp0:sscp1"); in testSnapshotBootImageProfile()
[all …]
DDexUseManagerTest.java86 SystemProperties.class, Constants.class, Process.class, ArtJni.class);
117 lenient().when(Constants.getPreferredAbi()).thenReturn("arm64-v8a"); in setUp()
118 lenient().when(Constants.getNative64BitAbi()).thenReturn("arm64-v8a"); in setUp()
119 lenient().when(Constants.getNative32BitAbi()).thenReturn("armeabi-v7a"); in setUp()
420 when(Constants.getNative32BitAbi()).thenReturn(null); in testSecondaryDexNativeAbiSetChange()
/art/libartservice/service/java/com/android/server/art/
DConstants.java30 public class Constants { class
31 private Constants() {} in Constants() method in Constants
DUtils.java157 String preferredAbi = Constants.getPreferredAbi(); in getPrimaryAbi()
171 String abi64 = Constants.getNative64BitAbi(); in getTranslatedIsa()
172 String abi32 = Constants.getNative32BitAbi(); in getTranslatedIsa()
186 String abi64 = Constants.getNative64BitAbi(); in nativeIsaToAbi()
190 String abi32 = Constants.getNative32BitAbi(); in nativeIsaToAbi()
198 return abiName.equals(Constants.getNative64BitAbi()) in isNativeAbi()
199 || abiName.equals(Constants.getNative32BitAbi()); in isNativeAbi()
DArtManagerLocal.java823 if (!Constants.isBootImageProfilingEnabled()) { in snapshotBootImageProfile()
856 .map(envVar -> Constants.getenv(envVar)) in snapshotBootImageProfile()
/art/runtime/mirror/
Dobject_test.cc92 TEST_F(ObjectTest, Constants) { in TEST_F() argument