Home
last modified time | relevance | path

Searched refs:group (Results 1 – 25 of 512) sorted by relevance

12345678910>>...21

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/util/
DKtProtoLog.kt33 fun d(group: IProtoLogGroup, messageString: String, vararg args: Any) { in d()
34 if (group.isLogToLogcat) { in d()
35 Log.d(group.tag, String.format(messageString, *args)) in d()
40 fun v(group: IProtoLogGroup, messageString: String, vararg args: Any) { in v()
41 if (group.isLogToLogcat) { in v()
42 Log.v(group.tag, String.format(messageString, *args)) in v()
47 fun i(group: IProtoLogGroup, messageString: String, vararg args: Any) { in i()
48 if (group.isLogToLogcat) { in i()
49 Log.i(group.tag, String.format(messageString, *args)) in i()
54 fun w(group: IProtoLogGroup, messageString: String, vararg args: Any) { in w()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowTest.java167 ExpandableNotificationRow group = mNotificationTestHelper.createGroup(); in testUpdateBackgroundColors_isRecursive() local
168 group.setTintColor(Color.RED); in testUpdateBackgroundColors_isRecursive()
169 group.getChildNotificationAt(0).setTintColor(Color.GREEN); in testUpdateBackgroundColors_isRecursive()
170 group.getChildNotificationAt(1).setTintColor(Color.BLUE); in testUpdateBackgroundColors_isRecursive()
172 assertThat(group.getCurrentBackgroundTint()).isEqualTo(Color.RED); in testUpdateBackgroundColors_isRecursive()
173 assertThat(group.getChildNotificationAt(0).getCurrentBackgroundTint()) in testUpdateBackgroundColors_isRecursive()
175 assertThat(group.getChildNotificationAt(1).getCurrentBackgroundTint()) in testUpdateBackgroundColors_isRecursive()
178 group.updateBackgroundColors(); in testUpdateBackgroundColors_isRecursive()
180 int resetTint = group.getCurrentBackgroundTint(); in testUpdateBackgroundColors_isRecursive()
182 assertThat(group.getChildNotificationAt(0).getCurrentBackgroundTint()) in testUpdateBackgroundColors_isRecursive()
[all …]
DChannelEditorDialogControllerTest.kt58 private lateinit var group: NotificationChannelGroup variable in com.android.systemui.statusbar.notification.row.ChannelEditorDialogControllerTest
80 group = NotificationChannelGroup(TEST_GROUP_ID, TEST_GROUP_NAME) in setup()
84 .thenReturn(ParceledListSlice(listOf(group))) in setup()
92 channel1.group = group.id in testPrepareDialogForApp_noExtraChannels()
93 channel2.group = group.id in testPrepareDialogForApp_noExtraChannels()
94 group.channels = listOf(channel1, channel2) in testPrepareDialogForApp_noExtraChannels()
103 group.addChannel(channelDefault) in testPrepareDialogForApp_onlyDefaultChannel()
116 channel3.group = group2.id in testPrepareDialogForApp_AddsAllChannelsAllGroups()
118 channel4.group = group.id in testPrepareDialogForApp_AddsAllChannelsAllGroups()
120 channel5.group = group.id in testPrepareDialogForApp_AddsAllChannelsAllGroups()
[all …]
/frameworks/base/core/java/android/content/pm/
DVerifierDeviceIdentity.java131 final int group = (int) (input & 0x1F); in encodeBase32() local
134 encoded[--index] = alphabet[group]; in encodeBase32()
147 final int group = input[i]; in decodeBase32() local
154 if ('A' <= group && group <= 'Z') { in decodeBase32()
155 value = group - 'A'; in decodeBase32()
156 } else if ('2' <= group && group <= '7') { in decodeBase32()
157 value = group - ('2' - 26); in decodeBase32()
158 } else if (group == SEPARATOR) { in decodeBase32()
160 } else if ('a' <= group && group <= 'z') { in decodeBase32()
162 value = group - 'a'; in decodeBase32()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyboardShortcutsTest.java111 KeyboardShortcutGroup group = createKeyboardShortcutGroupForIconTests(); in sanitiseShortcuts_clearsIcons() local
113 KeyboardShortcuts.sanitiseShortcuts(singletonList(group)); in sanitiseShortcuts_clearsIcons()
115 verify(group.getItems().get(0)).clearIcon(); in sanitiseShortcuts_clearsIcons()
116 verify(group.getItems().get(1)).clearIcon(); in sanitiseShortcuts_clearsIcons()
121 KeyboardShortcutGroup group = createKeyboardShortcutGroupForIconTests(); in sanitiseShortcuts_nullPackage_clearsIcons() local
122 group.setPackageName(null); in sanitiseShortcuts_nullPackage_clearsIcons()
124 KeyboardShortcuts.sanitiseShortcuts(singletonList(group)); in sanitiseShortcuts_nullPackage_clearsIcons()
126 verify(group.getItems().get(0)).clearIcon(); in sanitiseShortcuts_nullPackage_clearsIcons()
127 verify(group.getItems().get(1)).clearIcon(); in sanitiseShortcuts_nullPackage_clearsIcons()
133 KeyboardShortcutGroup group = createKeyboardShortcutGroupForIconTests(); in requestAppKeyboardShortcuts_callback_sanitisesIcons() local
[all …]
DKeyboardShortcutListSearchTest.java98 KeyboardShortcutGroup group = createKeyboardShortcutGroupForIconTests(); in requestAppKeyboardShortcuts_callback_sanitisesIcons() local
106 callbackCaptor.getValue().onKeyboardShortcutsReceived(Collections.singletonList(group)); in requestAppKeyboardShortcuts_callback_sanitisesIcons()
110 verify(group.getItems().get(0)).clearIcon(); in requestAppKeyboardShortcuts_callback_sanitisesIcons()
111 verify(group.getItems().get(1)).clearIcon(); in requestAppKeyboardShortcuts_callback_sanitisesIcons()
117 KeyboardShortcutGroup group = createKeyboardShortcutGroupForIconTests(); in requestImeKeyboardShortcuts_callback_sanitisesIcons() local
125 callbackCaptor.getValue().onKeyboardShortcutsReceived(Collections.singletonList(group)); in requestImeKeyboardShortcuts_callback_sanitisesIcons()
129 verify(group.getItems().get(0)).clearIcon(); in requestImeKeyboardShortcuts_callback_sanitisesIcons()
130 verify(group.getItems().get(1)).clearIcon(); in requestImeKeyboardShortcuts_callback_sanitisesIcons()
144 KeyboardShortcutGroup group = new KeyboardShortcutGroup("label", in createKeyboardShortcutGroupForIconTests() local
146 group.setPackageName("com.example"); in createKeyboardShortcutGroupForIconTests()
[all …]
/frameworks/libs/binary_translation/tests/ndk_program_tests/
Duser_test.cc26 struct group* group = getgrgid(0); // NOLINT(runtime/threadsafe_fn) in TEST() local
27 ASSERT_TRUE(group); in TEST()
29 EXPECT_STREQ(group->gr_name, "root"); in TEST()
30 EXPECT_STREQ(group->gr_passwd, nullptr); in TEST()
31 EXPECT_EQ(group->gr_gid, 0U); in TEST()
32 EXPECT_TRUE(group->gr_mem); in TEST()
/frameworks/base/core/java/com/android/internal/protolog/
DProtoLogImpl.java57 public static void d(IProtoLogGroup group, long messageHash, int paramsMask, in d() argument
61 .log(LogLevel.DEBUG, group, messageHash, paramsMask, messageString, args); in d()
65 public static void v(IProtoLogGroup group, long messageHash, int paramsMask, in v() argument
68 getSingleInstance().log(LogLevel.VERBOSE, group, messageHash, paramsMask, messageString, in v()
73 public static void i(IProtoLogGroup group, long messageHash, int paramsMask, in i() argument
76 getSingleInstance().log(LogLevel.INFO, group, messageHash, paramsMask, messageString, args); in i()
80 public static void w(IProtoLogGroup group, long messageHash, int paramsMask, in w() argument
83 getSingleInstance().log(LogLevel.WARN, group, messageHash, paramsMask, messageString, args); in w()
87 public static void e(IProtoLogGroup group, long messageHash, int paramsMask, in e() argument
91 .log(LogLevel.ERROR, group, messageHash, paramsMask, messageString, args); in e()
[all …]
/frameworks/base/tools/aapt2/configuration/
DConfigurationParser_test.cpp68 <abi-group label="other" version-code-order="2">
71 </abi-group>
72 <abi-group label="arm" version-code-order="1">
75 </abi-group>
78 <screen-density-group label="large" version-code-order="2">
82 </screen-density-group>
83 <screen-density-group label="alldpi" version-code-order="1">
90 </screen-density-group>
93 <locale-group label="europe" version-code-order="1">
98 </locale-group>
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java115 void addUsageGroup(UsageGroup group) { in addUsageGroup() argument
116 final int size = group.mObserved.length; in addUsageGroup()
118 ArrayList<UsageGroup> list = observedMap.get(group.mObserved[i]); in addUsageGroup()
121 observedMap.put(group.mObserved[i], list); in addUsageGroup()
123 list.add(group); in addUsageGroup()
128 void removeUsageGroup(UsageGroup group) { in removeUsageGroup() argument
129 final int size = group.mObserved.length; in removeUsageGroup()
131 final String observed = group.mObserved[i]; in removeUsageGroup()
134 list.remove(group); in removeUsageGroup()
677 final AppUsageLimitGroup group = (AppUsageLimitGroup) usageGroups.get(i); in getAppUsageLimit() local
[all …]
/frameworks/base/tools/split-select/
DRuleGenerator.cpp98 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/wilhelm/src/itf/
DI3DGrouping.cpp22 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/java/com/android/internal/protolog/common/
DProtoLog.java50 public static void d(IProtoLogGroup group, String messageString, Object... args) { in d() argument
65 public static void v(IProtoLogGroup group, String messageString, Object... args) { in v() argument
80 public static void i(IProtoLogGroup group, String messageString, Object... args) { in i() argument
95 public static void w(IProtoLogGroup group, String messageString, Object... args) { in w() argument
110 public static void e(IProtoLogGroup group, String messageString, Object... args) { in e() argument
125 public static void wtf(IProtoLogGroup group, String messageString, Object... args) { in wtf() argument
138 public static boolean isEnabled(IProtoLogGroup group, LogLevel level) { in isEnabled() argument
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLayout.java332 MessagingGroup group = oldGroups.get(i); in removeGroups() local
333 if (!mGroups.contains(group)) { in removeGroups()
334 List<MessagingMessage> messages = group.getMessages(); in removeGroups()
336 boolean wasShown = group.isShown(); in removeGroups()
337 mMessagingLinearLayout.removeView(group); in removeGroups()
338 if (wasShown && !MessagingLinearLayout.isGone(group)) { in removeGroups()
339 mMessagingLinearLayout.addTransientView(group, 0); in removeGroups()
340 group.removeGroupAnimated(() -> { in removeGroups()
341 mMessagingLinearLayout.removeTransientView(group); in removeGroups()
342 group.recycle(); in removeGroups()
[all …]
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_drawable_VectorDrawable.cpp87 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in addChild() local
89 group->addChild(child); in addChild()
168 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in getGroupProperties() local
170 bool success = group->stagingProperties()->copyProperties(groupProperties, length); in getGroupProperties()
177 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in updateGroupProperties() local
178 group->mutateStagingProperties()->updateProperties(rotate, pivotX, pivotY, scaleX, scaleY, in updateGroupProperties()
201 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in getRotation() local
202 return group->stagingProperties()->getRotation(); in getRotation()
206 VectorDrawable::Group* group = reinterpret_cast<VectorDrawable::Group*>(groupPtr); in setRotation() local
207 group->mutateStagingProperties()->setRotation(rotation); in setRotation()
[all …]
/frameworks/base/core/java/android/view/contentprotection/
DContentProtectionEventProcessor.java128 .filter(group -> !group.mFound) in processViewAppearedEvent()
130 group -> in processViewAppearedEvent()
131 group.matches(eventText) in processViewAppearedEvent()
132 || group.matches(viewNodeText) in processViewAppearedEvent()
133 || group.matches(hintText)) in processViewAppearedEvent()
136 group -> { in processViewAppearedEvent()
137 group.mFound = true; in processViewAppearedEvent()
142 mGroupsRequired.stream().allMatch(group -> group.mFound) in processViewAppearedEvent()
143 && mGroupsOptional.stream().filter(group -> group.mFound).count() in processViewAppearedEvent()
162 mGroupsAll.forEach(group -> group.mFound = false); in resetLoginFlags()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java139 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/core/tests/coretests/src/android/app/
DNotificationChannelGroupTest.java44 NotificationChannelGroup group = new NotificationChannelGroup("my_group_01", "groupName"); in testLongStringFields() local
50 mName.set(group, longString); in testLongStringFields()
53 mId.set(group, longString); in testLongStringFields()
56 mDescription.set(group, longString); in testLongStringFields()
66 group.writeToParcel(parcel, 0); in testLongStringFields()
79 NotificationChannelGroup group = new NotificationChannelGroup("my_group_01", null); in testNullableFields() local
82 group.writeToParcel(parcel, 0); in testNullableFields()
87 assertEquals(group.getId(), fromParcel.getId()); in testNullableFields()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DProtoLogGroupReader.kt42 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/base/core/jni/
Dandroid_media_AudioVolumeGroups.cpp62 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()
143 for (const auto &group : groups) { in android_media_AudioSystem_listAudioVolumeGroups() local
144 jStatus = convertAudioVolumeGroupsFromNative(env, &jGroup, group); in android_media_AudioSystem_listAudioVolumeGroups()
/frameworks/base/core/tests/coretests/src/android/widget/
DRadioGroupPreCheckedTest.java42 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/
DAudioVolumeGroupCallbackHelper.java36 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/tools/aapt2/tools/
Dfinalize_res.py57 name = raw.group(1)
72 _type = raw.group(1)
73 id = int(raw.group(2), 16)
75 (res, count) = re.subn(' {0,4}<public name="(.+?)" */>\n', finalize_item, raw.group(3))
77 res = raw.group(0).replace("staging-public-group",
87 type = m.group(1)
88 id = int(m.group(2), 16)
/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioStream.java89 public void join(AudioGroup group) { in join() argument
91 if (mGroup == group) { in join()
98 if (group != null) { in join()
99 group.add(this); in join()
100 mGroup = group; in join()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/data/repository/
DActiveNotificationListRepository.kt106 fun addNotifGroup(group: ActiveNotificationGroupModel) { in addNotifGroup()
107 renderList.add(Key.Group(group.key)) in addNotifGroup()
108 groups[group.key] = group in addNotifGroup()
109 individuals[group.summary.key] = group.summary in addNotifGroup()
110 group.children.forEach { individuals[it.key] = it } in addNotifGroup()

12345678910>>...21