Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/
DSliceUtil.kt62 val entryId = getEntryId() ?: return null in SliceUri() constant
69 entryId: String? = null, in appendSpaParams()
73 if (entryId != null) appendQueryParameter(KEY_HIGHLIGHT_ENTRY, entryId) in appendSpaParams()
91 entryId = entry.id, in fromEntry()
100 val entryId = getEntryId() ?: return null in createBroadcastPendingIntent() constant
101 return createBroadcastPendingIntent(context, sliceBroadcastClass, entryId) in createBroadcastPendingIntent()
108 val entryId = getEntryId() in createBrowsePendingIntent() constant
109 return createBrowsePendingIntent(context, browseActivityClass, destination, entryId) in createBrowsePendingIntent()
116 val entryId = getEntryId() in createBrowsePendingIntent() constant
117 return createBrowsePendingIntent(context, browseActivityClass, destination, entryId) in createBrowsePendingIntent()
[all …]
DSettingsSliceDataRepository.kt51 val entryId = sliceUri.getEntryId() ?: return null in buildLiveDataImpl() constant
52 val entry = entryRepository.getEntry(entryId) ?: return null in buildLiveDataImpl()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/slice/
DSliceUtilTest.kt45 val entryId = "myEntry" in sliceUriTest() constant
46 val sliceUriWithoutParams = Uri.Builder().appendSpaParams(dest, entryId).build() in sliceUriTest()
47 assertThat(sliceUriWithoutParams.getEntryId()).isEqualTo(entryId) in sliceUriTest()
53 Uri.Builder().appendSpaParams(dest, entryId, bundleOf("p1" to "v1")).build() in sliceUriTest()
54 assertThat(sliceUriWithParams.getEntryId()).isEqualTo(entryId) in sliceUriTest()
69 val entryId = "myEntry" in createBroadcastPendingIntentTest() constant
70 val sliceUriWithoutParams = Uri.Builder().appendSpaParams(dest, entryId).build() in createBroadcastPendingIntentTest()
89 val entryId = "myEntry" in createBrowsePendingIntentTest() constant
90 val sliceUri = Uri.Builder().appendSpaParams(dest, entryId).build() in createBrowsePendingIntentTest()
99 putExtra("highlightEntry", entryId) in createBrowsePendingIntentTest()
DSettingsSliceDataRepositoryTest.kt55 val entryId = genEntryId("Layer2Entry1", page) in getOrBuildSliceDataTest() constant
56 val sliceUri = Uri.Builder().appendSpaParams(page.buildRoute(), entryId).build() in getOrBuildSliceDataTest()
76 val entryId = genEntryId("Layer2Entry1", page) in getActiveSliceDataTest() constant
77 val sliceUri = Uri.Builder().appendSpaParams(page.buildRoute(), entryId).build() in getActiveSliceDataTest()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/
DSettingsEntryRepository.kt99 fun getEntry(entryId: String): SettingsEntry? { in getEntry()
100 return entryMap[entryId] in getEntry()
103 private fun getEntryPath(entryId: String): List<SettingsEntry> { in getEntryPath()
105 var currentEntry = entryMap[entryId] in getEntryPath()
114 fun getEntryPathWithLabel(entryId: String): List<String> { in getEntryPathWithLabel()
115 val entryPath = getEntryPath(entryId) in getEntryPathWithLabel()
119 fun getEntryPathWithTitle(entryId: String, defaultTitle: String): List<String> { in getEntryPathWithTitle()
120 val entryPath = getEntryPath(entryId) in getEntryPathWithTitle()
DSettingsEntry.kt31 val entryId: String? in <lambda>() constant
158 override val entryId = id in provideLocalEntryData() constant
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DSpaIntent.kt60 entryId = id, in SettingsEntry()
67 entryId: String? = null, in appendSpaParams()
72 if (entryId != null) putExtra(KEY_HIGHLIGHT_ENTRY, entryId) in appendSpaParams()
DEntryLogger.kt30 val entryId = LocalEntryDataProvider.current.entryId ?: return { _, _ -> } in <lambda>() constant
34 entryId, event, category = LogCategory.VIEW, extraData = extraData.apply { in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/
DSettingsEntryTest.kt40 class MacroForTest(private val pageId: String, private val entryId: String) : EntryMacro { in <lambda>() constant in com.android.settingslib.spa.framework.common.MacroForTest
46 assertThat(entryData.entryId).isEqualTo(entryId) in <lambda>()
216 val entryId = genEntryId("myEntry", owner) in testSetSliceDataFn() constant
220 return@setSliceDataFn if (uri.getEntryId() == entryId) emptySliceData else null in testSetSliceDataFn()
223 assertThat(entry.id).isEqualTo(entryId) in testSetSliceDataFn()
228 Uri.Builder().scheme("content").appendSpaParams(entryId = entryId).build() in testSetSliceDataFn()
/frameworks/base/tools/aapt2/tools/
Dpublic_attr_map.py10 entryId = 0x0000ffff & intId
21 if entryId <= attrEntryId:
/frameworks/base/tools/aapt2/
DSdkConstants.cpp78 [](const auto& pair, uint16_t entryId) { return pair.first < entryId; }); in FindAttributeSdkLevel() argument
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/
DDebugProvider.kt142 entryId = entry.id, in queryEntryDebug()
190 entryId: String? = null, in createBrowseAdbCommand()
200 if (entryId != null) " -e $KEY_HIGHLIGHT_ENTRY $entryId" else "" in createBrowseAdbCommand()
/frameworks/base/services/credentials/java/com/android/server/credentials/
DProviderRegistryGetSession.java157 String entryId = generateUniqueId(); in prepareUiCredentialEntries() local
158 mUiCredentialEntries.put(entryId, credentialEntry); in prepareUiCredentialEntries()
159 credentialUiEntries.add(new Entry(CREDENTIAL_ENTRY_KEY, entryId, in prepareUiCredentialEntries()
DProviderClearSession.java127 protected void onUiEntrySelected(String entryType, String entryId, in onUiEntrySelected() argument
DProviderSession.java289 protected abstract void onUiEntrySelected(String entryType, String entryId, in onUiEntrySelected() argument
/frameworks/base/tools/aapt/
DResourceTable.cpp4472 const size_t entryId = Res_GETENTRY(attrId); in getPublicAttributeSdkLevel() local
4473 if (entryId <= 0x021c) { in getPublicAttributeSdkLevel()
4475 } else if (entryId <= 0x021d) { in getPublicAttributeSdkLevel()
4477 } else if (entryId <= 0x0269) { in getPublicAttributeSdkLevel()
4479 } else if (entryId <= 0x028d) { in getPublicAttributeSdkLevel()
4481 } else if (entryId <= 0x02ad) { in getPublicAttributeSdkLevel()
4483 } else if (entryId <= 0x02b3) { in getPublicAttributeSdkLevel()
4485 } else if (entryId <= 0x02b5) { in getPublicAttributeSdkLevel()
4487 } else if (entryId <= 0x02bd) { in getPublicAttributeSdkLevel()
4489 } else if (entryId <= 0x02cb) { in getPublicAttributeSdkLevel()
[all …]
/frameworks/base/libs/androidfw/
DResourceTypes.cpp366 status_t lookup(uint16_t entryId, uint16_t* outEntryId) const { in lookup() argument
370 if (entryId < offset) { in lookup()
375 entryId -= offset; in lookup()
377 if (entryId >= entryCount) { in lookup()
385 uint32_t mappedEntry = dtohl(entries[entryId]); in lookup()
7835 size_t entryId; in print() local
7841 entryId = dtohs(entry->idx); in print()
7845 entryId = entryIndex; in print()
7860 | (0x0000ffff & (entryId)); in print()