Home
last modified time | relevance | path

Searched defs:r (Results 1 – 25 of 842) sorted by relevance

12345678910>>...34

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBubbleExtractorTest.java131 NotificationRecord r = new NotificationRecord(getContext(), sbn, mChannel); in getNotificationRecord() local
173 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppYesChannelNo() local
187 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppYesChannelDefault() local
201 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppYesChannelYes() local
215 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppYesChannelYesFeatureNo() local
230 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppNoChannelYes() local
245 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppNoChannelDefault() local
260 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppSelectedChannelDefault() local
275 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppSelectedChannelNo() local
291 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppSeletedChannelYes() local
[all …]
DZenModeFilteringTest.java90 NotificationRecord r = mock(NotificationRecord.class); in getConversationRecord() local
100 NotificationRecord r = getNotificationRecord(); in testIsMessage() local
115 NotificationRecord r = getNotificationRecord(c); in testIsAlarm() local
125 NotificationRecord r = getNotificationRecord(); in testIsAlarm_wrongCategory() local
136 NotificationRecord r = getNotificationRecord(c); in testIsAlarm_wrongUsage() local
142 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_yes_VisEffectsAllowed() local
153 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_yes_WrongId() local
163 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_yes_WrongPackage() local
173 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_no() local
185 NotificationRecord r = getNotificationRecord(); in testSuppressAnything_yes_ZenModeOff() local
[all …]
DBuzzBeepBlinkTest.java289 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in getCallRecord() local
386 NotificationRecord r = new NotificationRecord(context, sbn, mChannel); in getNotificationRecord() local
480 NotificationRecord r = getLightsNotification(); in testLights() local
492 NotificationRecord r = getBeepyNotification(); in testBeep() local
505 NotificationRecord r = getBeepyNotification(); in testLockedPrivateA11yRedaction() local
527 NotificationRecord r = getBeepyNotification(); in testLockedOverridePrivateA11yRedaction() local
549 NotificationRecord r = getBeepyNotification(); in testLockedPublicA11yNoRedaction() local
571 NotificationRecord r = getBeepyNotification(); in testUnlockedPrivateA11yNoRedaction() local
593 NotificationRecord r = getInsistentBeepyNotification(); in testBeepInsistently() local
604 NotificationRecord r = getInsistentBeepyLeanbackNotification(); in testNoLeanbackBeep() local
[all …]
DBadgeExtractorTest.java82 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in getNotificationRecord() local
113 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in getNotificationRecordWithBubble() local
138 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in getNotificationRecordWithMedia() local
153 NotificationRecord r = getNotificationRecord(false, IMPORTANCE_UNSPECIFIED); in testAppYesChannelNo() local
167 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_HIGH); in testAppNoChannelYes() local
181 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_UNSPECIFIED); in testAppYesChannelYes() local
195 NotificationRecord r = getNotificationRecord(false, IMPORTANCE_UNSPECIFIED); in testAppNoChannelNo() local
209 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_HIGH); in testAppYesChannelYesUserNo() local
223 NotificationRecord r = getNotificationRecordWithBubble(/* suppressNotif */ true); in testHideNotifOverridesYes() local
238 NotificationRecord r = getNotificationRecordWithMedia(/* excludeSession */ false); in testHideMediaNotifOverridesYes() local
[all …]
DVisibilityExtractorTest.java91 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in getNotificationRecord() local
110 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalAllDpmAllChannelAll() local
128 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalNoneDpmAllChannelAll() local
146 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalSomeDpmAllChannelAll() local
165 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalAllDpmNoneChannelAll() local
184 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalAllDpmSomeChannelAll() local
202 NotificationRecord r = getNotificationRecord(VISIBILITY_SECRET); in testGlobalAllDpmAllChannelNone() local
220 NotificationRecord r = getNotificationRecord(VISIBILITY_PRIVATE); in testGlobalAllDpmAllChannelSome() local
239 NotificationRecord r = getNotificationRecord(VISIBILITY_SECRET); in testGlobalAllDpmSomeChannelNone() local
/frameworks/rs/driver/runtime/arch/
Dgeneric.c123 float2 r; in fmax() local
130 float3 r; in fmax() local
138 float4 r; in fmax() local
147 float2 r; in fmax() local
154 float3 r; in fmax() local
162 float4 r; in fmax() local
179 float2 r; in fmin() local
186 float3 r; in fmin() local
194 float4 r; in fmin() local
203 float2 r; in fmin() local
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityClientController.java124 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityIdle() local
163 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityPaused() local
186 final ActivityRecord r; in activityStopped() local
224 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityDestroyed() local
239 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityRelaunched() local
253 final ActivityRecord r = ActivityRecord.isInRootTaskLocked(token); in reportSizeConfigurations() local
311 final ActivityRecord r; in navigateUpTo() local
334 final ActivityRecord r = ActivityRecord.isInRootTaskLocked(token); in releaseActivityInstance() local
363 final ActivityRecord r; in finishActivity() local
460 final ActivityRecord r = ActivityRecord.isInRootTaskLocked(token); in finishActivityAffinity() local
[all …]
DMirrorActiveUids.java35 UidRecord r = mUidStates.get(uid); in onUidActive() local
48 final UidRecord r = mUidStates.get(uid); in onUidProcStateChanged() local
55 final UidRecord r = mUidStates.get(uid); in getUidState() local
61 final UidRecord r = mUidStates.get(uid); in onNonAppSurfaceVisibilityChanged() local
73 final UidRecord r = mUidStates.get(uid); in hasNonAppVisibleWindow() local
80 final UidRecord r = mUidStates.valueAt(i); in dump() local
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java92 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnCreate() local
119 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnStart() local
144 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnResume() local
167 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleOfRelaunch() local
207 ActivityClientRecord r, int expectedState) throws Exception { in recreateAndVerifyRelaunched()
239 private Activity launchActivity(ActivityClientRecord r) { in launchActivity()
244 private void startActivity(ActivityClientRecord r) { in startActivity()
248 private void resumeActivity(ActivityClientRecord r) { in resumeActivity()
253 private void pauseActivity(ActivityClientRecord r) { in pauseActivity()
259 private void stopActivity(ActivityClientRecord r) { in stopActivity()
[all …]
/frameworks/base/core/java/android/app/
DClientTransactionHandler.java92 public abstract void handleDestroyActivity(@NonNull ActivityClientRecord r, boolean finishing, in handleDestroyActivity()
96 public abstract void handlePauseActivity(@NonNull ActivityClientRecord r, boolean finished, in handlePauseActivity()
108 public abstract void handleResumeActivity(@NonNull ActivityClientRecord r, in handleResumeActivity()
118 public abstract void handleTopResumedActivityChanged(@NonNull ActivityClientRecord r, in handleTopResumedActivityChanged()
131 public abstract void handleStopActivity(@NonNull ActivityClientRecord r, int configChanges, in handleStopActivity()
138 public abstract void performRestartActivity(@NonNull ActivityClientRecord r, boolean start); in performRestartActivity()
141 public abstract void updatePendingActivityConfiguration(@NonNull ActivityClientRecord r, in updatePendingActivityConfiguration()
145 public abstract void handleActivityConfigurationChanged(@NonNull ActivityClientRecord r, in handleActivityConfigurationChanged()
149 public abstract void handleSendResult( in handleSendResult()
153 public abstract void handleNewIntent( in handleNewIntent()
[all …]
DLocalActivityManager.java135 private void moveToState(LocalActivityRecord r, int desiredState) { in moveToState()
256 private void performPause(LocalActivityRecord r, boolean finishing) { in performPause()
322 LocalActivityRecord r = mActivities.get(id); in startActivity() local
407 private Window performDestroy(LocalActivityRecord r, boolean finish) { in performDestroy()
441 LocalActivityRecord r = mActivities.get(id); in destroyActivity() local
488 LocalActivityRecord r = mActivities.get(id); in getActivity() local
511 LocalActivityRecord r = mActivities.get(id); in dispatchCreate() local
547 final LocalActivityRecord r = mActivityArray.get(i); in saveInstanceState() local
612 LocalActivityRecord r = mActivityArray.get(i); in dispatchPause() local
631 LocalActivityRecord r = mActivityArray.get(i); in dispatchStop() local
[all …]
/frameworks/base/tests/testables/tests/src/android/testing/
DTestableLooperTest.java54 Runnable r = mock(Runnable.class); in testMessageExecuted() local
65 Runnable r = mock(Runnable.class); in testMessageCallback() local
84 Runnable r = mock(Runnable.class); in testProcessNumberOfMessages() local
97 Runnable r = mock(Runnable.class); in testProcessAllMessages() local
108 Runnable r = mock(Runnable.class); in test3Chain() local
120 Runnable r = mock(Runnable.class); in testProcessAllMessages_2Messages() local
133 Runnable r = mock(Runnable.class); in testMainLooper() local
166 Runnable r = () -> { in testCorrectLooperExecution() local
/frameworks/base/core/tests/coretests/src/android/database/
DNewDatabasePerformanceTests.java184 int r = random.nextInt(100000); in prepareForTest() local
212 int r = random.nextInt(100000); in prepareForTest() local
244 int r = random.nextInt(100000); in prepareForTest() local
280 int r = random.nextInt(100000); in prepareForTest() local
315 int r = random.nextInt(100000); in prepareForTest() local
349 int r = random.nextInt(100000); in prepareForTest() local
355 int r = random.nextInt(100000); in prepareForTest() local
386 int r = random.nextInt(100000); in prepareForTest() local
392 int r = random.nextInt(100000); in prepareForTest() local
422 int r = random.nextInt(100000); in prepareForTest() local
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DHighRefreshRateDenylistTest.java61 final Resources r = createResources(APP1, APP2); in testDefaultDenylist() local
71 final Resources r = createResources(); in testNoDefaultDenylist() local
79 final Resources r = createResources(APP1); in testDefaultDenylistIsOverriddenByDeviceConfig() local
91 final Resources r = createResources(APP1); in testDefaultDenylistIsOverriddenByEmptyDeviceConfig() local
101 final Resources r = createResources(APP1); in testDefaultDenylistIsOverriddenByDeviceConfigUpdate() local
125 final Resources r = createResources(APP1); in testOverriddenByDeviceConfigUnrelatedFlagChanged() local
141 Resources r = mock(Resources.class); in createResources() local
DTaskPositionerTests.java117 final Rect r = new Rect(left, top, left + windowSize, top + windowSize); in testMoveWindow() local
138 final Rect r = new Rect(100, 220, 700, 520); in testBasicFreeWindowResizing() local
199 final Rect r = new Rect(100, 220, 700, 520); in testFreeWindowResizingTestAllEdges() local
283 final Rect r = new Rect(100, 220, 700, 520); in testLandscapePreservedWindowResizingDragTopLeft() local
321 final Rect r = new Rect(100, 220, 700, 520); in testLandscapePreservedWindowResizingDragLeft() local
362 final Rect r = new Rect(100, 220, 700, 520); in testLandscapePreservedWindowResizingDragTop() local
399 final Rect r = new Rect(330, 100, 630, 600); in testPortraitPreservedWindowResizingDragTopLeft() local
432 final Rect r = new Rect(330, 100, 630, 600); in testPortraitPreservedWindowResizingDragLeft() local
475 final Rect r = new Rect(330, 100, 630, 600); in testPortraitPreservedWindowResizingDragTop() local
/frameworks/base/libs/hwui/
DRect.h33 #define RECT_ARGS(r) (r).left, (r).top, (r).right, (r).bottom argument
34 #define SK_RECT_ARGS(r) (r).left(), (r).top(), (r).right(), (r).bottom() argument
95 inline void set(const Rect& r) { set(r.left, r.top, r.right, r.bottom); } in set()
97 inline void set(const SkIRect& r) { set(r.left(), r.top(), r.right(), r.bottom()); } in set()
103 bool intersects(float l, float t, float r, float b) const { in intersects()
112 bool intersects(const Rect& r) const { return intersects(r.left, r.top, r.right, r.bottom); } in intersects()
119 void doIntersect(float l, float t, float r, float b) { in doIntersect()
126 void doIntersect(const Rect& r) { doIntersect(r.left, r.top, r.right, r.bottom); } in doIntersect()
128 inline bool contains(float l, float t, float r, float b) const { in contains()
132 inline bool contains(const Rect& r) const { return contains(r.left, r.top, r.right, r.bottom); } in contains()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DDelayableExecutor.java33 default Runnable executeDelayed(Runnable r, long delayMillis) { in executeDelayed()
44 Runnable executeDelayed(Runnable r, long delay, TimeUnit unit); in executeDelayed()
53 default Runnable executeAtTime(Runnable r, long uptime) { in executeAtTime()
64 Runnable executeAtTime(Runnable r, long uptimeMillis, TimeUnit unit); in executeAtTime()
/frameworks/base/core/tests/coretests/src/android/util/
DRecurrenceRuleTest.java53 final RecurrenceRule r = new RecurrenceRule( in testSimpleMonth() local
73 final RecurrenceRule r = new RecurrenceRule( in testSimpleDays() local
94 final RecurrenceRule r = new RecurrenceRule( in testNotRecurring() local
111 final RecurrenceRule r = RecurrenceRule.buildNever(); in testNever() local
120 final RecurrenceRule r = new RecurrenceRule( in testSane() local
/frameworks/base/tests/testables/src/android/testing/
DDexmakerShareClassLoaderRule.java59 public static void runWithDexmakerShareClassLoader(Runnable r) { in runWithDexmakerShareClassLoader()
71 private static <T extends Throwable> ThrowingRunnable<T> apply(ThrowingRunnable<T> r) { in apply()
76 ThrowingRunnable<T> r) { in wrapInSetAndClearProperty()
95 private static <T extends Throwable> ThrowingRunnable<T> wrapInMutex(ThrowingRunnable<T> r) { in wrapInMutex()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java51 ContentResolver r = getContext().getContentResolver(); in testNameValueCache() local
111 ContentResolver r = getContext().getContentResolver(); in testRowNameContentUri() local
170 ContentResolver r = getContext().getContentResolver(); in testSettingsChangeForOtherUser() local
202 ContentResolver r = getContext().getContentResolver(); in testRowNumberContentUri() local
235 ContentResolver r = getContext().getContentResolver(); in testPerUserSettings() local
322 ContentResolver r = getContext().getContentResolver(); in testValidSsaid() local
338 ContentResolver r = getContext().getContentResolver(); in testCall_putAndGetConfig() local
374 ContentResolver r = getContext().getContentResolver(); in testCall_deleteConfig() local
404 ContentResolver r = getContext().getContentResolver(); in testCall_listConfig() local
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DTestShellExecutor.java36 public void executeDelayed(Runnable r, long delayMillis) { in executeDelayed()
41 public void removeCallbacks(Runnable r) { in removeCallbacks()
46 public boolean hasCallback(Runnable r) { in hasCallback()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java253 PackagePreferences r = getOrCreatePackagePreferencesLocked( in readXml() local
418 r = (uid == UNKNOWN_UID) in getOrCreatePackagePreferencesLocked() local
446 mRestoredWithoutUids.put(unrestoredPackageKey(pkg, userId), r); in getOrCreatePackagePreferencesLocked() local
454 private boolean shouldHaveDefaultChannel(PackagePreferences r) throws in shouldHaveDefaultChannel()
468 private boolean deleteDefaultChannelIfNeededLocked(PackagePreferences r) throws in deleteDefaultChannelIfNeededLocked()
486 private boolean createDefaultChannelIfNeededLocked(PackagePreferences r) throws in createDefaultChannelIfNeededLocked()
538 final PackagePreferences r = mPackagePreferences.valueAt(i); in writeXml() local
698 PackagePreferences r = getOrCreatePackagePreferencesLocked(packageName, uid); in isInInvalidMsgState() local
705 PackagePreferences r = getOrCreatePackagePreferencesLocked(packageName, uid); in hasUserDemotedInvalidMsgApp() local
712 PackagePreferences r = getOrCreatePackagePreferencesLocked(packageName, uid); in setInvalidMsgAppDemoted() local
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeUtilCompatTest.java55 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeNoSubtype() local
62 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_MultipleImesNoSubtype() local
69 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeSingleSubtype() local
76 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeDuplicateSameSubtypes() local
84 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeMultipleSubtypes() local
107 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_MixedImeSubtypePairsAndImeNoSubtype() local
DInputMethodAndSubtypeUtilTest.java53 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeNoSubtype() local
60 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_MultipleImesNoSubtype() local
67 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeSingleSubtype() local
74 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeDuplicateSameSubtypes() local
82 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_SingleImeMultipleSubtypes() local
105 HashMap<String, HashSet<String>> r = in parseInputMethodsAndSubtypesString_MixedImeSubtypePairsAndImeNoSubtype() local
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastQueue.java233 public void enqueueParallelBroadcastLocked(BroadcastRecord r) { in enqueueParallelBroadcastLocked()
238 public void enqueueOrderedBroadcastLocked(BroadcastRecord r) { in enqueueOrderedBroadcastLocked()
247 private void enqueueBroadcastHelper(BroadcastRecord r) { in enqueueBroadcastHelper()
261 public final BroadcastRecord replaceParallelBroadcastLocked(BroadcastRecord r) { in replaceParallelBroadcastLocked()
269 public final BroadcastRecord replaceOrderedBroadcastLocked(BroadcastRecord r) { in replaceOrderedBroadcastLocked()
273 private BroadcastRecord replaceBroadcastLocked(ArrayList<BroadcastRecord> queue, in replaceBroadcastLocked()
290 private final void processCurBroadcastLocked(BroadcastRecord r, in processCurBroadcastLocked()
383 BroadcastRecord r = null; in skipCurrentReceiverLocked() local
403 private void skipReceiverLocked(BroadcastRecord r) { in skipReceiverLocked()
440 private void postActivityStartTokenRemoval(ProcessRecord app, BroadcastRecord r) { in postActivityStartTokenRemoval()
[all …]

12345678910>>...34