Home | History | Annotate | Download | only in hdp

Lines Matching refs:appId

163                     int appId = registerHealthAppNative(appConfig.getDataType(), halRole,
165 if (appId == -1) {
179 appInfo.mAppId = appId;
189 int appId = (mApps.get(appConfig)).mAppId;
190 if (!unregisterHealthAppNative(appId)) {
191 Log.e(TAG, "Failed to unregister application: id: " + appId);
201 int appId = (mApps.get(chan.mConfig)).mAppId;
202 chan.mChannelId = connectChannelNative(devAddr, appId);
484 private void onAppRegistrationState(int appId, int state) {
486 msg.arg1 = appId;
491 private void onChannelStateChanged(int appId, byte[] addr, int cfgIndex,
494 ChannelStateEvent channelStateEvent = new ChannelStateEvent(appId, addr, cfgIndex,
524 private BluetoothHealthAppConfiguration findAppConfigByAppId(int appId) {
527 if (appId == (e.getValue()).mAppId) {
533 Log.e(TAG, "No appConfig found for " + appId);
849 private ChannelStateEvent(int appId, byte[] addr, int cfgIndex,
851 mAppId = appId;
887 private native boolean unregisterHealthAppNative(int appId);
888 private native int connectChannelNative(byte[] btAddress, int appId);