/frameworks/base/core/java/android/net/metrics/ |
D | DnsEvent.java | 78 eventTypes = Arrays.copyOf(eventTypes, newLength); in resize() 79 returnCodes = Arrays.copyOf(returnCodes, newLength); in resize() 80 latenciesMs = Arrays.copyOf(latenciesMs, newLength); in resize()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | GrowingArrayUtilsTest.java | 126 assertArrayEquals(expected, Arrays.copyOf(actual, expected.length)); in assertArrayEqualsPrefix() 130 assertArrayEquals(expected, Arrays.copyOf(actual, expected.length)); in assertArrayEqualsPrefix() 134 assertArrayEquals(expected, Arrays.copyOf(actual, expected.length)); in assertArrayEqualsPrefix() 138 assertArrayEquals(expected, Arrays.copyOf(actual, expected.length)); in assertArrayEqualsPrefix()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | VpnConfig.java | 122 addresses = copyOf(other.addresses); in VpnConfig() 123 routes = copyOf(other.routes); in VpnConfig() 124 dnsServers = copyOf(other.dnsServers); in VpnConfig() 125 searchDomains = copyOf(other.searchDomains); in VpnConfig() 126 allowedApplications = copyOf(other.allowedApplications); in VpnConfig() 127 disallowedApplications = copyOf(other.disallowedApplications); in VpnConfig() 138 underlyingNetworks = other.underlyingNetworks != null ? Arrays.copyOf( in VpnConfig() 143 private static <T> List<T> copyOf(List<T> list) { in copyOf() method in VpnConfig
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | BrightnessConfigurationTest.java | 71 float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length); in testCurveMustHaveZeroLuxPoint() 89 float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length + 1); in testCurveMustNotHaveArraysOfDifferentLengths() 95 float[] nits = Arrays.copyOf(NITS_LEVELS, NITS_LEVELS.length + 1); in testCurveMustNotHaveArraysOfDifferentLengths() 104 float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length); in testCurvesMustNotContainNaN() 110 float[] nits = Arrays.copyOf(NITS_LEVELS, NITS_LEVELS.length); in testCurvesMustNotContainNaN() 202 float[] lux = Arrays.copyOf(LUX_LEVELS, LUX_LEVELS.length); in testEquals() 213 float[] nits = Arrays.copyOf(NITS_LEVELS, NITS_LEVELS.length); in testEquals()
|
D | AmbientBrightnessDayStatsTest.java | 66 float[] stats = Arrays.copyOf(STATS, STATS.length + 1); in testStatsAndBoundariesMustHaveSameLength() 139 float[] differentStats = Arrays.copyOf(STATS, STATS.length); in testAmbientBrightnessDayStatsEquals() 146 float[] differentBucketBoundaries = Arrays.copyOf(BUCKET_BOUNDARIES, in testAmbientBrightnessDayStatsEquals()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | PersistAtomsStorageTest.java | 2042 CellularServiceState newServiceState1Proto = copyOf(mServiceState1Proto); in addCellularServiceStateAndCellularDataServiceSwitch_updateExistingEntries() 2043 CellularDataServiceSwitch newServiceSwitch1Proto = copyOf(mServiceSwitch1Proto); in addCellularServiceStateAndCellularDataServiceSwitch_updateExistingEntries() 2047 copyOf(mServiceState1Proto), copyOf(mServiceSwitch1Proto)); in addCellularServiceStateAndCellularDataServiceSwitch_updateExistingEntries() 2091 copyOf(state), copyOf(serviceSwitch)); in addCellularServiceStateAndCellularDataServiceSwitch_tooManyServiceStates() 2209 mPersistAtomsStorage.addImsRegistrationStats(copyOf(mImsRegistrationStatsLte0)); in addImsRegistrationStats_emptyProto() 2223 mPersistAtomsStorage.addImsRegistrationStats(copyOf(mImsRegistrationStatsLte0)); in addImsRegistrationStats_withExistingEntries() 2225 mPersistAtomsStorage.addImsRegistrationStats(copyOf(mImsRegistrationStatsWifi0)); in addImsRegistrationStats_withExistingEntries() 2241 mPersistAtomsStorage.addImsRegistrationStats(copyOf(mImsRegStatsRegisteringLte0)); in addImsRegistrationStats_withExistingRegisteringEntries() 2256 ImsRegistrationStats newImsRegistrationStatsLte0 = copyOf(mImsRegStatsUnregisteredLte0); in addImsRegistrationStats_updateExistingEntries() 2259 mPersistAtomsStorage.addImsRegistrationStats(copyOf(mImsRegStatsUnregisteredLte0)); in addImsRegistrationStats_updateExistingEntries() [all …]
|
/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubMessage.java | 69 return Arrays.copyOf(mData, mData.length); in getData() 96 mData = Arrays.copyOf(data, data.length); in setMsgData() 109 mData = Arrays.copyOf(data, data.length); in ContextHubMessage()
|
/frameworks/base/core/java/android/view/textservice/ |
D | SentenceSuggestionsInfo.java | 54 mSuggestionsInfos = Arrays.copyOf(suggestionsInfos, infoSize); in SentenceSuggestionsInfo() 55 mOffsets = Arrays.copyOf(offsets, infoSize); in SentenceSuggestionsInfo() 56 mLengths = Arrays.copyOf(lengths, infoSize); in SentenceSuggestionsInfo()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | AppList.java | 77 result.mAllApps = ImmutableList.copyOf(allApps); in build() 78 result.mRegularApps = ImmutableList.copyOf(regularApps); in build() 79 result.mSpecialApps = ImmutableMap.copyOf(specialApps); in build()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | DrawView.java | 105 ret = new Region(Arrays.copyOf(defaultPath, defaultPath.length), img); in getRegion() 107 ret = new Region(Arrays.copyOf(path, len), img); in getRegion() 131 path = Arrays.copyOf(path, 2 * (len + size * 2)); in movePoint() 143 path = Arrays.copyOf(path, 2 * (len + 2)); in upPoint()
|
/frameworks/base/core/java/android/app/ |
D | GameModeInfo.java | 170 mAvailableGameModes = Arrays.copyOf(availableGameModes, availableGameModes.length); in GameModeInfo() 171 mOverriddenGameModes = Arrays.copyOf(overriddenGameModes, overriddenGameModes.length); in GameModeInfo() 209 return Arrays.copyOf(mAvailableGameModes, mAvailableGameModes.length); in getAvailableGameModes() 219 return Arrays.copyOf(mOverriddenGameModes, mOverriddenGameModes.length); in getOverriddenGameModes()
|
D | AppCompatCallbacks.java | 48 mDisabledChanges = Arrays.copyOf(disabledChanges, disabledChanges.length); in AppCompatCallbacks() 49 mLoggableChanges = Arrays.copyOf(loggableChanges, loggableChanges.length); in AppCompatCallbacks()
|
/frameworks/base/media/java/android/media/ |
D | RouteDiscoveryPreference.java | 290 mPackageOrder = List.copyOf(preference.mPackageOrder); in Builder() 293 mPreferredFeatures = List.copyOf(preferredFeatures); in Builder() 294 mAllowedPackages = List.copyOf(allowedPackages); in Builder() 325 mAllowedPackages = List.copyOf(allowedPackages); in setAllowedPackages() 357 mPackageOrder = List.copyOf(packageOrder); in setDeduplicationPackageOrder()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/ |
D | ModemProfile.java | 44 return Arrays.copyOf(txMa, txMa.length); in getTxMa() 74 mTxMa = Arrays.copyOf(value, value.length); in setTxMa()
|
D | CpuProfile.java | 67 mCoreCount = Arrays.copyOf(value, value.length); in setCoreCount() 75 mCoreSpeeds.put(cluster, Arrays.copyOf(value, value.length)); in setCoreSpeeds() 91 mCorePower.put(cluster, Arrays.copyOf(value, value.length)); in setCorePower()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | EntropyMixerTest.java | 106 byte[] firstPartWritten = Arrays.copyOf(dataWrittenToUrandom, SEED_FILE_SIZE); in testInitNonFirstBoot() 131 byte[] firstPart = Arrays.copyOf(newSeed, unhashedLen); in validateSeedFile() 133 byte[] firstPartInjected = Arrays.copyOf(urandomInjectedData, unhashedLen); in validateSeedFile()
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | DrawView.java | 97 Region ret = new Region(Arrays.copyOf(path, len), img); in getRegion() 120 path = Arrays.copyOf(path, 2 * (len + size * 2)); in movePoint() 132 path = Arrays.copyOf(path, 2 * (len + 2)); in upPoint()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/ |
D | RecoverySessionStorageTest.java | 164 return Arrays.copyOf(TEST_LSKF_HASH, TEST_LSKF_HASH.length); in lskfHashFixture() 168 return Arrays.copyOf(TEST_KEY_CLAIMANT, TEST_KEY_CLAIMANT.length); in keyClaimantFixture() 172 return Arrays.copyOf(TEST_VAULT_PARAMS, TEST_VAULT_PARAMS.length); in vaultParamsFixture()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | DataCallSessionStats.java | 197 mDataCallSession.handoverFailureCauses = Arrays.copyOf( in onHandoverFailure() 201 mDataCallSession.handoverFailureRat = Arrays.copyOf(handoverFailureRats, in onHandoverFailure() 248 DataCallSession call = copyOf(mDataCallSession); in conclude() 284 private static DataCallSession copyOf(DataCallSession call) { in copyOf() method in DataCallSessionStats 304 copy.handoverFailureCauses = Arrays.copyOf(call.handoverFailureCauses, in copyOf() 306 copy.handoverFailureRat = Arrays.copyOf(call.handoverFailureRat, in copyOf()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | TonemapCurve.java | 124 mRed = Arrays.copyOf(red, red.length); in TonemapCurve() 125 mGreen = Arrays.copyOf(green, green.length); in TonemapCurve() 126 mBlue = Arrays.copyOf(blue, blue.length); in TonemapCurve()
|
/frameworks/base/core/java/android/telephony/ |
D | SubscriptionPlan.java | 97 this.networkTypes = Arrays.copyOf(TelephonyManager.getAllNetworkTypes(), in SubscriptionPlan() 228 return Arrays.copyOf(networkTypes, networkTypes.length); in getNetworkTypes() 372 plan.networkTypes = Arrays.copyOf(networkTypes, networkTypes.length); in setNetworkTypes() 381 plan.networkTypes = Arrays.copyOf(TelephonyManager.getAllNetworkTypes(), in resetNetworkTypes()
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Cube.java | 52 mVert = Arrays.copyOf(src.mVert, src.mVert.length); in clone() 53 mIndex = Arrays.copyOf(src.mIndex, src.mIndex.length); in clone()
|
D | TriData.java | 59 mVert = Arrays.copyOf(clone.mVert, clone.mVert.length); in TriData() 60 mIndex = Arrays.copyOf(clone.mIndex, clone.mIndex.length); in TriData()
|
/frameworks/base/services/companion/java/com/android/server/companion/transport/ |
D | CryptoManager.java | 53 mPreSharedKey = Arrays.copyOf(new byte[0], SECRET_KEY_LENGTH); in CryptoManager() 55 mPreSharedKey = Arrays.copyOf(preSharedKey, SECRET_KEY_LENGTH); in CryptoManager()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SnapshotStatistics.java | 173 mUserKey = Arrays.copyOf(userKey, userKey.length); in BinMap() 327 mTimes = Arrays.copyOf(orig.mTimes, orig.mTimes.length); in Stats() 328 mUsed = Arrays.copyOf(orig.mUsed, orig.mUsed.length); in Stats() 649 l = Arrays.copyOf(mLong, mLong.length); in dump() 651 s = Arrays.copyOf(mShort, mShort.length); in dump()
|