/art/test/532-checker-nonnull-arrayset/ |
info.txt | 1 Test that we optimize ArraySet when the value is not null.
|
/cts/tests/tests/util/src/android/util/cts/ |
ArraySetTest.java | 20 import android.util.ArraySet; 29 // As is the case with ArraySet itself, ArraySetTest borrows heavily from ArrayMapTest. 126 private static <E> void compareSets(HashSet<E> set, ArraySet<E> array) { 129 // Check that every entry in HashSet is in ArraySet. 131 assertTrue("ArraySet missing value: " + entry, array.contains(entry)); 134 // Check that every entry in ArraySet is in HashSet using ArraySet.iterator(). 136 assertTrue("ArraySet (via iterator) has unexpected value: " + entry, 140 // Check that every entry in ArraySet is in HashSet using ArraySet.valueAt() [all...] |
/art/test/590-checker-array-set-null-regression/ |
info.txt | 3 ArraySet[array, index, BoundType[NullConstant]] 7 ArraySet[array, index, NullConstant] 10 ArraySet, thus failing "!may_need_runtime_call_for_type_check"
|
/art/test/449-checker-bce/src/ |
Main.java | 21 /// CHECK: ArraySet 25 /// CHECK: ArraySet 29 /// CHECK: ArraySet 33 /// CHECK: ArraySet 52 /// CHECK: ArraySet 54 /// CHECK: ArraySet 56 /// CHECK: ArraySet 60 /// CHECK: ArraySet 62 /// CHECK: ArraySet 64 /// CHECK: ArraySet [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
KeySetManagerServiceTest.java | 23 import android.util.ArraySet; 118 ArraySet<PublicKey> signingKeys = new ArraySet<PublicKey>(); 126 LongSparseArray<ArraySet<Long>> ksMapping = KeySetUtils.getKeySetMapping(mKsms); 128 ArraySet<Long> mapping = ksMapping.get(1); 145 ArraySet<PublicKey> signingKeys = new ArraySet<PublicKey>(); 156 LongSparseArray<ArraySet<Long>> ksMapping = KeySetUtils.getKeySetMapping(mKsms); 158 ArraySet<Long> mapping = ksMapping.get(1); 175 ArraySet<PublicKey> signingKeys = new ArraySet<PublicKey>() [all...] |
/frameworks/base/services/core/java/com/android/server/vr/ |
EnabledComponentsObserver.java | 33 import android.util.ArraySet; 64 private final SparseArray<ArraySet<ComponentName>> mInstalledSet = new SparseArray<>(); 65 private final SparseArray<ArraySet<ComponentName>> mEnabledSet = new SparseArray<>(); 66 private final Set<EnabledComponentChangeListener> mEnabledComponentListeners = new ArraySet<>(); 176 ArraySet<ComponentName> implementingPackages = loadComponentNamesForUser(i); 177 ArraySet<ComponentName> packagesFromSettings = 198 ArraySet<ComponentName> installedComponents = mInstalledSet.get(userId); 202 ArraySet<ComponentName> validComponents = mEnabledSet.get(userId); 216 public ArraySet<ComponentName> getInstalled(int userId) { 218 ArraySet<ComponentName> ret = mInstalledSet.get(userId) [all...] |
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
NetworkSecurityConfigTests.java | 22 import android.util.ArraySet; 124 ArraySet<Pair<Domain, NetworkSecurityConfig>> domainMap 125 = new ArraySet<Pair<Domain, NetworkSecurityConfig>>(); 133 ArraySet<Pair<Domain, NetworkSecurityConfig>> domainMap 134 = new ArraySet<Pair<Domain, NetworkSecurityConfig>>(); 144 ArraySet<Pin> pins = new ArraySet<Pin>(); 151 ArraySet<Pair<Domain, NetworkSecurityConfig>> domainMap 152 = new ArraySet<Pair<Domain, NetworkSecurityConfig>>(); 162 ArraySet<Pin> pins = new ArraySet<Pin>() [all...] |
/frameworks/base/core/java/com/google/android/collect/ |
Sets.java | 19 import android.util.ArraySet; 96 * Creates a {@code ArraySet} instance. 98 public static <E> ArraySet<E> newArraySet() { 99 return new ArraySet<E>(); 103 * Creates a {@code ArraySet} instance containing the given elements. 105 public static <E> ArraySet<E> newArraySet(E... elements) { 107 ArraySet<E> set = new ArraySet<E>(capacity);
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
ArrayMapTests.java | 20 import android.util.ArraySet; 211 private static boolean compareSets(HashSet set, ArraySet array) { 219 Log.e("test", "Bad value: expected " + entry + " not found in ArraySet"); 227 Log.e("test", "Bad value: unexpected " + entry + " in ArraySet"); 312 private static void dump(Set set, ArraySet array) { 317 Log.e("test", "ArraySet of " + array.size() + " entries:"); 339 ArraySet<ControlledHash> arraySet = new ArraySet<ControlledHash>(); 353 arrayChanged = arraySet.add(key) [all...] |
/art/test/532-checker-nonnull-arrayset/src/ |
Main.java | 22 /// CHECK: ArraySet value_can_be_null:true 25 /// CHECK: ArraySet value_can_be_null:false 28 /// CHECK: ArraySet value_can_be_null:false
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
KeyphraseMetadata.java | 19 import android.util.ArraySet; 31 public final ArraySet<Locale> supportedLocales; 34 public KeyphraseMetadata(int id, String keyphrase, ArraySet<Locale> supportedLocales,
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerWhitelistBackend.java | 21 import android.util.ArraySet; 37 private final ArraySet<String> mWhitelistedApps = new ArraySet<>(); 38 private final ArraySet<String> mSysWhitelistedApps = new ArraySet<>();
|
/packages/services/Telephony/tests/src/com/android/phone/vvm/omtp/ |
VisualVoicemailPreferencesTest.java | 6 import android.util.ArraySet; 21 .putStringSet("stringset", new ArraySet<>(Arrays.asList("bar", "baz"))) 36 assertEquals(new ArraySet<>(Arrays.asList("bar", "baz")), 56 assertEquals(new ArraySet<>(Arrays.asList("bar2", "baz2")), 58 "stringset", new ArraySet<>(Arrays.asList("bar2", "baz2"))));
|
/art/test/590-checker-array-set-null-regression/src/ |
Main.java | 36 /// CHECK-DAG: <<ArraySet:v\d+>> ArraySet [<<CheckedArray>>,<<CheckedIndex>>,<<CheckedValue>>] needs_type_check:true 50 /// CHECK-DAG: <<ArraySet:v\d+>> ArraySet [<<CheckedArray>>,<<CheckedIndex>>,<<CheckedValue>>] needs_type_check:true 58 /// CHECK-DAG: <<ArraySet:v\d+>> ArraySet [<<Array>>,<<Index>>,<<Null>>] needs_type_check:false
|
/cts/tests/tests/os/src/android/os/cts/ |
AbiTest.java | 20 import android.util.ArraySet; 29 ArraySet<String> abiDirs = new ArraySet(Arrays.asList(
|
/frameworks/base/services/core/java/com/android/server/am/ |
AppBindRecord.java | 19 import android.util.ArraySet; 31 final ArraySet<ConnectionRecord> connections = new ArraySet<>();
|
/frameworks/base/services/core/java/com/android/server/pm/ |
SharedUserSetting.java | 19 import android.util.ArraySet; 33 final ArraySet<PackageSetting> packages = new ArraySet<PackageSetting>();
|
ShortcutLauncher.java | 22 import android.util.ArraySet; 62 final private ArrayMap<PackageWithUser, ArraySet<String>> mPinnedShortcuts = new ArrayMap<>(); 119 final ArraySet<String> prevSet = mPinnedShortcuts.get(pu); 124 final ArraySet<String> newSet = new ArraySet<>(); 145 public ArraySet<String> getPinnedShortcutIds(@NonNull String packageName, 181 final ArraySet<String> ids = mPinnedShortcuts.valueAt(i); 208 ArraySet<String> ids = null; 229 ids = new ArraySet<>(); 281 final ArraySet<String> ids = mPinnedShortcuts.valueAt(i) [all...] |
/art/test/552-checker-primitive-typeprop/smali/ |
ArraySet.smali | 18 # Test ArraySet on int[] and float[] arrays. The input should be typed accordingly. 22 ## CHECK-START: void ArraySet.ambiguousSet(int[], float[], boolean) builder (after) 28 ## CHECK-DAG: ArraySet [<<IntNC>>,{{i\d+}},<<IntPhi>>] 35 ## CHECK-DAG: ArraySet [<<FloatNC>>,{{i\d+}},<<FloatPhi>>]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/ |
InputMethodUtilsTest.java | 30 import android.util.ArraySet; [all...] |
/frameworks/base/core/java/android/security/net/config/ |
PinSet.java | 19 import android.util.ArraySet; 40 Set<String> algorithms = new ArraySet<String>();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
ForcedResizableInfoActivityController.java | 23 import android.util.ArraySet; 44 private final ArraySet<Integer> mPendingTaskIds = new ArraySet<>(); 45 private final ArraySet<String> mPackagesShownInSession = new ArraySet<>();
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
DownloadsDeletionType.java | 26 import android.util.ArraySet; 45 private ArraySet<File> mFiles; 46 private ArraySet<String> mUncheckedFiles; 50 mFiles = new ArraySet<>(); 51 mUncheckedFiles = new ArraySet<>();
|
/frameworks/base/core/java/com/android/server/ |
SystemConfig.java | 29 import android.util.ArraySet; 68 final SparseArray<ArraySet<String>> mSystemPermissions = new SparseArray<>(); 81 final ArraySet<String> mUnavailableFeatures = new ArraySet<>(); 101 final ArraySet<String> mAllowInPowerSaveExceptIdle = new ArraySet<>(); 105 final ArraySet<String> mAllowInPowerSave = new ArraySet<>(); 109 final ArraySet<String> mAllowInDataUsageSave = new ArraySet<>(); [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
PolicyControl.java | 23 import android.util.ArraySet; 187 private final ArraySet<String> mWhitelist; 188 private final ArraySet<String> mBlacklist; 190 private Filter(ArraySet<String> whitelist, ArraySet<String> blacklist) { 223 private void dump(String name, ArraySet<String> set, PrintWriter pw) { 244 ArraySet<String> whitelist = new ArraySet<String>(); 245 ArraySet<String> blacklist = new ArraySet<String>() [all...] |