Searched defs:nanoAppId (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/android/hardware/location/
H A DContextHubClientCallback.java63 * @param nanoAppId the ID of the nanoapp that had aborted
66 public void onNanoAppAborted(ContextHubClient client, long nanoAppId, int abortCode) {} argument
72 * @param nanoAppId the ID of the nanoapp that had been loaded
74 public void onNanoAppLoaded(ContextHubClient client, long nanoAppId) {} argument
80 * @param nanoAppId the ID of the nanoapp that had been unloaded
82 public void onNanoAppUnloaded(ContextHubClient client, long nanoAppId) {} argument
88 * @param nanoAppId the ID of the nanoapp that had been enabled
90 public void onNanoAppEnabled(ContextHubClient client, long nanoAppId) {} argument
96 * @param nanoAppId the ID of the nanoapp that had been disabled
98 public void onNanoAppDisabled(ContextHubClient client, long nanoAppId) {} argument
[all...]
H A DNanoAppState.java33 public NanoAppState(long nanoAppId, int appVersion, boolean enabled) { argument
34 mNanoAppId = nanoAppId;
H A DNanoAppMessage.java38 long nanoAppId, int messageType, byte[] messageBody, boolean broadcasted) {
39 mNanoAppId = nanoAppId;
37 NanoAppMessage( long nanoAppId, int messageType, byte[] messageBody, boolean broadcasted) argument
H A DContextHubManager.java408 * @param nanoAppId the app to unload
416 @NonNull ContextHubInfo hubInfo, long nanoAppId) {
424 mService.unloadNanoAppFromHub(hubInfo.getId(), callback, nanoAppId);
436 * @param nanoAppId the app to enable
444 @NonNull ContextHubInfo hubInfo, long nanoAppId) {
452 mService.enableNanoApp(hubInfo.getId(), callback, nanoAppId);
464 * @param nanoAppId the app to disable
472 @NonNull ContextHubInfo hubInfo, long nanoAppId) {
480 mService.disableNanoApp(hubInfo.getId(), callback, nanoAppId);
599 public void onNanoAppAborted(long nanoAppId, in
415 unloadNanoApp( @onNull ContextHubInfo hubInfo, long nanoAppId) argument
443 enableNanoApp( @onNull ContextHubInfo hubInfo, long nanoAppId) argument
471 disableNanoApp( @onNull ContextHubInfo hubInfo, long nanoAppId) argument
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DNanoAppStateManager.java82 * @param nanoAppId the unique 64-bit ID of the nanoapp
86 synchronized int getNanoAppHandle(int contextHubId, long nanoAppId) { argument
88 if (info.getContexthubId() == contextHubId && info.getAppId() == nanoAppId) {
103 * @param nanoAppId the unique 64-bit ID of the nanoapp
107 synchronized void addNanoAppInstance(int contextHubId, long nanoAppId, int nanoAppVersion) { argument
108 removeNanoAppInstance(contextHubId, nanoAppId);
118 nanoAppHandle, nanoAppId, nanoAppVersion, contextHubId));
127 + contextHubId + ": ID=0x" + Long.toHexString(nanoAppId)
135 * @param nanoAppId the ID of the nanoapp to remove the instance of
138 synchronized void removeNanoAppInstance(int contextHubId, long nanoAppId) { argument
175 handleQueryAppEntry(int contextHubId, long nanoAppId, int nanoAppVersion) argument
[all...]
H A DContextHubClientBroker.java184 * @param nanoAppId the ID of the nanoapp that was loaded.
186 /* package */ void onNanoAppLoaded(long nanoAppId) { argument
189 mCallbackInterface.onNanoAppLoaded(nanoAppId);
200 * @param nanoAppId the ID of the nanoapp that was unloaded.
202 /* package */ void onNanoAppUnloaded(long nanoAppId) { argument
205 mCallbackInterface.onNanoAppUnloaded(nanoAppId);
230 * @param nanoAppId the ID of the nanoapp that aborted
233 /* package */ void onNanoAppAborted(long nanoAppId, int abortCode) { argument
236 mCallbackInterface.onNanoAppAborted(nanoAppId, abortCode);
H A DContextHubClientManager.java151 * @param nanoAppId the ID of the nanoapp that was loaded
153 /* package */ void onNanoAppLoaded(int contextHubId, long nanoAppId) { argument
154 forEachClientOfHub(contextHubId, client -> client.onNanoAppLoaded(nanoAppId));
159 * @param nanoAppId the ID of the nanoapp that was unloaded
161 /* package */ void onNanoAppUnloaded(int contextHubId, long nanoAppId) { argument
162 forEachClientOfHub(contextHubId, client -> client.onNanoAppUnloaded(nanoAppId));
174 * @param nanoAppId the ID of the nanoapp that aborted
177 /* package */ void onNanoAppAborted(int contextHubId, long nanoAppId, int abortCode) { argument
178 forEachClientOfHub(contextHubId, client -> client.onNanoAppAborted(nanoAppId, abortCode));
H A DContextHubTransactionManager.java147 * @param nanoAppId the ID of the nanoapp to unload
152 int contextHubId, long nanoAppId, IContextHubTransactionCallback onCompleteCallback) {
159 contextHubId, nanoAppId, this.getTransactionId());
162 Long.toHexString(nanoAppId), e);
170 mNanoAppStateManager.removeNanoAppInstance(contextHubId, nanoAppId);
175 mClientManager.onNanoAppUnloaded(contextHubId, nanoAppId);
188 * @param nanoAppId the ID of the nanoapp to enable
193 int contextHubId, long nanoAppId, IContextHubTransactionCallback onCompleteCallback) {
200 contextHubId, nanoAppId, this.getTransactionId());
203 Long.toHexString(nanoAppId),
151 createUnloadTransaction( int contextHubId, long nanoAppId, IContextHubTransactionCallback onCompleteCallback) argument
192 createEnableTransaction( int contextHubId, long nanoAppId, IContextHubTransactionCallback onCompleteCallback) argument
227 createDisableTransaction( int contextHubId, long nanoAppId, IContextHubTransactionCallback onCompleteCallback) argument
[all...]
H A DContextHubService.java128 public void handleAppAbort(long nanoAppId, int abortCode) { argument
129 handleAppAbortCallback(mContextHubId, nanoAppId, abortCode);
212 public void onNanoAppAborted(long nanoAppId, int abortCode) {
216 public void onNanoAppLoaded(long nanoAppId) {
220 public void onNanoAppUnloaded(long nanoAppId) {
224 public void onNanoAppEnabled(long nanoAppId) {
228 public void onNanoAppDisabled(long nanoAppId) {
389 long nanoAppId = info.getAppId();
393 contextHubId, nanoAppId, onCompleteCallback);
570 * @param nanoAppId th
573 handleAppAbortCallback(int contextHubId, long nanoAppId, int abortCode) argument
664 unloadNanoAppFromHub( int contextHubId, IContextHubTransactionCallback transactionCallback, long nanoAppId) argument
688 enableNanoApp( int contextHubId, IContextHubTransactionCallback transactionCallback, long nanoAppId) argument
712 disableNanoApp( int contextHubId, IContextHubTransactionCallback transactionCallback, long nanoAppId) argument
[all...]

Completed in 89 milliseconds