/frameworks/base/services/core/java/com/android/server/power/ |
D | DisplayGroupPowerStateMapper.java | 67 public void onDisplayGroupAdded(int groupId) { 69 if (mDisplayGroupInfos.contains(groupId)) { 70 Slog.e(TAG, "Tried to add already existing group:" + groupId); 74 final boolean supportsSandman = groupId == Display.DEFAULT_DISPLAY_GROUP; 80 mDisplayGroupInfos.append(groupId, displayGroupInfo); 81 mDisplayGroupIds = ArrayUtils.appendInt(mDisplayGroupIds, groupId); 82 mListener.onDisplayGroupEventLocked(DISPLAY_GROUP_ADDED, groupId); 87 public void onDisplayGroupRemoved(int groupId) { 89 if (!mDisplayGroupInfos.contains(groupId)) { 90 Slog.e(TAG, "Tried to remove non-existent group:" + groupId); [all …]
|
D | PowerManagerService.java | 635 public void onDisplayGroupEventLocked(int event, int groupId) { in onDisplayGroupEventLocked() argument 641 userActivityNoUpdateLocked(groupId, mClock.uptimeMillis(), in onDisplayGroupEventLocked() 664 mContext.getOpPackageName(), "groupId: " + groupId); in onDisplayGroupEventLocked() local 1690 final int groupId = displayInfo.displayGroupId; 1691 if (groupId == Display.INVALID_DISPLAY_GROUP) { 1694 if (userActivityNoUpdateLocked(groupId, eventTime, event, flags, uid)) { 1721 private boolean userActivityNoUpdateLocked(int groupId, long eventTime, int event, int flags, 1724 Slog.d(TAG, "userActivityNoUpdateLocked: groupId=" + groupId 1748 final int wakefulness = mDisplayGroupPowerStateMapper.getWakefulnessLocked(groupId); 1760 groupId) [all …]
|
/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/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/services/core/java/com/android/server/display/ |
D | LogicalDisplayMapper.java | 250 public DisplayGroup getDisplayGroupLocked(int groupId) { in getDisplayGroupLocked() argument 251 return mDisplayGroups.get(groupId); in getDisplayGroupLocked() 453 final int groupId = mDisplayGroups.keyAt(i); in updateLogicalDisplaysLocked() local 455 final boolean wasPreviouslyUpdated = mUpdatedDisplayGroups.indexOfKey(groupId) > -1; in updateLogicalDisplaysLocked() 459 mUpdatedDisplayGroups.delete(groupId); in updateLogicalDisplaysLocked() 461 mDisplayGroupsToUpdate.put(groupId, DISPLAY_GROUP_EVENT_REMOVED); in updateLogicalDisplaysLocked() 465 mDisplayGroupsToUpdate.put(groupId, DISPLAY_GROUP_EVENT_ADDED); in updateLogicalDisplaysLocked() 466 } else if (mUpdatedDisplayGroups.get(groupId) != changeCount) { in updateLogicalDisplaysLocked() 467 mDisplayGroupsToUpdate.put(groupId, DISPLAY_GROUP_EVENT_CHANGED); in updateLogicalDisplaysLocked() 469 mUpdatedDisplayGroups.put(groupId, changeCount); in updateLogicalDisplaysLocked() [all …]
|
D | DisplayGroup.java | 35 DisplayGroup(int groupId) { in DisplayGroup() argument 36 mGroupId = groupId; in DisplayGroup()
|
/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/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationRecordLoggerFake.java | 39 int buzzBeepBlink, InstanceId groupId) { in CallRecord() argument 45 groupInstanceId = groupId; in CallRecord() 73 int position, int buzzBeepBlink, InstanceId groupId) { in maybeLogNotificationPosted() argument 74 mCalls.add(new CallRecord(r, old, position, buzzBeepBlink, groupId)); in maybeLogNotificationPosted()
|
D | NotificationRecordTest.java | 103 private final String groupId = "group"; field in NotificationRecordTest 652 false /* lights */, false /* defaultLights */, groupId /* group */); in testNotificationStats() 695 false /* lights */, false /* defaultLights */, groupId /* group */); in testUserSentiment() 713 false /* lights */, false /* defaultLights */, groupId /* group */); in testUserSentiment_appImportanceUpdatesSentiment() 725 false /* lights */, false /* defaultLights */, groupId /* group */); in testUserSentiment_appImportanceBlocksNegativeSentimentUpdate() 742 false /* lights */, false /* defaultLights */, groupId /* group */); in testUserSentiment_userLocked() 760 false /* lights */, false /* defaultLights */, groupId /* group */); in testAppImportance_returnsCorrectly() 874 false /* lights */, false /* defaultLights */, groupId /* group */); in testSmartActions() 890 false /* lights */, false /* defaultLights */, groupId /* group */); in testUpdateNotificationChannel() 906 false /* lights */, false /* defaultLights */, groupId /* group */); in testCalculateImportance_systemImportance() [all …]
|
/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/notification/ |
D | NotificationRecordLoggerImpl.java | 35 InstanceId groupId) { in maybeLogNotificationPosted() argument 48 /* int32 group_instance_id = 8 */ (groupId == null) ? 0 : groupId.getId(), in maybeLogNotificationPosted()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
D | Fingerprint21UdfpsMock.java | 189 final int groupId; field in Fingerprint21UdfpsMock.MockHalResultController.LastAuthArgs 193 int fingerId, int groupId, @Nullable ArrayList<Byte> token) { in LastAuthArgs() argument 197 this.groupId = groupId; in LastAuthArgs() 232 public void onAuthenticated(long deviceId, int fingerId, int groupId, in onAuthenticated() argument 251 groupId, token); in onAuthenticated() 264 void sendAuthenticated(long deviceId, int fingerId, int groupId, in sendAuthenticated() argument 268 super.onAuthenticated(deviceId, fingerId, groupId, token); in sendAuthenticated() 326 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 | 52 aidl.groupId = VALUE_OR_RETURN(legacy2aidl_volume_group_t_int32_t(legacy.getGroupId())); in legacy2aidl_AudioAttributes_AudioAttributesEx() 58 return AudioAttributes(VALUE_OR_RETURN(aidl2legacy_int32_t_volume_group_t(aidl.groupId)), in aidl2legacy_AudioAttributesEx_AudioAttributes()
|
D | AudioVolumeGroup.cpp | 51 aidl.groupId = VALUE_OR_RETURN(legacy2aidl_volume_group_t_int32_t(legacy.getId())); in legacy2aidl_AudioVolumeGroup() 67 VALUE_OR_RETURN(aidl2legacy_int32_t_volume_group_t(aidl.groupId)), in aidl2legacy_AudioVolumeGroup()
|
/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 | 78 public abstract boolean requestPowerState(int groupId, DisplayPowerRequest request, in requestPowerState() argument 551 void onDisplayGroupAdded(int groupId); in onDisplayGroupAdded() argument 563 void onDisplayGroupRemoved(int groupId); in onDisplayGroupRemoved() argument 575 void onDisplayGroupChanged(int groupId); in onDisplayGroupChanged() argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SubscriptionControllerTest.java | 950 ParcelUuid groupId = mSubscriptionControllerUT.createSubscriptionGroup( in testSetSubscriptionGroupWithModifyPermission() local 952 assertNotEquals(null, groupId); in testSetSubscriptionGroupWithModifyPermission() 958 assertNotEquals(groupId, newGroupId); in testSetSubscriptionGroupWithModifyPermission() 997 ParcelUuid groupId = mSubscriptionControllerUT.createSubscriptionGroup( in testCreateSubscriptionGroupWithCarrierPrivilegePermission() local 999 assertNotEquals(null, groupId); in testCreateSubscriptionGroupWithCarrierPrivilegePermission() 1019 assertNotEquals(groupId, newGroupId); in testCreateSubscriptionGroupWithCarrierPrivilegePermission() 1041 ParcelUuid groupId = mSubscriptionControllerUT.createSubscriptionGroup( in testAddSubscriptionIntoGroupWithCarrierPrivilegePermission() local 1048 new int[] {2}, groupId, "packageName1"); in testAddSubscriptionIntoGroupWithCarrierPrivilegePermission() 1060 new int[] {2}, groupId, "packageName2"); in testAddSubscriptionIntoGroupWithCarrierPrivilegePermission() 1067 mSubscriptionControllerUT.addSubscriptionsIntoGroup(new int[] {2}, groupId, "packageName2"); in testAddSubscriptionIntoGroupWithCarrierPrivilegePermission() [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/ |
D | ClientProfile.java | 145 public void setGroupId(int groupId) { in setGroupId() argument 146 mGroupId = groupId; in setGroupId()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaRouterService.java | 262 public void registerClientGroupId(IMediaRouterClient client, String groupId) { in registerClientGroupId() argument 276 registerClientGroupIdLocked(client, groupId); in registerClientGroupId() 714 private void registerClientGroupIdLocked(IMediaRouterClient client, String groupId) { in registerClientGroupIdLocked() argument 721 if (TextUtils.equals(clientRecord.mGroupId, groupId)) { in registerClientGroupIdLocked() 728 clientRecord.mGroupId = groupId; in registerClientGroupIdLocked() 729 if (groupId != null) { in registerClientGroupIdLocked() 730 userRecord.addToGroup(groupId, clientRecord); in registerClientGroupIdLocked() 731 userRecord.mHandler.obtainMessage(UserHandler.MSG_NOTIFY_GROUP_ROUTE_SELECTED, groupId) in registerClientGroupIdLocked() 1035 public void addToGroup(String groupId, ClientRecord clientRecord) { in addToGroup() argument 1036 ClientGroup group = mClientGroupMap.get(groupId); in addToGroup() [all …]
|