Home
last modified time | relevance | path

Searched refs:categories (Results 1 – 25 of 81) sorted by relevance

1234

/packages/modules/Bluetooth/system/bta/ar/
Dbta_ar.cc62 static void bta_ar_avrc_add_cat(uint16_t categories) { in bta_ar_avrc_add_cat() argument
67 UINT16_TO_BE_STREAM(p, categories); in bta_ar_avrc_add_cat()
202 const char* provider_name, uint16_t categories, in bta_ar_reg_avrc() argument
207 if (!categories) return; in bta_ar_reg_avrc()
214 AVRC_AddRecord(service_uuid, service_name, provider_name, categories, in bta_ar_reg_avrc()
223 bta_ar_cb.ct_categories[mask - 1] = categories; in bta_ar_reg_avrc()
224 categories = bta_ar_cb.ct_categories[0] | bta_ar_cb.ct_categories[1]; in bta_ar_reg_avrc()
228 AVRC_AddRecord(service_uuid, service_name, provider_name, categories, in bta_ar_reg_avrc()
236 UINT16_TO_BE_STREAM(p, categories); in bta_ar_reg_avrc()
259 uint16_t categories = 0; in bta_ar_dereg_avrc() local
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/viewmodel/
DCategoriesViewModel.kt40 singleCategoryInteractor.categories.map { categories -> in <lambda>() method
41 return@map categories.map { category -> in <lambda>()
50 creativeWallpaperInteractor.categories.map { categories -> in <lambda>() method
52 categories.map { category -> in <lambda>()
/packages/apps/Settings/src/com/android/settings/core/
DCategoryMixin.java126 void onCategoriesChanged(Set<String> categories) { in onCategoriesChanged() argument
127 mCategoryListeners.forEach(listener -> listener.onCategoriesChanged(categories)); in onCategoriesChanged()
156 void onCategoriesChanged(@Nullable Set<String> categories); in onCategoriesChanged() argument
178 protected void onPostExecute(Set<String> categories) { in onPostExecute() argument
179 if (categories == null || !categories.isEmpty()) { in onPostExecute()
180 onCategoriesChanged(categories); in onPostExecute()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetSections.java96 final IntSet categories; in parseWidgetSectionsXml() local
98 categories = widgetsToCategories.get(provider); in parseWidgetSectionsXml()
100 categories = new IntSet(); in parseWidgetSectionsXml()
101 widgetsToCategories.put(provider, categories); in parseWidgetSectionsXml()
104 categories.add(NO_CATEGORY); in parseWidgetSectionsXml()
106 categories.add(section.mCategory); in parseWidgetSectionsXml()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsModel.java274 IntSet categories = WidgetSections.getWidgetsToCategory(context).get(providerName); in getCategories() local
275 if (categories != null) { in getCategories()
276 return categories; in getCategories()
278 categories = new IntSet(); in getCategories()
279 categories.add(NO_CATEGORY); in getCategories()
280 return categories; in getCategories()
288 IntSet categories = getCategories(providerName, context); in getWidgetProviderInfoByProviderName() local
291 for (Integer category: categories) { in getWidgetProviderInfoByProviderName()
324 IntSet categories = widgetsToCategories.get(item.componentName); in getPackageUserKeys() local
325 if (categories == null || categories.isEmpty()) { in getPackageUserKeys()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/categories/
DHealthDataAllCategoriesFragmentTest.kt17 package com.android.healthconnect.controller.tests.categories
38 import com.android.healthconnect.controller.categories.HealthCategoryUiState
39 import com.android.healthconnect.controller.categories.HealthDataAllCategoriesFragment
40 import com.android.healthconnect.controller.categories.HealthDataCategoryViewModel
41 import com.android.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragme…
42 import com.android.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragme…
43 import com.android.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragme…
44 import com.android.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragme…
DHealthDataCategoriesFragmentTest.kt16 package com.android.healthconnect.controller.tests.categories
37 import com.android.healthconnect.controller.categories.HealthCategoryUiState
38 import com.android.healthconnect.controller.categories.HealthDataCategoriesFragment
39 import com.android.healthconnect.controller.categories.HealthDataCategoryViewModel
40 import com.android.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragme…
41 import com.android.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragme…
236 val categories = in seeAllCategoriesPreference_withNoData_isDisplayed() constant
248 MutableLiveData<CategoriesFragmentState>(WithData(categories)) in seeAllCategoriesPreference_withNoData_isDisplayed()
257 val categories = in deleteAllData_withNoData_isDisabled() constant
269 MutableLiveData<CategoriesFragmentState>(WithData(categories)) in deleteAllData_withNoData_isDisabled()
/packages/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/util/
DWallpaperParserImplTest.kt80 val categories = mWallpaperXMLParserImpl.parseSystemCategories(parser) in parseXMLForSystemCategories_shouldReturnCategories() constant
82 assertThat(categories).hasSize(1) in parseXMLForSystemCategories_shouldReturnCategories()
83 assertThat(categories[0].collectionId).isEqualTo("category1") in parseXMLForSystemCategories_shouldReturnCategories()
97 val categories = mWallpaperXMLParserImpl.parseSystemCategories(parser) in parseInvalidXMLForSystemCategories_shouldReturnEmptyCategories() constant
99 assertThat(categories).hasSize(0) in parseInvalidXMLForSystemCategories_shouldReturnEmptyCategories()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardManagerTest.java480 final List<Integer> categories = Arrays.asList( in getCardsWithViewType_noSuggestionCards_shouldNotHaveHalfCards() local
488 categories); in getCardsWithViewType_noSuggestionCards_shouldNotHaveHalfCards()
500 final List<Integer> categories = Arrays.asList( in getCardsWithViewType_oneSuggestionCards_shouldNotHaveHalfCards() local
508 getContextualCardList(), categories); in getCardsWithViewType_oneSuggestionCards_shouldNotHaveHalfCards()
520 final List<Integer> categories = Arrays.asList( in getCardsWithViewType_twoConsecutiveSuggestionCards_shouldHaveTwoHalfCards() local
528 getContextualCardList(), categories); in getCardsWithViewType_twoConsecutiveSuggestionCards_shouldHaveTwoHalfCards()
544 final List<Integer> categories = Arrays.asList( in getCardsWithViewType_twoNonConsecutiveSuggestionCards_shouldNotHaveHalfCards() local
552 getContextualCardList(), categories); in getCardsWithViewType_twoNonConsecutiveSuggestionCards_shouldNotHaveHalfCards()
565 final List<Integer> categories = Arrays.asList( in getCardsWithViewType_threeConsecutiveSuggestionCards_shouldHaveTwoHalfCards() local
573 getContextualCardList(), categories); in getCardsWithViewType_threeConsecutiveSuggestionCards_shouldHaveTwoHalfCards()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/appdata/
DAppDataUseCase.kt53 val categories = in <lambda>() constant
60 UseCaseResults.Success(categories) in <lambda>()
79 val categories = in <lambda>() constant
84 UseCaseResults.Success(categories) in <lambda>()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_avrc_sdp.h58 const char* p_provider_name, uint16_t categories,
67 const char* p_provider_name, uint16_t categories, in operator()
70 return body(service_uuid, p_service_name, p_provider_name, categories, in operator()
Dmock_stack_avrc_sdp.cc65 const char* p_provider_name, uint16_t categories, in AVRC_AddRecord() argument
70 service_uuid, p_service_name, p_provider_name, categories, sdp_handle, in AVRC_AddRecord()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/categories/
DLoadHealthCategoriesUseCase.kt16 package com.android.healthconnect.controller.categories in <lambda>()
49 val categories = in <lambda>() constant
53 UseCaseResults.Success(categories) in <lambda>()
DHealthDataCategoriesFragment.kt16 package com.android.healthconnect.controller.categories in <lambda>()
32 import com.android.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragme… in <lambda>()
33 import com.android.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragme… in <lambda>()
34 import com.android.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragme… in <lambda>()
149 updateDataList(state.categories) in <lambda>()
DHealthDataAllCategoriesFragment.kt16 package com.android.healthconnect.controller.categories in <lambda>()
26 import com.android.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragme… in <lambda>()
66 updateAllDataList(state.categories) in <lambda>()
DHealthDataCategoryViewModel.kt16 package com.android.healthconnect.controller.categories
62 data class WithData(val categories: List<HealthCategoryUiState>) : constant in com.android.healthconnect.controller.categories.HealthDataCategoryViewModel.CategoriesFragmentState.WithData
/packages/modules/Bluetooth/system/bta/include/
Dbta_ar_api.h122 const char* p_provider_name, uint16_t categories,
150 uint16_t categories, tBTA_SYS_ID sys_id, bool browse_supported,
/packages/apps/Traceur/src_common/com/android/traceur/
DTraceUtils.java167 TreeMap<String, String> categories = PerfettoUtils.perfettoListCategories(); in listCategories() local
168 categories.put("sys_stats", "meminfo, psi, and vmstats"); in listCategories()
169 categories.put("logs", "android logcat"); in listCategories()
170 categories.put("cpu", "callstack samples"); in listCategories()
171 return categories; in listCategories()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperParserImpl.kt51 val categories = mutableListOf<WallpaperCategory>() in parseSystemCategories() constant
71 category?.let { categories.add(it) } in parseSystemCategories()
84 return categories in parseSystemCategories()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultCategoryProvider.java312 List<Category> categories = new ArrayList<>(); in getSystemCategories() local
314 return categories; in getSystemCategories()
322 return categories; in getSystemCategories()
367 categories.add(category); in getSystemCategories()
376 return categories; in getSystemCategories()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DInstalledAppListerTest.java213 final Set<String> categories = intent.getCategories(); in isLaunchIntentFor() field in InstalledAppListerTest
214 if (categories == null || categories.size() != 1 || in isLaunchIntentFor()
215 !categories.contains(Intent.CATEGORY_LAUNCHER)) { in isLaunchIntentFor()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestCategoryProvider.java59 List<Category> categories = getTestCategories(); in fetchCategories()
60 for (Category category : categories) { in fetchCategories()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v34/
DAppDataSharingUpdate.kt58 categories: List<String> in AppSafetyLabelDiff()
62 for (category in categories) { in AppSafetyLabelDiff()
/packages/modules/Bluetooth/system/stack/avrc/
Davrc_sdp.cc210 const char* p_provider_name, uint16_t categories, in AVRC_AddRecord() argument
224 service_uuid, profile_version, categories, cover_art_psm); in AVRC_AddRecord()
326 UINT16_TO_BE_STREAM(p, categories); in AVRC_AddRecord()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DButtonSelectionStateController.java168 String[] categories = carSystemBarButton.getCategories(); in addButtonWithSelectionState() local
169 for (int i = 0; i < categories.length; i++) { in addButtonWithSelectionState()
170 mButtonsByCategory.add(categories[i], carSystemBarButton); in addButtonWithSelectionState()

1234