Home
last modified time | relevance | path

Searched refs:hasData (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/categories/
DHealthDataCategoriesFragmentTest.kt70 HealthCategoryUiState(category = HealthDataCategory.ACTIVITY, hasData = true),
71 HealthCategoryUiState(category = HealthDataCategory.BODY_MEASUREMENTS, hasData = true),
72 HealthCategoryUiState(category = HealthDataCategory.SLEEP, hasData = false),
73 HealthCategoryUiState(category = HealthDataCategory.VITALS, hasData = false),
74 HealthCategoryUiState(category = HealthDataCategory.CYCLE_TRACKING, hasData = false),
75 HealthCategoryUiState(category = HealthDataCategory.NUTRITION, hasData = false),
238 HealthCategoryUiState(category = HealthDataCategory.ACTIVITY, hasData = false), in seeAllCategoriesPreference_withNoData_isDisplayed()
240 category = HealthDataCategory.BODY_MEASUREMENTS, hasData = false), in seeAllCategoriesPreference_withNoData_isDisplayed()
241 HealthCategoryUiState(category = HealthDataCategory.SLEEP, hasData = false), in seeAllCategoriesPreference_withNoData_isDisplayed()
242 HealthCategoryUiState(category = HealthDataCategory.VITALS, hasData = false), in seeAllCategoriesPreference_withNoData_isDisplayed()
[all …]
DHealthDataAllCategoriesFragmentTest.kt69 HealthCategoryUiState(category = ACTIVITY, hasData = false),
70 HealthCategoryUiState(category = BODY_MEASUREMENTS, hasData = false),
71 HealthCategoryUiState(category = SLEEP, hasData = false),
72 HealthCategoryUiState(category = VITALS, hasData = false),
73 HealthCategoryUiState(category = CYCLE_TRACKING, hasData = false),
74 HealthCategoryUiState(category = NUTRITION, hasData = true),
142 HealthCategoryUiState(category = ACTIVITY, hasData = false), in allCategoriesFragment_noDataForSomeCategories_isDisplayedNoDataLabel()
143 HealthCategoryUiState(category = BODY_MEASUREMENTS, hasData = true)))) in allCategoriesFragment_noDataForSomeCategories_isDisplayedNoDataLabel()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DPacketBuilderTest.java595 private void checkIpv4Header(final int l4proto, final boolean hasData, in checkIpv4Header() argument
610 final int dataLength = hasData ? DATA.limit() : 0; in checkIpv4Header()
615 assertEquals(hasData ? (short) 0xe488 : (short) 0xe48c, ipv4Header.checksum); in checkIpv4Header()
620 assertEquals(hasData ? (short) 0xe489 : (short) 0xe48d, ipv4Header.checksum); in checkIpv4Header()
632 private void checkIpv6Header(final int l4proto, final boolean hasData, in checkIpv6Header() argument
645 final int dataLength = hasData ? DATA.limit() : 0; in checkIpv6Header()
664 private void checkTcpPacket(final boolean hasEther, final int l3proto, final boolean hasData, in checkTcpPacket() argument
677 checkIpv4Header(IPPROTO_TCP, hasData, actual); in checkTcpPacket()
679 checkIpv6Header(IPPROTO_TCP, hasData, actual); in checkTcpPacket()
693 assertEquals(hasData ? (short) 0x4844 : (short) 0xe5e5, tcpHeader.checksum); in checkTcpPacket()
[all …]
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/categories/
DLoadHealthCategoriesUseCase.kt51 HealthCategoryUiState(it, hasData(it, recordTypeInfoMap)) in <lambda>()
59 private fun hasData( in <lambda>() method in com.android.healthconnect.controller.categories.LoadHealthCategoriesUseCase
75 data class HealthCategoryUiState(val category: @HealthDataCategoryInt Int, val hasData: Boolean) constant in com.android.healthconnect.controller.categories.HealthCategoryUiState
DHealthDataCategoriesFragment.kt201 .filter { it.hasData } in <lambda>()
225 if (sortedCategoriesList.isEmpty() || categoriesList.any { !it.hasData }) { in <lambda>()
DHealthDataAllCategoriesFragment.kt92 if (!categoryInfo.hasData) { in <lambda>()
/packages/apps/Settings/src/com/android/settings/datausage/
DSpinnerPreference.java77 void setHasCycles(boolean hasData) { in setHasCycles() argument
78 setVisible(hasData); in setHasCycles()
79 if (hasData) { in setHasCycles()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissiontypes/api/
DLoadPermissionTypesUseCase.kt56 category.healthPermissionTypes().filter { hasData(it, recordTypeInfoMap) } in <lambda>()
63 private fun hasData( in <lambda>() method
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/alldata/
DAllDataFragment.kt214 private fun updateMenu(isDeletionState: Boolean, hasData: Boolean = true) { in <lambda>()
215 if (!hasData) { in <lambda>()
260 updateMenu(isDeletionState = false, hasData = false) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/appdata/
DAppDataUseCase.kt100 return category.healthPermissionTypes().filter { hasData(it, recordTypeInfoMap) } in <lambda>()
107 private fun hasData( in <lambda>() method in com.android.healthconnect.controller.data.appdata.AppDataUseCase
/packages/modules/StatsD/statsd/src/shell/
DShellSubscriberClient.cpp298 bool hasData = false; in writePulledAtomsLocked() local
301 hasData = true; in writePulledAtomsLocked()
305 if (hasData) { in writePulledAtomsLocked()
/packages/apps/Contacts/src/com/android/contacts/model/
DDeviceLocalAccountLocator.java51 if (accounts.length > 0 && !mLocalAccount.get(0).hasData(mContext)) { in getDeviceLocalAccounts()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DInCallPagerAdapter.java65 if (attachments != null && attachments.hasData()) { in getCount()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryActiveView.java72 boolean hasData(); in hasData() method
DBatteryFlagParser.java81 public boolean hasData() { in hasData() method in BatteryFlagParser
/packages/apps/Dialer/java/com/android/dialer/multimedia/
DMultimediaData.java68 public boolean hasData() { in hasData() method in MultimediaData
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountTypeWithDataSet.java58 public boolean hasData(Context context) { in hasData() method in AccountTypeWithDataSet
DAccountWithDataSet.java135 public boolean hasData(Context context) { in hasData() method in AccountWithDataSet
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DAccountTypeWithDataSet.java57 public boolean hasData(Context context) { in hasData() method in AccountTypeWithDataSet
DAccountWithDataSet.java176 public boolean hasData(Context context) { in hasData() method in AccountWithDataSet
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationSimSelector.java48 mDataReady = subscriptionListData != null && subscriptionListData.hasData(); in onSubscriptionListDataLoaded()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DSubscriptionListData.java125 public boolean hasData() { in hasData() method in SubscriptionListData
/packages/apps/Settings/src/com/android/settings/applications/
DRunningProcessesView.java265 return mState.hasData() && mItems.size() == 0; in isEmpty()
481 if (mState.hasData()) { in doResume()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationInputManagerTest.java80 Mockito.when(mockSubscriptionListData.hasData()).thenReturn(true); in initNewInputManager()
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/
DRoleParser.java677 boolean hasData = false; in parseIntentFilterData()
711 if (!hasData) { in parseIntentFilterData()
712 hasData = true; in parseIntentFilterData()

12