/device/google/contexthub/firmware/app/chre/chre_test2.app/ |
main.cpp | 68 uint64_t appId = chreGetAppId(); 76 chreLog(CHRE_LOG_INFO, APP_LABEL "appId=%016llx; instanceId=%ld", 77 appId, instanceId); 79 chreLog(CHRE_LOG_INFO, APP_LABEL "info by instanceId; appId=%08llx; version=%ld; instanceId=%ld", 80 info.appId, info.version, info.instanceId); 84 if (chreGetNanoappInfoByAppId(appId, &info)) { 85 chreLog(CHRE_LOG_INFO, APP_LABEL "info by appId; appId=%08llx; version=%ld; instanceId=%ld", 86 info.appId, info.version, info.instanceId); 121 const uint64_t appId = msg->appId [all...] |
/device/google/contexthub/firmware/app/chre/common/ |
chre10_app_syscalls.c | 39 uint64_t appId = 0; 40 (void)syscallDo1P(SYSCALL_CHRE_API(GET_APP_ID), &appId); 41 return appId;
|
chre11_app_syscalls.c | 36 uint64_t appId = 0; 37 (void)syscallDo1P(SYSCALL_CHRE_API(GET_APP_ID), &appId); 38 return appId; 172 bool chreGetNanoappInfoByAppId(uint64_t appId, struct chreNanoappInfo *info) 174 uint32_t app_lo = appId; 175 uint32_t app_hi = appId >> 32;
|
chre_app_syscalls.c | 36 uint64_t appId = 0; 37 (void)syscallDo1P(SYSCALL_CHRE_API(GET_APP_ID), &appId); 38 return appId; 172 bool chreGetNanoappInfoByAppId(uint64_t appId, struct chreNanoappInfo *info) 174 uint32_t app_lo = appId; 175 uint32_t app_hi = appId >> 32;
|
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/ |
ListeningPortsTest.java | 117 int appId = UserHandle.getAppId(entry.uid); 118 if (appId >= Process.FIRST_APPLICATION_UID 119 && appId <= Process.LAST_APPLICATION_UID) {
|
/device/google/contexthub/contexthubhal/test/ |
main.cpp | 26 inline std::ostream &operator << (std::ostream &os, const hub_app_name_t &appId) 29 __be64 beAppId = htobe64(appId.id); 30 uint32_t seqId = appId.id & NANOAPP_VENDOR_ALL_APPS; 38 os << "#" << std::hex << appId.id; 44 void dumpBuffer(std::ostream &os, const char *pfx, const hub_app_name_t &appId, uint32_t evtId, const void *data, size_t len, int status) 47 os << pfx << ": [ID=" << appId << "; SZ=" << std::dec << len; 226 uint64_t appId = 0; 240 appId = strtoull(optarg, &end, 16); 266 const hub_app_name_t app_name = { .id = appId }; 274 req.app_name.id = appId; [all...] |
/device/google/contexthub/firmware/os/inc/ |
eventnums.h | 53 uint64_t appId; 63 uint64_t appId;
|
seos.h | 130 uint64_t appId; 180 bool osTidById(const uint64_t *appId, uint32_t *tid); 181 bool osAppInfoById(uint64_t appId, uint32_t *appIdx, uint32_t *appVer, uint32_t *appSize); 182 bool osAppInfoByIndex(uint32_t appIdx, uint64_t *appId, uint32_t *appVer, uint32_t *appSize); 183 bool osExtAppInfoByIndex(uint32_t appIdx, uint64_t *appId, uint32_t *appVer, uint32_t *appSize); 293 uint32_t osExtAppStopAppsByAppId(uint64_t appId); 294 uint32_t osExtAppEraseAppsByAppId(uint64_t appId); 295 uint32_t osExtAppStartAppsByAppId(uint64_t appId); 319 .hdr.appId = (_id), \ 337 .hdr.appId = (_id), [all...] |
nanohubPacket.h | 111 __le64 appId; 131 __le64 appId; 306 uint64_t appId; 318 __le64 appId; 342 __le64 appId; 418 __le64 appId; 435 __le64 appId;
|
/device/google/contexthub/util/nanotool/ |
apptohostevent.h | 27 uint64_t appId; 55 // The u64 appId used in nanohub is 40 bits vendor ID + 24 bits app ID (see seos.h) 56 constexpr uint64_t MakeAppId(uint64_t vendorId, uint32_t appId) { 57 return (vendorId << 24) | (appId & 0x00FFFFFF);
|
/external/nos/host/android/citadel/citadeld/ |
main.cpp | 215 const uint8_t appId = static_cast<uint32_t>(_appId); 218 *appStatus = lockedCallApp(appId, arg, request, response); 280 uint32_t lockedCallApp(uint32_t appId, uint16_t arg, 283 std::unique_lock<std::mutex> lock(_appLocks[appId]); 284 return _client.CallApp(appId, arg, request, response);
|
/device/google/contexthub/lib/include/nanohub/ |
nanohub.h | 46 #define APP_ID_GET_VENDOR(appid) ((appid) >> APP_VENDOR_SHF) 47 #define APP_ID_GET_SEQ_ID(appid) ((appid) & APP_SEQ_ID_ANY) 69 uint64_t appId; 75 uint64_t appId; 82 uint64_t appId; 94 uint64_t appId; // external: copy from AOSP header; internal: defined locally
|
/device/google/contexthub/util/nanoapp_cmd/ |
nanoapp_cmd.c | 81 uint64_t appId; 237 struct App *findApp(uint64_t appId) 242 if (apps[i].id == appId) { 250 int findAppIdByName(char *name, uint64_t *appId) 266 sscanf(line, "%" STRINGIFY(MAX_APP_NAME_LEN) "s %" PRIx64 " %" PRIx32 "\n", entry, appId, &appVersion); 297 uint64_t appId; 301 sscanf(line, "%" STRINGIFY(MAX_APP_NAME_LEN) "s %" PRIx64 " %" PRIx32 "\n", appsToInstall[*installCnt], &appId, &appVersion); 303 installedApp = findApp(appId); 306 appsToUninstall[*uninstallCnt] = appId; 353 bool sendCmd(uint8_t cmd, uint64_t appId) [all...] |
/device/google/contexthub/util/nanoapp_postprocess/ |
postprocess.c | 238 static int finalizeAndWrite(struct NanoAppInfo *inf, FILE *out, uint32_t layoutFlags, uint64_t appId) 248 .app_id = appId, 403 static int handleApp(uint8_t **pbuf, uint32_t bufUsed, FILE *out, uint32_t layoutFlags, uint64_t appId, uint32_t appVer, bool verbose) 566 ret = finalizeAndWrite(&app, out, layoutFlags, appId); 573 static int handleKey(uint8_t **pbuf, uint32_t bufUsed, FILE *out, uint32_t layoutFlags, uint64_t appId, uint64_t keyId) 583 .app_id = appId, 638 uint64_t appId = 0; 664 u64Arg = &appId; 717 if (layoutId == LAYOUT_APP && !appId) 721 if (layoutId == LAYOUT_OS && (keyId || appId)) [all...] |
postprocess_elf.c | 229 static int finalizeAndWrite(uint8_t *buf, uint32_t bufUsed, uint32_t bufSz, FILE *out, uint32_t layoutFlags, uint64_t appId, uint32_t chreApi) 239 .app_id = appId, 291 static int handleApp(uint8_t **pbuf, uint32_t bufUsed, FILE *out, uint32_t layoutFlags, uint64_t appId, uint32_t appVer, uint32_t chreApi, bool verbose) 535 ret = finalizeAndWrite(buf, bufUsed, bufSz, out, layoutFlags, appId, chreApi); 792 static int handleAppStatic(const char *fileName, FILE *out, uint32_t layoutFlags, uint64_t appId, uint32_t appVer, uint32_t chreApi, bool verbose) 829 return finalizeAndWrite(buf, offset, bufSize, out, layoutFlags, appId, chreApi) [all...] |
/device/google/contexthub/firmware/os/core/ |
nanohub_chre.c | 59 return app ? app->hdr.appId : 0; 64 uint64_t *appId = va_arg(args, uint64_t *); 65 if (appId) 66 *appId = osChreGetAppId(); 146 task->app->hdr.appId, task->tid, abortCode); 222 hostMsg->appId = osChreGetAppId(); 503 info->appId = task->app->hdr.appId; 517 uint64_t appId = (((uint64_t)app_hi) << 32) | app_lo; 520 if (osTidById(&appId, &tid) [all...] |
nanohubCommand.c | 153 if (osAppInfoById(le64toh(unaligned_u64(&req->appId)), &appIdx, &appVer, &appSize)) { 165 uint64_t appId; 168 if (osAppInfoByIndex(le32toh(unaligned_u32(&req->appIdx)), &appId, &appVer, &appSize)) { 169 resp->appId = htole64(appId); 359 uint64_t keyId = KEY_ID_MAKE(APP_ID_GET_VENDOR(app->hdr.appId), ki->id); 978 osTidById(&hostPacket->appId, &tid)) { 990 osTidById(&hostPacket->appId, &tid)) { [all...] |
seos.c | 306 uint64_t appId; 309 appId = task->app->hdr.appId; 311 appId = 0; 319 osLog(LOG_WARN, "released app ID 0x%" PRIx64 "; plat:%08" PRIx32 " sensor:%08" PRIx32 " tim:%d heap:%d; TID %04" PRIX32 "\n", appId, platErr, sensorErr, timErr, heapErr, taskTid); 321 osLog(LOG_INFO, "released app ID 0x%" PRIx64 "; TID %04" PRIX32 "\n", appId, taskTid); 450 static struct Task* osTaskFindByAppID(uint64_t appID) 455 if (task->app && task->app->hdr.appId == appID) 718 osLog(LOG_WARN, "External app id %016" PRIX64 " @ %p cannot be used as too many apps already exist.\n", app->hdr.appId, app) [all...] |
/external/icu/tools/srcgen/currysrc/libs/ |
org.eclipse.osgi_3.13.0.v20180409-1500.jar | |