Home
last modified time | relevance | path

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

12345678910>>...37

/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 …]
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 …]
DBuzzBeepBlinkTest.java293 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in getCallRecord() local
390 NotificationRecord r = new NotificationRecord(context, sbn, mChannel); in getNotificationRecord() local
490 NotificationRecord r = getLightsNotification(); in testLights() local
502 NotificationRecord r = getBeepyNotification(); in testBeep() local
515 NotificationRecord r = getBeepyNotification(); in testLockedPrivateA11yRedaction() local
537 NotificationRecord r = getBeepyNotification(); in testLockedOverridePrivateA11yRedaction() local
559 NotificationRecord r = getBeepyNotification(); in testLockedPublicA11yNoRedaction() local
581 NotificationRecord r = getBeepyNotification(); in testUnlockedPrivateA11yNoRedaction() local
603 NotificationRecord r = getInsistentBeepyNotification(); in testBeepInsistently() local
614 NotificationRecord r = getInsistentBeepyLeanbackNotification(); in testNoLeanbackBeep() 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
DZenModeFilteringTest.java108 NotificationRecord r = mock(NotificationRecord.class); in getConversationRecord() local
127 NotificationRecord r = mock(NotificationRecord.class); in getCallRecordWithPeopleInfo() local
141 NotificationRecord r = getNotificationRecord(); in testIsMessage() local
156 NotificationRecord r = getNotificationRecord(c); in testIsAlarm() local
166 NotificationRecord r = getNotificationRecord(); in testIsAlarm_wrongCategory() local
177 NotificationRecord r = getNotificationRecord(c); in testIsAlarm_wrongUsage() local
183 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_yes_VisEffectsAllowed() local
194 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_yes_WrongId() local
204 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_yes_WrongPackage() local
214 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_no() local
[all …]
DNotificationRecordLoggerFake.java38 CallRecord(NotificationRecord r, NotificationRecord old, int position, in CallRecord()
48 CallRecord(NotificationRecord r, int position, int buzzBeepBlink, InstanceId groupId) { in CallRecord()
57 CallRecord(NotificationRecord r, UiEventLogger.UiEventEnum event) { in CallRecord()
81 public void maybeLogNotificationPosted(NotificationRecord r, NotificationRecord old, in maybeLogNotificationPosted()
87 public void logNotificationAdjusted(NotificationRecord r, int position, int buzzBeepBlink, in logNotificationAdjusted()
93 public void log(UiEventLogger.UiEventEnum event, NotificationRecord r) { in log()
/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.java140 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityIdle() local
188 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityPaused() local
211 final ActivityRecord r; in activityStopped() local
249 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityDestroyed() local
264 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityLocalRelaunch() local
276 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityRelaunched() local
290 final ActivityRecord r = ActivityRecord.isInRootTaskLocked(token); in reportSizeConfigurations() local
348 final ActivityRecord r; in navigateUpTo() local
371 final ActivityRecord r = ActivityRecord.isInRootTaskLocked(token); in releaseActivityInstance() local
400 final ActivityRecord r; in finishActivity() local
[all …]
/frameworks/base/core/java/android/app/
DClientTransactionHandler.java95 public abstract void handleDestroyActivity(@NonNull ActivityClientRecord r, boolean finishing, in handleDestroyActivity()
99 public abstract void handlePauseActivity(@NonNull ActivityClientRecord r, boolean finished, in handlePauseActivity()
111 public abstract void handleResumeActivity(@NonNull ActivityClientRecord r, in handleResumeActivity()
122 public abstract void handleTopResumedActivityChanged(@NonNull ActivityClientRecord r, in handleTopResumedActivityChanged()
135 public abstract void handleStopActivity(@NonNull ActivityClientRecord r, int configChanges, in handleStopActivity()
142 public abstract void performRestartActivity(@NonNull ActivityClientRecord r, boolean start); in performRestartActivity()
145 public abstract void reportRefresh(@NonNull ActivityClientRecord r); in reportRefresh()
152 public abstract void handleActivityConfigurationChanged(@NonNull ActivityClientRecord r, in handleActivityConfigurationChanged()
156 public abstract void handleSendResult( in handleSendResult()
160 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/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java98 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnCreate() local
125 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnStart() local
150 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnResume() local
173 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleOfRelaunch() local
254 ActivityClientRecord r, int expectedState) throws Exception { in recreateAndVerifyRelaunched()
286 private Activity launchActivity(ActivityClientRecord r) { in launchActivity()
291 private void startActivity(ActivityClientRecord r) { in startActivity()
295 private void resumeActivity(ActivityClientRecord r) { in resumeActivity()
300 private void pauseActivity(ActivityClientRecord r) { in pauseActivity()
306 private void stopActivity(ActivityClientRecord r) { in stopActivity()
[all …]
/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.java55 final Resources r = createResources(APP1, APP2); in testDefaultDenylist() local
65 final Resources r = createResources(); in testNoDefaultDenylist() local
73 final Resources r = createResources(APP1); in testDefaultDenylistIsOverriddenByDeviceConfig() local
85 final Resources r = createResources(APP1); in testDefaultDenylistIsOverriddenByEmptyDeviceConfig() local
95 final Resources r = createResources(APP1); in testDefaultDenylistIsOverriddenByDeviceConfigUpdate() local
119 final Resources r = createResources(APP1); in testOverriddenByDeviceConfigUnrelatedFlagChanged() local
135 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/tests/testables/tests/src/android/testing/
DTestableLooperTest.java58 Runnable r = mock(Runnable.class); in testMessageExecuted() local
69 Runnable r = mock(Runnable.class); in testMessageCallback() local
88 Runnable r = mock(Runnable.class); in testProcessNumberOfMessages() local
101 Runnable r = mock(Runnable.class); in testProcessAllMessages() local
112 Runnable r = mock(Runnable.class); in test3Chain() local
124 Runnable r = mock(Runnable.class); in testProcessAllMessages_2Messages() local
137 Runnable r = mock(Runnable.class); in testMainLooper() local
170 Runnable r = () -> { in testCorrectLooperExecution() local
/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/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/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/services/core/java/com/android/server/am/
DBroadcastQueue.java264 public void enqueueParallelBroadcastLocked(BroadcastRecord r) { in enqueueParallelBroadcastLocked()
272 public void enqueueOrderedBroadcastLocked(BroadcastRecord r) { in enqueueOrderedBroadcastLocked()
284 private void enqueueBroadcastHelper(BroadcastRecord r) { in enqueueBroadcastHelper()
296 public final BroadcastRecord replaceParallelBroadcastLocked(BroadcastRecord r) { in replaceParallelBroadcastLocked()
304 public final BroadcastRecord replaceOrderedBroadcastLocked(BroadcastRecord r) { in replaceOrderedBroadcastLocked()
308 private BroadcastRecord replaceBroadcastLocked(ArrayList<BroadcastRecord> queue, in replaceBroadcastLocked()
325 private final void processCurBroadcastLocked(BroadcastRecord r, in processCurBroadcastLocked()
438 BroadcastRecord r = null; in skipCurrentReceiverLocked() local
458 private void skipReceiverLocked(BroadcastRecord r) { in skipReceiverLocked()
495 private void postActivityStartTokenRemoval(ProcessRecord app, BroadcastRecord r) { in postActivityStartTokenRemoval()
[all …]
/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/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/
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
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
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DHandlerExecutor.java42 public void executeDelayed(@NonNull Runnable r, long delayMillis) { in executeDelayed()
49 public void removeCallbacks(@NonNull Runnable r) { in removeCallbacks()
54 public boolean hasCallback(Runnable r) { in hasCallback()
/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()

12345678910>>...37