HomeSort by relevance Sort by last modified time
    Searched refs:appId (Results 1 - 25 of 161) sorted by null

1 2 3 4 5 6 7

  /system/chre/platform/linux/
host_link.cc 21 void HostLink::flushMessagesSentByNanoapp(uint64_t appId) {
  /frameworks/base/core/java/android/os/
UserHandle.java 107 * @return whether the appId is the same for both uids
117 final int appId = getAppId(uid);
118 return appId >= Process.FIRST_ISOLATED_UID && appId <= Process.LAST_ISOLATED_UID;
127 final int appId = getAppId(uid);
128 return appId >= Process.FIRST_APPLICATION_UID && appId <= Process.LAST_APPLICATION_UID;
172 * Returns the uid that is composed from the userId and the appId.
175 public static int getUid(@UserIdInt int userId, @AppIdInt int appId) {
177 return userId * PER_USER_RANGE + (appId % PER_USER_RANGE)
    [all...]
  /system/chre/platform/include/chre/platform/
host_link.h 46 void flushMessagesSentByNanoapp(uint64_t appId);
  /system/chre/apps/chqts/src/general_test/
nanoapp_info.cc 27 uint64_t appId;
41 info.appId = mAppId;
44 nanoapp_testing::hostToLittleEndian(&info.appId);
51 bool NanoappInfo::validate(uint64_t appId, uint32_t instanceId) {
53 if (appId != mAppId) {
running_info.cc 37 } else if (mRunningInfo.appId != NANOAPP_ID) {
39 "Running info appId does not match build constant");
46 result = mPlatformInfo.validate(mRunningInfo.appId,
nanoapp_info.h 38 * @param appId The app ID to validate against
42 bool validate(uint64_t appId, uint32_t instanceId);
  /system/chre/platform/shared/nanoapp/
nanoapp_dso_util.cc 38 } else if (appInfo->appId == 0) {
40 } else if (expectedAppId != 0 && expectedAppId != appInfo->appId) {
42 PRIx64 ")", expectedAppId, appInfo->appId);
nanoapp_support_lib_dso.c 47 .appId = NANOAPP_ID,
  /hardware/interfaces/contexthub/1.0/
IContexthub.hal 104 * appId appIdentifier returned by the HAL
114 unloadNanoApp(uint32_t hubId, uint64_t appId, uint32_t transactionId)
125 * appId appIdentifier returned by the HAL
135 enableNanoApp(uint32_t hubId, uint64_t appId, uint32_t transactionId)
146 * appId appIdentifier returned by the HAL
156 disableNanoApp(uint32_t hubId, uint64_t appId, uint32_t transactionId)
IContexthubCallback.hal 58 * @params appId : app identifier
64 handleAppAbort(uint64_t appId, uint32_t abortCode);
  /system/chre/platform/slpi/include/chre/target_platform/
platform_nanoapp_base.h 38 * @param appId The unique app identifier associated with this binary
46 bool loadFromBuffer(uint64_t appId, uint32_t appVersion,
54 * @param appId The nanoapp's ID
59 void loadFromFile(uint64_t appId, const char *filename);
  /system/chre/platform/slpi/
preloaded_nanoapps.cc 34 const uint64_t appId;
51 preloadedNanoapps[i].nanoapp->loadFromFile(preloadedNanoapps[i].appId,
platform_nanoapp.cc 72 bool PlatformNanoappBase::loadFromBuffer(uint64_t appId, uint32_t appVersion,
85 appBinaryLen, appId);
87 mExpectedAppId = appId;
98 void PlatformNanoappBase::loadFromFile(uint64_t appId, const char *filename) {
100 mExpectedAppId = appId;
175 PRIx32 " uimg %d system %d", mAppInfo->name, mAppInfo->appId,
208 mAppInfo->appId, mAppInfo->appVersion, mAppInfo->isTcmNanoapp,
223 return (mAppInfo != nullptr) ? mAppInfo->appId : mExpectedAppId;
  /system/chre/core/
host_comms_manager.cc 29 void HostCommsManager::flushMessagesSentByNanoapp(uint64_t appId) {
30 mHostLink.flushMessagesSentByNanoapp(appId);
51 msgToHost->appId = nanoapp->getAppId();
72 uint64_t appId, uint16_t hostEndpoint, uint32_t messageType,
85 msgFromHost->appId = appId;
103 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint,
116 } else if (!eventLoop.findNanoappInstanceIdByAppId(appId,
119 appId);
121 deliverNanoappMessageFromHost(appId, hostEndpoint, messageType, messageData
    [all...]
event_loop.cc 47 info->appId = app->getAppId();
61 bool EventLoop::findNanoappInstanceIdByAppId(uint64_t appId,
68 if (app->getAppId() == appId) {
87 uint64_t appId, chreMessageFreeFunction *freeFunction, void *message,
89 Nanoapp *nanoapp = lookupAppByAppId(appId);
91 LOGE("Couldn't find app 0x%016" PRIx64 " for message free callback", appId);
277 uint64_t appId, struct chreNanoappInfo *info) const {
279 Nanoapp *app = lookupAppByAppId(appId);
377 Nanoapp *EventLoop::lookupAppByAppId(uint64_t appId) const {
379 if (app->getAppId() == appId) {
    [all...]
  /system/chre/core/include/chre/core/
host_comms_manager.h 68 uint64_t appId;
87 void flushMessagesSentByNanoapp(uint64_t appId);
121 * @param appId Identifier for the destination nanoapp
130 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint,
169 uint64_t appId, uint16_t hostEndpoint, uint32_t messageType,
event_loop.h 59 * @param appId The nanoapp identifier to search for.
61 * instanceId associated with the given appId; otherwise unmodified.
65 bool findNanoappInstanceIdByAppId(uint64_t appId, uint32_t *instanceId) const;
82 * @param appId Identifies the nanoapp that sent this message and supplied the
89 uint64_t appId, chreMessageFreeFunction *freeFunction, void *message,
204 bool populateNanoappInfoForAppId(uint64_t appId,
338 * Finds a Nanoapp with the given 64-bit appId.
343 * @param appId Nanoapp ID
347 Nanoapp *lookupAppByAppId(uint64_t appId) const;
  /system/chre/platform/shared/include/chre/platform/shared/
host_protocol_chre.h 37 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint,
45 uint16_t hostClientId, uint32_t transactionId, uint64_t appId,
50 uint16_t hostClientId, uint32_t transactionId, uint64_t appId,
110 uint64_t appId, uint32_t appVersion, bool enabled, bool isSystemNanoapp);
host_protocol_common.h 57 flatbuffers::FlatBufferBuilder& builder, uint64_t appId,
nanoapp_support_lib_dso.h 92 uint64_t appId;
  /frameworks/base/core/java/android/print/
IPrintManager.aidl 40 List<PrintJobInfo> getPrintJobInfos(int appId, int userId);
41 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId, int appId, int userId);
43 in PrintAttributes attributes, String packageName, int appId, int userId);
44 void cancelPrintJob(in PrintJobId printJobId, int appId, int userId);
45 void restartPrintJob(in PrintJobId printJobId, int appId, int userId);
48 int appId, int userId);
  /system/chre/apps/unload_tester/
unload_tester.cc 66 CHRE_ASSERT(info.appId == chreGetAppId());
67 CHRE_ASSERT(info.appId == kUnloadTesterAppId);
94 if (info->appId == kSpammerAppId) {
  /system/chre/host/common/include/chre_host/
host_protocol_host.h 39 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint,
104 uint64_t appId, uint32_t appVersion, uint32_t targetApiVersion,
122 * @param appId Identifier for the app to unload
130 uint64_t appId, bool allowSystemNanoappUnload);
  /frameworks/base/core/java/android/hardware/location/
NanoAppFilter.java 33 // The appId, can be set to APP_ID_ANY
104 * @param appId application id
109 public NanoAppFilter(long appId, int appVersion, int versionMask, long vendorMask) {
110 mAppId = appId;
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
InstallerTest.java 88 final int appId = UserHandle.getAppId(app.uid);
90 if (ArrayUtils.contains(appIds, appId)) {
93 appIds = ArrayUtils.appendInt(appIds, appId);
110 appId, ceDataInodes, codePaths, stats);
115 appId, ceDataInodes, codePaths, quotaStats);
162 final int appId = UserHandle.getAppId(app.uid);
163 if (!ArrayUtils.contains(appIds, appId)) {
164 appIds = ArrayUtils.appendInt(appIds, appId);

Completed in 825 milliseconds

1 2 3 4 5 6 7