/frameworks/base/core/tests/coretests/src/android/util/ |
D | LongArrayQueueTest.java | 171 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/net/ |
D | NetworkPolicyLogger.java | 211 void tempPowerSaveWlChanged(int appId, boolean added, int reasonCode, String reason) { in tempPowerSaveWlChanged() argument 214 Slog.v(TAG, getTempPowerSaveWlChangedLog(appId, added, reasonCode, reason)); in tempPowerSaveWlChanged() 216 mEventsBuffer.tempPowerSaveWlChanged(appId, added, reasonCode, reason); in tempPowerSaveWlChanged() 261 void meteredAllowlistChanged(int uid, boolean added) { in meteredAllowlistChanged() argument 264 Slog.d(TAG, getMeteredAllowlistChangedLog(uid, added)); in meteredAllowlistChanged() 266 mEventsBuffer.meteredAllowlistChanged(uid, added); in meteredAllowlistChanged() 270 void meteredDenylistChanged(int uid, boolean added) { in meteredDenylistChanged() argument 273 Slog.d(TAG, getMeteredDenylistChangedLog(uid, added)); in meteredDenylistChanged() 275 mEventsBuffer.meteredDenylistChanged(uid, added); in meteredDenylistChanged() 357 private static String getTempPowerSaveWlChangedLog(int appId, boolean added, in getTempPowerSaveWlChangedLog() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssGeofenceProxy.java | 68 boolean added = mGnssNative.addGeofence(geofenceId, latitude, longitude, radius, in addCircularHardwareGeofence() 71 if (added) { in addCircularHardwareGeofence() 83 return added; in addCircularHardwareGeofence() 132 boolean added = mGnssNative.addGeofence(entry.geofenceId, entry.latitude, in onHalRestarted() 137 if (added && entry.paused) { in onHalRestarted()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/ |
D | CustomTileAddedRepository.kt | 40 fun setTileAdded(componentName: ComponentName, userId: Int, added: Boolean) in isTileAdded() 54 override fun setTileAdded(componentName: ComponentName, userId: Int, added: Boolean) { in isTileAdded() 58 .putBoolean(componentName.flattenToString(), added) in isTileAdded()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ui/viewmodel/ |
D | ScreenshotViewModelTest.kt | 41 val added = viewModel.actions.value[0] in testAddAction() constant 42 assertThat(added.appearance).isEqualTo(appearance) in testAddAction() 43 assertThat(added.onClicked).isEqualTo(onclick) in testAddAction() 44 assertThat(added.showDuringEntrance).isTrue() in testAddAction()
|
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
D | ClientControllerTest.java | 114 final var added = mController.addClient(invoker, mConnection, ANY_DISPLAY_ID, in testAddClient() local 119 assertThat(mController.getClient(invoker.asBinder())).isSameInstanceAs(added); in testAddClient() 127 ClientState added; in testRemoveClient() local 130 added = mController.addClient(invoker, mConnection, ANY_DISPLAY_ID, ANY_CALLER_UID, in testRemoveClient() 132 assertThat(mController.getClient(invoker.asBinder())).isSameInstanceAs(added); in testRemoveClient() 138 assertThat(removed).isSameInstanceAs(added); in testRemoveClient()
|
/frameworks/base/tools/preload/ |
D | PrintHtmlDiff.java | 53 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/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/data/repository/ |
D | FakeCustomTileAddedRepository.kt | 29 override fun setTileAdded(componentName: ComponentName, userId: Int, added: Boolean) { in setTileAdded() 30 if (added) { in setTileAdded()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/ |
D | CustomTileAddedSharedPreferencesRepositoryTest.kt | 47 underTest.setTileAdded(TEST_COMPONENT, userId, added = true) in setTileAdded_inSharedPreferences() 50 underTest.setTileAdded(TEST_COMPONENT, userId, added = false) in setTileAdded_inSharedPreferences() 62 underTest.setTileAdded(TEST_COMPONENT, userId, added = true) in setTileAdded_differentComponents() 76 underTest.setTileAdded(TEST_COMPONENT, userId = 1, added = true) in setTileAdded_differentUsers()
|
/frameworks/av/media/libmedia/include/media/ |
D | PatchBuilder.h | 74 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/ |
D | RawBatteryStats.java | 127 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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/ |
D | NotificationIconsViewData.kt | 52 val added: List<String> = emptyList(), in <lambda>() constant in com.android.systemui.statusbar.notification.icon.ui.viewmodel.NotificationIconsViewData.Diff 78 val added: List<String> = newKeys.mapNotNull { key -> key.takeIf { it !in prevKeys } } in <lambda>() constant 91 return Diff(added, removed.map { it.notifKey }, replacements) in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipActionsProvider.java | 100 private void notifyActionsChanged(int added, int changed, int startIndex) { in notifyActionsChanged() argument 102 listener.onActionsChanged(added, changed, startIndex); in notifyActionsChanged() 169 int added = newCustomActions.size() - oldCustomActionsCount; in updateCustomActions() local 171 notifyActionsChanged(added, changed, FIRST_CUSTOM_ACTION_INDEX); in updateCustomActions() 255 void onActionsChanged(int added, int updated, int startIndex); in onActionsChanged() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/ |
D | FlowUtilTests.kt | 162 added = setOf(1, 2, 3), in <lambda>() 166 added = setOf(4), in <lambda>() 177 added = setOf(1), in <lambda>() 189 added = setOf(1, 2), in <lambda>() 200 added = setOf(3), in <lambda>()
|
/frameworks/base/apex/jobscheduler/service/ |
D | Android.bp | 2 // service-jobscheduler needs to be added to PRODUCT_SYSTEM_SERVER_JARS. 5 // A large-scale-change added 'default_applicable_licenses' to import
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ui/viewbinder/ |
D | HeadsUpNotificationViewBinder.kt | 41 val added = newKeys - previousKeys in <lambda>() constant 46 added.forEach { key -> in <lambda>()
|
/frameworks/libs/binary_translation/runtime_primitives/ |
D | translation_cache.cc | 42 bool added; in AddAndLockForTranslation() local 48 &added); in AddAndLockForTranslation() 193 bool* added) { in AddUnsafe() argument 201 *added = inserted; in AddUnsafe()
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_native_fence_sync.txt | 87 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/av/media/module/bufferpool/1.0/ |
D | ClientManager.cpp | 59 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/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | FavoritesModelTest.kt | 210 val added = 2 in <lambda>() constant 222 val added = 2 in <lambda>() constant 237 val added = 2 in <lambda>() constant 248 val added = 2 in <lambda>() constant
|
/frameworks/base/core/java/android/app/ |
D | BackStackRecord.java | 892 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/content/flags/ |
D | flags.aconfig | 8 …description: "This flag enables the newly added flag for binding package-private isolated processe…
|
/frameworks/av/media/module/bufferpool/2.0/ |
D | ClientManager.cpp | 61 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/compile/mclinker/lib/ |
D | Android.bp | 3 // A large-scale-change added 'default_applicable_licenses' to import
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ProcessCpuTracker.java | 257 public boolean added; field in ProcessCpuTracker.Stats 307 if (sta.added != stb.added) { 308 return sta.added ? -1 : 1; 311 return sta.added ? -1 : 1; 461 st.added = false; in collectStats() 587 st.added = true; in collectStats() 816 proto.write(CpuUsageProto.Stat.ADDED, st.added); 899 printProcessCPU(pw, st.added ? " +" : (st.removed ? " -": " "), 907 tst.added ? " +" : (tst.removed ? " -": " "),
|