Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 25 of 68) sorted by relevance

123

/system/tools/hidl/
Dhidl-gen_y.yy45 void enterScope(AST* /* ast */, Scope** scope, Scope* container) {
46 CHECK(container->parent() == (*scope));
47 *scope = container;
50 void leaveScope(AST* ast, Scope** scope) {
51 CHECK((*scope) != ast->getRootScope());
52 *scope = (*scope)->parent();
217 %parse-param { android::Scope** const scope }
219 %lex-param { android::Scope** const scope }
589 CHECK((*scope)->isInterface());
602 CHECK((*scope)->isInterface());
[all …]
DAST.cpp193 Scope* scope = type->isScope() ? static_cast<Scope*>(type) : type->parent(); in lookupTypes() local
200 Type* nextType = lookupType(nextRef->getLookupFqName(), scope); in lookupTypes()
240 Scope* scope = type->isScope() ? static_cast<Scope*>(type) : type->parent(); in lookupConstantExpressions() local
248 LocalIdentifier* iden = lookupLocalIdentifier(*nextRef, scope); in lookupConstantExpressions()
255 Type* nextType = lookupType(nextRef->getLookupFqName(), scope); in lookupConstantExpressions()
465 FQName AST::makeFullName(const char* localName, Scope* scope) const { in makeFullName()
467 for (; scope != &mRootScope; scope = scope->parent()) { in makeFullName()
468 pathComponents.push_back(scope->localName()); in makeFullName()
477 void AST::addScopedType(NamedType* type, Scope* scope) { in addScopedType() argument
478 scope->addType(type); in addScopedType()
[all …]
Dhidl-gen_l.ll62 yylval->type = new ScalarType(ScalarType::kind, *scope); \
67 yyscan_t yyscanner, android::Scope** const scope)
113 "bitfield" { yylval->templatedType = new BitFieldType(*scope); return token::TEMPLATED; }
114 "vec" { yylval->templatedType = new VectorType(*scope); return token::TEMPLATED; }
115 "ref" { yylval->templatedType = new RefType(*scope); return token::TEMPLATED; }
130 "death_recipient" { yylval->type = new DeathRecipientType(*scope); return token::TYPE; }
131 "handle" { yylval->type = new HandleType(*scope); return token::TYPE; }
132 "memory" { yylval->type = new MemoryType(*scope); return token::TYPE; }
133 "pointer" { yylval->type = new PointerType(*scope); return token::TYPE; }
134 "string" { yylval->type = new StringType(*scope); return token::TYPE; }
[all …]
DAST.h59 FQName makeFullName(const char* localName, Scope* scope) const;
61 void addScopedType(NamedType* type, Scope* scope);
68 LocalIdentifier* lookupLocalIdentifier(const Reference<LocalIdentifier>& ref, Scope* scope);
71 EnumValue* lookupEnumValue(const FQName& fqName, std::string* errorMsg, Scope* scope);
76 Type* lookupType(const FQName& fqName, Scope* scope);
241 Type* lookupTypeLocally(const FQName& fqName, Scope* scope);
/system/bt/packet/avrcp/
Dget_folder_items.h50 GetFolderItemsResponseBuilder(Scope scope, Status status, in GetFolderItemsResponseBuilder() argument
53 scope_(scope), in GetFolderItemsResponseBuilder()
105 Scope scope, uint32_t start_item, uint32_t end_item,
113 GetFolderItemsRequestBuilder(Scope scope, uint32_t start_item, in GetFolderItemsRequestBuilder() argument
117 scope_(scope), in GetFolderItemsRequestBuilder()
/system/libsysprop/srcs/android/sysprop/
DDisplayProperties.sysprop21 scope: Internal
29 scope: Internal
38 scope: Internal
47 scope: Internal
DContactsProperties.sysprop21 scope: Internal
29 scope: Internal
38 scope: Internal
55 scope: Internal
64 scope: Internal
DVoldProperties.sysprop20 scope: Internal
27 scope: Internal
34 scope: Internal
DCarProperties.sysprop21 scope: Internal
29 scope: Internal
39 scope: Internal
DTraceProperties.sysprop21 scope: Internal
30 scope: Internal
DCryptoProperties.sysprop22 scope: Internal
32 scope: Internal
DSetupWizardProperties.sysprop20 scope: Internal
29 scope: Internal
/system/netd/server/
DNetlinkHandler.cpp137 const char *scope = evt->findParam("SCOPE"); in onEvent() local
168 if (iface && iface[0] && address && flags && scope) { in onEvent()
170 notifyAddressUpdated(address, iface, std::stoi(flags), std::stoi(scope)); in onEvent()
172 notifyAddressRemoved(address, iface, std::stoi(flags), std::stoi(scope)); in onEvent()
262 int flags, int scope) { in notifyAddressUpdated() argument
263 LOG_EVENT_FUNC(BINDER_RETRY, onInterfaceAddressUpdated, addr, ifName, flags, scope); in notifyAddressUpdated()
267 int flags, int scope) { in notifyAddressRemoved() argument
268 LOG_EVENT_FUNC(BINDER_RETRY, onInterfaceAddressRemoved, addr, ifName, flags, scope); in notifyAddressRemoved()
DNetlinkHandler.h51 int scope);
53 int scope);
/system/tools/sysprop/
DJavaGen.cpp155 void WriteJavaAnnotation(CodeWriter& writer, sysprop::Scope scope);
276 void WriteJavaAnnotation(CodeWriter& writer, sysprop::Scope scope) { in WriteJavaAnnotation() argument
277 switch (scope) { in WriteJavaAnnotation()
299 classScope = std::min(classScope, props.prop(i).scope()); in GenerateJavaClass()
324 if (prop.scope() != classScope) { in GenerateJavaClass()
325 WriteJavaAnnotation(writer, prop.scope()); in GenerateJavaClass()
359 if (prop.scope() != classScope) { in GenerateJavaClass()
360 WriteJavaAnnotation(writer, prop.scope()); in GenerateJavaClass()
DCppGen.cpp196 sysprop::Scope scope);
240 sysprop::Scope scope) { in GenerateHeader() argument
257 if (prop.scope() > scope) continue; in GenerateHeader()
280 if (prop.access() != sysprop::Readonly && scope == sysprop::Internal) { in GenerateHeader()
434 for (auto&& [scope, dir] : { in GenerateCppFiles()
444 std::string result = GenerateHeader(props, scope); in GenerateCppFiles()
/system/bt/service/hal/
Dbluetooth_avrcp_interface.h68 virtual void GetFolderItemsCallback(uint8_t scope, uint32_t start_item,
74 virtual void GetItemAttrCallback(uint8_t scope, uint8_t* uid,
78 virtual void PlayItemCallback(uint8_t scope, uint16_t uid_counter,
80 virtual void GetTotalNumOfItemsCallback(uint8_t scope,
84 virtual void AddToNowPlayingCallback(uint8_t scope, uint8_t* uid,
Dbluetooth_avrcp_interface.cc205 void GetFolderItemsCallback(uint8_t scope, uint32_t start_item, in GetFolderItemsCallback() argument
212 observer.GetFolderItemsCallback(scope, start_item, end_item, num_attr, in GetFolderItemsCallback()
227 void GetItemAttrCallback(uint8_t scope, uint8_t* uid, uint16_t uid_counter, in GetItemAttrCallback() argument
234 observer.GetItemAttrCallback(scope, uid, uid_counter, num_attr, p_attrs, in GetItemAttrCallback()
239 void PlayItemCallback(uint8_t scope, uint16_t uid_counter, uint8_t* uid, in PlayItemCallback() argument
245 observer.PlayItemCallback(scope, uid_counter, uid, bd_addr); in PlayItemCallback()
249 void GetTotalNumOfItemsCallback(uint8_t scope, const RawAddress& bd_addr) { in GetTotalNumOfItemsCallback() argument
254 observer.GetTotalNumOfItemsCallback(scope, bd_addr); in GetTotalNumOfItemsCallback()
268 void AddToNowPlayingCallback(uint8_t scope, uint8_t* uid, uint16_t uid_counter, in AddToNowPlayingCallback() argument
274 observer.AddToNowPlayingCallback(scope, uid, uid_counter, bd_addr); in AddToNowPlayingCallback()
[all …]
/system/netd/server/binder/android/net/
DINetdUnsolicitedEventListener.aidl77 int scope); in onInterfaceAddressUpdated() argument
91 int scope); in onInterfaceAddressRemoved() argument
/system/netd/server/aidl/netd/1/android/net/
DINetdUnsolicitedEventListener.aidl6 … onInterfaceAddressUpdated(@utf8InCpp String addr, @utf8InCpp String ifName, int flags, int scope); in onInterfaceAddressUpdated() argument
7 … onInterfaceAddressRemoved(@utf8InCpp String addr, @utf8InCpp String ifName, int flags, int scope); in onInterfaceAddressRemoved() argument
/system/netd/server/aidl/netd/2/android/net/
DINetdUnsolicitedEventListener.aidl23 … onInterfaceAddressUpdated(@utf8InCpp String addr, @utf8InCpp String ifName, int flags, int scope); in onInterfaceAddressUpdated() argument
24 … onInterfaceAddressRemoved(@utf8InCpp String addr, @utf8InCpp String ifName, int flags, int scope); in onInterfaceAddressRemoved() argument
/system/bt/stack/avrc/
Davrc_pars_tg.cc344 BE_STREAM_TO_UINT8(p_result->play_item.scope, p); in avrc_pars_vendor_cmd()
345 if (p_result->play_item.scope > AVRC_SCOPE_NOW_PLAYING) { in avrc_pars_vendor_cmd()
424 STREAM_TO_UINT8(p_result->get_items.scope, p); in avrc_pars_browsing_cmd()
427 if (p_result->get_items.scope > AVRC_SCOPE_NOW_PLAYING) { in avrc_pars_browsing_cmd()
460 BE_STREAM_TO_UINT8(p_result->get_attrs.scope, p); in avrc_pars_browsing_cmd()
461 if (p_result->get_attrs.scope > AVRC_SCOPE_NOW_PLAYING) { in avrc_pars_browsing_cmd()
491 BE_STREAM_TO_UINT8(p_result->get_num_of_items.scope, p); in avrc_pars_browsing_cmd()
492 if (p_result->get_num_of_items.scope > AVRC_SCOPE_NOW_PLAYING) { in avrc_pars_browsing_cmd()
/system/tools/hidl/test/error_test/scope_unique_type_names/1.0/
Drequired_error1 A type named 'S' is already declared in the scope at
/system/netd/tests/
DTestUnsolService.h63 int flags, int scope) override;
65 int flags, int scope) override;
/system/bt/include/hardware/
Dbt_rc.h360 uint8_t scope, uint32_t start_item, uint32_t end_item, uint8_t num_attr,
371 typedef void (*btrc_get_item_attr_callback)(uint8_t scope, uint8_t* uid,
378 typedef void (*btrc_play_item_callback)(uint8_t scope, uint16_t uid_counter,
383 typedef void (*btrc_get_total_num_of_items_callback)(uint8_t scope,
393 typedef void (*btrc_add_to_now_playing_callback)(uint8_t scope, uint8_t* uid,
672 bt_status_t (*play_item_cmd)(const RawAddress& bd_addr, uint8_t scope,

123