Home
last modified time | relevance | path

Searched refs:groupId (Results 1 – 25 of 142) sorted by relevance

123456

/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/media/
DCarAudioManagerTest.java162 int groupId = mCarAudioManager.getVolumeGroupIdForUsage(USAGE_MEDIA); in test_getVolumeGroupIdForUsage() local
164 .isEqualTo(groupId); in test_getVolumeGroupIdForUsage()
166 assertThat(groupId).isLessThan(primaryZoneCount); in test_getVolumeGroupIdForUsage()
179 int groupId = 0; in setVolumeGroupMute_toMute_mutesVolumeGroup() local
180 boolean muteState = mCarAudioManager.isVolumeGroupMuted(PRIMARY_AUDIO_ZONE, groupId); in setVolumeGroupMute_toMute_mutesVolumeGroup()
183 mCarAudioManager.setVolumeGroupMute(PRIMARY_AUDIO_ZONE, groupId, true, TEST_FLAGS); in setVolumeGroupMute_toMute_mutesVolumeGroup()
184 assertThat(mCarAudioManager.isVolumeGroupMuted(PRIMARY_AUDIO_ZONE, groupId)) in setVolumeGroupMute_toMute_mutesVolumeGroup()
187 mCarAudioManager.setVolumeGroupMute(PRIMARY_AUDIO_ZONE, groupId, muteState, TEST_FLAGS); in setVolumeGroupMute_toMute_mutesVolumeGroup()
194 int groupId = 0; in setVolumeGroupMute_toUnMute_unMutesVolumeGroup() local
195 boolean muteState = mCarAudioManager.isVolumeGroupMuted(PRIMARY_AUDIO_ZONE, groupId); in setVolumeGroupMute_toUnMute_unMutesVolumeGroup()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/
DCarAudioZoneVolumeFragment.java80 void sendVolumeChangedMessage(int groupId, int flags) { in sendVolumeChangedMessage() argument
81 mHandler.sendMessage(mHandler.obtainMessage(MSG_VOLUME_CHANGED, groupId, flags)); in sendVolumeChangedMessage()
84 void adjustVolumeUp(int groupId) { in adjustVolumeUp() argument
85 mHandler.sendMessage(mHandler.obtainMessage(MSG_ADJUST_VOLUME, groupId, ADJUST_VOLUME_UP)); in adjustVolumeUp()
88 void adjustVolumeDown(int groupId) { in adjustVolumeDown() argument
90 .obtainMessage(MSG_ADJUST_VOLUME, groupId, ADJUST_VOLUME_DOWN)); in adjustVolumeDown()
114 int groupId = msg.arg1; in handleMessage() local
117 mVolumeInfos[mGroupIdIndexMap.get(groupId)].hasAudioFocus = false; in handleMessage()
121 mFocusListener = new AudioFocusListener(groupId); in handleMessage()
122 mAudioManager.requestAudioFocus(mFocusListener, groupId, in handleMessage()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioNativeInterface.java115 void onGroupStatus(int groupId, int groupStatus) { in onGroupStatus() argument
118 event.valueInt1 = groupId; in onGroupStatus()
126 void onGroupNodeStatus(byte[] address, int groupId, int nodeStatus) { in onGroupNodeStatus() argument
129 event.valueInt1 = groupId; in onGroupNodeStatus()
140 int groupId, in onAudioConf() argument
147 event.valueInt2 = groupId; in onAudioConf()
184 int groupId, in onAudioGroupCurrentCodecConf() argument
191 event.valueInt1 = groupId; in onAudioGroupCurrentCodecConf()
201 int groupId, in onAudioGroupSelectableCodecConf() argument
208 event.valueInt1 = groupId; in onAudioGroupSelectableCodecConf()
[all …]
DLeAudioService.java555 Integer groupId = entry.getKey(); in stop() local
559 groupId, in stop()
687 int getAudioDeviceGroupVolume(int groupId) { in getAudioDeviceGroupVolume() argument
692 return volumeControlService.getAudioDeviceGroupVolume(groupId); in getAudioDeviceGroupVolume()
736 int groupId = getGroupId(device); in connect() local
737 if (groupId != LE_AUDIO_GROUP_ID_INVALID) { in connect()
738 isInbandRingtoneEnabled = getGroupDescriptor(groupId).mInbandRingtoneEnabled; in connect()
850 BluetoothDevice getConnectedGroupLeadDevice(int groupId) { in getConnectedGroupLeadDevice() argument
851 if (getGroupId(mActiveAudioOutDevice) == groupId) { in getConnectedGroupLeadDevice()
855 return getLeadDeviceForTheGroup(groupId); in getConnectedGroupLeadDevice()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/
DCsipSetCoordinatorService.java491 int groupId, @NonNull IBluetoothCsipSetCoordinatorLockCallback callback) { in lockGroup() argument
493 Log.d(TAG, "lockGroup(): " + groupId + ", callback not provided "); in lockGroup()
498 if (!mGroupIdToUuidMap.containsKey(groupId)) { in lockGroup()
501 groupId, BluetoothStatusCodes.ERROR_CSIP_INVALID_GROUP_ID, false); in lockGroup()
511 if (mLocks.containsKey(groupId)) { in lockGroup()
514 groupId, BluetoothStatusCodes.ERROR_CSIP_GROUP_LOCKED_BY_OTHER, true); in lockGroup()
518 Log.d(TAG, "lockGroup(): " + groupId + ", ERROR_CSIP_GROUP_LOCKED_BY_OTHER "); in lockGroup()
522 mLocks.put(groupId, new Pair<>(uuid, callback)); in lockGroup()
525 Log.d(TAG, "lockGroup(): locking group: " + groupId); in lockGroup()
526 mCsipSetCoordinatorNativeInterface.groupLockSet(groupId, true); in lockGroup()
[all …]
DCsipSetCoordinatorNativeInterface.java150 byte[] address, int groupId, int groupSize, int rank, long uuidLsb, long uuidMsb) { in onDeviceAvailable() argument
156 event.valueInt1 = groupId; in onDeviceAvailable()
171 public void onSetMemberAvailable(byte[] address, int groupId) { in onSetMemberAvailable() argument
176 event.valueInt1 = groupId; in onSetMemberAvailable()
189 public void onGroupLockChanged(int groupId, boolean locked, int status) { in onGroupLockChanged() argument
193 event.valueInt1 = groupId; in onGroupLockChanged()
207 public void groupLockSet(int groupId, boolean lock) { in groupLockSet() argument
208 groupLockSetNative(groupId, lock); in groupLockSet()
220 private native void groupLockSetNative(int groupId, boolean lock); in groupLockSetNative() argument
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioSettings.java52 int groupId) { in getStoredVolumeGainIndexForUser() argument
53 return getIntForUser(getVolumeSettingsKeyForGroup(zoneId, configId, groupId), in getStoredVolumeGainIndexForUser()
57 void storeVolumeGainIndexForUser(@UserIdInt int userId, int zoneId, int configId, int groupId, in storeVolumeGainIndexForUser() argument
59 putIntForUser(getVolumeSettingsKeyForGroup(zoneId, configId, groupId), in storeVolumeGainIndexForUser()
75 void storeVolumeGroupMuteForUser(@UserIdInt int userId, int zoneId, int configId, int groupId, in storeVolumeGroupMuteForUser() argument
77 putIntForUser(getMuteSettingsKeyForGroup(zoneId, configId, groupId), in storeVolumeGroupMuteForUser()
82 int groupId) { in getVolumeGroupMuteForUser() argument
83 return getIntForUser(getMuteSettingsKeyForGroup(zoneId, configId, groupId), in getVolumeGroupMuteForUser()
113 private static String getVolumeSettingsKeyForGroup(int zoneId, int configId, int groupId) { in getVolumeSettingsKeyForGroup() argument
115 configId, groupId); in getVolumeSettingsKeyForGroup()
[all …]
DCarVolumeInfoWrapper.java43 public int getGroupVolume(int zoneId, int groupId) { in getGroupVolume() argument
44 return mCarAudioService.getGroupVolume(zoneId, groupId); in getGroupVolume()
47 public int getGroupMinVolume(int zoneId, int groupId) { in getGroupMinVolume() argument
48 return mCarAudioService.getGroupMinVolume(zoneId, groupId); in getGroupMinVolume()
51 public int getGroupMaxVolume(int zoneId, int groupId) { in getGroupMaxVolume() argument
52 return mCarAudioService.getGroupMaxVolume(zoneId, groupId); in getGroupMaxVolume()
55 public boolean isVolumeGroupMuted(int zoneId, int groupId) { in isVolumeGroupMuted() argument
56 return mCarAudioService.isVolumeGroupMuted(zoneId, groupId); in isVolumeGroupMuted()
63 public CarVolumeGroupInfo getVolumeGroupInfo(int zoneId, int groupId) { in getVolumeGroupInfo() argument
64 return mCarAudioService.getVolumeGroupInfo(zoneId, groupId); in getVolumeGroupInfo()
DCarAudioPolicyVolumeCallback.java147 int groupId = mCarVolumeInfo.getVolumeGroupIdForAudioZone(zoneId); in evaluateVolumeAdjustmentInternal() local
148 if (groupId == INVALID_VOLUME_GROUP_ID) { in evaluateVolumeAdjustmentInternal()
155 boolean isMuted = isMuted(zoneId, groupId); in evaluateVolumeAdjustmentInternal()
161 groupId, isMuted); in evaluateVolumeAdjustmentInternal()
164 int currentVolume = mCarVolumeInfo.getGroupVolume(zoneId, groupId); in evaluateVolumeAdjustmentInternal()
166 int minGain = mCarVolumeInfo.getGroupMinVolume(zoneId, groupId); in evaluateVolumeAdjustmentInternal()
173 mVolumeCallback.onGroupVolumeChange(zoneId, groupId, minValue, flags); in evaluateVolumeAdjustmentInternal()
177 mCarVolumeInfo.getGroupMaxVolume(zoneId, groupId)); in evaluateVolumeAdjustmentInternal()
181 mVolumeCallback.onGroupVolumeChange(zoneId, groupId, maxValue, flags); in evaluateVolumeAdjustmentInternal()
185 mVolumeCallback.onMuteChange(adjustment == ADJUST_MUTE, zoneId, groupId, flags); in evaluateVolumeAdjustmentInternal()
[all …]
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/statusicon/ui/
DMediaVolumeStatusIconControllerTest.java128 int groupId = 10; in onGroupVolumeChanged_whenZoneIdAndGroupIdAreSame_updateStatus() local
130 doReturn(volume).when(mCarAudioManager).getGroupVolume(zoneId, groupId); in onGroupVolumeChanged_whenZoneIdAndGroupIdAreSame_updateStatus()
132 mVolumeChangeCallback.onGroupVolumeChanged(zoneId, groupId, /* flag= */ 0); in onGroupVolumeChanged_whenZoneIdAndGroupIdAreSame_updateStatus()
142 int groupId = 10; in onGroupVolumeChanged_whenZoneIdIsNotSame_doNotUpdateStatus() local
144 doReturn(groupId).when(mCarAudioManager).getVolumeGroupIdForUsage(zoneId, USAGE_MEDIA); in onGroupVolumeChanged_whenZoneIdIsNotSame_doNotUpdateStatus()
145 doReturn(volume).when(mCarAudioManager).getGroupVolume(zoneId, groupId); in onGroupVolumeChanged_whenZoneIdIsNotSame_doNotUpdateStatus()
147 mVolumeChangeCallback.onGroupVolumeChanged(zoneId, groupId, /* flag= */ 0); in onGroupVolumeChanged_whenZoneIdIsNotSame_doNotUpdateStatus()
157 int groupId = 9; in onGroupVolumeChanged_whenGroupIdIsNotSame_doNotUpdateStatus() local
159 doReturn(volume).when(mCarAudioManager).getGroupVolume(zoneId, groupId); in onGroupVolumeChanged_whenGroupIdIsNotSame_doNotUpdateStatus()
161 mVolumeChangeCallback.onGroupVolumeChanged(zoneId, groupId, /* flag= */ 0); in onGroupVolumeChanged_whenGroupIdIsNotSame_doNotUpdateStatus()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientNativeInterface.java124 public void groupSelectActivePreset(int groupId, int presetIndex) { in groupSelectActivePreset() argument
125 groupSelectActivePresetNative(groupId, presetIndex); in groupSelectActivePreset()
144 public void groupNextActivePreset(int groupId) { in groupNextActivePreset() argument
145 groupNextActivePresetNative(groupId); in groupNextActivePreset()
164 public void groupPreviousActivePreset(int groupId) { in groupPreviousActivePreset() argument
165 groupPreviousActivePresetNative(groupId); in groupPreviousActivePreset()
199 public void groupSetPresetName(int groupId, int presetIndex, String name) { in groupSetPresetName() argument
200 groupSetPresetNameNative(groupId, presetIndex, name); in groupSetPresetName()
252 void onActivePresetGroupSelected(int groupId, int presetIndex) { in onActivePresetGroupSelected() argument
256 event.valueInt2 = groupId; in onActivePresetGroupSelected()
[all …]
DHapClientService.java606 public void selectPresetForGroup(int groupId, int presetIndex) { in selectPresetForGroup() argument
609 if (!isGroupIdValid(groupId)) { in selectPresetForGroup()
611 } else if (!isPresetIndexValid(groupId, presetIndex)) { in selectPresetForGroup()
622 .onPresetSelectionForGroupFailed(groupId, status); in selectPresetForGroup()
632 mHapClientNativeInterface.groupSelectActivePreset(groupId, presetIndex); in selectPresetForGroup()
649 public void switchToNextPresetForGroup(int groupId) { in switchToNextPresetForGroup() argument
650 mHapClientNativeInterface.groupNextActivePreset(groupId); in switchToNextPresetForGroup()
667 public void switchToPreviousPresetForGroup(int groupId) { in switchToPreviousPresetForGroup() argument
668 mHapClientNativeInterface.groupPreviousActivePreset(groupId); in switchToPreviousPresetForGroup()
765 private void notifyPresetInfoForGroupChanged(int groupId, int infoReason) { in notifyPresetInfoForGroupChanged() argument
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DGroupMembershipView.java70 public GroupSelectionItem(long groupId, String title, boolean checked) { in GroupSelectionItem() argument
71 this.mGroupId = groupId; in GroupSelectionItem()
287 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID); in updateView() local
290 mFavoritesGroupId = groupId; in updateView()
293 mDefaultGroupId = groupId; in updateView()
300 if (groupId != mFavoritesGroupId && groupId != mDefaultGroupId in updateView()
301 && hasMembership(groupId)) { in updateView()
361 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID); in onClick() local
362 if (groupId != mFavoritesGroupId in onClick()
363 && (groupId != mDefaultGroupId || mDefaultGroupVisible)) { in onClick()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlService.java602 int groupId = leAudioService.getGroupId(device); in setDeviceVolume() local
603 if (groupId == IBluetoothLeAudio.LE_AUDIO_GROUP_ID_INVALID) { in setDeviceVolume()
609 setGroupVolume(groupId, volume); in setDeviceVolume()
617 public void setGroupVolume(int groupId, int volume) { in setGroupVolume() argument
623 mGroupVolumeCache.put(groupId, volume); in setGroupVolume()
624 mVolumeControlNativeInterface.setGroupVolume(groupId, volume); in setGroupVolume()
627 Boolean isGroupMute = mGroupMuteCache.getOrDefault(groupId, false); in setGroupVolume()
648 Log.i(TAG, "Mute the group " + groupId); in setGroupVolume()
649 muteGroup(groupId); in setGroupVolume()
652 Log.i(TAG, "Unmute the group " + groupId); in setGroupVolume()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java651 int groupId = 1; in testVolumeCache() local
654 Assert.assertEquals(-1, mService.getGroupVolume(groupId)); in testVolumeCache()
655 mServiceBinder.setGroupVolume(groupId, volume, mAttributionSource); in testVolumeCache()
657 int groupVolume = mServiceBinder.getGroupVolume(groupId, mAttributionSource); in testVolumeCache()
666 stackEvent.valueInt1 = groupId; in testVolumeCache()
672 Assert.assertEquals(volume, mService.getGroupVolume(groupId)); in testVolumeCache()
711 int groupId = 1; in testMuteCache() local
714 Assert.assertEquals(false, mService.getGroupMute(groupId)); in testMuteCache()
721 stackEvent.valueInt1 = groupId; in testMuteCache()
728 mServiceBinder.muteGroup(groupId, mAttributionSource); in testMuteCache()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DSafetyCenterUiData.kt45 fun getMatchingGroup(groupId: String): SafetyCenterEntryGroup? { in getMatchingGroup()
48 return entryGroups.find { it.id == groupId } in getMatchingGroup()
56 fun getMatchingIssues(groupId: String): List<SafetyCenterIssue> = in getMatchingIssues()
57 selectMatchingIssuesForGroup(groupId, safetyCenterData.issues) in getMatchingIssues()
64 fun getMatchingDismissedIssues(groupId: String): List<SafetyCenterIssue> = in getMatchingIssues()
65 selectMatchingIssuesForGroup(groupId, safetyCenterData.visibleDismissedIssues()) in getMatchingIssues()
69 groupId: String, in getMatchingIssues()
76 issuesToGroups?.getStringArrayList(it.id)?.contains(groupId) ?: false in getMatchingIssues()
77 val matchesByDefault = it.groupId == groupId in getMatchingIssues()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java1165 private void generateGroupNodeAdded(BluetoothDevice device, int groupId) { in generateGroupNodeAdded() argument
1169 nodeGroupAdded.valueInt1 = groupId; in generateGroupNodeAdded()
1174 private void generateGroupNodeRemoved(BluetoothDevice device, int groupId) { in generateGroupNodeRemoved() argument
1178 nodeGroupRemoved.valueInt1 = groupId; in generateGroupNodeRemoved()
1342 int groupId = 1; in testGroupAddRemoveNode() local
1344 doReturn(true).when(mNativeInterface).groupAddNode(groupId, mSingleDevice); in testGroupAddRemoveNode()
1345 doReturn(true).when(mNativeInterface).groupRemoveNode(groupId, mSingleDevice); in testGroupAddRemoveNode()
1347 assertThat(mService.groupAddNode(groupId, mSingleDevice)).isTrue(); in testGroupAddRemoveNode()
1348 assertThat(mService.groupRemoveNode(groupId, mSingleDevice)).isTrue(); in testGroupAddRemoveNode()
1354 int groupId = 1; in testSetActiveDeviceGroup() local
[all …]
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioManager.java405 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) {
406 mEventHandler.dispatchOnGroupVolumeChanged(zoneId, groupId, flags);
410 public void onGroupMuteChanged(int zoneId, int groupId, int flags) {
411 mEventHandler.dispatchOnGroupMuteChanged(zoneId, groupId, flags);
474 public void setGroupVolume(int groupId, int index, int flags) { in setGroupVolume() argument
475 setGroupVolume(PRIMARY_AUDIO_ZONE, groupId, index, flags); in setGroupVolume()
491 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() argument
493 mService.setGroupVolume(zoneId, groupId, index, flags); in setGroupVolume()
507 public int getGroupMaxVolume(int groupId) { in getGroupMaxVolume() argument
508 return getGroupMaxVolume(PRIMARY_AUDIO_ZONE, groupId); in getGroupMaxVolume()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/qc/
DBaseVolumeSlider.java98 int groupId = carAudioManager.getVolumeGroupIdForUsage(zoneId, usage); in getQCItem() local
99 int min = carAudioManager.getGroupMinVolume(zoneId, groupId); in getQCItem()
100 int max = carAudioManager.getGroupMaxVolume(zoneId, groupId); in getQCItem()
101 int value = carAudioManager.getGroupVolume(zoneId, groupId); in getQCItem()
104 && carAudioManager.isVolumeGroupMuted(zoneId, groupId)) { in getQCItem()
115 .setInputAction(createSliderAction(groupId)) in getQCItem()
131 int groupId = intent.getIntExtra(EXTRA_GROUP_ID, Integer.MIN_VALUE); in onNotifyChange() local
132 if (value == Integer.MIN_VALUE || groupId == Integer.MIN_VALUE) { in onNotifyChange()
135 setGroupVolume(groupId, value); in onNotifyChange()
146 private PendingIntent createSliderAction(int groupId) { in createSliderAction() argument
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientNativeInterfaceTest.java110 int groupId = 1; in onActivePresetGroupSelected() local
112 mNativeInterface.onActivePresetGroupSelected(groupId, presetIndex); in onActivePresetGroupSelected()
120 assertThat(event.getValue().valueInt2).isEqualTo(groupId); in onActivePresetGroupSelected()
138 int groupId = 1; in onActivePresetGroupSelectError() local
140 mNativeInterface.onActivePresetGroupSelectError(groupId, resultCode); in onActivePresetGroupSelectError()
148 assertThat(event.getValue().valueInt2).isEqualTo(groupId); in onActivePresetGroupSelectError()
172 int groupId = 100; in onGroupPresetInfo() local
180 mNativeInterface.onGroupPresetInfo(groupId, infoReason, presets); in onGroupPresetInfo()
187 assertThat(event.getValue().valueInt3).isEqualTo(groupId); in onGroupPresetInfo()
208 int groupId = 5; in onGroupPresetNameSetError() local
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DGroupsTest.java122 final long groupId = cursor.getLong(Projections.COL_ID); in testGroupSummary() local
126 if (groupId == groupGrey) { in testGroupSummary()
130 } else if (groupId == groupRed) { in testGroupSummary()
134 } else if (groupId == groupGreen) { in testGroupSummary()
138 } else if (groupId == groupBlue) { in testGroupSummary()
183 long groupId = createGroup(mAccount, "g1", "gt1"); in testGroupDeletion1() local
184 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in testGroupDeletion1()
197 long groupId = createGroup(mAccount, "g1", "gt1"); in testGroupDeletion2() local
198 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in testGroupDeletion2()
256 final long groupId = this.createGroup(sTestAccount, GROUP_ID, GROUP_ID, 1); in testDelayVisibleTransaction() local
[all …]
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/
DAudioSharingDialogHandler.java246 int groupId = AudioSharingUtils.getGroupId(cachedDevice); in handleLeAudioDeviceConnected() local
247 if (groupedDevices.containsKey(groupId) in handleLeAudioDeviceConnected()
248 && groupedDevices.get(groupId).stream() in handleLeAudioDeviceConnected()
279 addSourceForGroup(groupId, groupedDevices); in handleLeAudioDeviceConnected()
306 addSourceForGroup(groupId, groupedDevices); in handleLeAudioDeviceConnected()
405 int groupId = AudioSharingUtils.getGroupId(cachedDevice); in closeOpeningDialogsForLeaDevice() local
410 && groupId != BluetoothCsipSetCoordinator.GROUP_ID_INVALID in closeOpeningDialogsForLeaDevice()
411 && AudioSharingUtils.getGroupId(device) == groupId) { in closeOpeningDialogsForLeaDevice()
412 Log.d(TAG, "Remove staled opening dialog for group " + groupId); in closeOpeningDialogsForLeaDevice()
451 int groupId, Map<Integer, List<CachedBluetoothDevice>> groupedDevices) { in removeSourceForGroup() argument
[all …]
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeAudio.java104 void onCodecConfigChanged(int groupId, @NonNull BluetoothLeAudioCodecStatus status); in onCodecConfigChanged() argument
115 void onGroupNodeAdded(@NonNull BluetoothDevice device, int groupId); in onGroupNodeAdded() argument
126 void onGroupNodeRemoved(@NonNull BluetoothDevice device, int groupId); in onGroupNodeRemoved() argument
136 void onGroupStatusChanged(int groupId, @GroupStatus int groupStatus); in onGroupStatusChanged() argument
148 int groupId, @GroupStreamStatus int groupStreamStatus) { in onGroupStreamStatusChanged() argument
160 int groupId, @NonNull BluetoothLeAudioCodecStatus status) {
165 executor.execute(() -> callback.onCodecConfigChanged(groupId, status));
170 public void onGroupNodeAdded(@NonNull BluetoothDevice device, int groupId) {
176 executor.execute(() -> callback.onGroupNodeAdded(device, groupId));
181 public void onGroupNodeRemoved(@NonNull BluetoothDevice device, int groupId) {
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DCollapsableGroupCardHelper.kt47 fun onGroupCollapsed(groupId: String) { in onGroupCollapsed()
48 expandedGroups.remove(groupId) in onGroupCollapsed()
51 fun onGroupExpanded(groupId: String) { in onGroupExpanded()
52 expandedGroups.add(groupId) in onGroupExpanded()
55 fun isGroupExpanded(groupId: CharSequence): Boolean = expandedGroups.contains(groupId)
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMetaData.java51 public final long groupId; field in GroupMetaData
63 final long groupId = cursor.getLong(GroupMetaDataLoader.GROUP_ID); in GroupMetaData() local
65 ContactsContract.Groups.CONTENT_URI, groupId); in GroupMetaData()
76 this.groupId = groupId; in GroupMetaData()
93 groupId = source.readLong(); in GroupMetaData()
107 dest.writeLong(groupId); in writeToParcel()
117 return uri != null && !TextUtils.isEmpty(groupName) && groupId > 0; in isValid()
131 .add("groupId", groupId) in toString()

123456