/frameworks/base/wifi/tests/src/android/net/wifi/p2p/ |
D | WifiP2pGroupTest.java | 49 WifiP2pGroup group = new WifiP2pGroup(); in testSetterGetter() local 51 group.setInterface(INTERFACE); in testSetterGetter() 52 group.setNetworkId(NETWORK_ID); in testSetterGetter() 53 group.setNetworkName(NETWORK_NAME); in testSetterGetter() 54 group.setPassphrase(PASSPHRASE); in testSetterGetter() 55 group.setIsGroupOwner(false); in testSetterGetter() 56 group.setOwner(GROUP_OWNER); in testSetterGetter() 57 group.setFrequency(FREQUENCY); in testSetterGetter() 58 group.addClient(CLIENT_1.deviceAddress); in testSetterGetter() 59 group.addClient(CLIENT_2); in testSetterGetter() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationGroupManager.java | 88 NotificationGroup group = mGroupMap.get(getGroupKey(sbn)); in isGroupExpanded() local 89 if (group == null) { in isGroupExpanded() 92 return group.expanded; in isGroupExpanded() 99 NotificationGroup group = mGroupMap.get(sbn.getGroupKey()); in isLogicalGroupExpanded() local 100 if (group == null) { in isLogicalGroupExpanded() 103 return group.expanded; in isLogicalGroupExpanded() 107 NotificationGroup group = mGroupMap.get(getGroupKey(sbn)); in setGroupExpanded() local 108 if (group == null) { in setGroupExpanded() 111 setGroupExpanded(group, expanded); in setGroupExpanded() 114 private void setGroupExpanded(NotificationGroup group, boolean expanded) { in setGroupExpanded() argument [all …]
|
D | NotificationGroupAlertTransferHelper.java | 133 public void onGroupCreated(NotificationGroup group, String groupKey) { 134 mGroupAlertEntries.put(groupKey, new GroupAlertEntry(group)); 138 public void onGroupRemoved(NotificationGroup group, String groupKey) { 143 public void onGroupSuppressionChanged(NotificationGroup group, boolean suppressed) { 145 if (mHeadsUpManager.isAlerting(group.summary.getKey())) { 146 handleSuppressedSummaryAlerted(group.summary, mHeadsUpManager); 151 if (group.summary == null) { 155 group.summary.getSbn())); 159 if (!mHeadsUpManager.isAlerting(group.summary.getKey())) { 160 alertNotificationWhenPossible(group.summary, mHeadsUpManager); [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pMetricsTest.java | 99 WifiP2pGroup group = new WifiP2pGroup(); in startAndEndGroupEventSucceeds() local 110 mWifiP2pMetrics.startGroupEvent(group); in startAndEndGroupEventSucceeds() 123 mWifiP2pMetrics.startGroupEvent(group); in startAndEndGroupEventSucceeds() 129 mWifiP2pMetrics.startGroupEvent(group); in startAndEndGroupEventSucceeds() 208 WifiP2pGroup group = new WifiP2pGroup(); in updateGroupEvent() local 209 group.setNetworkId(1); in updateGroupEvent() 211 mWifiP2pMetrics.startGroupEvent(group); in updateGroupEvent() 214 group.addClient("11:22:33:44:55:01"); in updateGroupEvent() 215 mWifiP2pMetrics.updateGroupEvent(group); in updateGroupEvent() 216 group.addClient("11:22:33:44:55:02"); in updateGroupEvent() [all …]
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppTimeLimitController.java | 109 void addUsageGroup(UsageGroup group) { in addUsageGroup() argument 110 final int size = group.mObserved.length; in addUsageGroup() 112 ArrayList<UsageGroup> list = observedMap.get(group.mObserved[i]); in addUsageGroup() 115 observedMap.put(group.mObserved[i], list); in addUsageGroup() 117 list.add(group); in addUsageGroup() 122 void removeUsageGroup(UsageGroup group) { in removeUsageGroup() argument 123 final int size = group.mObserved.length; in removeUsageGroup() 125 final String observed = group.mObserved[i]; in removeUsageGroup() 128 list.remove(group); in removeUsageGroup() 661 final AppUsageLimitGroup group = (AppUsageLimitGroup) usageGroups.get(i); in getAppUsageLimit() local [all …]
|
/frameworks/base/tools/split-select/ |
D | RuleGenerator.cpp | 98 sp<Rule> RuleGenerator::generate(const SortedVector<SplitDescription>& group, size_t index) { in generate() argument 102 if (group[index].config.locale != 0) { in generate() 107 group[index].config.getBcp47Locale(str); in generate() 112 if (group[index].config.sdkVersion != 0) { in generate() 116 sdk->longArgs.add(group[index].config.sdkVersion - 1); in generate() 120 if (group[index].config.density != 0) { in generate() 123 allDensities.add(group[index].config.density); in generate() 125 const size_t groupSize = group.size(); in generate() 127 if (group[i].config.density != group[index].config.density) { in generate() 131 allDensities.add(group[j].config.density); in generate() [all …]
|
/frameworks/base/tools/aapt2/configuration/ |
D | ConfigurationParser_test.cpp | 87 <abi-group label="other" version-code-order="2"> 90 </abi-group> 91 <abi-group label="arm" version-code-order="1"> 94 </abi-group> 97 <screen-density-group label="large" version-code-order="2"> 101 </screen-density-group> 102 <screen-density-group label="alldpi" version-code-order="1"> 109 </screen-density-group> 112 <locale-group label="europe" version-code-order="1"> 117 </locale-group> [all …]
|
/frameworks/wilhelm/src/itf/ |
D | I3DGrouping.cpp | 22 static SLresult I3DGrouping_Set3DGroup(SL3DGroupingItf self, SLObjectItf group) in I3DGrouping_Set3DGroup() argument 27 C3DGroup *newGroup = (C3DGroup *) group; in I3DGrouping_Set3DGroup() 84 C3DGroup *group = thiz->mGroup; in I3DGrouping_Get3DGroup() local 85 *pGroup = (NULL != group) ? &group->mObject.mItf : NULL; in I3DGrouping_Get3DGroup() 109 C3DGroup *group = thiz->mGroup; in I3DGrouping_deinit() local 110 if (NULL != group) { in I3DGrouping_deinit() 112 IObject *groupObject = &group->mObject; in I3DGrouping_deinit() 114 assert(group->mMemberMask & mask); in I3DGrouping_deinit() 115 group->mMemberMask &= ~mask; in I3DGrouping_deinit()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipService.java | 139 for (SipSessionGroupExt group : mSipGroups.values()) { in getProfiles() 140 if (isCallerRadio || isCallerCreator(group)) { in getProfiles() 141 profiles.add(group.getLocalProfile()); in getProfiles() 178 SipSessionGroupExt group = createGroup(localProfile, in open3() local 181 group.openToReceiveCalls(); in open3() 190 private boolean isCallerCreator(SipSessionGroupExt group) { in isCallerCreator() argument 191 SipProfile profile = group.getLocalProfile(); in isCallerCreator() 195 private boolean isCallerCreatorOrRadio(SipSessionGroupExt group) { in isCallerCreatorOrRadio() argument 196 return (isCallerRadio() || isCallerCreator(group)); in isCallerCreatorOrRadio() 208 SipSessionGroupExt group = mSipGroups.get(localProfileUri); in close() local [all …]
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_drawable_VectorDrawable.cpp | 87 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in addChild() local 89 group->addChild(child); in addChild() 167 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in getGroupProperties() local 169 bool success = group->stagingProperties()->copyProperties(groupProperties, length); in getGroupProperties() 176 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in updateGroupProperties() local 177 group->mutateStagingProperties()->updateProperties(rotate, pivotX, pivotY, scaleX, scaleY, in updateGroupProperties() 200 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in getRotation() local 201 return group->stagingProperties()->getRotation(); in getRotation() 205 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in setRotation() local 206 group->mutateStagingProperties()->setRotation(rotation); in setRotation() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLayout.java | 246 MessagingGroup group = oldGroups.get(i); in removeGroups() local 247 if (!mGroups.contains(group)) { in removeGroups() 248 List<MessagingMessage> messages = group.getMessages(); in removeGroups() 250 mMessagingLinearLayout.removeTransientView(group); in removeGroups() 251 group.recycle(); in removeGroups() 254 boolean wasShown = group.isShown(); in removeGroups() 255 mMessagingLinearLayout.removeView(group); in removeGroups() 256 if (wasShown && !MessagingLinearLayout.isGone(group)) { in removeGroups() 257 mMessagingLinearLayout.addTransientView(group, 0); in removeGroups() 258 group.removeGroupAnimated(endRunnable); in removeGroups() [all …]
|
/frameworks/base/services/core/java/com/android/server/protolog/ |
D | ProtoLogImpl.java | 68 for (IProtoLogGroup group : config) { in addLogGroupEnum() 69 LOG_GROUPS.put(group.name(), group); in addLogGroupEnum() local 78 public static void d(IProtoLogGroup group, int messageHash, int paramsMask, in d() argument 82 .log(LogLevel.DEBUG, group, messageHash, paramsMask, messageString, args); in d() 86 public static void v(IProtoLogGroup group, int messageHash, int paramsMask, in v() argument 89 getSingleInstance().log(LogLevel.VERBOSE, group, messageHash, paramsMask, messageString, in v() 94 public static void i(IProtoLogGroup group, int messageHash, int paramsMask, in i() argument 97 getSingleInstance().log(LogLevel.INFO, group, messageHash, paramsMask, messageString, args); in i() 101 public static void w(IProtoLogGroup group, int messageHash, int paramsMask, in w() argument 104 getSingleInstance().log(LogLevel.WARN, group, messageHash, paramsMask, messageString, args); in w() [all …]
|
/frameworks/base/services/core/java/com/android/server/protolog/common/ |
D | ProtoLog.java | 45 public static void d(IProtoLogGroup group, String messageString, Object... args) { in d() argument 58 public static void v(IProtoLogGroup group, String messageString, Object... args) { in v() argument 71 public static void i(IProtoLogGroup group, String messageString, Object... args) { in i() argument 84 public static void w(IProtoLogGroup group, String messageString, Object... args) { in w() argument 97 public static void e(IProtoLogGroup group, String messageString, Object... args) { in e() argument 110 public static void wtf(IProtoLogGroup group, String messageString, Object... args) { in wtf() argument
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pGroup.java | 133 mNetworkName = match.group(1); in WifiP2pGroup() 135 mFrequency = Integer.parseInt(match.group(2)); in WifiP2pGroup() 138 mPassphrase = match.group(4); in WifiP2pGroup() 139 mOwner = new WifiP2pDevice(match.group(5)); in WifiP2pGroup() 140 if (match.group(6) != null) { in WifiP2pGroup() 352 WifiP2pGroup group = new WifiP2pGroup(); 353 group.setNetworkName(in.readString()); 354 group.setOwner((WifiP2pDevice)in.readParcelable(null)); 355 group.setIsGroupOwner(in.readByte() == (byte)1); 358 group.addClient((WifiP2pDevice) in.readParcelable(null)); [all …]
|
/frameworks/base/core/java/android/content/pm/parsing/component/ |
D | ParsedPermission.java | 36 private String group; field in ParsedPermission 50 this.group = other.group; in ParsedPermission() 65 this.group = pendingPermissionInfo.group; in ParsedPermission() 73 public ParsedPermission setGroup(String group) { in setGroup() argument 74 this.group = TextUtils.safeIntern(group); in setGroup() 123 dest.writeString(this.group); in writeToParcel() 135 this.group = in.readString(); in ParsedPermission() 162 return group; in getGroup()
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 272 VNativeObject group = VNativeObject.getDelegate(nodePtr); in nSetName() local 273 group.setName(name); in nSetName() 279 VGroup_Delegate group = VNativeObject.getDelegate(groupPtr); in nGetGroupProperties() local 283 properties.put(VGroup_Delegate.ROTATE_INDEX, group.getRotation()); in nGetGroupProperties() 284 properties.put(VGroup_Delegate.PIVOT_X_INDEX, group.getPivotX()); in nGetGroupProperties() 285 properties.put(VGroup_Delegate.PIVOT_Y_INDEX, group.getPivotY()); in nGetGroupProperties() 286 properties.put(VGroup_Delegate.SCALE_X_INDEX, group.getScaleX()); in nGetGroupProperties() 287 properties.put(VGroup_Delegate.SCALE_Y_INDEX, group.getScaleY()); in nGetGroupProperties() 288 properties.put(VGroup_Delegate.TRANSLATE_X_INDEX, group.getTranslateX()); in nGetGroupProperties() 289 properties.put(VGroup_Delegate.TRANSLATE_Y_INDEX, group.getTranslateY()); in nGetGroupProperties() [all …]
|
/frameworks/base/core/jni/ |
D | android_media_AudioVolumeGroups.cpp | 62 JNIEnv *env, jobject *jGroup, const AudioVolumeGroup &group) in convertAudioVolumeGroupsFromNative() argument 73 jName = env->NewStringUTF(group.getName().c_str()); in convertAudioVolumeGroupsFromNative() 74 Id = static_cast<jint>(group.getId()); in convertAudioVolumeGroupsFromNative() 77 jLegacyStreamTypes = env->NewIntArray(group.getStreamTypes().size()); in convertAudioVolumeGroupsFromNative() 82 for (size_t streamIndex = 0; streamIndex < group.getStreamTypes().size(); streamIndex++) { in convertAudioVolumeGroupsFromNative() 83 jint jStream = group.getStreamTypes()[streamIndex]; in convertAudioVolumeGroupsFromNative() 88 numAttributes = group.getAudioAttributes().size(); in convertAudioVolumeGroupsFromNative() 95 auto attributes = group.getAudioAttributes()[j]; in convertAudioVolumeGroupsFromNative() 138 for (const auto &group : groups) { in android_media_AudioSystem_listAudioVolumeGroups() local 139 jStatus = convertAudioVolumeGroupsFromNative(env, &jGroup, group); in android_media_AudioSystem_listAudioVolumeGroups()
|
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
D | ProtoLogGroupReader.kt | 42 return values.map { group -> in <lambda>() method 43 group.name() to in <lambda>() 44 LogGroup(group.name(), group.isEnabled, group.isLogToLogcat, group.tag) in <lambda>()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceCallback.java | 272 WifiP2pGroup group = new WifiP2pGroup(); in onGroupStarted() local 273 group.setInterface(groupIfName); in onGroupStarted() 277 group.setNetworkName(NativeUtil.removeEnclosingQuotes(quotedSsid)); in onGroupStarted() 283 group.setFrequency(frequency); in onGroupStarted() 284 group.setIsGroupOwner(isGo); in onGroupStarted() 285 group.setPassphrase(passphrase); in onGroupStarted() 288 group.setNetworkId(WifiP2pGroup.NETWORK_ID_PERSISTENT); in onGroupStarted() 290 group.setNetworkId(WifiP2pGroup.NETWORK_ID_TEMPORARY); in onGroupStarted() 302 group.setOwner(owner); in onGroupStarted() 303 mMonitor.broadcastP2pGroupStarted(mInterface, group); in onGroupStarted() [all …]
|
D | WifiP2pMetrics.java | 375 public void startGroupEvent(WifiP2pGroup group) { in startGroupEvent() argument 376 if (group == null) { in startGroupEvent() 391 if (group.getClientList().size() == 0) { in startGroupEvent() 398 mCurrentGroupEvent.netId = group.getNetworkId(); in startGroupEvent() 400 mCurrentGroupEvent.numConnectedClients = group.getClientList().size(); in startGroupEvent() 401 mCurrentGroupEvent.channelFrequency = group.getFrequency(); in startGroupEvent() 402 mCurrentGroupEvent.groupRole = group.isGroupOwner() in startGroupEvent() 412 public void updateGroupEvent(WifiP2pGroup group) { in updateGroupEvent() argument 413 if (group == null) { in updateGroupEvent() 423 if (mCurrentGroupEvent.netId != group.getNetworkId()) { in updateGroupEvent() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | RadioGroupPreCheckedTest.java | 42 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group); in testRadioButtonPreChecked() local 44 group.getCheckedRadioButtonId()); in testRadioButtonPreChecked() 59 RadioGroup group = (RadioGroup) activity.findViewById(R.id.group); in testRadioButtonChangePreChecked() local 61 group.getCheckedRadioButtonId()); in testRadioButtonChangePreChecked()
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioVolumeGroupCallbackHelper.java | 36 void setExpectedVolumeGroup(int group) { in setExpectedVolumeGroup() argument 38 mExpectedVolumeGroupId = group; in setExpectedVolumeGroup() 42 public void onAudioVolumeGroupChanged(int group, int flags) { in onAudioVolumeGroupChanged() argument 43 if (group != mExpectedVolumeGroupId) { in onAudioVolumeGroupChanged() 51 Log.i(TAG, "callback for group: " + group + " already received"); in onAudioVolumeGroupChanged()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | GroupHelper.java | 58 private String generatePackageGroupKey(int userId, String pkg, String group) { in generatePackageGroupKey() argument 59 return userId + "|" + pkg + "|" + group; in generatePackageGroupKey() 63 protected int getOngoingGroupCount(int userId, String pkg, String group) { in getOngoingGroupCount() argument 64 String key = generatePackageGroupKey(userId, pkg, group); in getOngoingGroupCount() 71 String group = sbn.getGroup(); in addToOngoingGroupCount() 72 if (group == null) return; in addToOngoingGroupCount() 74 String key = generatePackageGroupKey(userId, sbn.getPackageName(), group); in addToOngoingGroupCount() 83 String combinedKey = generatePackageGroupKey(userId, sbn.getPackageName(), group); in addToOngoingGroupCount() 198 private void adjustNotificationBundling(List<String> keys, boolean group) { in adjustNotificationBundling() argument 200 if (DEBUG) Log.i(TAG, "Sending grouping adjustment for: " + key + " group? " + group); in adjustNotificationBundling() [all …]
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
D | AudioStream.java | 87 public void join(AudioGroup group) { in join() argument 89 if (mGroup == group) { in join() 96 if (group != null) { in join() 97 group.add(this); in join() 98 mGroup = group; in join()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | ShadeListBuilder.java | 361 for (GroupEntry group : mGroups.values()) { in resetNotifs() 362 group.beginNewAttachState(); in resetNotifs() 363 group.clearChildren(); in resetNotifs() 364 group.setSummary(null); in resetNotifs() 422 GroupEntry group = mGroups.get(topLevelKey); in groupNotifs() local 423 if (group == null) { in groupNotifs() 424 group = new GroupEntry(topLevelKey); in groupNotifs() 425 group.mFirstAddedIteration = mIterationCount; in groupNotifs() 426 mGroups.put(topLevelKey, group); in groupNotifs() 428 if (group.getParent() == null) { in groupNotifs() [all …]
|