Home
last modified time | relevance | path

Searched refs:api (Results 1 – 25 of 47) sorted by relevance

12

/system/tools/sysprop/tests/
DTypeCheckerTest.cpp97 auto api = ParseApiFile(api_file.path); in TEST() local
98 ASSERT_RESULT_OK(api); in TEST()
106 auto res = CheckPropertyTypes(*api, entries); in TEST()
114 auto bad_res = CheckPropertyTypes(*api, bad_entries); in TEST()
/system/chre/chpp/services/
Dwwan.c78 const struct chrePalWwanApi *api; // WWAN PAL API member
214 } else if (!wwanServiceContext->api->open( in chppWwanServiceOpen()
254 wwanServiceContext->api->close(); in chppWwanServiceClose()
289 wwanServiceContext->api->close(); in chppWwanServiceNotifyReset()
315 response->params.capabilities = wwanServiceContext->api->getCapabilities(); in chppWwanServiceGetCapabilities()
350 if (!wwanServiceContext->api->requestCellInfo()) { in chppWwanServiceGetCellInfoAsync()
401 gWwanServiceContext.api->releaseCellInfoResult(result); in chppWwanServiceCellInfoResultCallback()
409 gWwanServiceContext.api = chrePalWwanGetApi(CHPP_PAL_WWAN_API_VERSION); in chppRegisterWwanService()
411 if (gWwanServiceContext.api == NULL) { in chppRegisterWwanService()
Dgnss.c76 const struct chrePalGnssApi *api; // GNSS PAL API member
250 } else if (!gnssServiceContext->api->open( in chppGnssServiceOpen()
290 gnssServiceContext->api->close(); in chppGnssServiceClose()
325 gnssServiceContext->api->close(); in chppGnssServiceNotifyReset()
351 response->params.capabilities = gnssServiceContext->api->getCapabilities(); in chppGnssServiceGetCapabilities()
393 if (!gnssServiceContext->api->controlLocationSession( in chppGnssServiceControlLocationSession()
432 if (!gnssServiceContext->api->controlMeasurementSession( in chppGnssServiceControlMeasurementSession()
468 if (!gnssServiceContext->api->configurePassiveLocationListener( in chppGnssServiceConfigurePassiveLocationListener()
584 gGnssServiceContext.api->releaseLocationEvent(event); in chppGnssServiceLocationEventCallback()
656 gGnssServiceContext.api->releaseMeasurementDataEvent(event); in chppGnssServiceMeasurementEventCallback()
[all …]
Dwifi.c77 const struct chrePalWifiApi *api; // WiFi PAL API member
299 } else if (!wifiServiceContext->api->open( in chppWifiServiceOpen()
339 wifiServiceContext->api->close(); in chppWifiServiceClose()
373 wifiServiceContext->api->close(); in chppWifiServiceNotifyReset()
399 response->params.capabilities = wifiServiceContext->api->getCapabilities(); in chppWifiServiceGetCapabilities()
437 if (!wifiServiceContext->api->configureScanMonitor(*enable)) { in chppWifiServiceConfigureScanMonitorAsync()
479 if (!wifiServiceContext->api->requestScan(chre)) { in chppWifiServiceRequestScanAsync()
529 if (!wifiServiceContext->api->requestRanging(chre)) { in chppWifiServiceRequestRangingAsync()
572 if (!wifiServiceContext->api->nanSubscribe(chreConfig)) { in chppWifiServiceRequestNanSubscribe()
607 if (!wifiServiceContext->api->nanSubscribeCancel(subscriptionId)) { in chppWifiServiceRequestNanSubscribeCancel()
[all …]
/system/chre/chpp/platform/linux/services/
Dplatform_wwan.c69 static const struct chrePalWwanApi api = { in chrePalWwanGetApi() local
82 if (!CHRE_PAL_VERSIONS_ARE_COMPATIBLE(api.moduleVersion, in chrePalWwanGetApi()
86 return &api; in chrePalWwanGetApi()
Dplatform_wifi.c74 static const struct chrePalWifiApi api = { in chrePalWifiGetApi() local
90 if (!CHRE_PAL_VERSIONS_ARE_COMPATIBLE(api.moduleVersion, in chrePalWifiGetApi()
94 return &api; in chrePalWifiGetApi()
Dplatform_gnss.c120 static const struct chrePalGnssApi api = { in chrePalGnssGetApi() local
137 if (!CHRE_PAL_VERSIONS_ARE_COMPATIBLE(api.moduleVersion, in chrePalGnssGetApi()
141 return &api; in chrePalGnssGetApi()
/system/chre/api_parser/
Dchpp_code_generator.py34 def __init__(self, api, commit_hash): argument
39 self.api = api
40 self.json = api.json
95 for annotation in self.api.annotations[chre_type]['.']:
164 return 'struct ' if not self.api.structs_and_unions[chre_type]['is_union'] else 'union '
185 for member_info in self.api.structs_and_unions[name]['members']:
246 sort_helper(self.api.structs_and_unions, node)
264 if self.api.structs_and_unions[chre_type]['has_vla_member']:
280 struct_info = self.api.structs_and_unions[chre_type]
303 for member_info in self.api.structs_and_unions[chre_type]['members']:
[all …]
/system/tools/sysprop/
DApiDumpMain.cpp46 sysprop::SyspropLibraryApis api; in main() local
76 *api.add_props() = std::move(props); in main()
80 if (!google::protobuf::TextFormat::PrintToString(api, &res)) { in main()
DTypeCheckerMain.cpp92 sysprop::SyspropLibraryApis api; in main() local
97 api.MergeFrom(*res); in main()
124 if (auto res = CheckPropertyTypes(api, entries); !res.ok()) { in main()
DTypeChecker.cpp85 Result<void> CheckPropertyTypes(const sysprop::SyspropLibraryApis& api, in CheckPropertyTypes() argument
100 for (auto& props : api.props()) { in CheckPropertyTypes()
/system/core/libstats/expresslog/
DAndroid.bp54 tools: ["stats-log-api-gen"],
55 …cmd: "$(location stats-log-api-gen) --header $(genDir)/statslog_express.h --module expresslog --na…
63 tools: ["stats-log-api-gen"],
64 …cmd: "$(location stats-log-api-gen) --cpp $(genDir)/statslog_express.cpp --module expresslog --nam…
/system/tools/aidl/build/
Dmessage_check_equality.txt4 Above AIDL file(s) has changed. Run `m %s-update-api` to reflect the changes
6 android-aidl-api-council@google.com
Dmessage_check_equality_frozen.txt5 cannot be modified. Change this to `frozen: false`, then run `m %s-update-api`
7 android-aidl-api-council@google.com.
/system/chre/platform/linux/include/chre/platform/linux/
Dpal_nan.h129 void setPlatformWifiCallbacks(const struct chrePalWifiCallbacks *api) { in setPlatformWifiCallbacks() argument
130 mWifiCallbacks = api; in setPlatformWifiCallbacks()
/system/tools/sysprop/include/
DTypeChecker.h26 const sysprop::SyspropLibraryApis& api,
/system/tools/xsdc/
DREADME.md38 Then run "make {xsd_config module_name} .docs-update-current-api" or "make
39 update-api" to update all the xsd_config modules.
76 After adding “Deprecated” annotation, we need to update the api or schema just
80 file and the api in last_current.txt, and update it.
/system/chre/apps/power_test/common/idl/
Dupdate.sh15 --gen-object-api chre_power_test.fbs
/system/chre/chpp/clients/
Dwwan.c68 const struct chrePalWwanApi *api; // WWAN PAL API member
558 static const struct chrePalWwanApi api = { local
571 if (!CHRE_PAL_VERSIONS_ARE_COMPATIBLE(api.moduleVersion,
575 return &api;
/system/nfc/src/
DAndroid.bp166 tools: ["stats-log-api-gen"],
167 …cmd: "$(location stats-log-api-gen) --header $(genDir)/statslog_nfc.h --module nfc --namespace nfc…
175 tools: ["stats-log-api-gen"],
176 …cmd: "$(location stats-log-api-gen) --cpp $(genDir)/statslog_nfc.cpp --module nfc --namespace nfc,…
/system/chre/platform/shared/idl/
Dupdate.sh15 --gen-mutable --gen-object-api host_messages.fbs
/system/tools/hidl/hidl2aidl/test/
Drun_build_file_test.sh15 $ANDROID_BUILD_TOP/build/soong/soong_ui.bash --make-mode hidl2aidl.test3-update-api
/system/chre/platform/
Dplatform.mk17 SLPI_CFLAGS += -I$(SLPI_PREFIX)/core/api/debugtools
18 SLPI_CFLAGS += -I$(SLPI_PREFIX)/core/api/services
19 SLPI_CFLAGS += -I$(SLPI_PREFIX)/core/api/kernel/devcfg
20 SLPI_CFLAGS += -I$(SLPI_PREFIX)/core/api/kernel/qurt
21 SLPI_CFLAGS += -I$(SLPI_PREFIX)/core/api/dal
22 SLPI_CFLAGS += -I$(SLPI_PREFIX)/core/api/mproc
23 SLPI_CFLAGS += -I$(SLPI_PREFIX)/core/api/systemdrivers
44 SLPI_SEE_CFLAGS += -I$(SLPI_PREFIX)/core/api/kernel/libstd/stringl
45 SLPI_SEE_CFLAGS += -I$(SLPI_PREFIX)/qmimsgs/common/api
48 SLPI_SEE_CFLAGS += -I$(SLPI_PREFIX)/ssc/goog/api
/system/chre/pal/tests/src/
Dble_pal_impl_test.cc59 explicit Callbacks(const struct chrePalBleApi *api) : mApi(api) {} in Callbacks() argument
/system/unwinding/libunwindstack/
DDexFile.cpp121 std::shared_ptr<DexFileApi> api(new DexFileApi{std::move(dex), std::move(copy), std::mutex()}); in Create() local
122 return std::shared_ptr<DexFile>(new DexFile(base_addr, file_size, std::move(api))); in Create()

12