/art/libartservice/service/java/com/android/server/art/ |
D | ArtFileManager.java | 49 import java.util.List; 71 public List<Pair<DetailedDexInfo, Abi>> getDexAndAbis( in getDexAndAbis() 73 List<Pair<DetailedDexInfo, Abi>> dexAndAbis = new ArrayList<>(); in getDexAndAbis() 83 List<? extends SecondaryDexInfo> dexInfos = getSecondaryDexInfo(pkgState, options); in getDexAndAbis() 104 List<ArtifactsPath> artifacts = new ArrayList<>(); in getWritableArtifacts() 105 List<RuntimeArtifactsPath> runtimeArtifacts = new ArrayList<>(); in getWritableArtifacts() 136 List<ArtifactsPath> artifacts = new ArrayList<>(); in getUsableArtifacts() 137 List<VdexPath> vdexFiles = new ArrayList<>(); in getUsableArtifacts() 138 List<RuntimeArtifactsPath> runtimeArtifacts = new ArrayList<>(); in getUsableArtifacts() 185 List<ProfilePath> refProfiles = new ArrayList<>(); in getProfiles() [all …]
|
D | PrimaryDexUtils.java | 42 import java.util.List; 58 public static List<PrimaryDexInfo> getDexInfo(@NonNull AndroidPackage pkg) { in getDexInfo() 71 public static List<DetailedPrimaryDexInfo> getDetailedDexInfo( in getDetailedDexInfo() 108 private static List<PrimaryDexInfoBuilder> getDexInfoImpl(@NonNull AndroidPackage pkg) { in getDexInfoImpl() 109 List<PrimaryDexInfoBuilder> dexInfos = new ArrayList<>(); in getDexInfoImpl() 119 private static List<PrimaryDexInfoBuilder> getDetailedDexInfoImpl( in getDetailedDexInfoImpl() 121 List<PrimaryDexInfoBuilder> dexInfos = getDexInfoImpl(pkg); in getDetailedDexInfoImpl() 146 List<AndroidPackageSplit> dependencies = dexInfoBuilder.mSplit.getDependencies(); in getDetailedDexInfoImpl() 186 private static void computeClassLoaderContexts(@NonNull List<PrimaryDexInfoBuilder> dexInfos) { in computeClassLoaderContexts() 189 List<String> classpath = new ArrayList<>(); in computeClassLoaderContexts() [all …]
|
D | SecondaryDexopter.java | 38 import java.util.List; 69 protected List<CheckedSecondaryDexInfo> getDexInfoList() { in getDexInfoList() 97 protected List<ProfilePath> getExternalProfiles(@NonNull CheckedSecondaryDexInfo dexInfo) { in getExternalProfiles() 99 return List.of(); in getExternalProfiles() 121 protected List<Abi> getAllAbis(@NonNull CheckedSecondaryDexInfo dexInfo) { in getAllAbis() 142 protected List<ProfilePath> getCurProfiles(@NonNull CheckedSecondaryDexInfo dexInfo) { in getCurProfiles() 144 return List.of(AidlUtils.buildProfilePathForSecondaryCur(dexInfo.dexPath())); in getCurProfiles()
|
D | BackgroundDexoptJobStatsReporter.java | 32 import java.util.List; 72 List<DexoptResult.PackageDexoptResult> packageDexoptResults = in reportPass() 83 private static List<DexoptResult.PackageDexoptResult> getFilteredPackageResults( in getFilteredPackageResults() 124 @NonNull List<DexoptResult.PackageDexoptResult> packageResults) { in getDexoptedPackagesCount() 131 @NonNull List<DexoptResult.PackageDexoptResult> packageResults) { in getPackagesDependingOnBootClasspathCount() 139 @NonNull List<DexoptResult.DexContainerFileDexoptResult> filesResults) { in isDependentOnBootClasspath()
|
/art/libartservice/service/javatests/com/android/server/art/ |
D | DexoptHelperTest.java | 68 import java.util.List; 114 private List<DexContainerFileDexoptResult> mPrimaryResults; 115 private List<DexContainerFileDexoptResult> mSecondaryResults; 118 private List<String> mRequestedPackages; 172 List<DexContainerFileDexoptResult> partialFailureResults = createResults( in testDexopt() 189 List.of(mPrimaryResults, mSecondaryResults)); in testDexopt() 191 List.of(mPrimaryResults, mSecondaryResults)); in testDexopt() 193 List.of(partialFailureResults, mSecondaryResults)); in testDexopt() 195 List.of(mPrimaryResults, mSecondaryResults)); in testDexopt() 197 List.of(mPrimaryResults, mSecondaryResults)); in testDexopt() [all …]
|
D | PrimaryDexUtilsTest.java | 48 import java.util.List; 58 List<PrimaryDexInfo> infos = in testGetDexInfo() 65 List<DetailedPrimaryDexInfo> infos = PrimaryDexUtils.getDetailedDexInfo( in testGetDetailedDexInfo() 94 List<DetailedPrimaryDexInfo> infos = PrimaryDexUtils.getDetailedDexInfo( in testGetDetailedDexInfoIsolated() 117 private <T extends PrimaryDexInfo> void checkBasicInfo(List<T> infos) { in checkBasicInfo() 174 var splits = List.of(baseSplit, split0, split1, split2, split3, split4); in createPackage() 191 lenient().when(split0.getDependencies()).thenReturn(List.of(split2)); in createPackage() 192 lenient().when(split2.getDependencies()).thenReturn(List.of(baseSplit)); in createPackage() 193 lenient().when(split4.getDependencies()).thenReturn(List.of(split3)); in createPackage() 209 List<SharedLibrary> usesLibraryInfos = new ArrayList<>(); in createPackageState() [all …]
|
/art/tools/dexfuzz/src/dexfuzz/listeners/ |
D | BaseListener.java | 23 import java.util.List; 44 public void handleTimeouts(List<Executor> timedOut, List<Executor> didNotTimeOut) { } in handleTimeouts() 46 public void handleDivergences(Map<String, List<Executor>> outputMap) { } in handleDivergences() 54 public void handleSuccess(Map<String, List<Executor>> outputMap) { } in handleSuccess() 74 public void handleMutations(List<Mutation> mutations) { } in handleMutations()
|
D | BisectionSearchListener.java | 27 import java.util.List; 73 public void handleDivergences(Map<String, List<Executor>> outputMap) { in handleDivergences() 82 List<List<Executor>> executorsGroupedByOutput = in handleDivergences() 83 new ArrayList<List<Executor>>(outputMap.values()); in handleDivergences() 84 List<String> outputs = new ArrayList<String>(); in handleDivergences() 85 for (List<Executor> executors : executorsGroupedByOutput) { in handleDivergences() 91 List<Executor> executors = executorsGroupedByOutput.get(i); in handleDivergences()
|
D | ConsoleLoggerListener.java | 23 import java.util.List; 55 public void handleMutations(List<Mutation> mutations) { in handleMutations() 82 public void handleTimeouts(List<Executor> timedOut, List<Executor> didNotTimeOut) { in handleTimeouts() 87 public void handleDivergences(Map<String, List<Executor>> outputMap) { in handleDivergences() 90 for (List<Executor> executors : outputMap.values()) { in handleDivergences() 120 public void handleSuccess(Map<String, List<Executor>> outputMap) { in handleSuccess()
|
D | UpdatingConsoleListener.java | 22 import java.util.List; 75 public void handleTimeouts(List<Executor> timedOut, List<Executor> didNotTimeOut) { in handleTimeouts() 80 public void handleDivergences(Map<String, List<Executor>> outputMap) { in handleDivergences() 95 public void handleSuccess(Map<String, List<Executor>> outputMap) { in handleSuccess()
|
D | MultiplexerListener.java | 24 import java.util.List; 33 private List<BaseListener> listeners; 88 public void handleTimeouts(List<Executor> timedOut, List<Executor> didNotTimeOut) { in handleTimeouts() 95 public void handleDivergences(Map<String, List<Executor>> outputMap) { in handleDivergences() 123 public void handleSuccess(Map<String, List<Executor>> outputMap) { in handleSuccess() 193 public void handleMutations(List<Mutation> mutations) { in handleMutations()
|
/art/libartservice/service/javatests/com/android/server/art/testing/ |
D | TestingUtilsTest.java | 36 import java.util.List; 112 var b = List.of(1, 2, 3, 4, 5); in testListDeepEquals() 147 testInAnyOrderInternal(List.of(1, 1), List.of(1), false, TestingUtils::inAnyOrder); in testInAnyOrderDuplicates() 148 testInAnyOrderInternal(List.of(1, 1), List.of(1, 1), true, TestingUtils::inAnyOrder); in testInAnyOrderDuplicates() 155 Arrays.asList(1, 1), List.of(1), false, TestingUtils::inAnyOrderDeepEquals); in testInAnyOrderDeepEqualsDuplicates() 157 Arrays.asList(1, 1), List.of(1, 1), true, TestingUtils::inAnyOrderDeepEquals); in testInAnyOrderDeepEqualsDuplicates() 160 private void testInAnyOrderInternal(@NonNull List<Integer> first, @NonNull List<Integer> second, in testInAnyOrderInternal() 168 var matcher = (ArgumentMatcher<List<Integer>>) matchers.get(0).getMatcher(); in testInAnyOrderInternal()
|
D | TestingUtils.java | 34 import java.util.List; 59 if (a instanceof List && b instanceof List) { in deepEquals() 60 return listDeepEquals((List<?>) a, (List<?>) b, errorMsg); in deepEquals() 123 public static <ListType extends List<ItemType>, ItemType> ListType inAnyOrder( in inAnyOrder() 141 public static <ListType extends List<ItemType>, ItemType> ListType inAnyOrderDeepEquals( 200 @NonNull List<?> a, @NonNull List<?> b, @NonNull StringBuilder errorMsg) {
|
/art/libartservice/service/java/com/android/server/art/model/ |
D | BatchDexoptParams.java | 28 import java.util.List; 38 private @NonNull List<String> mPackageNames; // This is assumed immutable. 43 @NonNull List<String> defaultPackages, @NonNull DexoptParams defaultDexoptParams) { in Builder() 55 public Builder setPackages(@NonNull List<String> packageNames) { in setPackages() 83 public abstract @NonNull List<String> getPackages(); in getPackages()
|
D | DexoptResult.java | 34 import java.util.List; 112 @NonNull String reason, @NonNull List<PackageDexoptResult> packageDexoptResult) { in create() 120 "compiler-filter", "reason", List.of() /* packageDexoptResult */); in create() 153 public abstract @NonNull List<PackageDexoptResult> getPackageDexoptResults(); in getPackageDexoptResults() 214 @NonNull List<DexContainerFileDexoptResult> dexContainerFileDexoptResults, in create() 227 public abstract @NonNull List<DexContainerFileDexoptResult> 269 @NonNull List<String> externalProfileErrors) { in create() 284 List.of() /* externalProfileErrors */); in create() 361 public abstract @NonNull List<String> getExternalProfileErrors(); in getExternalProfileErrors()
|
/art/tools/dexfuzz/src/dexfuzz/program/mutators/ |
D | ArithOpChanger.java | 29 import java.util.List; 67 public ArithOpChanger(Random rng, MutationStats stats, List<Mutation> mutations) { in ArithOpChanger() 75 private List<MInsn> arithmeticInsns = null; 161 for (List<Opcode> opcodeList : opcodeLists) { in getLegalDifferentOpcode() 173 private static List<Opcode> intOpcodes = new ArrayList<Opcode>(); 174 private static List<Opcode> int2addrOpcodes = new ArrayList<Opcode>(); 175 private static List<Opcode> longOpcodes = new ArrayList<Opcode>(); 176 private static List<Opcode> long2addrOpcodes = new ArrayList<Opcode>(); 177 private static List<Opcode> floatOpcodes = new ArrayList<Opcode>(); 178 private static List<Opcode> float2addrOpcodes = new ArrayList<Opcode>(); [all …]
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | RawDexFile.java | 23 import java.util.List; 33 public List<StringIdItem> stringIds; 34 public List<TypeIdItem> typeIds; 35 public List<ProtoIdItem> protoIds; 36 public List<FieldIdItem> fieldIds; 37 public List<MethodIdItem> methodIds; 38 public List<ClassDefItem> classDefs; 41 public List<StringDataItem> stringDatas; 42 public List<ClassDataItem> classDatas; 43 public List<TypeList> typeLists; [all …]
|
/art/test/1962-multi-thread-events/src/art/ |
D | Test1962.java | 23 import java.util.List; 34 public static void HandleEvent(Thread t, List<String> events) { in HandleEvent() 42 List<String> t1Events = new ArrayList<>(); in doTest() 43 List<String> t2Events = new ArrayList<>(); in doTest() 82 public static native void setupThread(Thread t, List<String> events, Method target); in setupThread()
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | AhatSnapshot.java | 21 import java.util.List; 36 private List<AhatHeap> mHeaps; 44 List<AhatHeap> heaps, in AhatSnapshot() 156 public List<AhatHeap> getHeaps() { in getHeaps() 168 public List<AhatInstance> getRooted() { in getRooted() 216 public List<List<AhatBitmapInstance>> findDuplicateBitmaps() { in findDuplicateBitmaps()
|
D | DiffFields.java | 22 import java.util.List; 36 public static List<DiffedFieldValue> diff(Iterable<FieldValue> current, in diff() 38 List<FieldValue> currentSorted = new ArrayList<FieldValue>(); in diff() 44 List<FieldValue> baselineSorted = new ArrayList<FieldValue>(); in diff() 51 List<DiffedFieldValue> diffed = new ArrayList<DiffedFieldValue>(); in diff()
|
D | Diff.java | 24 import java.util.List; 42 private static void heaps(List<AhatHeap> a, List<AhatHeap> b) { in heaps() 142 public final List<AhatInstance> a; 143 public final List<AhatInstance> b; 150 public InstanceListPair(List<AhatInstance> a, List<AhatInstance> b) { in InstanceListPair() 163 List<AhatInstance> placeholders) { in createPlaceHolders() 188 private static void instances(List<AhatInstance> a, List<AhatInstance> b, in instances() 189 List<AhatInstance> placeholders) { in instances() 340 List<AhatInstance> placeholders = new ArrayList<AhatInstance>(); in snapshots()
|
/art/tools/ahat/src/test/com/android/ahat/ |
D | ObjectsHandlerTest.java | 23 import java.util.List; 38 List<AhatInstance> dumped = ObjectsHandler.getObjects( in getObjects() 44 List<AhatInstance> direct = ObjectsHandler.getObjects( in getObjects() 49 List<AhatInstance> subclass = ObjectsHandler.getObjects( in getObjects()
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | SubsetSelector.java | 19 import java.util.List; 35 private List<T> mElements; 46 public SubsetSelector(Query query, String id, List<T> elements) { in SubsetSelector() 54 public List<T> selected() { in selected() 59 public List<T> remaining() { in remaining()
|
D | Doc.java | 19 import java.util.List; 71 void table(DocString description, List<Column> subcols, List<Column> cols); in table()
|
D | HeapTable.java | 24 import java.util.List; 45 List<ValueConfig<T>> getValueConfigs(); in getValueConfigs() 54 TableConfig<T> config, AhatSnapshot snapshot, List<T> elements) { in render() 56 List<AhatHeap> heaps = new ArrayList<AhatHeap>(); in render() 63 List<ValueConfig<T>> values = config.getValueConfigs(); in render() 66 List<Column> subcols = new ArrayList<Column>(); in render() 74 List<Column> cols = new ArrayList<Column>(); in render() 106 List<T> remaining = selector.remaining(); in render() 150 TableConfig<T> config, List<T> elements) { in hasNonZeroEntry()
|