Home
last modified time | relevance | path

Searched refs:capabilities (Results 1 – 25 of 95) sorted by relevance

1234

/system/chre/apps/test/chqts/src/general_test/
Dwwan_capabilities_test.cc39 uint32_t capabilities = chreWwanGetCapabilities(); in setUp() local
42 if ((capabilities & ~allCapabilities) != 0) { in setUp()
46 &capabilities); in setUp()
49 "Received unexpected capabilities:", &capabilities); in setUp()
Dgnss_capabilities_test.cc44 uint32_t capabilities = chreGnssGetCapabilities(); in setUp() local
47 if ((capabilities & ~allCapabilities) != 0) { in setUp()
51 &capabilities); in setUp()
54 "Received unexpected capabilities:", &capabilities); in setUp()
Dwifi_capabilities_test.cc46 uint32_t capabilities = chreWifiGetCapabilities(); in setUp() local
49 if ((capabilities & ~allCapabilities) != 0) { in setUp()
53 &capabilities); in setUp()
56 "Received unexpected capabilities:", &capabilities); in setUp()
/system/core/libcutils/
Dcanned_fs_config.cpp45 uint64_t capabilities; member
77 .capabilities = 0, in load_canned_fs_config()
83 e.capabilities = strtoll(std::string(sv).c_str(), nullptr, 0); in load_canned_fs_config()
111 unsigned* mode, uint64_t* capabilities) { in canned_fs_config() argument
132 *capabilities = found->capabilities; in canned_fs_config()
Dfs_config.h27 uint64_t capabilities; member
35 uint64_t capabilities; member
Dfs_config.cpp374 fs_conf->capabilities = header.capabilities; in get_fs_config()
387 fs_conf->capabilities = pc->capabilities; in get_fs_config()
395 unsigned* mode, uint64_t* capabilities) { in fs_config() argument
401 *capabilities = conf.capabilities; in fs_config()
406 *capabilities = 0; in fs_config()
/system/chre/chpp/clients/
Dwwan.c73 uint32_t capabilities; // Cached GetCapabilities result member
317 result->capabilities); in chppWwanGetCapabilitiesResult()
322 if (result->capabilities != CHPP_WWAN_DEFAULT_CAPABILITIES) { in chppWwanGetCapabilitiesResult()
324 result->capabilities, CHPP_WWAN_DEFAULT_CAPABILITIES); in chppWwanGetCapabilitiesResult()
328 clientContext->capabilities = result->capabilities; in chppWwanGetCapabilitiesResult()
449 gWwanClientContext.capabilities = CHRE_WWAN_CAPABILITIES_NONE; in chppWwanClientClose()
463 uint32_t capabilities = CHPP_WWAN_DEFAULT_CAPABILITIES; in chppWwanClientGetCapabilities() local
467 capabilities = gWwanClientContext.capabilities; in chppWwanClientGetCapabilities()
482 capabilities = gWwanClientContext.capabilities; in chppWwanClientGetCapabilities()
488 return capabilities; in chppWwanClientGetCapabilities()
Dgnss.c71 uint32_t capabilities; // Cached GetCapabilities result member
397 result->capabilities); in chppGnssGetCapabilitiesResult()
399 CHPP_ASSERT((result->capabilities & CHPP_GNSS_DEFAULT_CAPABILITIES) == in chppGnssGetCapabilitiesResult()
401 if (result->capabilities != CHPP_GNSS_DEFAULT_CAPABILITIES) { in chppGnssGetCapabilitiesResult()
403 result->capabilities, (uint32_t)CHPP_GNSS_DEFAULT_CAPABILITIES); in chppGnssGetCapabilitiesResult()
407 clientContext->capabilities = result->capabilities; in chppGnssGetCapabilitiesResult()
637 gGnssClientContext.capabilities = CHRE_GNSS_CAPABILITIES_NONE; in chppGnssClientClose()
651 uint32_t capabilities = CHPP_GNSS_DEFAULT_CAPABILITIES; in chppGnssClientGetCapabilities() local
655 capabilities = gGnssClientContext.capabilities; in chppGnssClientGetCapabilities()
670 capabilities = gGnssClientContext.capabilities; in chppGnssClientGetCapabilities()
[all …]
Dwifi.c85 uint32_t capabilities; // Cached GetCapabilities result member
465 result->capabilities); in chppWifiGetCapabilitiesResult()
467 CHPP_ASSERT((result->capabilities & CHPP_WIFI_DEFAULT_CAPABILITIES) == in chppWifiGetCapabilitiesResult()
469 if (result->capabilities != CHPP_WIFI_DEFAULT_CAPABILITIES) { in chppWifiGetCapabilitiesResult()
471 result->capabilities, CHPP_WIFI_DEFAULT_CAPABILITIES); in chppWifiGetCapabilitiesResult()
475 clientContext->capabilities = result->capabilities; in chppWifiGetCapabilitiesResult()
888 gWifiClientContext.capabilities = CHRE_WIFI_CAPABILITIES_NONE; in chppWifiClientClose()
902 uint32_t capabilities = CHPP_WIFI_DEFAULT_CAPABILITIES; in chppWifiClientGetCapabilities() local
906 capabilities = gWifiClientContext.capabilities; in chppWifiClientGetCapabilities()
921 capabilities = gWifiClientContext.capabilities; in chppWifiClientGetCapabilities()
[all …]
/system/apex/apexd/
Dapexd.rc11 capabilities CHOWN DAC_OVERRIDE DAC_READ_SEARCH FOWNER SYS_ADMIN
20 …# apexd-bootstrap doesn't manage apexdata snapshot & restore, hence no need for other capabilities.
21 capabilities SYS_ADMIN
30 capabilities CHOWN DAC_OVERRIDE DAC_READ_SEARCH FOWNER
/system/chre/apps/ble_world/
Dble_world.cc88 bool isScanningSupported(uint32_t capabilities, uint32_t filterCapabilities) { in isScanningSupported() argument
89 if ((capabilities & CHRE_BLE_CAPABILITIES_SCAN) == 0) { in isScanningSupported()
129 uint32_t capabilities = chreBleGetCapabilities(); in nanoappStart() local
131 LOGI("Got BLE capabilities 0x%" PRIx32, capabilities); in nanoappStart()
134 ((capabilities & CHRE_BLE_CAPABILITIES_SCAN_RESULT_BATCHING) != 0); in nanoappStart()
142 if (!isScanningSupported(capabilities, filterCapabilities)) { in nanoappStart()
165 if (capabilities & CHRE_BLE_CAPABILITIES_READ_RSSI) { in nanoappStart()
/system/core/libcutils/include/private/
Dfs_config.h38 unsigned* mode, uint64_t* capabilities);
44 uint64_t capabilities; member
Dcanned_fs_config.h26 unsigned* gid, unsigned* mode, uint64_t* capabilities);
/system/chre/apps/test/common/chre_settings_test/src/
Dchre_settings_test_manager.cc157 uint32_t capabilities = chreWifiGetCapabilities(); in isFeatureSupported() local
159 ((capabilities & CHRE_WIFI_CAPABILITIES_ON_DEMAND_SCAN) != 0); in isFeatureSupported()
163 uint32_t capabilities = chreWifiGetCapabilities(); in isFeatureSupported() local
165 ((capabilities & CHRE_WIFI_CAPABILITIES_RTT_RANGING) != 0); in isFeatureSupported()
169 uint32_t capabilities = chreGnssGetCapabilities(); in isFeatureSupported() local
171 ((capabilities & CHRE_GNSS_CAPABILITIES_LOCATION) != 0); in isFeatureSupported()
175 uint32_t capabilities = chreGnssGetCapabilities(); in isFeatureSupported() local
177 ((capabilities & CHRE_GNSS_CAPABILITIES_MEASUREMENTS) != 0); in isFeatureSupported()
181 uint32_t capabilities = chreWwanGetCapabilities(); in isFeatureSupported() local
183 ((capabilities & CHRE_WWAN_GET_CELL_INFO) != 0); in isFeatureSupported()
[all …]
/system/chre/platform/shared/
Dchre_api_re.cc30 uint32_t capabilities = CHRE_CAPABILITIES_NONE; in chreGetCapabilities() local
33 capabilities |= CHRE_CAPABILITIES_RELIABLE_MESSAGES; in chreGetCapabilities()
36 return capabilities; in chreGetCapabilities()
Dchre_api_wifi.cc120 struct chreWifiNanCapabilities *capabilities) { in chreWifiNanGetCapabilities() argument
122 UNUSED_VAR(capabilities); in chreWifiNanGetCapabilities()
/system/connectivity/wificond/
Dserver.cpp430 std::optional<DeviceWiphyCapabilities>* capabilities) { in getDeviceWiphyCapabilities() argument
435 capabilities = nullptr; in getDeviceWiphyCapabilities()
449 capabilities = nullptr; in getDeviceWiphyCapabilities()
453 capabilities->emplace(); in getDeviceWiphyCapabilities()
455 capabilities->value().is80211nSupported_ = band_info.is_80211n_supported; in getDeviceWiphyCapabilities()
456 capabilities->value().is80211acSupported_ = band_info.is_80211ac_supported; in getDeviceWiphyCapabilities()
457 capabilities->value().is80211axSupported_ = band_info.is_80211ax_supported; in getDeviceWiphyCapabilities()
458 capabilities->value().is80211beSupported_ = band_info.is_80211be_supported; in getDeviceWiphyCapabilities()
459 capabilities->value().is160MhzSupported_ = band_info.is_160_mhz_supported; in getDeviceWiphyCapabilities()
460 capabilities->value().is80p80MhzSupported_ = band_info.is_80p80_mhz_supported; in getDeviceWiphyCapabilities()
[all …]
Dwificond.rc5 capabilities NET_RAW NET_ADMIN
/system/chre/chpp/test/
Dgnss_test.cpp99 uint32_t capabilities = gApi->getCapabilities(); in TEST_F() local
100 ASSERT_EQ(capabilities, CHPP_GNSS_DEFAULT_CAPABILITIES); in TEST_F()
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/
DChreCrossValidatorWifi.java204 private boolean chreWifiHasCapabilities(ChreCrossValidationWifi.WifiCapabilities capabilities) { in chreWifiHasCapabilities() argument
205 return (capabilities.getWifiCapabilities() & WIFI_CAPABILITIES_SCAN_MONITORING) != 0 in chreWifiHasCapabilities()
206 && (capabilities.getWifiCapabilities() & WIFI_CAPABILITIES_ON_DEMAND_SCAN) != 0; in chreWifiHasCapabilities()
280 ChreCrossValidationWifi.WifiCapabilities capabilities = null; in parseDataFromNanoAppMessage() local
282 capabilities = ChreCrossValidationWifi.WifiCapabilities.parseFrom( in parseDataFromNanoAppMessage()
289 mWifiCapabilities.set(capabilities); in parseDataFromNanoAppMessage()
/system/logging/logd/
Dlogd.rc9 capabilities SYSLOG AUDIT_CONTROL
27 capabilities AUDIT_CONTROL
/system/chre/apps/test/common/chre_cross_validator_wifi/src/
Dchre_cross_validator_wifi_manager.cc324 chre_cross_validation_wifi_WifiCapabilities capabilities; in makeWifiCapabilitiesMessage() local
325 capabilities.has_wifiCapabilities = true; in makeWifiCapabilitiesMessage()
326 capabilities.wifiCapabilities = capabilitiesFromChre; in makeWifiCapabilitiesMessage()
327 return capabilities; in makeWifiCapabilitiesMessage()
/system/chre/apps/test/common/proto/
Dchre_cross_validation_wifi.proto26 // C2H: Nanoapp informing host about the wifi capabilities it has.
39 // The step where the wifi capabilities are gathered from the nanoapp.
70 * The wifi capabilities listed in
/system/core/init/test_service/
Dtest_service.rc5 capabilities NET_ADMIN NET_RAW
/system/hardware/interfaces/suspend/1.0/default/
Dandroid.system.suspend-service.rc5 capabilities BLOCK_SUSPEND

1234