Lines Matching refs:batchParams
102 if (info.batchParams.isEmpty()) continue; in dump()
104 info.batchParams.size()); in dump()
107 for (size_t j = 0; j < info.batchParams.size(); j++) { in dump()
108 const BatchParams& params = info.batchParams.valueAt(j); in dump()
110 j < info.batchParams.size() - 1 ? ", " : ""); in dump()
115 for (size_t j = 0; j < info.batchParams.size(); j++) { in dump()
116 BatchParams params = info.batchParams.valueAt(j); in dump()
118 j < info.batchParams.size() - 1 ? ", " : ""); in dump()
161 ident, handle, enabled, info.batchParams.size()); in activate()
164 ALOGD_IF(DEBUG_CONNECTIONS, "enable index=%zd", info.batchParams.indexOfKey(ident)); in activate()
170 if (info.batchParams.indexOfKey(ident) >= 0) { in activate()
180 ALOGD_IF(DEBUG_CONNECTIONS, "disable index=%zd", info.batchParams.indexOfKey(ident)); in activate()
256 if (info.batchParams.indexOfKey(ident) < 0) { in batch()
258 info.batchParams.add(ident, params); in batch()
313 ssize_t index = info.batchParams.indexOfKey(ident); in setDelay()
317 BatchParams& params = info.batchParams.editValueAt(index); in setDelay()
353 if (info.batchParams.isEmpty()) continue; in enableAllSensors()
387 if (info.batchParams.size() > 0) { in disableAllSensors()
396 for (size_t j = 0; j < info.batchParams.size(); ++j) { in disableAllSensors()
397 mDisabledClients.add(info.batchParams.keyAt(j)); in disableAllSensors()
429 for (size_t i = 0; i < batchParams.size(); ++i) { in numActiveClients()
430 if (!device.isClientDisabledLocked(batchParams.keyAt(i))) { in numActiveClients()
440 ssize_t index = batchParams.indexOfKey(ident); in setBatchParamsForIdent()
446 BatchParams& params = batchParams.editValueAt(index); in setBatchParamsForIdent()
457 for (size_t i = 0; i < batchParams.size(); ++i) { in selectBatchParams()
458 if (device.isClientDisabledLocked(batchParams.keyAt(i))) continue; in selectBatchParams()
459 BatchParams params = batchParams.valueAt(i); in selectBatchParams()
471 ssize_t idx = batchParams.removeItem(ident); in removeBatchParamsForIdent()