/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | TransactionContext.java | 20 import android.util.ArraySet; 37 private ArraySet<Long> mUpdatedRawContacts; 38 private ArraySet<Long> mBackupIdChangedRawContacts; 39 private ArraySet<Long> mDirtyRawContacts; 44 private ArraySet<Long> mChangedRawContacts; 45 private ArraySet<Long> mStaleSearchIndexRawContacts; 46 private ArraySet<Long> mStaleSearchIndexContacts; 65 if (mUpdatedRawContacts == null) mUpdatedRawContacts = new ArraySet<>(); in rawContactUpdated() 72 mDirtyRawContacts = new ArraySet<>(); in markRawContactDirtyAndChanged() 82 mChangedRawContacts = new ArraySet<>(); in markRawContactChangedOrDeletedOrInserted() [all …]
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | TransportSipMessageValidatorTest.java | 38 import android.util.ArraySet; 201 ArraySet<String> pendingCallIds = new ArraySet<>(); in testTransportClosingGracefullyNoPendingSessions() 220 ArraySet<SipDialog> dialogs = new ArraySet<>(); in testTransportClosingGracefullyCloseCallIds() 223 ArraySet<String> pendingCallIds = new ArraySet<>(); in testTransportClosingGracefullyCloseCallIds() 250 ArraySet<SipDialog> dialogs = new ArraySet<>(); in testTransportClosingGracefullyThenForceClose() 253 ArraySet<String> pendingCallIds = new ArraySet<>(); in testTransportClosingGracefullyThenForceClose() 279 ArraySet<SipDialog> dialogs = new ArraySet<>(); in testTransportClosingGracefullyTimeout() 282 ArraySet<String> pendingCallIds = new ArraySet<>(); in testTransportClosingGracefullyTimeout() 307 ArraySet<SipDialog> dialogs = new ArraySet<>(); in testTransportClosingGracefullyCleanup() 310 ArraySet<String> pendingCallIds = new ArraySet<>(); in testTransportClosingGracefullyCleanup() [all …]
|
D | SipTransportControllerTest.java | 50 import android.util.ArraySet; 380 ArraySet<String> firstDelegate = new ArraySet<>(getBaseDelegateRequest().getFeatureTags()); in createTwoAndDenyOverlappingTags() 391 ArraySet<String> secondDelegate = new ArraySet<>(getBaseDelegateRequest().getFeatureTags()); in createTwoAndDenyOverlappingTags() 467 ArraySet<String> firstDelegate = new ArraySet<>(getBaseDelegateRequest().getFeatureTags()); in createTwoAndDestroyOlder() 477 ArraySet<String> secondDelegate = new ArraySet<>(getBaseDelegateRequest().getFeatureTags()); in createTwoAndDestroyOlder() 509 ArraySet<String> firstDelegate = new ArraySet<>(getBaseDelegateRequest().getFeatureTags()); in testThrottling() 519 ArraySet<String> secondDelegate = new ArraySet<>(getBaseDelegateRequest().getFeatureTags()); in testThrottling() 531 ArraySet<String> thirdDelegate = new ArraySet<>(getBaseDelegateRequest().getFeatureTags()); in testThrottling() 584 ArraySet<String> firstDelegate = new ArraySet<>(getBaseDelegateRequest().getFeatureTags()); in testSubIdChangeDestroyTriggered() 605 ArraySet<String> firstDelegate = new ArraySet<>(getBaseDelegateRequest().getFeatureTags()); in testRcsManagerGoneDestroyTriggered() [all …]
|
D | SipDelegateBinderConnectionTest.java | 41 import android.util.ArraySet; 112 ArraySet<FeatureTagState> deniedTags = getMmTelDeniedTag(); in testCreateConnection() 125 ArraySet<FeatureTagState> totalDeniedTags = new ArraySet<>(deniedTags); in testCreateConnection() 136 ArraySet<FeatureTagState> deniedTags = getMmTelDeniedTag(); in testCreateConnectionServiceDead() 150 ArraySet<FeatureTagState> deniedTags = getMmTelDeniedTag(); in testDestroyConnection() 170 ArraySet<FeatureTagState> deniedTags = getMmTelDeniedTag(); in testDestroyConnectionDead() 190 ArraySet<FeatureTagState> deniedTags = getMmTelDeniedTag(); in testStateCallback() 232 ArraySet<String> featureTags = new ArraySet<>(2); in getDelegateRequest() 238 private ArraySet<FeatureTagState> getMmTelDeniedTag() { in getMmTelDeniedTag() 239 ArraySet<FeatureTagState> deniedTags = new ArraySet<>(); in getMmTelDeniedTag()
|
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/ |
D | SdkSandboxSettingsListener.java | 25 import android.util.ArraySet; 130 private ArrayMap<Integer, ArraySet<String>> mContentProviderAllowlistPerTargetSdkVersion = 136 private ArraySet<String> mNextContentProviderAllowlist = 144 private ArrayMap<Integer, ArraySet<String>> mBroadcastReceiverAllowlistPerTargetSdkVersion = 151 private ArraySet<String> mNextBroadcastReceiverAllowlist = 159 private ArrayMap<Integer, ArraySet<String>> mActivityAllowlistPerTargetSdkVersion = 166 private ArraySet<String> mNextActivityAllowlist = 311 public ArrayMap<Integer, ArraySet<String>> getContentProviderAllowlistPerTargetSdkVersion() { in getContentProviderAllowlistPerTargetSdkVersion() 317 public ArraySet<String> getNextContentProviderAllowlist() { in getNextContentProviderAllowlist() 324 public ArrayMap<Integer, ArraySet<String>> getBroadcastReceiverAllowlistPerTargetSdkVersion() { in getBroadcastReceiverAllowlistPerTargetSdkVersion() [all …]
|
/packages/modules/Permission/service/java/com/android/role/ |
D | RoleUserState.java | 28 import android.util.ArraySet; 89 private ArrayMap<String, ArraySet<String>> mRoles = new ArrayMap<>(); 96 private ArraySet<String> mFallbackEnabledRoles = new ArraySet<>(); 279 public ArraySet<String> getRoleHolders(@NonNull String roleName) { in getRoleHolders() 281 ArraySet<String> packageNames = mRoles.get(roleName); in getRoleHolders() 285 return new ArraySet<>(packageNames); in getRoleHolders() 299 mRoles.put(roleName, new ArraySet<>()); in addRoleName() 323 ArraySet<String> packageNames = mRoles.valueAt(i); in setRoleNames() 358 ArraySet<String> roleHolders = mRoles.get(roleName); in addRoleHolder() 389 ArraySet<String> roleHolders = mRoles.get(roleName); in removeRoleHolder() [all …]
|
/packages/services/Car/service/src/com/android/car/vms/ |
D | VmsClientInfo.java | 28 import android.util.ArraySet; 62 private ArrayMap<VmsLayer, ArraySet<Integer>> mLayerAndProviderSubscriptions = new ArrayMap<>(); 119 mOfferings.put(providerId, new ArraySet<>(offerings)); in setProviderOfferings() 120 ArraySet<VmsLayer> layerSet = new ArraySet<>(offerings.size()); in setProviderOfferings() 141 result.add(new VmsLayersOffering(new ArraySet<>(providerOfferings), providerId)); in getAllOfferingsLcoked() 153 ArraySet<VmsLayer> layerSubscriptions = new ArraySet<>(); in setSubscriptions() 154 ArrayMap<VmsLayer, ArraySet<Integer>> layerAndProviderSubscriptions = new ArrayMap<>(); in setSubscriptions() 161 new ArraySet<>(associatedLayer.getProviderIds())); in setSubscriptions() 172 return new ArraySet<>(mLayerSubscriptions); in getLayerSubscriptions() 176 ArrayMap<VmsLayer, ArraySet<Integer>> getLayerAndProviderSubscriptions() { in getLayerAndProviderSubscriptions() [all …]
|
D | VmsLayerAvailability.java | 26 import android.util.ArraySet; 72 mPotentialLayersAndPublishers.computeIfAbsent(layer, k -> new ArraySet<>()) in setPublishersOffering() 76 mPotentialLayersAndDependencies.computeIfAbsent(layer, k -> new ArraySet<>()) in setPublishersOffering() 104 ArraySet<VmsLayer> availableLayersSet = new ArraySet<>(); in calculateLayers() 105 ArraySet<VmsLayer> cyclicAvoidanceAuxiliarySet = new ArraySet<>(); in calculateLayers() 113 ArraySet<VmsAssociatedLayer> associatedLayerSet = new ArraySet<>(); in calculateLayers()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/notification/ |
D | NotificationVisibilityLogger.java | 20 import android.util.ArraySet; 45 private final ArraySet<NotificationVisibility> mCurrentlyVisible = new ArraySet<>(); 46 private final ArraySet<NotificationVisibility> mNewlyVisible = new ArraySet<>(); 47 private final ArraySet<NotificationVisibility> mPreviouslyVisible = new ArraySet<>(); 48 private final ArraySet<NotificationVisibility> mTmpCurrentlyVisible = new ArraySet<>(); 132 private static void recycleAllVisibilityObjects(ArraySet<NotificationVisibility> array) { in recycleAllVisibilityObjects()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationVisibilityLogger.java | 20 import android.util.ArraySet; 38 private final ArraySet<NotificationVisibility> mCurrentlyVisible = new ArraySet<>(); 65 ArraySet<NotificationVisibility> previouslyVisible = new ArraySet<>(mCurrentlyVisible); in notifyVisibilityChanged() 67 ArraySet<NotificationVisibility> newlyVisible = new ArraySet<>(); in notifyVisibilityChanged() 68 ArraySet<NotificationVisibility> noLongerVisible = new ArraySet<>(); in notifyVisibilityChanged()
|
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/ |
D | UserRestrictionsPolicyHandler.java | 22 import android.util.ArraySet; 42 private final ArraySet<String> mAlwaysOnRestrictions = new ArraySet<>(); 49 private ArraySet<String> mOptionalAlwaysOnRestrictions; 51 private ArraySet<String> mLockModeRestrictions; 105 private ListenableFuture<ArraySet<String>> retrieveLockModeRestrictions() { in retrieveLockModeRestrictions() 118 mLockModeRestrictions = new ArraySet<>(1); in retrieveLockModeRestrictions() 127 private ListenableFuture<ArraySet<String>> retrieveOptionalAlwaysOnRestrictions() { 147 mOptionalAlwaysOnRestrictions = new ArraySet<>(1); 161 private boolean setupRestrictions(ArraySet<String> restrictions, boolean enable) { 180 ListenableFuture<ArraySet<String>> restrictionsFuture, boolean enable) {
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | UidRangeUtils.java | 21 import android.util.ArraySet; 71 public static ArraySet<UidRange> removeRangeSetFromUidRange(@NonNull UidRange uids, in removeRangeSetFromUidRange() 72 @NonNull ArraySet<UidRange> uidRangeSet) { in removeRangeSetFromUidRange() 75 final ArraySet<UidRange> filteredRangeSet = new ArraySet<UidRange>(); in removeRangeSetFromUidRange() 134 public static ArraySet<UidRange> convertListToUidRange(@NonNull List<Integer> uids) { in convertListToUidRange() 136 final ArraySet<UidRange> uidRangeSet = new ArraySet<UidRange>(); in convertListToUidRange() 164 public static ArraySet<UidRange> convertArrayToUidRange(@NonNull int[] uids) { in convertArrayToUidRange() 166 final ArraySet<UidRange> uidRangeSet = new ArraySet<UidRange>(); in convertArrayToUidRange()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarFeatureTest.java | 24 import android.util.ArraySet; 68 private static final ArraySet<String> FLAGGED_MANDATORY_FEATURES = new ArraySet<>(1); 79 private static final ArraySet<String> MANDATORY_FEATURES = combineFeatures( 102 private static final ArraySet<String> FLAGGED_OPTIONAL_FEATURES = new ArraySet<>(); 113 private static final ArraySet<String> OPTIONAL_FEATURES = combineFeatures( 193 private static ArraySet<String> combineFeatures(List<String> features, in combineFeatures() 194 ArraySet<String> flaggedFeatures) { in combineFeatures() 195 ArraySet<String> combinedFeatures = new ArraySet<>(features); in combineFeatures()
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | SafetyCenterFlags.java | 25 import android.util.ArraySet; 126 private static final ArraySet<String> sAllowedNotificationSourcesUPlus = 127 new ArraySet<>(new String[] {"GoogleBackupAndRestore"}); 252 public static ArraySet<String> getNotificationsAllowedSourceIds() { in getNotificationsAllowedSourceIds() 253 ArraySet<String> sources = getNotificationsAllowedSourceIdsFlag(); in getNotificationsAllowedSourceIds() 266 private static ArraySet<String> getNotificationsAllowedSourceIdsFlag() { in getNotificationsAllowedSourceIdsFlag() 290 public static ArraySet<String> getImmediateNotificationBehaviorIssues() { in getImmediateNotificationBehaviorIssues() 346 static ArraySet<String> getUntrackedSourceIds() { in getUntrackedSourceIds() 354 static ArraySet<String> getBackgroundRefreshDeniedSourceIds() { in getBackgroundRefreshDeniedSourceIds() 463 public static ArraySet<String> getAdditionalAllowedPackageCerts(String packageName) { in getAdditionalAllowedPackageCerts() [all …]
|
/packages/services/Car/car-lib/src/com/android/car/internal/util/ |
D | PairSparseArray.java | 19 import android.util.ArraySet; 49 private final SparseArray<ArraySet<Integer>> mSecondKeysByFirstKey; 76 public ArraySet<Integer> getSecondKeysForFirstKey(int firstKey) { in getSecondKeysForFirstKey() 78 return new ArraySet<>(); in getSecondKeysForFirstKey() 80 return new ArraySet<>(mSecondKeysByFirstKey.get(firstKey)); in getSecondKeysForFirstKey() 86 public ArraySet<Integer> getFirstKeys() { in getFirstKeys() 87 ArraySet<Integer> firstKeys = new ArraySet<>(); in getFirstKeys() 91 return new ArraySet<>(firstKeys); in getFirstKeys() 313 mSecondKeysByFirstKey.put(firstKey, new ArraySet<>()); in addSecondKeyByFirstKey()
|
D | Sets.java | 19 import android.util.ArraySet; 99 public static <E> ArraySet<E> newArraySet() { in newArraySet() 100 return new ArraySet<E>(); in newArraySet() 106 public static <E> ArraySet<E> newArraySet(E... elements) { in newArraySet() 108 ArraySet<E> set = new ArraySet<E>(capacity); in newArraySet()
|
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/ |
D | SetSchemaRequest.java | 27 import android.util.ArraySet; 227 copy.put(entry.getKey(), new ArraySet<>(entry.getValue())); in getSchemasVisibleToPackages() 290 copy.put(entry.getKey(), new ArraySet<>(entry.getValue())); in getSchemasVisibleToConfigs() 332 private ArraySet<AppSearchSchema> mSchemas = new ArraySet<>(); 333 private ArraySet<String> mSchemasNotDisplayedBySystem = new ArraySet<>(); 452 visibleToPermissions = new ArraySet<>(); in addRequiredPermissionsForSchemaTypeVisibility() 510 packageIdentifiers = new ArraySet<>(); in setSchemaTypeVisibilityForPackage() 599 visibleToConfigs = new ArraySet<>(); in addSchemaTypeVisibleToConfig() 748 Set<String> referencedSchemas = new ArraySet<>(mSchemasNotDisplayedBySystem); in build() 786 schemasVisibleToPackages.put(entry.getKey(), new ArraySet<>(entry.getValue())); in resetIfBuilt() [all …]
|
/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/ |
D | RequiredPropertiesRule.java | 21 import android.util.ArraySet; 35 private static ArraySet<Property> mRequiredProperties; 47 private ArraySet<Property> getAllRequiredProperties(Description description) { in getAllRequiredProperties() 48 final ArraySet<Property> allRequiredProperties = new ArraySet<>(); in getAllRequiredProperties() 73 private void assertTestIsValid(String testName, ArraySet<Property> requiredProperies) { in assertTestIsValid() 87 public static ArraySet<Property> getRequiredProperties() { in getRequiredProperties()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarFeatureController.java | 34 import android.util.ArraySet; 100 private static final ArraySet<String> FLAGGED_MANDATORY_FEATURES = new ArraySet<>(1); 114 private static final ArraySet<String> MANDATORY_FEATURES = combineFeatures( 137 private static final ArraySet<String> FLAGGED_OPTIONAL_FEATURES = new ArraySet<>(1); 150 private static final ArraySet<String> OPTIONAL_FEATURES = combineFeatures( 154 private static final ArraySet<String> NON_USER_ONLY_FEATURES = new ArraySet<>(); 174 private final ArraySet<String> mEnabledFeatures; 196 private ArraySet<String> mAvailableExperimentalFeatures = new ArraySet<>(); 223 mEnabledFeatures = new ArraySet<>(MANDATORY_FEATURES); in CarFeatureController() 584 private void persistToFeatureConfigFile(ArraySet<String> features) { in persistToFeatureConfigFile() [all …]
|
/packages/apps/Car/SystemUI/src/com/android/systemui/wm/ |
D | BarControlPolicy.java | 25 import android.util.ArraySet; 175 private final ArraySet<String> mToInclude; 176 private final ArraySet<String> mToExclude; 178 private Filter(ArraySet<String> toInclude, ArraySet<String> toExclude) { in Filter() 203 private void dump(String name, ArraySet<String> set, PrintWriter pw) { in dump() 224 ArraySet<String> toInclude = new ArraySet<String>(); in parse() 225 ArraySet<String> toExclude = new ArraySet<String>(); in parse()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | UidRange.java | 23 import android.util.ArraySet; 160 public static ArraySet<UidRange> fromIntRanges(@Nullable Set<Range<Integer>> ranges) { in fromIntRanges() 163 final ArraySet<UidRange> uids = new ArraySet<>(); in fromIntRanges() 174 public static ArraySet<Range<Integer>> toIntRanges(@Nullable Set<UidRange> ranges) { in toIntRanges() 177 final ArraySet<Range<Integer>> uids = new ArraySet<>(); in toIntRanges() 194 final Set<UidRange> remainingUids = new ArraySet<>(uids2); in hasSameUids()
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/managers/ |
D | MergedDiscoveryRequestTest.java | 28 import android.util.ArraySet; 49 assertThat(request.getScanTypes()).isEqualTo(new ArraySet<>( in test_addScanType() 58 builder.addActions(new ArraySet<>(Arrays.asList(2, 3, 4))); in test_addActions() 59 builder.addActions(new ArraySet<>(Collections.singletonList(5))); in test_addActions() 62 assertThat(request.getActions()).isEqualTo(new ArraySet<>(new Integer[]{1, 2, 3, 4, 5})); in test_addActions() 88 Set<ScanFilter> expectedResult = new ArraySet<>(); in test_addFilters() 100 Set<Integer> expectedResult = new ArraySet<>(); in test_addMedium()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarVolume.java | 42 import android.util.ArraySet; 152 ArraySet<Integer> contexts = new ArraySet<>(); in convertAttributesToContexts() 169 private ArraySet<Integer> convertAttributesToContextsSet(List<AudioAttributes> in convertAttributesToContextsSet() 171 ArraySet<Integer> contexts = new ArraySet<>(); in convertAttributesToContextsSet() 206 ArraySet<AudioAttributes> activeAttributes = in getSuggestedAudioContextAndSaveIfFound() 218 ArraySet<AudioAttributes> activeAttributes, SparseIntArray contextPriorities, in findActiveContextWithHighestPriority() 224 ArraySet<Integer> inactiveContexts = in findActiveContextWithHighestPriority() 253 private int getNextBestDefaultContext(ArraySet<Integer> inactiveContexts) { in getNextBestDefaultContext() 279 ArraySet<AudioAttributes> activeAttributes = getActiveAttributes(activePlaybackContext, in isAnyContextActive() 282 Set<Integer> activeContexts = new ArraySet<>(activeAttributes.size()); in isAnyContextActive() [all …]
|
/packages/services/Car/tests/CarEvsMultiCameraPreviewApp/src/com/google/android/car/evs/multi/ |
D | CarEvsCameraClient.java | 27 import android.util.ArraySet; 86 private final ArraySet<Integer> mNextServiceTypes = new ArraySet<>(); 189 CarEvsCameraClient(CarEvsMultiCameraPreviewActivity activity, ArraySet<Integer> serviceTypes) { in CarEvsCameraClient() 206 boolean updateServiceTypes(ArraySet<Integer> types) { in updateServiceTypes() 227 ArraySet<Integer> startVideoStream(ArraySet<Integer> types) { in startVideoStream() 237 ArraySet<Integer> startVideoStream() { in startVideoStream() 238 ArraySet<Integer> started = new ArraySet<>(); in startVideoStream()
|
/packages/modules/Permission/service/java/com/android/safetycenter/data/ |
D | SafetyEventFix.java | 26 import android.util.ArraySet; 67 ArraySet<SafetyCenterIssueActionId> possiblySuccessfulActions = in maybeOverrideSafetyEvent() 76 ArraySet<String> presentSourceIssueIds = getSourceIssueIds(safetySourceData); in maybeOverrideSafetyEvent() 103 private static ArraySet<String> getSourceIssueIds(SafetySourceData safetySourceData) { in getSourceIssueIds() 105 ArraySet<String> issueIds = new ArraySet<>(issues.size()); in getSourceIssueIds()
|