/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/util/ |
D | ArrayUtilsTest.java | 38 assertThat(ArrayUtils.equals(array1, array2, 2)).isTrue(); in testEquals() 39 assertThat(ArrayUtils.equals(array1, array2, 3)).isFalse(); in testEquals() 45 assertThat(ArrayUtils.equals(array1, array1, 2)).isTrue(); in testEqualsSameArray() 51 assertThat(ArrayUtils.equals(array1, null, 2)).isFalse(); in testEqualsNull() 52 assertThat(ArrayUtils.equals(null, array1, 2)).isFalse(); in testEqualsNull() 59 assertThat(ArrayUtils.equals(array1, array2, 4)).isFalse(); in testEqualsLengthTooSmall() 66 () -> ArrayUtils.equals(array1, array1, -1)); in testEqualsNegativeLength() 71 Integer[] array1 = ArrayUtils.emptyArray(Integer.class); in testEmptyArray() 73 Integer[] array2 = ArrayUtils.emptyArray(Integer.class); in testEmptyArray() 74 Float[] array3 = ArrayUtils.emptyArray(Float.class); in testEmptyArray() [all …]
|
/packages/services/Car/car-lib/src/com/android/car/internal/util/ |
D | LongArray.java | 59 mValues = ArrayUtils.newUnpaddedLongArray(initialCapacity); in LongArray() 110 ArrayUtils.checkBounds(mSize, index); in add() 141 final long[] newValues = ArrayUtils.newUnpaddedLongArray(newCapacity); in ensureCapacity() 170 ArrayUtils.checkBounds(mSize, index); in get() 178 ArrayUtils.checkBounds(mSize, index); in set() 200 ArrayUtils.checkBounds(mSize, index); in remove()
|
D | IntArray.java | 106 ArrayUtils.checkBounds(mSize, index); in add() 190 ArrayUtils.checkBounds(mSize, index); in get() 198 ArrayUtils.checkBounds(mSize, index); in set() 220 ArrayUtils.checkBounds(mSize, index); in remove()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowRestrictedLockUtilsInternal.java | 22 import com.android.internal.util.ArrayUtils; 56 if (ArrayUtils.contains(sRestrictedPkgs, packageName)) { in checkIfMeteredDataRestricted() 72 if (ArrayUtils.contains(sDisabledTypes, accountType)) { in checkIfAccountManagementDisabled()
|
/packages/services/Car/car-lib/src/android/car/user/ |
D | UserIdentificationAssociationResponse.java | 28 import com.android.car.internal.util.ArrayUtils; 109 Preconditions.checkArgument(!ArrayUtils.isEmpty(values), "must have at least one value"); in forSuccess() 121 Preconditions.checkArgument(!ArrayUtils.isEmpty(values), "must have at least one value"); in forSuccess()
|
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/ble/testing/ |
D | FastPairTestData.java | 19 import com.android.server.nearby.util.ArrayUtils; 52 modelId.length == 3 ? modelId : ArrayUtils.concatByteArrays(new byte[] {header}, in newFastPairRecord()
|
/packages/modules/Permission/service/java/com/android/permission/util/ |
D | ArrayUtils.java | 26 public final class ArrayUtils { class 27 private ArrayUtils() {} in ArrayUtils() method in ArrayUtils
|
/packages/modules/Uwb/service/java/com/android/server/uwb/util/ |
D | ArrayUtils.java | 27 public class ArrayUtils { class 28 private ArrayUtils() { /* cannot be instantiated */ } in ArrayUtils() method in ArrayUtils
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | ArrayUtils.java | 25 public final class ArrayUtils { class 26 private ArrayUtils() { /* cannot be instantiated */ } in ArrayUtils() method in ArrayUtils
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | WifiControlPreferenceController.java | 26 import com.android.internal.util.ArrayUtils; 46 return !ArrayUtils.contains(
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicensesPreferenceController.java | 26 import com.android.internal.util.ArrayUtils; 67 return ArrayUtils.contains( in test()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryUtils.java | 45 import com.android.internal.util.ArrayUtils; 284 return ArrayUtils.isEmpty(packageNames) ? null : packageNames[0]; in getPackageName() 497 if (ArrayUtils.isEmpty(packageNames)) { in isPreOApp() 516 if (ArrayUtils.isEmpty(packageNames)) { in shouldHideAnomaly() 569 if (ArrayUtils.contains(packageNames, resolveInfo.activityInfo.packageName)) { in hasLauncherEntry()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/info/ |
D | ChannelPowerInfo.java | 21 import com.android.server.uwb.util.ArrayUtils; 51 if (ArrayUtils.isEmpty(bytes)) { in fromBytes()
|
D | VendorSpecificData.java | 24 import com.android.server.uwb.util.ArrayUtils; 57 if (ArrayUtils.isEmpty(bytes)) { in fromBytes()
|
D | FiraProfileSupportInfo.java | 23 import com.android.server.uwb.util.ArrayUtils; 88 if (ArrayUtils.isEmpty(bytes)) { in fromBytes()
|
/packages/apps/Car/Settings/src/com/android/car/settings/location/ |
D | LocationRecentAccessUtil.java | 25 import com.android.internal.util.ArrayUtils; 49 if (ArrayUtils.contains( in createAppPreference()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/ |
D | NfcFeatureFlagTest.java | 32 import com.android.internal.util.ArrayUtils; 71 if (TextUtils.isEmpty(sku) || !ArrayUtils.contains(skuList, sku)) { in testIsSecureNfcSupported()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ArrayUtils.java | 27 public class ArrayUtils { class 28 private ArrayUtils() { /* cannot be instantiated */ } in ArrayUtils() method in ArrayUtils
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothUnbondedDevicesPreferenceController.java | 28 import com.android.internal.util.ArrayUtils; 97 && ArrayUtils.contains( in matches()
|
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/ |
D | InCallModelTest.java | 40 import com.android.internal.util.ArrayUtils; 210 assertTrue(ArrayUtils.contains(mInCallModel.getMuteButtonDrawableState(), in updateMuteButtonIconState_outOfSync_updatesIconState() 220 assertFalse(ArrayUtils.contains(mInCallModel.getMuteButtonDrawableState(), in updateMuteButtonIconState_outOfSync_updatesIconState()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AppStateChangeWifiStateBridge.java | 23 import com.android.internal.util.ArrayUtils; 95 if (ArrayUtils.contains(requestedPermissions, PM_NETWORK_SETTINGS)) {
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/audio/ |
D | InCallModel.java | 54 import com.android.internal.util.ArrayUtils; 252 boolean selectedStateExists = ArrayUtils.contains(iconState, in updateMuteButtonIconState() 261 iconState = ArrayUtils.appendInt(iconState, in updateMuteButtonIconState() 264 iconState = ArrayUtils.removeInt(iconState, in updateMuteButtonIconState()
|
/packages/apps/Settings/src/com/android/settings/datausage/lib/ |
D | DataUsageLib.java | 29 import com.android.internal.util.ArrayUtils; 70 if (ArrayUtils.isEmpty(mergedSubscriberIds)) { in getNormalizedMobileTemplate()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/discovery/ble/ |
D | DiscoveryAdvertisement.java | 27 import com.android.server.uwb.util.ArrayUtils; 106 if (ArrayUtils.isEmpty(serviceData)) { in fromBytes() 208 if (!ArrayUtils.isEmpty(manufacturerSpecificData)) { in fromBytes()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/ |
D | AppOpPermissions.java | 27 import com.android.permissioncontroller.permission.utils.ArrayUtils; 55 if (!ArrayUtils.contains(packageInfo.requestedPermissions, appOpPermission)) { in grant()
|