Home
last modified time | relevance | path

Searched refs:entities (Results 1 – 25 of 166) sorted by relevance

1234567

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/
DBubbleVolatileRepository.kt64 val entities = entitiesByUser.get(userId) in <lambda>() constant
65 return when (entities) { in <lambda>()
69 else -> entities in <lambda>()
81 var entities = getEntities(userId) in <lambda>() variable
86 entities.removeIf { e: BubbleEntity -> b.key == e.key } } in <lambda>()
87 val overflowCount = entities.size + bubblesInRange.size - capacity in <lambda>()
90 uncache(entities.take(overflowCount)) in <lambda>()
91 entities = entities.drop(overflowCount).toMutableList() in <lambda>()
93 entities.addAll(bubblesInRange) in <lambda>()
94 entitiesByUser.put(userId, entities) in <lambda>()
[all …]
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DPhysics.kt128 val entities = ArraySet<Entity>(1000) constant
131 fun add(e: Entity) = entities.add(e) in add()
132 fun remove(e: Entity) = entities.remove(e) in add()
136 open fun updateAll(dt: Float, entities: ArraySet<Entity>) { in add()
137 entities.forEach { it.update(this, dt) } in add()
144 open fun postUpdateAll(dt: Float, entities: ArraySet<Entity>) { in postUpdateAll()
145 entities.forEach { it.postUpdate(this, dt) } in postUpdateAll()
160 val localEntities = ArraySet(entities) in step()
DUniverse.kt242 override fun updateAll(dt: Float, entities: ArraySet<Entity>) { in updateAll()
264 super.updateAll(dt, entities) in updateAll()
354 override fun postUpdateAll(dt: Float, entities: ArraySet<Entity>) { in postUpdateAll()
355 super.postUpdateAll(dt, entities) in postUpdateAll()
357 entities in postUpdateAll()
DVisibleUniverse.kt81 entities.forEach { in ZoomedDrawScope()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleDataRepository.kt71 val entities = transform(bubbles).also { in <lambda>() constant
73 if (entities.isNotEmpty()) persistToDisk() in <lambda>()
81 val entities = transform(bubbles).also { in <lambda>() constant
83 if (entities.isNotEmpty()) persistToDisk() in <lambda>()
213 val entities = validEntitiesByUser.get(userId) ?: return@launch in <lambda>() constant
214 volatileRepository.addBubbles(userId, entities) in <lambda>()
222 val shortcutKeys = entities.map { ShortcutKey(it.userId, it.packageName) }.toSet() in <lambda>()
248 val bubbles = entities.mapNotNull { entity -> in <lambda>()
/frameworks/base/packages/SettingsLib/DataStore/src/com/android/settingslib/datastore/
DBackupRestoreStorage.kt75 @VisibleForTesting internal var entities: List<BackupRestoreEntity>? = null in <lambda>() variable in com.android.settingslib.datastore.BackupRestoreStorage
97 val entities = createBackupRestoreEntities() in <lambda>() constant
98 for (entity in entities) { in <lambda>()
184 entities ?: createBackupRestoreEntities().also { entities = it } in <lambda>()
207 entities = null // clear to reduce memory footprint in <lambda>()
/frameworks/base/services/core/java/com/android/server/powerstats/
DStatsPullAtomCallbackImpl.java109 PowerEntity[] entities = mPowerStatsInternal.getPowerEntityInfo(); in initSubsystemSleepState() local
110 if (entities == null || entities.length == 0) { in initSubsystemSleepState()
115 for (int i = 0; i < entities.length; i++) { in initSubsystemSleepState()
116 final PowerEntity entity = entities[i]; in initSubsystemSleepState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/db/
DCommunalDatabase.kt26 @Database(entities = [CommunalWidgetItem::class, CommunalItemRank::class], version = 1) in <lambda>()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifier.java741 final Collection<String> entities = request.getEntityConfig() in generateLegacyLinks() local
743 if (entities.contains(TextClassifier.TYPE_URL)) { in generateLegacyLinks()
746 if (entities.contains(TextClassifier.TYPE_PHONE)) { in generateLegacyLinks()
749 if (entities.contains(TextClassifier.TYPE_EMAIL)) { in generateLegacyLinks()
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/
DBackupRestoreStorageTest.kt65 assertThat(storage.entities).isNull() in <lambda>()
74 assertThat(storage.entities).isNull() in <lambda>()
153 assertThat(storage.entities).isNull() in <lambda>()
357 assertThat(entities).isNull() in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/dataservice/
DMobileNetworkDatabase.java31 @Database(entities = {SubscriptionInfoEntity.class, UiccInfoEntity.class,
/frameworks/base/packages/SettingsLib/DataStore/
DREADME.md44 callback is invoked after *all* entities are restored. Instead, they check
88 stream is no-op. That being said, all entities are isolated.
169 // case the restore action involves several entities.
/frameworks/base/cmds/app_process/
DAndroid.bp38 // This commonly happens with C++ vaguely-linked entities, such as template
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java103 boolean isActive(String[] entities) { in isActive() argument
105 final int size = entities.length; in isActive()
107 if (currentlyActive.containsKey(entities[i])) { in isActive()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java266 PowerEntity[] entities = mPowerStatsInternal.getPowerEntityInfo(); in populatePowerEntityMaps() local
267 if (entities == null) { in populatePowerEntityMaps()
271 for (int i = 0; i < entities.length; i++) { in populatePowerEntityMaps()
272 final PowerEntity entity = entities[i]; in populatePowerEntityMaps()
/frameworks/av/services/mediaextractor/
DNOTICE29 other entities that control, are controlled by, or are under common
/frameworks/av/media/libstagefright/codecs/gsm/dec/
DNOTICE29 other entities that control, are controlled by, or are under common
/frameworks/av/media/module/foundation/
DNOTICE29 other entities that control, are controlled by, or are under common
/frameworks/av/media/module/mpeg2ts/
DNOTICE29 other entities that control, are controlled by, or are under common
/frameworks/base/media/jni/soundpool/
DNOTICE29 other entities that control, are controlled by, or are under common
/frameworks/av/media/libmedia/
DNOTICE29 other entities that control, are controlled by, or are under common
/frameworks/base/keystore/
DNOTICE29 other entities that control, are controlled by, or are under common
/frameworks/native/cmds/cmd/
DNOTICE29 other entities that control, are controlled by, or are under common
/frameworks/av/media/module/extractors/midi/
DNOTICE29 other entities that control, are controlled by, or are under common
/frameworks/av/media/libstagefright/codecs/flac/enc/
DNOTICE29 other entities that control, are controlled by, or are under common

1234567