Home
last modified time | relevance | path

Searched refs:mRunningProfiles (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java135 private final ArrayList<ProfileService> mRunningProfiles = new ArrayList<>(); field in AdapterService
327 if (mRunningProfiles.contains(profile)) { in processProfileServiceStateChanged()
331 mRunningProfiles.add(profile); in processProfileServiceStateChanged()
335 && mRegisteredProfiles.size() == mRunningProfiles.size()) { in processProfileServiceStateChanged()
350 if (!mRunningProfiles.contains(profile)) { in processProfileServiceStateChanged()
354 mRunningProfiles.remove(profile); in processProfileServiceStateChanged()
356 if ((mRunningProfiles.size() == 1 && (GattService.class.getSimpleName() in processProfileServiceStateChanged()
357 .equals(mRunningProfiles.get(0).getName())))) { in processProfileServiceStateChanged()
359 } else if (mRunningProfiles.size() == 0) { in processProfileServiceStateChanged()
640 if (supportedProfileServices.length == 1 && (mRunningProfiles.size() == 1 in stopProfileServices()
[all …]