Home
last modified time | relevance | path

Searched refs:added (Results 1 – 25 of 100) sorted by relevance

1234

/frameworks/base/services/core/jni/
Dcom_android_server_am_BatteryStatsService.cpp438 int added = snprintf(offset, remaining, in getPowerStatsHalPlatformData() local
444 if (added < 0) { in getPowerStatsHalPlatformData()
447 if (added > remaining) { in getPowerStatsHalPlatformData()
448 added = remaining; in getPowerStatsHalPlatformData()
450 offset += added; in getPowerStatsHalPlatformData()
451 remaining -= added; in getPowerStatsHalPlatformData()
452 total_added += added; in getPowerStatsHalPlatformData()
495 int added = snprintf(offset, remaining, "SubsystemPowerState "); in getPowerStatsHalSubsystemData() local
496 offset += added; in getPowerStatsHalSubsystemData()
497 remaining -= added; in getPowerStatsHalSubsystemData()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DLongArrayQueueTest.java171 final int added = 1200; in sizeAfterOperations() local
172 for (int i = 0; i < added; i++) { in sizeAfterOperations()
176 assertEquals(added, mQueueUnderTest.size()); in sizeAfterOperations()
180 assertEquals(added, mQueueUnderTest.size()); in sizeAfterOperations()
186 assertEquals(added - removed, mQueueUnderTest.size()); in sizeAfterOperations()
226 int added = 423; in getValidPositions() local
228 for (int i = 0; i < added; i++) { in getValidPositions()
234 for (int i = 0; i < (added - removed); i++) { in getValidPositions()
/frameworks/libs/net/common/framework/android/net/util/
DLinkPropertiesUtils.java45 public final List<T> added = new ArrayList<>(); field in LinkPropertiesUtils.CompareResult
56 added.add(newItem); in CompareResult()
65 + "] added=[" + TextUtils.join(",", added) in toString()
81 public final List<T> added = new ArrayList<>(); field in LinkPropertiesUtils.CompareOrUpdateResult
111 added.add(newItem); in CompareOrUpdateResult()
122 + "] added=[" + TextUtils.join(",", added) in toString()
/frameworks/base/services/core/java/com/android/server/location/
DGnssGeofenceProvider.java53 boolean added = mNative.addGeofence(entry.geofenceId, entry.latitude, in resumeIfStarted()
58 if (added && entry.paused) { in resumeIfStarted()
77 boolean added = mNative.addGeofence(geofenceId, latitude, longitude, radius, in addCircularHardwareGeofence()
80 if (added) { in addCircularHardwareGeofence()
92 return added; in addCircularHardwareGeofence()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupManager.java144 public void onEntryAdded(final NotificationEntry added) { in onEntryAdded() argument
145 if (added.isRowRemoved()) { in onEntryAdded()
146 added.setDebugThrowable(new Throwable()); in onEntryAdded()
148 final StatusBarNotification sbn = added.notification; in onEntryAdded()
160 NotificationEntry existing = group.children.get(added.key); in onEntryAdded()
161 if (existing != null && existing != added) { in onEntryAdded()
163 Log.wtf(TAG, "Inconsistent entries found with the same key " + added.key in onEntryAdded()
167 + " added removed" + added.isRowRemoved() in onEntryAdded()
170 group.children.put(added.key, added); in onEntryAdded()
173 group.summary = added; in onEntryAdded()
[all …]
/frameworks/base/tools/preload/
DPrintHtmlDiff.java53 Set<LoadedClass> added = new TreeSet<LoadedClass>(); in main() local
57 added.add(loadedClass); in main()
66 added.remove(clazz); in main()
81 printTable(out, root.baseline, added); in main()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DRawBatteryStats.java127 int added() default 0; in added() method
514 FieldSetter(int index, int added, java.lang.reflect.Field field) { in FieldSetter() argument
516 mAdded = added; in FieldSetter()
560 IntFieldSetter(int index, int added, java.lang.reflect.Field field) { in IntFieldSetter() argument
561 super(index, added, field); in IntFieldSetter()
600 LongFieldSetter(int index, int added, java.lang.reflect.Field field) { in LongFieldSetter() argument
601 super(index, added, field); in LongFieldSetter()
640 StringFieldSetter(int index, int added, java.lang.reflect.Field field) { in StringFieldSetter() argument
641 super(index, added, field); in StringFieldSetter()
677 EnumFieldSetter(int index, int added, java.lang.reflect.Field field) { in EnumFieldSetter() argument
[all …]
/frameworks/av/media/libmedia/include/media/
DPatchBuilder.h74 audio_port_config* added = advance(); in add() local
75 entity->toAudioPortConfig(added); in add()
76 return *added; in add()
/frameworks/native/opengl/specs/
DEGL_ANDROID_native_fence_sync.txt87 Objects), added by KHR_fence_sync
112 Modify Section 3.8.1 (Sync Objects), added by KHR_fence_sync, starting at
148 added by KHR_fence_sync
180 Modify table 3.cc in Section 3.8.1 (Sync Objects), added by KHR_fence_sync
192 3.8.1 (Sync Objects), added by KHR_fence_sync
201 Objects), added by KHR_fence_sync
230 RESOLVED: A new sync object type will be added.
237 that might be added for fence sync objects, but there may be things that
238 get added that don't make sense in the context of native fence objects.
255 it's called seems wrong, so a new function was added to explicitly dup the
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java163 void tempPowerSaveWlChanged(int appId, boolean added) { in tempPowerSaveWlChanged() argument
165 if (LOGV) Slog.v(TAG, getTempPowerSaveWlChangedLog(appId, added)); in tempPowerSaveWlChanged()
166 mEventsBuffer.tempPowerSaveWlChanged(appId, added); in tempPowerSaveWlChanged()
278 private static String getTempPowerSaveWlChangedLog(int appId, boolean added) { in getTempPowerSaveWlChangedLog() argument
279 return "temp-power-save whitelist for " + appId + " changed to: " + added; in getTempPowerSaveWlChangedLog()
445 public void tempPowerSaveWlChanged(int appId, boolean added) { in tempPowerSaveWlChanged() argument
452 data.bfield1 = added; in tempPowerSaveWlChanged()
DNetworkPolicyManagerInternal.java81 public abstract void onTempPowerSaveWhitelistChange(int appId, boolean added); in onTempPowerSaveWhitelistChange() argument
/frameworks/av/media/bufferpool/1.0/
DClientManager.cpp59 uint64_t getCookie(const sp<IClientManager> &manager, bool *added);
71 bool *added) { in getCookie() argument
77 *added = false; in getCookie()
86 *added = true; in getCookie()
250 bool added; in registerSender() local
251 uint64_t cookie = mRemoteClientCookies.getCookie(receiver, &added); in registerSender()
253 if (added) { in registerSender()
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java248 public boolean added; field in ProcessCpuTracker.Stats
298 if (sta.added != stb.added) {
299 return sta.added ? -1 : 1;
302 return sta.added ? -1 : 1;
446 st.added = false; in collectStats()
572 st.added = true; in collectStats()
801 printProcessCPU(pw, st.added ? " +" : (st.removed ? " -": " "),
809 tst.added ? " +" : (tst.removed ? " -": " "),
/frameworks/base/core/java/android/app/
DBackStackRecord.java892 Fragment expandOps(ArrayList<Fragment> added, Fragment oldPrimaryNav) { in expandOps() argument
898 added.add(op.fragment); in expandOps()
902 added.remove(op.fragment); in expandOps()
914 for (int i = added.size() - 1; i >= 0; i--) { in expandOps()
915 final Fragment old = added.get(i); in expandOps()
933 added.remove(old); in expandOps()
943 added.add(f); in expandOps()
968 void trackAddedFragmentsInPop(ArrayList<Fragment> added) { in trackAddedFragmentsInPop() argument
974 added.remove(op.fragment); in trackAddedFragmentsInPop()
978 added.add(op.fragment); in trackAddedFragmentsInPop()
/frameworks/av/media/bufferpool/2.0/
DClientManager.cpp61 uint64_t getCookie(const sp<IClientManager> &manager, bool *added);
73 bool *added) { in getCookie() argument
79 *added = false; in getCookie()
88 *added = true; in getCookie()
258 bool added; in registerSender() local
259 uint64_t cookie = mRemoteClientCookies.getCookie(receiver, &added); in registerSender()
261 if (added) { in registerSender()
/frameworks/libs/net/common/tests/unit/src/android/net/util/
DLinkPropertiesUtilsTest.java178 assertEquals(0, results.added.size()); in testCompareAddresses()
184 assertEquals(0, results.added.size()); in testCompareAddresses()
192 assertEquals(linkAddr2, results.added.get(0)); in testCompareAddresses()
206 assertSameElements(expectedAdded, result.added); in assertCompareOrUpdateResult()
/frameworks/base/core/java/android/net/
DINetdEventCallback.aidl58 void onNat64PrefixEvent(int netId, boolean added, @utf8InCpp String prefixString, in onNat64PrefixEvent() argument
/frameworks/base/core/java/com/android/server/net/
DBaseNetdEventCallback.java35 public void onNat64PrefixEvent(int netId, boolean added, String prefixString, in onNat64PrefixEvent() argument
/frameworks/base/services/core/java/com/android/server/hdmi/
DHotplugDetectionAction.java178 BitSet added = complement(polledResult, currentInfos); in checkHotplug() local
180 while ((index = added.nextSetBit(index + 1)) != -1) { in checkHotplug()
/frameworks/compile/slang/lit-tests/P_ref_count/
Dfunc_params.rscript4 // Check rsSetObject() calls are properly added.
20 // Check rsClearObject() calls are properly added.
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java125 boolean added = false; in addCallback()
130 added = true; in addCallback()
135 if (added) mCallbacks.add(callback); in addCallback()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp202 bool added = false; in add() local
205 added = true; in add()
208 if (added) { in add()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DREADME.txt14 A related change was in DataConnectionAc I added code that
49 "setprop" for the current boot, or added to local.prop to persist
DDcController.java378 for (LinkAddress added : car.added) { in onDataStateChanged()
382 added.getAddress())) { in onDataStateChanged()
/frameworks/native/opengl/tests/testViewport/
DREADME27 NOTE: If a gl.glViewport call is added at the beginning of the onDrawFrame()

1234