Home
last modified time | relevance | path

Searched refs:container (Results 1 – 25 of 1045) sorted by relevance

12345678910>>...42

/packages/modules/ConfigInfrastructure/aconfigd/src/
Dstorage_files_manager.rs47 fn get_storage_files(&mut self, container: &str) -> Option<&mut StorageFiles> { in get_storage_files()
48 self.all_storage_files.get_mut(container) in get_storage_files()
56 if self.all_storage_files.contains_key(pb.container()) { in add_storage_files_from_pb()
59 pb.container() in add_storage_files_from_pb()
75 String::from(pb.container()), in add_storage_files_from_pb()
81 .insert(String::from(pb.container()), StorageFiles::from_pb(pb, &self.root_dir)?); in add_storage_files_from_pb()
90 container: &str, in add_storage_files_from_container()
96 if self.all_storage_files.contains_key(container) { in add_storage_files_from_container()
99 container in add_storage_files_from_container()
104 String::from(container), in add_storage_files_from_container()
[all …]
Dstorage_files.rs44 pub container: String, // container name field
115 pub container: String, field
131 container: &str, in from_container()
138 debug!("create storage files object from container {}", container); in from_container()
146 container: container.to_string(), in from_container()
151 persist_package_map: root_dir.join("maps").join(container.to_string() + ".package.map"), in from_container()
152 persist_flag_map: root_dir.join("maps").join(container.to_string() + ".flag.map"), in from_container()
153 persist_flag_val: root_dir.join("flags").join(container.to_string() + ".val"), in from_container()
154 persist_flag_info: root_dir.join("flags").join(container.to_string() + ".info"), in from_container()
157 .join(container.to_string() + "_local_overrides.pb"), in from_container()
[all …]
Daconfigd.rs56 debug!("remove boot storage files for container {}", entry.container()); in remove_boot_files()
57 let boot_value_file = boot_dir.join(entry.container().to_owned() + ".val"); in remove_boot_files()
58 let boot_info_file = boot_dir.join(entry.container().to_owned() + ".info"); in remove_boot_files()
116 for container in ["system", "system_ext", "product", "vendor"] { in initialize_platform_storage()
117 debug!("start initialize {} flags", container); in initialize_platform_storage()
119 let aconfig_dir = PathBuf::from("/".to_string() + container + "/etc/aconfig"); in initialize_platform_storage()
130 debug!("skip {} initialization due to missing storage files", container); in initialize_platform_storage()
142 debug!("skip {} initialization due to zero sized storage files", container); in initialize_platform_storage()
147 container, in initialize_platform_storage()
160 for container in ["system", "system_ext", "product", "vendor"] { in initialize_platform_storage()
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/decor/
DCarPrivacyChipAnimationHelper.java52 void showCameraAndMicChip(View container) { in showCameraAndMicChip() argument
53 MotionLayout chipView = container.findViewById(R.id.immersive_indicator_container); in showCameraAndMicChip()
54 showIcon(container, chipView, R.id.immersive_show_mic_and_camera_transition, in showCameraAndMicChip()
61 void showCameraChip(View container) { in showCameraChip() argument
62 MotionLayout chipView = container.findViewById(R.id.immersive_indicator_container); in showCameraChip()
63 showIcon(container, chipView, R.id.immersive_show_camera_transition, in showCameraChip()
70 void showMicChip(View container) { in showMicChip() argument
71 MotionLayout chipView = container.findViewById(R.id.immersive_indicator_container); in showMicChip()
72 showIcon(container, chipView, R.id.immersive_show_mic_transition, in showMicChip()
79 void showPrivacyDot(View container) { in showPrivacyDot() argument
[all …]
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DLauncherBindableItemsContainerTest.kt56 private val container = TestContainer() in <lambda>() constant in com.android.launcher3.util.LauncherBindableItemsContainerTest
60 container.addIcon(icon1) in <lambda>()
61 container.addIcon(icon2) in <lambda>()
62 container.addIcon(icon3) in <lambda>()
64 assertThat(container.getAppIcon(icon1).icon) in <lambda>()
66 assertThat(container.getAppIcon(icon2).icon) in <lambda>()
68 assertThat(container.getAppIcon(icon3).icon) in <lambda>()
73 container.updateContainerItems(setOf(icon2), container) in <lambda>()
76 assertThat(container.getAppIcon(icon1).icon) in <lambda>()
78 assertThat(container.getAppIcon(icon3).icon) in <lambda>()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskShortcutFactory.java81 default List<SystemShortcut> getShortcuts(RecentsViewContainer container, in getShortcuts() argument
111 public List<SystemShortcut> getShortcuts(RecentsViewContainer container,
123 return Collections.singletonList(new AppInfo(container, taskContainer.getItemInfo(),
137 public SplitSelectSystemShortcut(RecentsViewContainer container, in SplitSelectSystemShortcut() argument
140 super(option.iconResId, option.textResId, container, taskContainer.getItemInfo(), in SplitSelectSystemShortcut()
166 public SaveAppPairSystemShortcut(RecentsViewContainer container, GroupedTaskView taskView, in SaveAppPairSystemShortcut() argument
168 super(iconResId, R.string.save_app_pair, container, taskView.getItemInfo(), taskView); in SaveAppPairSystemShortcut()
190 public FreeformSystemShortcut(int iconRes, int textRes, RecentsViewContainer container, in FreeformSystemShortcut() argument
192 super(iconRes, textRes, container, taskContainer.getItemInfo(), in FreeformSystemShortcut()
197 mRecentsView = container.getOverviewPanel(); in FreeformSystemShortcut()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/preference/
DCardContainerPreference.kt52 private var container: ConstraintLayout? = null variable
73 if (container == null) { in setLoading()
81 val width = container?.width in setLoading()
82 val height = container?.height in setLoading()
84 container?.removeAllViews() in setLoading()
94 container?.addView(progressBar) in setLoading()
101 container = holder.itemView as ConstraintLayout in onBindViewHolder()
114 if (container == null) { in setupCards()
124 removeAllChildrenExcept(container, card) in setupCards()
149 container?.removeView(firstSmallCard) in setupCards()
[all …]
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsCompanionAppsController.java102 private static void removePreference(PreferenceCategory container, String packageName) { in removePreference() argument
103 Preference preference = container.findPreference(packageName); in removePreference()
105 container.removePreference(preference); in removePreference()
110 PreferenceCategory container, CharSequence appName, Context context) { in removeAssociationDialog() argument
113 removeAssociation(packageName, address, container); in removeAssociationDialog()
130 PreferenceCategory container) { in removeAssociation() argument
140 removePreference(container, packageName); in removeAssociation()
155 private List<String> getPreferencesNeedToShow(String address, PreferenceCategory container) { in getPreferencesNeedToShow() argument
161 for (int i = 0; i < container.getPreferenceCount(); i++) { in getPreferencesNeedToShow()
162 String preferenceKey = container.getPreference(i).getKey(); in getPreferencesNeedToShow()
[all …]
/packages/modules/Bluetooth/floss/build/
DREADME.md4 (docker/podman) container image necessary to build Floss. If building a new
5 docker/podman image, run `container-build-image.py` with the tag `floss:latest`.
37 container-build-image.py --tag floss:latest
41 `container-build-image.py`.
44 specifically when invoking `build-in-container.py`.
54 ## Using the container image to build
56 Once the container image is built (and assuming it's tagged as `floss:latest`), you
57 should use the `build-in-container.py` script to build the current repo.
61 build-in-container.py
66 source to `/root/src` before running these commands in the container:
[all …]
/packages/modules/ConfigInfrastructure/aflags/src/
Dmain.rs103 container: String, field
173 container: Option<String>,
226 container: Option<String>, field
233 .filter(|flag| match &self.container { in apply()
234 Some(c) => flag.container == *c, in apply()
258 let container = &flag.container; in format_flag_row() localVariable
279 fn list(source_type: FlagSourceType, container: Option<String>) -> Result<String> { in list()
284 if let Some(ref c) = container { in list()
291 let flags = (Filter { container }).apply(&flags_unfiltered); in list()
334 Command::List { container } => list(FlagSourceType::AconfigStorage, container) in main()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/view/adapters/
DDualPreviewPagerAdapter.kt37 override fun instantiateItem(container: ViewGroup, position: Int): Any { in instantiateItem()
40 LayoutInflater.from(container.context) in instantiateItem()
41 .inflate(R.layout.small_preview_foldable_card_view2, container, false) in instantiateItem()
43 container.addView( in instantiateItem()
53 LayoutInflater.from(container.context) in instantiateItem()
54 .inflate(R.layout.small_preview_foldable_card_view, container, false) in instantiateItem()
56 container.addView(view) in instantiateItem()
61 override fun destroyItem(container: ViewGroup, position: Int, `object`: Any) { in destroyItem()
62 container.removeView(`object` as View) in destroyItem()
/packages/apps/Launcher3/quickstep/tests/multivalentScreenshotTests/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarViewScreenshotTest.kt73 val container = FrameLayout(context) in <lambda>() constant
75 container.layoutParams = lp in <lambda>()
76 container.addView(bubbleBarView) in <lambda>()
77 container in <lambda>()
88 val container = FrameLayout(context) in <lambda>() constant
90 container.layoutParams = lp in <lambda>()
91 container.addView(bubbleBarView) in <lambda>()
92 container in <lambda>()
111 val container = FrameLayout(context) in <lambda>() constant
113 container.layoutParams = lp in <lambda>()
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogAlertManager.java34 private final ViewGroup container; field in CallLogAlertManager
41 container = (ViewGroup) view.findViewById(R.id.container); in CallLogAlertManager()
46 return inflater.inflate(layoutId, container, false); in inflate()
57 return container.getChildCount() == 0; in isEmpty()
61 return container.indexOfChild(view) != -1; in contains()
66 container.removeAllViews(); in clear()
75 container.addView(view); in add()
76 if (container.getChildCount() == 1) { in add()
DCallLogModalAlertManager.java37 private final ViewGroup container; field in CallLogModalAlertManager
44 container = (ViewGroup) parent.findViewById(R.id.modal_message_container); in CallLogModalAlertManager()
57 container.addView(view); in add()
63 container.removeAllViews(); in clear()
68 return container.getChildCount() == 0; in isEmpty()
72 return container.indexOfChild(view) != -1; in contains()
/packages/apps/Dialer/java/com/android/dialer/speeddial/
DDisambigDialog.java63 @VisibleForTesting public LinearLayout container; field in DisambigDialog
80 container = view.findViewById(R.id.communication_avenue_container); in onCreateDialog()
82 insertOptions(container.findViewById(R.id.communication_avenue_container), channels); in onCreateDialog()
113 private void insertOptions(LinearLayout container, List<Channel> channels) { in insertOptions() argument
118 insertDivider(container); in insertOptions()
120 insertHeader(container, channel.number(), channel.label()); in insertOptions()
122 insertOption(container, channel); in insertOptions()
126 private void insertDivider(LinearLayout container) { in insertDivider() argument
130 .inflate(R.layout.disambig_dialog_divider, container, false); in insertDivider()
131 container.addView(view); in insertDivider()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelWriter.java94 ItemInfo item, int container, int screenId, int cellX, int cellY) { in updateItemInfoProps() argument
95 CellPos modelPos = mCellPosMapper.mapPresenterToModel(cellX, cellY, screenId, container); in updateItemInfoProps()
97 item.container = container; in updateItemInfoProps()
109 int container, int screenId, int cellX, int cellY) { in addOrMoveItemInDatabase() argument
112 addItemToDatabase(item, container, screenId, cellX, cellY); in addOrMoveItemInDatabase()
115 moveItemInDatabase(item, container, screenId, cellX, cellY); in addOrMoveItemInDatabase()
130 modelItem.container == item.container && in checkItemInfoLocked()
160 int container, int screenId, int cellX, int cellY) { in moveItemInDatabase() argument
161 updateItemInfoProps(item, container, screenId, cellX, cellY); in moveItemInDatabase()
166 .put(Favorites.CONTAINER, item.container) in moveItemInDatabase()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskView.kt148 get() = container.deviceProfile.isTablet && !isLargeTile in <lambda>()
193 protected val container: RecentsViewContainer = in <lambda>() constant
667 val thumbnailTopMargin = container.deviceProfile.overviewTaskThumbnailTopMarginPx in <lambda>()
668 if (container.deviceProfile.isTablet) { in <lambda>()
805 taskContainers.forEach { container -> in <lambda>() method
806 val taskId = container.task.key.id in <lambda>()
809 container.setState( in <lambda>()
828 updateThumbnailValidity(container) in <lambda>()
831 container = container, in <lambda>()
832 width = container.thumbnailView.width, in <lambda>()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsEntryViewHolder.java77 View container, CallDetailsEntryListener callDetailsEntryListener) { in CallDetailsEntryViewHolder() argument
78 super(container); in CallDetailsEntryViewHolder()
79 context = container.getContext(); in CallDetailsEntryViewHolder()
81 callTypeIcon = (CallTypeIconsView) container.findViewById(R.id.call_direction); in CallDetailsEntryViewHolder()
82 callTypeText = (TextView) container.findViewById(R.id.call_type); in CallDetailsEntryViewHolder()
83 callTime = (TextView) container.findViewById(R.id.call_time); in CallDetailsEntryViewHolder()
84 callDuration = (TextView) container.findViewById(R.id.call_duration); in CallDetailsEntryViewHolder()
86 multimediaImageContainer = container.findViewById(R.id.multimedia_image_container); in CallDetailsEntryViewHolder()
87 multimediaDetailsContainer = container.findViewById(R.id.ec_container); in CallDetailsEntryViewHolder()
88 multimediaDivider = container.findViewById(R.id.divider); in CallDetailsEntryViewHolder()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DFocusIndicatorHelper.java33 public FocusIndicatorHelper(View container) { in FocusIndicatorHelper() argument
34 super(container, in FocusIndicatorHelper()
35 Flags.enableFocusOutline() ? new int[]{Themes.getAttrColor(container.getContext(), in FocusIndicatorHelper()
36 R.attr.focusOutlineColor), Themes.getAttrColor(container.getContext(), in FocusIndicatorHelper()
38 : new int[]{container.getResources().getColor(R.color.focused_background)}); in FocusIndicatorHelper()
56 public SimpleFocusIndicatorHelper(View container) { in SimpleFocusIndicatorHelper() argument
57 super(container); in SimpleFocusIndicatorHelper()
/packages/services/Car/car-lib/src/android/car/
DCarManagerBase.java100 protected <T extends Dumpable> T addDumpable(Object container, Supplier<T> dumpableSupplier) { in addDumpable() argument
101 if (container instanceof Activity) { in addDumpable()
105 + container); in addDumpable()
107 ((Activity) container).addDumpable(dumpable); in addDumpable()
110 if (container instanceof DumpableContainer) { in addDumpable()
114 + container); in addDumpable()
116 ((DumpableContainer) container).addDumpable(dumpable); in addDumpable()
119 Slog.v(TAG_CAR, "NOT adding dumpable to object (" + container in addDumpable()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSplitAnimationController.kt124 for (container: TaskContainer in taskView.taskContainers) { in <lambda>() constant
125 if (container.task.getKey().getId() == splitSelectStateController.initialTaskId) { in <lambda>()
126 val drawable = getDrawable(container.iconView, splitSelectSource) in <lambda>()
128 container.snapshotView, in <lambda>()
129 container.thumbnail, in <lambda>()
133 iconView = container.iconView.asView(), in <lambda>()
134 container.task.titleDescription, in <lambda>()
304 container: RecentsViewContainer, in <lambda>()
308 val recentsView = container.getOverviewPanel<RecentsView<*, *>>() in <lambda>()
309 val dp: DeviceProfile = container.getDeviceProfile() in <lambda>()
[all …]
/packages/apps/Settings/aconfig/
DAndroid.bp9 container: "system_ext",
24 container: "system_ext",
36 container: "system_ext",
48 container: "system_ext",
60 container: "system_ext",
74 container: "system_ext",
86 container: "system_ext",
/packages/apps/ThemePicker/src/com/android/customization/picker/
DBasePreviewAdapter.java74 public Object instantiateItem(@NonNull ViewGroup container, int position) { in instantiateItem() argument
75 if (ViewCompat.getLayoutDirection(container) == LAYOUT_DIRECTION_RTL) { in instantiateItem()
78 CardView card = (CardView) mInflater.inflate(mPreviewCardResId, container, false); in instantiateItem()
84 container.removeView(card); in instantiateItem()
86 container.addView(card); in instantiateItem()
91 public void destroyItem(@NonNull ViewGroup container, int position, in destroyItem() argument
95 if (card.getParent() == container) { in destroyItem()
96 container.removeView(card); in destroyItem()
/packages/services/Car/tools/telemetry/lua-interpreter/static/css/
Dindex.css17 .input-container {
23 .script-container {
31 .data-container {
50 .published-data-container {
68 * The CodeMirrors are configured to fill up whatever container they are in so these
71 .script-input-container {
77 .published-data-input-container {
83 .saved-state-input-container {
/packages/modules/ConfigInfrastructure/framework/tests/src/
DAconfigPackageInternalTests.java53 String container = flag.container; in testAconfigPackageInternal_load() local
57 PackageTable pTable = fp.getPackageTable(container); in testAconfigPackageInternal_load()
59 FlagTable fTable = fp.getFlagTable(container); in testAconfigPackageInternal_load()
61 FlagValueList fList = fp.getFlagValueList(container); in testAconfigPackageInternal_load()
94 String container = flag.container; in testAconfigPackageInternal_load_withError() local
97 PackageTable pTable = fp.getPackageTable(container); in testAconfigPackageInternal_load_withError()

12345678910>>...42