Home
last modified time | relevance | path

Searched refs:SparseBooleanArray (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTableLayoutBindingAdapter.java19 import android.util.SparseBooleanArray;
32 SparseBooleanArray columns = parseColumns(columnsStr); in setCollapseColumns()
47 SparseBooleanArray columns = parseColumns(columnsStr); in setShrinkColumns()
65 SparseBooleanArray columns = parseColumns(columnsStr); in setStretchColumns()
77 private static SparseBooleanArray parseColumns(CharSequence sequence) { in parseColumns()
78 SparseBooleanArray columns = new SparseBooleanArray(); in parseColumns()
/frameworks/base/core/java/android/util/
DSparseBooleanArray.java46 public class SparseBooleanArray implements Cloneable { class
50 public SparseBooleanArray() { in SparseBooleanArray() method in SparseBooleanArray
61 public SparseBooleanArray(int initialCapacity) { in SparseBooleanArray() method in SparseBooleanArray
73 public SparseBooleanArray clone() { in clone()
74 SparseBooleanArray clone = null; in clone()
76 clone = (SparseBooleanArray) super.clone(); in clone()
255 if (!(that instanceof SparseBooleanArray)) { in equals()
259 SparseBooleanArray other = (SparseBooleanArray) that; in equals()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
DMultiSelectManagerTest.java22 import android.util.SparseBooleanArray;
244 SparseBooleanArray provisional = new SparseBooleanArray(); in testProvisionalSelection()
254 SparseBooleanArray provisional = new SparseBooleanArray(); in testProvisionalSelection_Replace()
269 SparseBooleanArray provisional = new SparseBooleanArray(); in testProvisionalSelection_IntersectsExistingProvisionalSelection()
283 SparseBooleanArray provisional = new SparseBooleanArray(); in testProvisionalSelection_Apply()
296 SparseBooleanArray provisional = new SparseBooleanArray(); in testProvisionalSelection_Cancel()
311 SparseBooleanArray provisional = new SparseBooleanArray(); in testProvisionalSelection_IntersectsAppliedSelection()
318 private static Set<String> getItemIds(SparseBooleanArray selection) { in getItemIds()
/frameworks/base/core/java/android/widget/
DTableLayout.java24 import android.util.SparseBooleanArray;
73 private SparseBooleanArray mStretchableColumns;
74 private SparseBooleanArray mShrinkableColumns;
75 private SparseBooleanArray mCollapsedColumns;
147 private static SparseBooleanArray parseColumns(String sequence) { in parseColumns()
148 SparseBooleanArray columns = new SparseBooleanArray(); in parseColumns()
175 mCollapsedColumns = new SparseBooleanArray(); in initTableLayout()
178 mStretchableColumns = new SparseBooleanArray(); in initTableLayout()
181 mShrinkableColumns = new SparseBooleanArray(); in initTableLayout()
379 final SparseBooleanArray collapsedColumns = mCollapsedColumns; in trackCollapsedColumns()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageVerificationState.java22 import android.util.SparseBooleanArray;
34 private final SparseBooleanArray mSufficientVerifierUids;
59 mSufficientVerifierUids = new SparseBooleanArray(); in PackageVerificationState()
DPermissionsState.java25 import android.util.SparseBooleanArray;
69 private SparseBooleanArray mPermissionReviewRequired;
133 mPermissionReviewRequired = new SparseBooleanArray(); in copyFrom()
394 mPermissionReviewRequired = new SparseBooleanArray(); in updatePermissionFlags()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DAppItem.java21 import android.util.SparseBooleanArray;
32 public SparseBooleanArray uids = new SparseBooleanArray();
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DTaskPersisterTest.java25 import android.util.SparseBooleanArray;
61 SparseBooleanArray taskIdsOnFile = mTaskPersister.loadPersistedTaskIdsForUser(testUserId); in testTaskIdsPersistence()
66 SparseBooleanArray newTaskIdsOnFile = mTaskPersister in testTaskIdsPersistence()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DBracketTest.java21 import android.util.SparseBooleanArray;
32 private SparseBooleanArray mSparseBooleanArray = new SparseBooleanArray();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DCdmaSmsAddress.java19 import android.util.SparseBooleanArray;
141 private static final SparseBooleanArray numericCharDialableMap = new SparseBooleanArray (
/frameworks/base/services/core/java/com/android/server/am/
DTaskPersister.java31 import android.util.SparseBooleanArray;
88 private final SparseArray<SparseBooleanArray> mTaskIdsInFile = new SparseArray<>();
193 SparseBooleanArray loadPersistedTaskIdsForUser(int userId) { in loadPersistedTaskIdsForUser()
197 final SparseBooleanArray persistedTaskIds = new SparseBooleanArray(); in loadPersistedTaskIdsForUser()
220 void maybeWritePersistedTaskIdsForUser(@NonNull SparseBooleanArray taskIds, int userId) { in maybeWritePersistedTaskIdsForUser()
224 SparseBooleanArray persistedIdsInFile = mTaskIdsInFile.get(userId); in maybeWritePersistedTaskIdsForUser()
550 SparseBooleanArray taskIdsToSave; in writeTaskIdsFiles()
DRecentTasks.java46 import android.util.SparseBooleanArray;
76 private final SparseBooleanArray mUsersWithRecentsLoaded = new SparseBooleanArray(
83 final SparseArray<SparseBooleanArray> mPersistedTaskIds = new SparseArray<>(
157 mPersistedTaskIds.put(task.userId, new SparseBooleanArray()); in syncPersistentTaskIdsLocked()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java42 import android.util.SparseBooleanArray;
83 private final HashMap<String, SparseBooleanArray> mDevicePermissionMap =
84 new HashMap<String, SparseBooleanArray>();
86 private final HashMap<UsbAccessory, SparseBooleanArray> mAccessoryPermissionMap =
87 new HashMap<UsbAccessory, SparseBooleanArray>();
1007 SparseBooleanArray uidList = mDevicePermissionMap.get(device.getDeviceName()); in hasPermission()
1021 SparseBooleanArray uidList = mAccessoryPermissionMap.get(accessory); in hasPermission()
1149 SparseBooleanArray uidList = mDevicePermissionMap.get(deviceName); in grantDevicePermission()
1151 uidList = new SparseBooleanArray(1); in grantDevicePermission()
1160 SparseBooleanArray uidList = mAccessoryPermissionMap.get(accessory); in grantAccessoryPermission()
[all …]
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java63 import android.util.SparseBooleanArray;
122 private final SparseBooleanArray mUserIsTrusted = new SparseBooleanArray();
125 private final SparseBooleanArray mDeviceLockedForUser = new SparseBooleanArray();
128 private final SparseBooleanArray mTrustUsuallyManagedForUser = new SparseBooleanArray();
919 SparseBooleanArray usuallyManaged;
1007 SparseBooleanArray mStartFromSuccessfulUnlock = new SparseBooleanArray();
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DAsyncListUtilTest.java27 import android.util.SparseBooleanArray;
300 final private SparseBooleanArray mExpectedPositions = new SparseBooleanArray();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DCarNavigationBarController.java26 import android.util.SparseBooleanArray;
74 private SparseBooleanArray mFacetHasMultipleAppsCache = new SparseBooleanArray();
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DAsyncListUtil.java22 import android.util.SparseBooleanArray;
294 final SparseBooleanArray mLoadedTiles = new SparseBooleanArray();
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java23 import android.util.SparseBooleanArray;
644 private SparseBooleanArray mEventSequenceStartedMap = new SparseBooleanArray();
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java159 import android.util.SparseBooleanArray;
310 final SparseBooleanArray mFirewallChainStates = new SparseBooleanArray();
317 private final SparseBooleanArray mPowerSaveWhitelistExceptIdleAppIds = new SparseBooleanArray();
324 private final SparseBooleanArray mPowerSaveWhitelistAppIds = new SparseBooleanArray();
326 private final SparseBooleanArray mPowerSaveTempWhitelistAppIds = new SparseBooleanArray();
331 private final SparseBooleanArray mRestrictBackgroundWhitelistUids = new SparseBooleanArray();
336 private final SparseBooleanArray mDefaultRestrictBackgroundWhitelistUids =
337 new SparseBooleanArray();
343 private final SparseBooleanArray mRestrictBackgroundWhitelistRevokedUids =
344 new SparseBooleanArray();
[all …]
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java87 import android.util.SparseBooleanArray;
233 private SparseBooleanArray mUidRejectOnMetered = new SparseBooleanArray();
236 private SparseBooleanArray mUidAllowOnMetered = new SparseBooleanArray();
263 final SparseBooleanArray mFirewallChainStates = new SparseBooleanArray();
641 final SparseBooleanArray uidRejectOnQuota = mUidRejectOnMetered; in prepareNativeDaemon()
642 mUidRejectOnMetered = new SparseBooleanArray(); in prepareNativeDaemon()
652 final SparseBooleanArray uidAcceptOnQuota = mUidAllowOnMetered; in prepareNativeDaemon()
653 mUidAllowOnMetered = new SparseBooleanArray(); in prepareNativeDaemon()
1788 private void setUidOnMeteredNetworkList(SparseBooleanArray quotaList, int uid, in setUidOnMeteredNetworkList()
2540 private void dumpUidRuleOnQuotaLocked(PrintWriter pw, String name, SparseBooleanArray list) { in dumpUidRuleOnQuotaLocked()
DDeviceIdleController.java75 import android.util.SparseBooleanArray;
244 private final SparseBooleanArray mPowerSaveWhitelistSystemAppIdsExceptIdle
245 = new SparseBooleanArray();
250 private final SparseBooleanArray mPowerSaveWhitelistSystemAppIds = new SparseBooleanArray();
256 private final SparseBooleanArray mPowerSaveWhitelistExceptIdleAppIds = new SparseBooleanArray();
268 private final SparseBooleanArray mPowerSaveWhitelistAllAppIds = new SparseBooleanArray();
279 private final SparseBooleanArray mPowerSaveWhitelistUserAppIds = new SparseBooleanArray();
2279 ArrayMap<String, Integer> userApps, SparseBooleanArray outAppIds) { in buildAppIdArray()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardUpdateMonitor.java53 import android.util.SparseBooleanArray;
292 private SparseBooleanArray mUserHasTrust = new SparseBooleanArray();
293 private SparseBooleanArray mUserTrustIsManaged = new SparseBooleanArray();
294 private SparseBooleanArray mUserFingerprintAuthenticated = new SparseBooleanArray();
295 private SparseBooleanArray mUserFaceUnlockRunning = new SparseBooleanArray();
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionMenuPresenter.java41 import android.util.SparseBooleanArray;
74 private final SparseBooleanArray mActionButtonGroups = new SparseBooleanArray();
463 final SparseBooleanArray seenGroups = mActionButtonGroups; in flagActionItems()
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
DPalette.java30 import android.util.SparseBooleanArray;
150 private final SparseBooleanArray mUsedColors;
158 mUsedColors = new SparseBooleanArray(); in Palette()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java30 import android.util.SparseBooleanArray;
508 private final SparseBooleanArray mActiveSensors = new SparseBooleanArray();

123