Home
last modified time | relevance | path

Searched refs:installCnt (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c282 int parseConfigAppInfo(int *installCnt, int *uninstallCnt) in parseConfigAppInfo() argument
295 *installCnt = *uninstallCnt = 0; in parseConfigAppInfo()
296 …while (((numRead = getline(&line, &len, fp)) != -1) && (*installCnt < MAX_INSTALL_CNT) && (*uninst… in parseConfigAppInfo()
301 …INGIFY(MAX_APP_NAME_LEN) "s %" PRIx64 " %" PRIx32 "\n", appsToInstall[*installCnt], &appId, &appVe… in parseConfigAppInfo()
304 if (strncmp(appsToInstall[*installCnt], UNINSTALL_CMD, MAX_APP_NAME_LEN) == 0) { in parseConfigAppInfo()
310 (*installCnt)++; in parseConfigAppInfo()
319 return *installCnt + *uninstallCnt; in parseConfigAppInfo()
577 int installCnt, uninstallCnt; in main() local
585 int updateCnt = parseConfigAppInfo(&installCnt, &uninstallCnt); in main()
591 parseConfigAppInfo(&installCnt, &uninstallCnt); in main()
[all …]