Home
last modified time | relevance | path

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

12345

/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/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.java139 public void onEntryAdded(final NotificationEntry added) { in onEntryAdded() argument
140 if (added.isRowRemoved()) { in onEntryAdded()
141 added.setDebugThrowable(new Throwable()); in onEntryAdded()
143 final StatusBarNotification sbn = added.notification; in onEntryAdded()
155 NotificationEntry existing = group.children.get(added.key); in onEntryAdded()
156 if (existing != null && existing != added) { in onEntryAdded()
158 Log.wtf(TAG, "Inconsistent entries found with the same key " + added.key in onEntryAdded()
162 + " added removed" + added.isRowRemoved() in onEntryAdded()
165 group.children.put(added.key, added); in onEntryAdded()
168 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/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/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/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.java79 public abstract void onTempPowerSaveWhitelistChange(int appId, boolean added); in onTempPowerSaveWhitelistChange() argument
/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/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.java243 public boolean added; field in ProcessCpuTracker.Stats
293 if (sta.added != stb.added) {
294 return sta.added ? -1 : 1;
297 return sta.added ? -1 : 1;
441 st.added = false; in collectStats()
567 st.added = true; in collectStats()
796 printProcessCPU(pw, st.added ? " +" : (st.removed ? " -": " "),
804 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/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/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java123 boolean added = false; in addCallback()
128 added = true; in addCallback()
133 if (added) mCallbacks.add(callback); in addCallback()
/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/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/more_protos/src/proto/com/google/protobuf/
Dmultiple_files_test.proto36 // Some generic_services option(s) added automatically.
38 option java_generic_services = true; // auto-added
Dtest_bad_identifiers.proto37 // Some generic_services option(s) added automatically.
39 option java_generic_services = true; // auto-added
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/protos/src/proto/com/google/protobuf/
Dmultiple_files_test.proto36 // Some generic_services option(s) added automatically.
38 option java_generic_services = true; // auto-added
Dtest_bad_identifiers.proto37 // Some generic_services option(s) added automatically.
39 option java_generic_services = true; // auto-added
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/proto/com/google/protobuf/
Dmultiple_files_test.proto37 // Some generic_services option(s) added automatically.
39 option java_generic_services = true; // auto-added
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dunittest_no_arena.proto41 // Some generic_services option(s) added automatically.
43 option cc_generic_services = true; // auto-added
44 option java_generic_services = true; // auto-added
45 option py_generic_services = true; // auto-added
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp142 bool added = false; in add() local
145 added = true; in add()
148 if (added) { in add()

12345