/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...] |
/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,
|
/frameworks/base/services/core/java/com/android/server/am/ |
AppBindRecord.java | 19 import android.util.ArraySet; 32 final ArraySet<ConnectionRecord> connections = new ArraySet<>();
|
UriPermissionOwner.java | 23 import android.util.ArraySet; 36 private ArraySet<UriPermission> mReadPerms; 37 private ArraySet<UriPermission> mWritePerms;
|
IntentBindRecord.java | 23 import android.util.ArraySet; 82 final ArraySet<ConnectionRecord> connections = apps.valueAt(i).connections;
|
TaskPersister.java | 23 import android.util.ArraySet; 313 ArraySet<Integer> recoveredTaskIds = new ArraySet<Integer>(); 411 private static void removeObsoleteFiles(ArraySet<Integer> persistentTaskIds, File[] files) { 441 private void removeObsoleteFiles(ArraySet<Integer> persistentTaskIds) { 459 ArraySet<Integer> persistentTaskIds = new ArraySet<Integer>();
|
ProcessRecord.java | 19 import android.util.ArraySet; 60 ArraySet<String> pkgDeps; // additional packages we have a dependency on 138 final ArraySet<ServiceRecord> services = new ArraySet<ServiceRecord>(); 140 final ArraySet<ServiceRecord> executingServices 141 = new ArraySet<ServiceRecord>(); 143 final ArraySet<ConnectionRecord> connections 144 = new ArraySet<ConnectionRecord>(); 146 final ArraySet<ReceiverList> receivers = new ArraySet<ReceiverList>() [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
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...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
KeySetManagerService.java | 21 import android.util.ArraySet; 58 protected final LongSparseArray<ArraySet<Long>> mKeySetMapping; 69 mKeySetMapping = new LongSparseArray<ArraySet<Long>>(); 128 ArraySet<PublicKey> keys, String alias) { 165 ArraySet<PublicKey> signingKeys) { 173 ArraySet<Long> publicKeyIds = mKeySetMapping.get(id); 187 ArraySet<Long> definedKeys = mKeySetMapping.get(keySetID); 242 public ArraySet<PublicKey> getPublicKeysFromKeySetLPr(long id) { 246 ArraySet<PublicKey> mPubKeys = new ArraySet<PublicKey>() [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
JobStoreTest.java | 12 import android.util.ArraySet; 64 final ArraySet<JobStatus> jobStatusSet = new ArraySet<JobStatus>(); 99 final ArraySet<JobStatus> jobStatusSet = new ArraySet<JobStatus>(); 139 final ArraySet<JobStatus> jobStatusSet = new ArraySet<JobStatus>();
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
IntervalStats.java | 24 import android.util.ArraySet; 39 private final ArraySet<String> mStringCache = new ArraySet<>();
|
UserUsageStatsService.java | 26 import android.util.ArraySet; 280 final ArraySet<String> names = new ArraySet<>(); 342 ArraySet<String> continuePreviousDay = new ArraySet<>();
|
/packages/apps/Settings/src/com/android/settings/ |
TrustAgentSettings.java | 33 import android.util.ArraySet; 41 private final ArraySet<ComponentName> mActiveAgents = new ArraySet<ComponentName>();
|
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModeAutomaticConditionSelection.java | 29 import android.util.ArraySet; 44 private final ArraySet<Uri> mSelectedConditions = new ArraySet<Uri>();
|
/frameworks/base/core/java/android/util/ |
ArraySet.java | 28 * ArraySet is a generic set data structure that is designed to be more memory efficient than a 48 public final class ArraySet<E> implements Collection<E>, Set<E> { 50 private static final String TAG = "ArraySet"; 53 * The minimum amount by which the capacity of a ArraySet will increase. 157 synchronized (ArraySet.class) { 171 synchronized (ArraySet.class) { 192 synchronized (ArraySet.class) { 206 synchronized (ArraySet.class) { 223 * Create a new empty ArraySet. The default capacity of an array map is 0, and 226 public ArraySet() { [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
ArrayUtils.java | 19 import android.util.ArraySet; 340 public static <T> ArraySet<T> add(ArraySet<T> cur, T val) { 342 cur = new ArraySet<>(); 348 public static <T> ArraySet<T> remove(ArraySet<T> cur, T val) { 360 public static <T> boolean contains(ArraySet<T> cur, T val) {
|
/frameworks/base/services/core/java/com/android/server/ |
SystemConfig.java | 23 import android.util.ArraySet; 79 final ArraySet<String> mAllowInPowerSave = new ArraySet<>(); 82 final ArraySet<String> mFixedImeApps = new ArraySet<>(); 113 public ArraySet<String> getAllowInPowerSave() { 117 public ArraySet<String> getFixedImeApps() {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
WifiAccessPointController.java | 30 import android.util.ArraySet; 135 final ArraySet<String> ssids = new ArraySet<String>();
|
BluetoothControllerImpl.java | 39 import android.util.ArraySet; 145 public ArraySet<PairedDevice> getPairedDevices() { 146 final ArraySet<PairedDevice> rt = new ArraySet<>();
|
/packages/apps/Settings/src/com/android/settings/voice/ |
VoiceInputHelper.java | 32 import android.util.ArraySet; 123 ArraySet<ComponentName> interactorRecognizers = new ArraySet<>();
|
/frameworks/base/services/core/java/com/android/server/notification/ |
ManagedServices.java | 43 import android.util.ArraySet; 85 private ArraySet<ComponentName> mEnabledServicesForCurrentProfiles 86 = new ArraySet<ComponentName>(); 88 private ArraySet<String> mEnabledServicesPackageNames = new ArraySet<String>(); 226 Set<ComponentName> installed = new ArraySet<ComponentName>(); 292 final ArraySet<ComponentName> newEnabled = new ArraySet<ComponentName>(); 293 final ArraySet<String> newPackages = new ArraySet<String>() [all...] |
ZenLog.java | 28 import android.util.ArraySet; 77 public static void traceDowntime(boolean inDowntime, int day, ArraySet<Integer> days) {
|
/frameworks/base/services/core/java/com/android/server/trust/ |
TrustManagerService.java | 54 import android.util.ArraySet; 96 private final ArraySet<AgentInfo> mActiveAgents = new ArraySet<AgentInfo>(); 184 ArraySet<AgentInfo> obsoleteAgents = new ArraySet<>(); 355 ArraySet<ComponentName> discoveredAgents = new ArraySet<>(); 593 ArraySet<String> simpleNames = new ArraySet<String>();
|
/frameworks/base/services/core/java/com/android/server/job/ |
JobStore.java | 28 import android.util.ArraySet; 69 final ArraySet<JobStatus> mJobSet; 113 mJobSet = new ArraySet<JobStatus>(); 232 public ArraySet<JobStatus> getJobs() { 262 public void readJobMapFromDisk(ArraySet<JobStatus> jobSet) { 411 private final ArraySet<JobStatus> jobSet; 417 ReadJobMapFromDiskRunnable(ArraySet<JobStatus> jobSet) {
|