Home
last modified time | relevance | path

Searched refs:collections (Results 1 – 25 of 129) sorted by relevance

123456

/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DFolderIconLoadTest.kt154 val collections = modelHelper.getBgDataModel().collections in setupAndLoadFolder() constant
156 assertThat(collections.size()).isEqualTo(1) in setupAndLoadFolder()
157 assertThat(collections.valueAt(0).getAppContents().size).isEqualTo(itemCount) in setupAndLoadFolder()
158 return collections.valueAt(0).getAppContents() in setupAndLoadFolder()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBgDataModel.java109 public final IntSparseArrayMap<CollectionInfo> collections = new IntSparseArrayMap<>(); field in BgDataModel
149 collections.clear(); in clear()
185 for (int i = 0; i < collections.size(); i++) { in dump()
186 writer.println(prefix + '\t' + collections.valueAt(i).toString()); in dump()
216 collections.remove(item.id); in removeItem()
263 collections.put(item.id, (FolderInfo) item); in addItem()
267 collections.put(item.id, (AppPairInfo) item); in addItem()
279 if (!collections.containsKey(item.container)) { in addItem()
383 CollectionInfo collectionInfo = collections.get(id); in findOrMakeFolder()
390 collections.put(id, collectionInfo); in findOrMakeFolder()
DLoaderTask.java509 for (CollectionInfo collection : mBgDataModel.collections) { in processAppPairItems()
572 for (CollectionInfo collection : mBgDataModel.collections) { in processFolderItems()
643 mBgDataModel.workspaceItems.remove(mBgDataModel.collections.get(folderId)); in sanitizeFolders()
644 mBgDataModel.collections.remove(folderId); in sanitizeFolders()
662 mBgDataModel.workspaceItems.remove(mBgDataModel.collections.get(id)); in sanitizeAppPairs()
663 mBgDataModel.collections.remove(id); in sanitizeAppPairs()
805 mBgAllAppsList.data, mBgDataModel.collections); in loadFolderNames()
808 for (int i = 0; i < mBgDataModel.collections.size(); i++) { in loadFolderNames()
810 CollectionInfo info = mBgDataModel.collections.valueAt(i); in loadFolderNames()
/packages/modules/Bluetooth/system/blueberry/utils/ui_pages/
Dui_node.py4 import collections
80 return collections.defaultdict(
84 return collections.defaultdict(lambda: None)
/packages/modules/Bluetooth/system/gd/rust/linux/dbus_projection/dbus_macros/src/
Dlib.rs718 let mut map__: dbus::arg::PropMap = std::collections::HashMap::new(); in dbus_propmap()
930 …cb_futures: std::sync::Arc<std::sync::Mutex<std::collections::VecDeque<dbus::nonblock::MethodReply… in dbus_proxy_obj()
948 … cb_futures: std::sync::Arc::new(std::sync::Mutex::new(std::collections::VecDeque::new())), in dbus_proxy_obj()
1117 let mut map: dbus::arg::PropMap = std::collections::HashMap::new(); in generate_dbus_arg()
1176 > RefArgToRust for std::collections::HashMap<K, V> in generate_dbus_arg()
1178 type RustType = std::collections::HashMap<K, V>; in generate_dbus_arg()
1184 let mut map: std::collections::HashMap<K, V> = std::collections::HashMap::new(); in generate_dbus_arg()
1405 impl<K: Eq + Hash + DBusArg, V: DBusArg> DBusArg for std::collections::HashMap<K, V> in generate_dbus_arg()
1413 type DBusType = std::collections::HashMap<K::DBusType, V::DBusType>; in generate_dbus_arg()
1416 data: std::collections::HashMap<K::DBusType, V::DBusType>, in generate_dbus_arg()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/util/
DValidation.java41 public static void validateNotEmpty(Collection... collections) throws IllegalArgumentException { in validateNotEmpty() argument
42 for (Collection c : collections) { in validateNotEmpty()
/packages/services/Car/tools/emulator/
Dobd2_to_diagjson.py25 import collections
64 self.__dict__['store'] = collections.OrderedDict()
119 d = collections.OrderedDict()
134 d = collections.OrderedDict()
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
Dtopk_v2.mod.py16 import collections
18 TestCase = collections.namedtuple("TestCase", [
Dcast.mod.py18 import collections
20 Operand = collections.namedtuple(
Dslice.mod.py16 import collections
18 TestCase = collections.namedtuple("TestCase", [
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/
Dcast_identity.mod.py17 import collections
19 Operand = collections.namedtuple(
/packages/services/Car/tools/watchdog/parser/
Dperf_stats_proto_utils.py43 for collection in system_event_stats.collections:
79 system_event_pb.collections.append(stats_collection_pb)
122 if not system_event_pb.collections:
126 for stats_collection_pb in system_event_pb.collections:
Dcarwatchdog_dump_parser.py412 self.collections = []
416 self.collections.append(collection)
420 return not any(map(lambda c: not c.is_empty(), self.collections))
424 return [c.to_dict() for c in self.collections]
427 collections_str = "\n ".join(list(map(repr, self.collections)))
467 self._custom_collection_stats = stats.collections
/packages/apps/Launcher3/tests/src/com/android/launcher3/folder/
DPreviewItemManagerTest.kt75 folderItems = modelHelper.bgDataModel.collections.valueAt(0).getContents() in setup()
76 folderIcon.mInfo = modelHelper.bgDataModel.collections.valueAt(0) as FolderInfo in setup()
80 val folderApps = modelHelper.bgDataModel.collections.valueAt(0).getAppContents() in setup()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DListSuggestionCursor.kt21 import kotlin.collections.ArrayList
22 import kotlin.collections.HashSet
DCursorBackedSuggestionExtras.kt21 import kotlin.collections.ArrayList
22 import kotlin.collections.HashSet
DSuggestionCursor.kt20 import kotlin.collections.Collection
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/
DDataTypeDescriptor.kt127 val possibleValues: kotlin.collections.List<kotlin.String> in build()
160 data class Tuple(val itemFieldTypes: kotlin.collections.List<FieldType>) : FieldType() in build()
/packages/modules/ArtPrebuilt/
Dupdate-art-module-prebuilts.py20 import collections
50 InstallEntry = collections.namedtuple("InstallEntry", [
200 res = collections.defaultdict(list)
/packages/modules/Bluetooth/tools/rootcanal/py/
Dcontroller.py16 import collections
97 self.evt_queue = collections.deque()
98 self.acl_queue = collections.deque()
99 self.iso_queue = collections.deque()
100 self.ll_queue = collections.deque()
/packages/modules/DnsResolver/doh/dispatcher/
Ddriver.rs22 use std::collections::HashMap;
105 use std::collections::hash_map::Entry; in probe()
/packages/modules/Bluetooth/android/pandora/test/
Dhfpclient_test.py17 import collections
71 lines: collections.deque[str]
77 self.lines = collections.deque()
/packages/modules/Bluetooth/tools/rootcanal/scripts/
Dcontroller_info.py26 import collections
43 self.evt_queue = collections.deque()
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
DMenuItemControllerFactory.kt21 import kotlin.collections.ArrayList
/packages/services/Car/cpp/watchdog/server/sysprop/
DWatchdogProperties.sysprop18 # Interval in seconds between consecutive boot-time performance data collections.
63 # Interval in seconds between consecutive periodic performance data collections.

123456