Home
last modified time | relevance | path

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

/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterService.java164 private final ArrayList<ProfileService> mRunningProfiles = new ArrayList<>(); field in AdapterService
395 if (mRunningProfiles.contains(profile)) { in processProfileServiceStateChanged()
399 mRunningProfiles.add(profile); in processProfileServiceStateChanged()
419 if (!mRunningProfiles.contains(profile)) { in processProfileServiceStateChanged()
423 mRunningProfiles.remove(profile); in processProfileServiceStateChanged()
426 .equals(mRunningProfiles.get(0).getName())))) { in processProfileServiceStateChanged()
428 } else if (mRunningProfiles.size() == 0) { in processProfileServiceStateChanged()
727 if (supportedProfileServices.length == 1 && (mRunningProfiles.size() == 1 in stopProfileServices()
738 if (mRunningProfiles.size() == 0) { in stopGattProfileService()
1170 && mRegisteredProfiles.size() == mRunningProfiles.size()) { in profileServicesRunning()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java148 private final Set<Integer> mRunningProfiles = new HashSet<>(); field in TvInputManagerService
214 if (mCurrentUserId == userId || mRunningProfiles.contains(userId)) { in registerBroadcastReceivers()
444 if (userId == mCurrentUserId || mRunningProfiles.contains(userId)) { in startUser()
467 mRunningProfiles.remove(userId); in stopUser()
471 mRunningProfiles.add(userId); in startProfileLocked()
487 for (int runningId : mRunningProfiles) { in switchUser()
491 mRunningProfiles.clear(); in switchUser()
634 mRunningProfiles.remove(userId); in removeUser()
733 if (userId == mCurrentUserId || mRunningProfiles.contains(userId)) { in updateServiceConnectionLocked()
1404 if (userId != mCurrentUserId && !mRunningProfiles.contains(userId) in createSession()