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);
490 private void onAppRegistrationState(int appId, int state) {
492 msg.arg1 = appId;
497 private void onChannelStateChanged(int appId, byte[] addr, int cfgIndex,
500 ChannelStateEvent channelStateEvent = new ChannelStateEvent(appId, addr, cfgIndex,
530 private BluetoothHealthAppConfiguration findAppConfigByAppId(int appId) {
533 if (appId == (e.getValue()).mAppId) {
539 Log.e(TAG, "No appConfig found for " + appId);
871 private ChannelStateEvent(int appId, byte[] addr, int cfgIndex,
873 mAppId = appId;
909 private native boolean unregisterHealthAppNative(int appId);
910 private native int connectChannelNative(byte[] btAddress, int appId);