Home
last modified time | relevance | path

Searched refs:newList (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/util/
DMediaDiffUtilTest.kt43 val newList = listOf(mediaControl) in <lambda>() constant
44 val mediaLoadedCallback = MediaViewModelCallback(oldList, newList) in <lambda>()
48 newList, in <lambda>()
62 val newList = listOf(mediaRecs) in <lambda>() constant
63 val mediaLoadedCallback = MediaViewModelCallback(oldList, newList) in <lambda>()
67 newList, in <lambda>()
81 val newList = listOf(mediaControl.copy(immediatelyUpdateUi = false)) in <lambda>() constant
82 val mediaLoadedCallback = MediaViewModelCallback(oldList, newList) in <lambda>()
86 newList, in <lambda>()
100 val newList = listOf(mediaRecs.copy(key = KEY_MEDIA_SMARTSPACE_2)) in <lambda>() constant
[all …]
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsUidResolver.java76 List<Listener> newList = new ArrayList<>(mListeners); in addListener() local
77 newList.add(listener); in addListener()
78 mListeners = Collections.unmodifiableList(newList); in addListener()
87 List<Listener> newList = new ArrayList<>(mListeners); in removeListener() local
88 newList.remove(listener); in removeListener()
89 mListeners = Collections.unmodifiableList(newList); in removeListener()
DPowerStatsCollector.java100 List<Consumer<PowerStats>> newList = new ArrayList<>(mConsumerList); in addConsumer() local
101 newList.add(consumer); in addConsumer()
102 mConsumerList = Collections.unmodifiableList(newList); in addConsumer()
113 List<Consumer<PowerStats>> newList = new ArrayList<>(mConsumerList); in removeConsumer() local
114 newList.remove(consumer); in removeConsumer()
115 mConsumerList = Collections.unmodifiableList(newList); in removeConsumer()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/dataservice/
DDataServiceUtils.java30 public static <T> boolean shouldUpdateEntityList(List<T> oldList, List<T> newList) { in shouldUpdateEntityList() argument
32 (newList.isEmpty() || !newList.equals(oldList))) in shouldUpdateEntityList()
33 || (!newList.isEmpty() && oldList == null)) { in shouldUpdateEntityList()
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DLockTargetStateAnalysis.java102 List<LockTarget> newList = new ArrayList<>(state1.getTargets()); in merge() local
104 if (!newList.contains(otherTarget)) { in merge()
105 newList.add(otherTarget); in merge()
109 return new LockTargetState(base.getType(), newList); in merge()
/frameworks/base/services/core/java/com/android/server/media/metrics/
DMediaMetricsManagerService.java131 List<String> newList = getListLocked(PLAYER_METRICS_APP_ALLOWLIST); in updateConfigs() local
132 if (newList != null || mMode != MEDIA_METRICS_MODE_ALLOWLIST) { in updateConfigs()
135 mAllowlist = newList; in updateConfigs()
137 newList = getListLocked(PLAYER_METRICS_PER_APP_ATTRIBUTION_ALLOWLIST); in updateConfigs()
138 if (newList != null || mMode != MEDIA_METRICS_MODE_ALLOWLIST) { in updateConfigs()
139 mNoUidAllowlist = newList; in updateConfigs()
141 newList = getListLocked(PLAYER_METRICS_APP_BLOCKLIST); in updateConfigs()
142 if (newList != null || mMode != MEDIA_METRICS_MODE_BLOCKLIST) { in updateConfigs()
143 mBlockList = newList; in updateConfigs()
145 newList = getListLocked(PLAYER_METRICS_PER_APP_ATTRIBUTION_BLOCKLIST); in updateConfigs()
[all …]
/frameworks/av/media/libstagefright/
DMediaExtractorFactory.cpp286 std::shared_ptr<std::list<sp<ExtractorPlugin>>> newList(new std::list<sp<ExtractorPlugin>>()); in LoadExtractors() local
298 "/extractors", &dlextinfo, *newList); in LoadExtractors()
308 "/extractors", NULL, *newList); in LoadExtractors()
314 "/extractors", NULL, *newList); in LoadExtractors()
316 newList->sort(compareFunc); in LoadExtractors()
317 gPlugins = newList; in LoadExtractors()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java269 List<ProcessErrorStateInfo> newList = new ArrayList<ProcessErrorStateInfo>(errList.size()); in reportWrappedListContents() local
271 newList.add(err.info); in reportWrappedListContents()
273 return reportListContents(newList); in reportWrappedListContents()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java692 List<Sensor> oldList, List<Sensor> newList, List<Sensor> updated, in diffSortedSensorList() argument
699 if (j < oldList.size() && (i >= newList.size() in diffSortedSensorList()
700 || newList.get(i).getHandle() > oldList.get(j).getHandle())) { in diffSortedSensorList()
706 } else if (i < newList.size() && (j >= oldList.size() in diffSortedSensorList()
707 || newList.get(i).getHandle() < oldList.get(j).getHandle())) { in diffSortedSensorList()
710 added.add(newList.get(i)); in diffSortedSensorList()
713 updated.add(newList.get(i)); in diffSortedSensorList()
716 } else if (i < newList.size() && j < oldList.size() in diffSortedSensorList()
717 && newList.get(i).getHandle() == oldList.get(j).getHandle()) { in diffSortedSensorList()
/frameworks/base/core/tests/coretests/src/android/os/
DPackageTagsListTest.java154 PackageTagsList newList = PackageTagsList.CREATOR.createFromParcel(parcel); in testWriteToParcel() local
157 assertEquals(list, newList); in testWriteToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/shared/logging/
DQSPipelineLogger.kt86 newList: List<TileSpec>, in logProcessTileChange()
94 str2 = newList.toString() in logProcessTileChange()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiUtils.java307 List<T> newList = new ArrayList<>(); in mergeToUnmodifiableList() local
308 newList.addAll(a); in mergeToUnmodifiableList()
309 newList.addAll(b); in mergeToUnmodifiableList()
310 return Collections.unmodifiableList(newList); in mergeToUnmodifiableList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java277 List<CachedBluetoothDevice> newList = status.getConnectedDevices(); in onConnectionStatusFetched() local
281 mConnectedDevices.addAll(newList); in onConnectionStatusFetched()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java12239 List<String> newList = updateTelephonyProperty( in setSimOperatorNumericForPhone() local
12241 TelephonyProperties.icc_operator_numeric(newList); in setSimOperatorNumericForPhone()
12253 List<String> newList = updateTelephonyProperty( in setSimOperatorNameForPhone() local
12255 TelephonyProperties.icc_operator_alpha(newList); in setSimOperatorNameForPhone()
12277 List<String> newList = updateTelephonyProperty( in setSimCountryIsoForPhone() local
12279 TelephonyProperties.icc_operator_iso_country(newList); in setSimCountryIsoForPhone()
12301 List<String> newList = updateTelephonyProperty( in setSimStateForPhone() local
12303 TelephonyProperties.sim_state(newList); in setSimStateForPhone()
12517 List<String> newList = updateTelephonyProperty( in setBasebandVersionForPhone() local
12519 TelephonyProperties.baseband_version(newList); in setBasebandVersionForPhone()
[all …]
DServiceState.java2007 List<NetworkRegistrationInfo> newList = new ArrayList<>(); in getNetworkRegistrationInfoList() local
2009 newList.add(new NetworkRegistrationInfo(nri)); in getNetworkRegistrationInfoList()
2011 return newList; in getNetworkRegistrationInfoList()
/frameworks/base/core/java/com/android/internal/app/
DChooserListAdapter.java387 protected void onPostExecute(List<DisplayResolveInfo> newList) { in updateAlphabeticalList() argument
388 mSortedList = newList; in updateAlphabeticalList()
/frameworks/native/opengl/libs/EGL/
Degl_platform_entries.cpp575 void convertAttribs(const EGLAttrib* attribList, std::vector<EGLint>& newList) { in convertAttribs() argument
577 newList.push_back(static_cast<EGLint>(attr[0])); in convertAttribs()
578 newList.push_back(static_cast<EGLint>(attr[1])); in convertAttribs()
580 newList.push_back(EGL_NONE); in convertAttribs()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java1504 public void enforceShortcutCountsBeforeOperation(List<ShortcutInfo> newList, in enforceShortcutCountsBeforeOperation() argument
1520 for (int i = newList.size() - 1; i >= 0; i--) { in enforceShortcutCountsBeforeOperation()
1521 final ShortcutInfo newShortcut = newList.get(i); in enforceShortcutCountsBeforeOperation()
DShortcutService.java5469 List<ShortcutInfo> newList, List<ShortcutInfo> deletedList, final ShortcutPackage ps) {
5474 addShortcutIdsToSet(newIds, newList);
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java126 final List<AdiDeviceState> newList; in getImmutableDeviceInventory() local
128 newList = new ArrayList<>(mDeviceInventory.values()); in getImmutableDeviceInventory()
130 return newList; in getImmutableDeviceInventory()
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...