/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CsipDeviceManager.java | 55 final int groupId = getBaseGroupId(newDevice.getDevice()); in initCsipDeviceIfNeeded() local 56 if (isValidGroupId(groupId)) { in initCsipDeviceIfNeeded() 57 log("initCsipDeviceIfNeeded: " + newDevice + " (group: " + groupId + ")"); in initCsipDeviceIfNeeded() 59 newDevice.setGroupId(groupId); in initCsipDeviceIfNeeded() 84 final int groupId = newDevice.getGroupId(); in setMemberDeviceIfNeeded() local 85 if (isValidGroupId(groupId)) { in setMemberDeviceIfNeeded() 86 final CachedBluetoothDevice CsipDevice = getCachedDevice(groupId); in setMemberDeviceIfNeeded() 100 private boolean isValidGroupId(int groupId) { in isValidGroupId() argument 101 return groupId != BluetoothCsipSetCoordinator.GROUP_ID_INVALID; in isValidGroupId() 111 public CachedBluetoothDevice getCachedDevice(int groupId) { in getCachedDevice() argument [all …]
|
D | CachedBluetoothDeviceManager.java | 359 private synchronized boolean shouldPairByCsip(BluetoothDevice device, int groupId) { in shouldPairByCsip() argument 363 || !mCsipDeviceManager.isExistedGroupId(groupId)) { in shouldPairByCsip() 379 public synchronized void pairDeviceByCsip(BluetoothDevice device, int groupId) { in pairDeviceByCsip() argument 380 if (!shouldPairByCsip(device, groupId)) { in pairDeviceByCsip() 385 syncConfigFromMainDevice(device, groupId); in pairDeviceByCsip() 392 private void syncConfigFromMainDevice(BluetoothDevice device, int groupId) { in syncConfigFromMainDevice() argument 399 mainDevice = mCsipDeviceManager.getCachedDevice(groupId); in syncConfigFromMainDevice()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MenuTest.java | 49 final int groupId = 541; in testGroupId() local 54 final MenuItem item = mMenu.add(groupId, 0, item1Index, "test"); in testGroupId() 56 final MenuItem item2 = mMenu.add(groupId, 0, item2Index, "test2"); in testGroupId() 58 Assert.assertEquals(groupId, item.getGroupId()); in testGroupId() 59 Assert.assertEquals(groupId, item2.getGroupId()); in testGroupId() 60 Assert.assertEquals(item1Index, mMenu.findGroupIndex(groupId)); in testGroupId() 61 Assert.assertEquals(item2Index, mMenu.findGroupIndex(groupId, item1Index + 1)); in testGroupId() 111 final int groupId = 1; in testCheckable() local 112 final MenuItem item1 = mMenu.add(groupId, 1, 0, "item1"); in testCheckable() 113 final MenuItem item2 = mMenu.add(groupId, 2, 0, "item2"); in testCheckable() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationRecordLoggerFake.java | 39 int buzzBeepBlink, InstanceId groupId) { in CallRecord() argument 45 groupInstanceId = groupId; in CallRecord() 48 CallRecord(NotificationRecord r, int position, int buzzBeepBlink, InstanceId groupId) { in CallRecord() argument 54 groupInstanceId = groupId; in CallRecord() 82 int position, int buzzBeepBlink, InstanceId groupId) { in maybeLogNotificationPosted() argument 83 mCalls.add(new CallRecord(r, old, position, buzzBeepBlink, groupId)); in maybeLogNotificationPosted() 88 InstanceId groupId) { in logNotificationAdjusted() argument 89 mCalls.add(new CallRecord(r, position, buzzBeepBlink, groupId)); in logNotificationAdjusted()
|
D | NotificationRecordTest.java | 105 private final String groupId = "group"; field in NotificationRecordTest 654 false /* lights */, false /* defaultLights */, groupId /* group */); in testNotificationStats() 697 false /* lights */, false /* defaultLights */, groupId /* group */); in testUserSentiment() 715 false /* lights */, false /* defaultLights */, groupId /* group */); in testUserSentiment_appImportanceUpdatesSentiment() 727 false /* lights */, false /* defaultLights */, groupId /* group */); in testUserSentiment_appImportanceBlocksNegativeSentimentUpdate() 744 false /* lights */, false /* defaultLights */, groupId /* group */); in testUserSentiment_userLocked() 762 false /* lights */, false /* defaultLights */, groupId /* group */); in testProposedImportance() 780 false /* lights */, false /* defaultLights */, groupId /* group */); in testAppImportance_returnsCorrectly() 917 false /* lights */, false /* defaultLights */, groupId /* group */); in testSmartActions() 933 false /* lights */, false /* defaultLights */, groupId /* group */); in testUpdateNotificationChannel() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecordLoggerImpl.java | 37 InstanceId groupId) { in maybeLogNotificationPosted() argument 43 position, buzzBeepBlink, groupId); in maybeLogNotificationPosted() 49 InstanceId groupId) { in logNotificationAdjusted() argument 52 position, buzzBeepBlink, groupId); in logNotificationAdjusted() 57 InstanceId groupId) { in writeNotificationReportedAtom() argument 66 /* int32 group_instance_id = 8 */ (groupId == null) ? 0 : groupId.getId(), in writeNotificationReportedAtom()
|
/frameworks/base/core/java/android/view/ |
D | Menu.java | 176 public MenuItem add(int groupId, int itemId, int order, CharSequence title); in add() argument 193 public MenuItem add(int groupId, int itemId, int order, @StringRes int titleRes); in add() argument 235 SubMenu addSubMenu(final int groupId, final int itemId, int order, final CharSequence title); in addSubMenu() argument 250 SubMenu addSubMenu(int groupId, int itemId, int order, @StringRes int titleRes); in addSubMenu() argument 303 public int addIntentOptions(int groupId, int itemId, int order, in addIntentOptions() argument 321 public void removeGroup(int groupId); in removeGroup() argument
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioVolumeGroupTest.java | 78 int groupId = aps.getVolumeGroupIdForAudioAttributes(aa); in testGetVolumeGroups() local 79 if (groupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in testGetVolumeGroups() 88 avgId, groupId); in testGetVolumeGroups() 110 int groupId = aps.getVolumeGroupIdForLegacyStreamType(avgStreamType); in testGetVolumeGroups() local 111 if (groupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in testGetVolumeGroups() 118 avgId, groupId); in testGetVolumeGroups()
|
D | AudioManagerTest.java | 129 int groupId = strategy.getVolumeGroupIdForAudioAttributes(aa); in testGetAndValidateVolumeGroups() local 130 if (groupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in testGetAndValidateVolumeGroups() 136 audioVolumeGroup.getId(), groupId); in testGetAndValidateVolumeGroups() 159 int groupId = strategy.getVolumeGroupIdForLegacyStreamType(avgStreamType); in testGetAndValidateVolumeGroups() local 160 if (groupId != AudioVolumeGroup.DEFAULT_VOLUME_GROUP) { in testGetAndValidateVolumeGroups() 167 audioVolumeGroup.getId(), groupId); in testGetAndValidateVolumeGroups()
|
/frameworks/base/core/java/android/widget/ |
D | BaseExpandableListAdapter.java | 80 public long getCombinedChildId(long groupId, long childId) { in getCombinedChildId() argument 81 return 0x8000000000000000L | ((groupId & 0x7FFFFFFF) << 32) | (childId & 0xFFFFFFFF); in getCombinedChildId() 95 public long getCombinedGroupId(long groupId) { in getCombinedGroupId() argument 96 return (groupId & 0x7FFFFFFF) << 32; in getCombinedGroupId()
|
D | ExpandableListAdapter.java | 194 long getCombinedChildId(long groupId, long childId); in getCombinedChildId() argument 208 long getCombinedGroupId(long groupId); in getCombinedGroupId() argument
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenu.java | 62 public MenuItem add(int groupId, int itemId, int order, int titleRes) { in add() argument 63 return add(groupId, itemId, order, mContext.getResources().getString(titleRes)); in add() 66 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { in add() argument 68 groupId, itemId, 0, order, title); in add() 73 public int addIntentOptions(int groupId, int itemId, int order, in addIntentOptions() argument 82 removeGroup(groupId); in addIntentOptions() 92 final MenuItem item = add(groupId, itemId, order, ri.loadLabel(pm)) in addIntentOptions() 113 public SubMenu addSubMenu(int groupId, int itemId, int order, in addSubMenu() argument 119 public SubMenu addSubMenu(int groupId, int itemId, int order, int titleRes) { in addSubMenu() argument 207 public void removeGroup(int groupId) { in removeGroup() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LogicalDisplayMapper.java | 302 public DisplayGroup getDisplayGroupLocked(int groupId) { in getDisplayGroupLocked() argument 303 return mDisplayGroups.get(groupId); in getDisplayGroupLocked() 704 final int groupId = mDisplayGroups.keyAt(i); in updateLogicalDisplaysLocked() local 706 final boolean wasPreviouslyUpdated = mUpdatedDisplayGroups.indexOfKey(groupId) > -1; in updateLogicalDisplaysLocked() 710 mUpdatedDisplayGroups.delete(groupId); in updateLogicalDisplaysLocked() 712 mDisplayGroupsToUpdate.put(groupId, DISPLAY_GROUP_EVENT_REMOVED); in updateLogicalDisplaysLocked() 716 mDisplayGroupsToUpdate.put(groupId, DISPLAY_GROUP_EVENT_ADDED); in updateLogicalDisplaysLocked() 717 } else if (mUpdatedDisplayGroups.get(groupId) != changeCount) { in updateLogicalDisplaysLocked() 718 mDisplayGroupsToUpdate.put(groupId, DISPLAY_GROUP_EVENT_CHANGED); in updateLogicalDisplaysLocked() 720 mUpdatedDisplayGroups.put(groupId, changeCount); in updateLogicalDisplaysLocked() [all …]
|
D | DisplayGroup.java | 35 DisplayGroup(int groupId) { in DisplayGroup() argument 36 mGroupId = groupId; in DisplayGroup()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_fingerprint_FingerprintService.cpp | 133 static jint nativeEnroll(JNIEnv* env, jobject clazz, jbyteArray token, jint groupId, jint timeout) { in nativeEnroll() argument 134 ALOG(LOG_VERBOSE, LOG_TAG, "nativeEnroll(gid=%d, timeout=%d)\n", groupId, timeout); in nativeEnroll() 142 reinterpret_cast<const hw_auth_token_t*>(tokenData), groupId, timeout); in nativeEnroll() 159 static jint nativeAuthenticate(JNIEnv* env, jobject clazz, jlong sessionId, jint groupId) { in nativeAuthenticate() argument 160 ALOG(LOG_VERBOSE, LOG_TAG, "nativeAuthenticate(sid=%" PRId64 ", gid=%d)\n", sessionId, groupId); in nativeAuthenticate() 161 int ret = gContext.device->authenticate(gContext.device, sessionId, groupId); in nativeAuthenticate() 171 static jint nativeRemove(JNIEnv* env, jobject clazz, jint fingerId, jint groupId) { in nativeRemove() argument 172 ALOG(LOG_VERBOSE, LOG_TAG, "nativeRemove(fid=%d, gid=%d)\n", fingerId, groupId); in nativeRemove() 175 finger.gid = groupId; in nativeRemove()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
D | Fingerprint21UdfpsMock.java | 164 final int groupId; field in Fingerprint21UdfpsMock.MockHalResultController.LastAuthArgs 168 int fingerId, int groupId, @Nullable ArrayList<Byte> token) { in LastAuthArgs() argument 172 this.groupId = groupId; in LastAuthArgs() 207 public void onAuthenticated(long deviceId, int fingerId, int groupId, in onAuthenticated() argument 226 groupId, token); in onAuthenticated() 239 void sendAuthenticated(long deviceId, int fingerId, int groupId, in sendAuthenticated() argument 243 super.onAuthenticated(deviceId, fingerId, groupId, token); in sendAuthenticated() 303 mMockHalResultController.mLastAuthArgs.groupId, in run()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioAttributes.h | 34 AudioAttributes(volume_group_t groupId, in AudioAttributes() argument 37 mAttributes(attributes), mStreamType(stream), mGroupId(groupId) {} in AudioAttributes()
|
/frameworks/av/media/libaudioclient/ |
D | AudioAttributes.cpp | 49 aidl.groupId = VALUE_OR_RETURN(legacy2aidl_volume_group_t_int32_t(legacy.getGroupId())); in legacy2aidl_AudioAttributes_AudioAttributesEx() 55 return AudioAttributes(VALUE_OR_RETURN(aidl2legacy_int32_t_volume_group_t(aidl.groupId)), in aidl2legacy_AudioAttributesEx_AudioAttributes()
|
D | AudioVolumeGroup.cpp | 50 aidl.groupId = VALUE_OR_RETURN(legacy2aidl_volume_group_t_int32_t(legacy.getId())); in legacy2aidl_AudioVolumeGroup() 66 VALUE_OR_RETURN(aidl2legacy_int32_t_volume_group_t(aidl.groupId)), in aidl2legacy_AudioVolumeGroup()
|
/frameworks/base/core/java/android/view/selectiontoolbar/ |
D | ToolbarMenuItem.java | 156 int groupId, in ToolbarMenuItem() argument 165 this.mGroupId = groupId; in ToolbarMenuItem() 332 int groupId = in.readInt(); in ToolbarMenuItem() local 342 this.mGroupId = groupId; in ToolbarMenuItem() 403 int groupId, in Builder() argument 412 mGroupId = groupId; in Builder()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
D | FakeExpandableAdapter.java | 165 public long getCombinedGroupId(long groupId) { in getCombinedGroupId() argument 166 return groupId << 16 | 0x0000FFFF; in getCombinedGroupId() 170 public long getCombinedChildId(long groupId, long childId) { in getCombinedChildId() argument 171 return groupId << 16 | childId; in getCombinedChildId()
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | Fingerprint.java | 29 public Fingerprint(CharSequence name, int groupId, int fingerId, long deviceId) { in Fingerprint() argument 31 mGroupId = groupId; in Fingerprint()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerInternal.java | 89 public abstract boolean requestPowerState(int groupId, DisplayPowerRequest request, in requestPowerState() argument 604 void onDisplayGroupAdded(int groupId); in onDisplayGroupAdded() argument 616 void onDisplayGroupRemoved(int groupId); in onDisplayGroupRemoved() argument 628 void onDisplayGroupChanged(int groupId); in onDisplayGroupChanged() argument
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | SessionConfigurationUtilsHidl.cpp | 65 hidl.streams[i].groupId = stream.groupId; in convertAidlToHidl37StreamCombination() 141 if (streamConfigV37.streams[i].groupId != -1) { in convertHALStreamCombinationFromV37ToV34()
|
/frameworks/base/media/java/android/media/ |
D | IAudioService.aidl | 129 void setVolumeGroupVolumeIndex(int groupId, int index, int flags, String callingPackage, in setVolumeGroupVolumeIndex() argument 132 int getVolumeGroupVolumeIndex(int groupId); in getVolumeGroupVolumeIndex() argument 134 int getVolumeGroupMaxVolumeIndex(int groupId); in getVolumeGroupMaxVolumeIndex() argument 136 int getVolumeGroupMinVolumeIndex(int groupId); in getVolumeGroupMinVolumeIndex() argument 138 int getLastAudibleVolumeGroupVolume(int groupId); in getLastAudibleVolumeGroupVolume() argument 140 boolean isVolumeGroupMuted(int groupId); in isVolumeGroupMuted() argument 142 void adjustVolumeGroupVolume(int groupId, int direction, int flags, String callingPackage); in adjustVolumeGroupVolume() argument
|