/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 | 76 NotificationGroup group = mGroupMap.get(getGroupKey(sbn)); in isGroupExpanded() local 77 if (group == null) { in isGroupExpanded() 80 return group.expanded; in isGroupExpanded() 84 NotificationGroup group = mGroupMap.get(getGroupKey(sbn)); in setGroupExpanded() local 85 if (group == null) { in setGroupExpanded() 88 setGroupExpanded(group, expanded); in setGroupExpanded() 91 private void setGroupExpanded(NotificationGroup group, boolean expanded) { in setGroupExpanded() argument 92 group.expanded = expanded; in setGroupExpanded() 93 if (group.summary != null) { in setGroupExpanded() 95 listener.onGroupExpansionChanged(group.summary.getRow(), expanded); in setGroupExpanded() [all …]
|
D | NotificationGroupAlertTransferHelper.java | 136 public void onGroupCreated(NotificationGroup group, String groupKey) { 137 mGroupAlertEntries.put(groupKey, new GroupAlertEntry(group)); 141 public void onGroupRemoved(NotificationGroup group, String groupKey) { 146 public void onGroupSuppressionChanged(NotificationGroup group, boolean suppressed) { 149 if (alertManager.isAlerting(group.summary.key)) { 150 handleSuppressedSummaryAlerted(group.summary, alertManager); 155 if (group.summary == null) { 159 group.summary.notification)); 163 if (!alertManager.isAlerting(group.summary.key)) { 164 alertNotificationWhenPossible(group.summary, alertManager); [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pMetricsTest.java | 98 WifiP2pGroup group = new WifiP2pGroup(); in startAndEndGroupEventSucceeds() local 109 mWifiP2pMetrics.startGroupEvent(group); in startAndEndGroupEventSucceeds() 122 mWifiP2pMetrics.startGroupEvent(group); in startAndEndGroupEventSucceeds() 128 mWifiP2pMetrics.startGroupEvent(group); in startAndEndGroupEventSucceeds() 207 WifiP2pGroup group = new WifiP2pGroup(); in updateGroupEvent() local 208 group.setNetworkId(1); in updateGroupEvent() 210 mWifiP2pMetrics.startGroupEvent(group); in updateGroupEvent() 213 group.addClient("11:22:33:44:55:01"); in updateGroupEvent() 214 mWifiP2pMetrics.updateGroupEvent(group); in updateGroupEvent() 215 group.addClient("11:22:33:44:55:02"); in updateGroupEvent() [all …]
|
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
D | BatteryStatsParser.java | 55 if (lineMatcher.find() && lineMatcher.group(1) != null && lineMatcher.group(2) != null) { in parseLine() 56 if (lineMatcher.group(1).equals("0")) { in parseLine() 57 return "0," + lineMatcher.group(2) + "\n"; in parseLine() 59 Matcher timeMatcher = TIME_PATTERN.matcher(lineMatcher.group(1)); in parseLine() 61 Long time = getTime(lineMatcher.group(1)); in parseLine() 63 return time + "," + lineMatcher.group(2) + "\n"; in parseLine() 76 private Long getTime(String group) { in getTime() argument 77 if ("0".equals(group)) { in getTime() 80 Matcher timeMatcher = TIME_PATTERN.matcher(group); in getTime() 86 String[] matches = group.split("ms", -1); in getTime() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | VerifierDeviceIdentity.java | 130 final int group = (int) (input & 0x1F); in encodeBase32() local 133 encoded[--index] = alphabet[group]; in encodeBase32() 146 final int group = input[i]; in decodeBase32() local 153 if ('A' <= group && group <= 'Z') { in decodeBase32() 154 value = group - 'A'; in decodeBase32() 155 } else if ('2' <= group && group <= '7') { in decodeBase32() 156 value = group - ('2' - 26); in decodeBase32() 157 } else if (group == SEPARATOR) { in decodeBase32() 159 } else if ('a' <= group && group <= 'z') { in decodeBase32() 161 value = group - 'a'; in decodeBase32() [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/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ProtocolBuffers_OSX.xcodeproj/ |
D | project.pbxproj | 89 …ce; lastKnownFileType = sourcecode.c.objc; path = GPBConcurrencyTests.m; sourceTree = "<group>"; }; 90 …nFileType = sourcecode.c.h; path = GPBCodedInputStream_PackagePrivate.h; sourceTree = "<group>"; }; 91 …stKnownFileType = sourcecode.c.h; path = GPBDescriptor_PackagePrivate.h; sourceTree = "<group>"; }; 92 … lastKnownFileType = sourcecode.c.h; path = GPBMessage_PackagePrivate.h; sourceTree = "<group>"; }; 93 …ence; lastKnownFileType = text.plist.xml; path = "UnitTests-Info.plist"; sourceTree = "<group>"; }; 94 …Encoding = 4; lastKnownFileType = sourcecode.c.h; path = GPBBootstrap.h; sourceTree = "<group>"; }; 95 …g = 4; lastKnownFileType = sourcecode.c.h; path = GPBCodedInputStream.h; sourceTree = "<group>"; }; 96 …eType = sourcecode.c.objc; lineEnding = 0; path = GPBCodedInputStream.m; sourceTree = "<group>"; }; 97 … = 4; lastKnownFileType = sourcecode.c.h; path = GPBCodedOutputStream.h; sourceTree = "<group>"; }; 98 …4; lastKnownFileType = sourcecode.c.objc; path = GPBCodedOutputStream.m; sourceTree = "<group>"; }; [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/base/core/java/com/android/internal/widget/ |
D | MessagingLayout.java | 217 MessagingGroup group = oldGroups.get(i); in removeGroups() local 218 if (!mGroups.contains(group)) { in removeGroups() 219 List<MessagingMessage> messages = group.getMessages(); in removeGroups() 221 mMessagingLinearLayout.removeTransientView(group); in removeGroups() 222 group.recycle(); in removeGroups() 225 boolean wasShown = group.isShown(); in removeGroups() 226 mMessagingLinearLayout.removeView(group); in removeGroups() 227 if (wasShown && !MessagingLinearLayout.isGone(group)) { in removeGroups() 228 mMessagingLinearLayout.addTransientView(group, 0); in removeGroups() 229 group.removeGroupAnimated(endRunnable); in removeGroups() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ProtocolBuffers_iOS.xcodeproj/ |
D | project.pbxproj | 104 …ce; lastKnownFileType = sourcecode.c.objc; path = GPBConcurrencyTests.m; sourceTree = "<group>"; }; 105 …nFileType = sourcecode.c.h; path = GPBCodedInputStream_PackagePrivate.h; sourceTree = "<group>"; }; 106 …stKnownFileType = sourcecode.c.h; path = GPBDescriptor_PackagePrivate.h; sourceTree = "<group>"; }; 107 … lastKnownFileType = sourcecode.c.h; path = GPBMessage_PackagePrivate.h; sourceTree = "<group>"; }; 108 …ence; lastKnownFileType = text.plist.xml; path = "UnitTests-Info.plist"; sourceTree = "<group>"; }; 109 …Encoding = 4; lastKnownFileType = sourcecode.c.h; path = GPBBootstrap.h; sourceTree = "<group>"; }; 110 …g = 4; lastKnownFileType = sourcecode.c.h; path = GPBCodedInputStream.h; sourceTree = "<group>"; }; 111 …eType = sourcecode.c.objc; lineEnding = 0; path = GPBCodedInputStream.m; sourceTree = "<group>"; }; 112 … = 4; lastKnownFileType = sourcecode.c.h; path = GPBCodedOutputStream.h; sourceTree = "<group>"; }; 113 …4; lastKnownFileType = sourcecode.c.objc; path = GPBCodedOutputStream.m; sourceTree = "<group>"; }; [all …]
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipService.java | 137 for (SipSessionGroupExt group : mSipGroups.values()) { in getListOfProfiles() 138 if (isCallerRadio || isCallerCreator(group)) { in getListOfProfiles() 139 profiles.add(group.getLocalProfile()); in getListOfProfiles() 176 SipSessionGroupExt group = createGroup(localProfile, in open3() local 179 group.openToReceiveCalls(); in open3() 188 private boolean isCallerCreator(SipSessionGroupExt group) { in isCallerCreator() argument 189 SipProfile profile = group.getLocalProfile(); in isCallerCreator() 193 private boolean isCallerCreatorOrRadio(SipSessionGroupExt group) { in isCallerCreatorOrRadio() argument 194 return (isCallerRadio() || isCallerCreator(group)); in isCallerCreatorOrRadio() 206 SipSessionGroupExt group = mSipGroups.get(localProfileUri); in close() local [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/base/core/jni/ |
D | android_graphics_drawable_VectorDrawable.cpp | 89 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in addChild() local 91 group->addChild(child); in addChild() 169 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in getGroupProperties() local 171 bool success = group->stagingProperties()->copyProperties(groupProperties, length); in getGroupProperties() 178 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in updateGroupProperties() local 179 group->mutateStagingProperties()->updateProperties(rotate, pivotX, pivotY, scaleX, scaleY, in updateGroupProperties() 202 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in getRotation() local 203 return group->stagingProperties()->getRotation(); in getRotation() 207 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in setRotation() local 208 group->mutateStagingProperties()->setRotation(rotation); in setRotation() [all …]
|
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/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pGroup.java | 121 mNetworkName = match.group(1); in WifiP2pGroup() 123 mFrequency = Integer.parseInt(match.group(2)); in WifiP2pGroup() 126 mPassphrase = match.group(4); in WifiP2pGroup() 127 mOwner = new WifiP2pDevice(match.group(5)); in WifiP2pGroup() 128 if (match.group(6) != null) { in WifiP2pGroup() 338 WifiP2pGroup group = new WifiP2pGroup(); 339 group.setNetworkName(in.readString()); 340 group.setOwner((WifiP2pDevice)in.readParcelable(null)); 341 group.setIsGroupOwner(in.readByte() == (byte)1); 344 group.addClient((WifiP2pDevice) in.readParcelable(null)); [all …]
|
/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/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.PERSISTENT_NET_ID); in onGroupStarted() 290 group.setNetworkId(WifiP2pGroup.TEMPORARY_NET_ID); 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/opt/gamesdk/src/tuningfork/tools/validation/src/main/java/com/google/tuningfork/validation/ |
D | ErrorType.java | 52 private final ErrorGroup group; field in ErrorType 55 return group; in getGroup() 58 ErrorType(ErrorGroup group) { in ErrorType() argument 59 this.group = group; in ErrorType()
|
/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/services/tests/servicestests/src/com/android/server/usage/ |
D | AppTimeLimitControllerTests.java | 335 AppTimeLimitController.UsageGroup group = mController.getAppUsageGroup(UID, OBS_ID1); in testAppUsageObserver_Accumulation() local 337 long timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testAppUsageObserver_Accumulation() 344 timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testAppUsageObserver_Accumulation() 356 assertEquals(0, group.getTimeLimitMs() - group.getUsageTimeMs()); in testAppUsageObserver_Accumulation() 370 AppTimeLimitController.UsageGroup group = mController.getSessionUsageGroup(UID, OBS_ID1); in testUsageSessionObserver_Accumulation() local 372 long timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testUsageSessionObserver_Accumulation() 379 timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testUsageSessionObserver_Accumulation() 391 assertEquals(0, group.getTimeLimitMs() - group.getUsageTimeMs()); in testUsageSessionObserver_Accumulation() 405 AppTimeLimitController.UsageGroup group = getAppUsageLimitObserver(UID, OBS_ID1); in testAppUsageLimitObserver_Accumulation() local 407 long timeRemaining = group.getTimeLimitMs() - group.getUsageTimeMs(); in testAppUsageLimitObserver_Accumulation() [all …]
|
/frameworks/ex/common/java/com/android/common/ |
D | LegacyHttpDateTime.java | 95 date = getDate(rfcMatcher.group(1)); in parse() 96 month = getMonth(rfcMatcher.group(2)); in parse() 97 year = getYear(rfcMatcher.group(3)); in parse() 98 timeOfDay = getTime(rfcMatcher.group(4)); in parse() 102 month = getMonth(ansicMatcher.group(1)); in parse() 103 date = getDate(ansicMatcher.group(2)); in parse() 104 timeOfDay = getTime(ansicMatcher.group(3)); in parse() 105 year = getYear(ansicMatcher.group(4)); in parse()
|