Home
last modified time | relevance | path

Searched refs:entryId (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DStaticSafetyEntryPreference.java53 @Nullable SafetyCenterEntryId entryId, in StaticSafetyEntryPreference() argument
81 if (entryId != null) { in StaticSafetyEntryPreference()
82 setupPreferenceKey(entryId); in StaticSafetyEntryPreference()
86 private void setupPreferenceKey(SafetyCenterEntryId entryId) { in setupPreferenceKey() argument
88 .createContextAsUser(UserHandle.of(entryId.getUserId()), /* flags= */ 0); in setupPreferenceKey()
91 setKey(String.format("%s_%s", entryId.getSafetySourceId(), WORK_PROFILE_SUFFIX)); in setupPreferenceKey()
93 setKey(String.format("%s_%s", entryId.getSafetySourceId(), PRIVATE_PROFILE_SUFFIX)); in setupPreferenceKey()
95 setKey(String.format("%s_%s", entryId.getSafetySourceId(), PERSONAL_PROFILE_SUFFIX)); in setupPreferenceKey()
DPendingIntentSender.kt47 entryId: String, in getTaskIdForEntry()
51 val sourceId: String = SafetyCenterIds.entryIdFromString(entryId).getSafetySourceId() in getTaskIdForEntry()
DPrivacySubpageFragment.kt127 val entryId = entry.id in <lambda>() constant
128 val sourceId = SafetyCenterIds.entryIdFromString(entryId).getSafetySourceId() in <lambda>()
134 entryId, in <lambda>()
DSafetySubpageEntryPreference.kt98 val entryId: SafetyCenterEntryId = SafetyCenterIds.entryIdFromString(entry.id) in setupPreferenceKey() constant
99 val userContext = context.createContextAsUser(UserHandle.of(entryId.userId), /* flags= */ 0) in setupPreferenceKey()
DSafetyCenterDashboardFragment.java298 (entryId) -> in addGroupEntries()
300 entryId, getSameTaskSourceIds(), requireActivity()), in addGroupEntries()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/
DSafetyCenterSearchIndexablesProvider.kt190 .associateBy { it.entryId } in <lambda>()
290 entryOrGroup.entries.forEach { keepEntryFromRemoval(it.entryId, context, keysToRemove) } in <lambda>()
299 val entryId = SafetyCenterBundles.getStaticEntryId(safetyCenterData, staticEntry) in <lambda>() constant
300 if (entryId != null) { in <lambda>()
301 keepEntryFromRemoval(entryId, context, keysToRemove) in <lambda>()
307 entryId: SafetyCenterEntryId, in <lambda>()
311 val userContext = context.createContextAsUser(UserHandle.of(entryId.userId), /* flags= */ 0) in <lambda>()
314 keysToRemove.remove(entryId.safetySourceId.addSuffix(ProfileType.MANAGED)) in <lambda>()
316 keysToRemove.remove(entryId.safetySourceId.addSuffix(ProfileType.PRIVATE)) in <lambda>()
318 keysToRemove.remove(entryId.safetySourceId.addSuffix(ProfileType.PRIMARY)) in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/entrydetails/
DDataEntryDetailsFragmentTest.kt128 permissionType = SLEEP, entryId = "1", showDataOrigin = true)) in dataEntriesDetailsInit_showsFragment()
139 permissionType = SLEEP, entryId = "1", showDataOrigin = true)) in dataEntriesDetailsInit_error_showsError()
150 permissionType = SLEEP, entryId = "1", showDataOrigin = true)) in dataEntriesDetailsInit_loading_showsLoading()
173 permissionType = SLEEP, entryId = "1", showDataOrigin = true)) in dataEntriesDetailsInit_withData_showsItem()
194 permissionType = SLEEP, entryId = "1", showDataOrigin = true)) in dataEntriesDetailsInit_withDetails_showsItem_showsDetails()
209 permissionType = HEART_RATE, entryId = "1", showDataOrigin = true)) in dataEntriesDetailsInit_withHeartRate_showsItem_showsDetails()
226 permissionType = SKIN_TEMPERATURE, entryId = "1", showDataOrigin = true)) in dataEntriesInit_withSkinTemperature_showsItem_showsDetails()
250 permissionType = SKIN_TEMPERATURE, entryId = "1", showDataOrigin = true)) in dataEntriesInit_withSkinTemperature_locationUnknown_hidesLocationDetail()
274 permissionType = SKIN_TEMPERATURE, entryId = "1", showDataOrigin = true)) in dataEntriesInit_withSkinTemperature_baselineUnknown_hidesBaselineDetail()
294 permissionType = EXERCISE, entryId = "1", showDataOrigin = true)) in dataEntriesDetailsInit_withRouteDetails_showsMapView()
[all …]
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
DInstrumentationUtils.java58 static void logEntrySelected(int entryId) { in logEntrySelected() argument
64 entryId); in logEntrySelected()
66 Log.e(TAG, "Unable to log ENTRY_SELECTED for id: " + entryId + " " + e); in logEntrySelected()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DInstrumentationUtils.java59 public static void logEntrySelected(int entryId) { in logEntrySelected() argument
65 entryId); in logEntrySelected()
67 Log.e(TAG, "Unable to log ENTRY_SELECTED for id: " + entryId + " " + e); in logEntrySelected()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterTestData.kt170 SafetyCenterEntry.Builder(entryId(sourceId, userId), title) in safetyCenterStatusOneAlert()
199 SafetyCenterEntry.Builder(entryId(sourceId, userId), title) in safetyCenterStatusOneAlert()
224 SafetyCenterEntry.Builder(entryId(sourceId), "Unspecified title") in safetyCenterStatusOneAlert()
242 SafetyCenterEntry.Builder(entryId(sourceId, userId), title) in safetyCenterStatusOneAlert()
267 SafetyCenterEntry.Builder(entryId(sourceId), "Recommendation title") in safetyCenterStatusOneAlert()
279 SafetyCenterEntry.Builder(entryId(sourceId), "Critical title") in safetyCenterStatusOneAlert()
455 fun entryId(sourceId: String, userId: Int = UserHandle.myUserId()) = in entryId() method
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/entrydetails/
DDataEntryDetailsFragment.kt76 entryId: String, in <lambda>()
81 ENTRY_ID_KEY to entryId, in <lambda>()
92 private lateinit var entryId: String in <lambda>() variable in com.android.healthconnect.controller.entrydetails.DataEntryDetailsFragment
167 entryId = in <lambda>()
201 viewModel.loadEntryData(permissionType, entryId, showDataOrigin) in <lambda>()
DDataEntryDetailsViewModel.kt43 entryId: String, in loadEntryData()
49 LoadDataEntryInput(permissionType, entryId, showDataOrigin)) in loadEntryData()
DLoadEntryDetailsUseCase.kt43 val results = dataTypes.map { record -> readDataType(record, input.entryId) }.flatten() in <lambda>()
75 val entryId: String, constant in com.android.healthconnect.controller.entrydetails.LoadDataEntryInput
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java342 int getProgramIdIndex(long channelId, long entryId) { in getProgramIdIndex() argument
346 if (entries.get(i).getId() == entryId) { in getProgramIdIndex()
567 private TableEntry getTableEntry(long channelId, long entryId) { in getTableEntry() argument
574 if (entry.getId() == entryId) { in getTableEntry()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterDataFactory.java534 SafetyCenterEntryId entryId = SafetyCenterIds.entryIdFromString(entry.getId()); in getDefaultGroupSummary() local
536 if (UserProfileGroup.getProfileTypeOfUser(entryId.getUserId(), mContext) in getDefaultGroupSummary()
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/
DSafetyCenterManagerTest.kt328 SafetyCenterTestData.entryId(STATIC_IN_STATEFUL_ID), in <lambda>()