Home
last modified time | relevance | path

Searched refs:requestType (Results 1 – 25 of 38) sorted by relevance

12

/system/chre/apps/gnss_world/
Dgnss_world.cc151 const char *getNameStringFromRequestType(uint8_t requestType) { in getNameStringFromRequestType() argument
152 switch (requestType) { in getNameStringFromRequestType()
164 const char *getActionStringFromRequestType(uint8_t requestType) { in getActionStringFromRequestType() argument
165 switch (requestType) { in getActionStringFromRequestType()
178 const char *name = getNameStringFromRequestType(result->requestType); in handleGnssAsyncResult()
179 const char *action = getActionStringFromRequestType(result->requestType); in handleGnssAsyncResult()
183 switch (result->requestType) { in handleGnssAsyncResult()
197 LOGE("Received invalid async result %" PRIu8, result->requestType); in handleGnssAsyncResult()
/system/chre/apps/test/chqts/src/general_test/
Dtest.cc77 if (result->requestType != request.requestType) { in validateChreAsyncResult()
78 LOGE("Request requestType is %d, got %d", request.requestType, in validateChreAsyncResult()
79 result->requestType); in validateChreAsyncResult()
Dbasic_wifi_test.cc424 result->requestType, result->errorCode); in handleChreWifiAsyncEvent()
425 if (result->requestType == CHRE_WIFI_REQUEST_TYPE_REQUEST_SCAN && in handleChreWifiAsyncEvent()
440 switch (result->requestType) { in processChreWifiAsyncResult()
464 result->requestType); in processChreWifiAsyncResult()
528 uint8_t requestType, in resetCurrentWifiRequest() argument
531 .requestType = requestType, in resetCurrentWifiRequest()
Dtest.h58 uint8_t requestType; member
/system/chre/platform/linux/include/chre/platform/linux/
Dpal_wifi.h45 void chrePalWifiDelayResponse(PalWifiAsyncRequestTypes requestType,
57 void chrePalWifiEnableResponse(PalWifiAsyncRequestTypes requestType,
/system/chre/apps/ble_world/
Dble_world.cc214 const char *requestType = in handleAsyncResultEvent() local
215 result->requestType == CHRE_BLE_REQUEST_TYPE_START_SCAN ? "start" in handleAsyncResultEvent()
218 LOGI("BLE %s scan success", requestType); in handleAsyncResultEvent()
219 gBleEnabled = (result->requestType == CHRE_BLE_REQUEST_TYPE_START_SCAN); in handleAsyncResultEvent()
221 LOGE("BLE %s scan failure: %" PRIu8, requestType, result->errorCode); in handleAsyncResultEvent()
/system/chre/apps/test/common/chre_stress_test/src/
Dchre_stress_test_manager.cc60 bool isRequestTypeForLocation(uint8_t requestType) { in isRequestTypeForLocation() argument
61 return (requestType == CHRE_GNSS_REQUEST_TYPE_LOCATION_SESSION_START) || in isRequestTypeForLocation()
62 (requestType == CHRE_GNSS_REQUEST_TYPE_LOCATION_SESSION_STOP); in isRequestTypeForLocation()
65 bool isRequestTypeForMeasurement(uint8_t requestType) { in isRequestTypeForMeasurement() argument
66 return (requestType == CHRE_GNSS_REQUEST_TYPE_MEASUREMENT_SESSION_START) || in isRequestTypeForMeasurement()
67 (requestType == CHRE_GNSS_REQUEST_TYPE_MEASUREMENT_SESSION_STOP); in isRequestTypeForMeasurement()
308 if (result->requestType == CHRE_WIFI_REQUEST_TYPE_REQUEST_SCAN) { in handleWifiAsyncResult()
324 } else if (result->requestType == in handleWifiAsyncResult()
339 if (isRequestTypeForLocation(result->requestType)) { in handleGnssAsyncResult()
342 } else if (isRequestTypeForMeasurement(result->requestType)) { in handleGnssAsyncResult()
[all …]
/system/chre/platform/linux/
Dpal_wifi.cc250 void chrePalWifiEnableResponse(PalWifiAsyncRequestTypes requestType, in chrePalWifiEnableResponse() argument
252 switch (requestType) { in chrePalWifiEnableResponse()
267 static_cast<uint8_t>(requestType)); in chrePalWifiEnableResponse()
275 void chrePalWifiDelayResponse(PalWifiAsyncRequestTypes requestType, in chrePalWifiDelayResponse() argument
277 gAsyncRequestDelayResponseTime[chre::asBaseType(requestType)] = in chrePalWifiDelayResponse()
/system/chre/test/simulation/
Dble_test.cc127 (event->requestType == CHRE_BLE_REQUEST_TYPE_START_SCAN) in TEST_F()
191 if (event->requestType == CHRE_BLE_REQUEST_TYPE_START_SCAN && in TEST_F()
245 (event->requestType == CHRE_BLE_REQUEST_TYPE_START_SCAN) in TEST_F()
319 (event->requestType == CHRE_BLE_REQUEST_TYPE_START_SCAN) in TEST_F()
383 (event->requestType == CHRE_BLE_REQUEST_TYPE_START_SCAN) in TEST_F()
534 (event->requestType == CHRE_BLE_REQUEST_TYPE_START_SCAN) in TEST_F()
664 (event->requestType == CHRE_BLE_REQUEST_TYPE_START_SCAN) in TEST_F()
753 (event->requestType == CHRE_BLE_REQUEST_TYPE_START_SCAN) in TEST_F()
/system/chre/apps/test/common/chre_settings_test/src/
Dchre_settings_test_manager.cc409 switch (result->requestType) { in handleWifiAsyncResult()
437 LOGE("Unexpected WiFi request type %" PRIu8, result->requestType); in handleWifiAsyncResult()
478 switch (result->requestType) { in handleGnssAsyncResult()
502 LOGE("Unexpected GNSS request type %" PRIu8, result->requestType); in handleGnssAsyncResult()
655 switch (result->requestType) { in handleBleAsyncResult()
666 LOGE("Unexpected BLE request type %" PRIu8, result->requestType); in handleBleAsyncResult()
/system/chre/core/
Dble_request_manager.cc365 uint8_t requestType = enabled ? CHRE_BLE_REQUEST_TYPE_START_SCAN in handleAsyncResult() local
367 postAsyncResultEventFatal(instanceId, requestType, success, errorCode, in handleAsyncResult()
457 event->result.requestType = CHRE_BLE_REQUEST_TYPE_READ_RSSI; in resolvePendingRssiRequest()
619 event->requestType = CHRE_BLE_REQUEST_TYPE_FLUSH; in sendFlushCompleteEventOrDie()
657 uint8_t requestType, in postAsyncResultEventFatal() argument
665 event->requestType = requestType; in postAsyncResultEventFatal()
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/
Dble_scanner.cc356 async_result->requestType, async_result->errorCode);
357 if (async_result->requestType == CHRE_BLE_REQUEST_TYPE_START_SCAN) {
363 } else if (async_result->requestType ==
Dmock_ble.h114 .requestType = CHRE_BLE_REQUEST_TYPE_FLUSH,
/system/chre/chre_api/legacy/v1_4/chre/
Dcommon.h150 uint8_t requestType; member
/system/chre/chre_api/legacy/v1_3/chre/
Dcommon.h149 uint8_t requestType; member
/system/chre/chre_api/legacy/v1_1/chre/
Dcommon.h149 uint8_t requestType; member
/system/chre/chre_api/legacy/v1_5/chre/
Dcommon.h150 uint8_t requestType; member
/system/chre/chre_api/legacy/v1_2/chre/
Dcommon.h149 uint8_t requestType; member
/system/chre/apps/power_test/common/
Dpower_test.cc87 event->requestType, event->success, event->errorCode); in nanoappHandleEvent()
114 event->requestType, event->success, event->errorCode); in nanoappHandleEvent()
/system/chre/chre_api/legacy/v1_7/chre/
Dcommon.h156 uint8_t requestType; member
/system/chre/chre_api/legacy/v1_6/chre/
Dcommon.h156 uint8_t requestType; member
/system/chre/chre_api/legacy/v1_8/chre/
Dcommon.h156 uint8_t requestType; member
/system/chre/chre_api/legacy/v1_9/chre/
Dcommon.h159 uint8_t requestType; member
/system/chre/chre_api/include/chre_api/chre/
Dcommon.h171 uint8_t requestType; member
/system/chre/apps/wifi_world/
Dwifi_world.cc184 if (result->requestType == CHRE_WIFI_REQUEST_TYPE_CONFIGURE_SCAN_MONITOR) { in handleWifiAsyncResult()
195 } else if (result->requestType == CHRE_WIFI_REQUEST_TYPE_REQUEST_SCAN) { in handleWifiAsyncResult()
213 } else if (result->requestType == CHRE_WIFI_REQUEST_TYPE_RANGING) { in handleWifiAsyncResult()

12