Home
last modified time | relevance | path

Searched refs:TypeSpec (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SettingsLib/search/processor-src/com/android/settingslib/search/
DIndexableProcessor.java24 import com.squareup.javapoet.TypeSpec;
151 final TypeSpec baseClass = TypeSpec.classBuilder(CLASS_BASE) in process()
162 TypeSpec.classBuilder(CLASS_MOBILE) in process()
170 TypeSpec.classBuilder(CLASS_TV) in process()
178 TypeSpec.classBuilder(CLASS_WEAR) in process()
186 TypeSpec.classBuilder(CLASS_AUTO) in process()
194 TypeSpec.classBuilder(CLASS_ARC) in process()
/frameworks/base/libs/androidfw/tests/
DLoadedArsc_test.cpp66 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
90 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
114 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
121 [](const TypeSpec::TypeEntry& x) { return x.config.sdkVersion == 26; }); in TEST()
209 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
250 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(0); in TEST()
394 const TypeSpec* type_spec = package->GetTypeSpecByTypeIndex(type_index); in TEST()
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectionCompanionGenerator.java33 import com.squareup.javapoet.TypeSpec;
143 private TypeSpec generateTypeSpec(@NonNull InspectableClassModel model) { in generateTypeSpec()
149 TypeSpec.Builder builder = TypeSpec in generateTypeSpec()
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h50 struct TypeSpec { struct
238 inline const TypeSpec* GetTypeSpecByTypeIndex(uint8_t type_index) const { in GetTypeSpecByTypeIndex()
295 std::unordered_map<uint8_t, TypeSpec> type_specs_;
DAssetManager2.h344 std::vector<const TypeSpec::TypeEntry*> type_entries;
/frameworks/base/libs/androidfw/
DLoadedArsc.cpp56 TypeSpec::TypeEntry& entry = type_entries.emplace_back(); in AddType()
61 TypeSpec Build() { in Build()
69 std::vector<TypeSpec::TypeEntry> type_entries;
371 const TypeSpec* type_spec = GetTypeSpecByTypeIndex(*type_idx); in FindEntryByName()
749 TypeSpec type_spec = entry.second->Build(); in Load()
DAssetManager2.cpp717 const TypeSpec* type_spec = loaded_package->GetTypeSpecByTypeIndex(type_idx); in FindEntryInternal()
736 const TypeSpec::TypeEntry* type_entry = (use_filtered) ? filtered_group.type_entries[i] in FindEntryInternal()
1357 impl.loaded_package_->ForEachTypeSpec([&](const TypeSpec& type_spec, uint8_t type_id) { in RebuildFilterList()
/frameworks/base/tools/xmlpersistence/src/main/kotlin/
DGenerator.kt23 import com.squareup.javapoet.TypeSpec
61 val type = TypeSpec.classBuilder(persistence.name) in generate()