/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | BubbleExtractorTest.java | 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 306 NotificationRecord r = getNotificationRecord(true /* bubble */); in testAppSeletedChannelYesFeatureNo() local [all …]
|
H A D | BuzzBeepBlinkTest.java | 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 628 NotificationRecord r = getBeepyNotification(); in testNoBeepForAutomotiveIfEffectsDisabled() local 642 NotificationRecord r = getBeepyNotification(); in testNoBeepForImportanceDefaultInAutomotiveIfEffectsEnabled() local 656 NotificationRecord r = getBeepyNotification(); in testBeepForImportanceHighInAutomotiveIfEffectsEnabled() local 667 NotificationRecord r = getBeepyNotification(); in testNoInterruptionForMin() local 680 NotificationRecord r = getBeepyNotification(); in testNoInterruptionForIntercepted() local [all …]
|
H A D | BadgeExtractorTest.java | 82 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 283 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_UNSPECIFIED); in testHideMediaNotifNotMediaStyleOverridesNo() local 297 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_UNSPECIFIED); in testDndOverridesYes() local [all …]
|
H A D | VisibilityExtractorTest.java | 91 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
|
H A D | ZenModeFilteringTest.java | 108 NotificationRecord r = mock(NotificationRecord.class); in getConversationRecord() 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 226 NotificationRecord r = getNotificationRecord(); in testSuppressAnything_yes_ZenModeOff() local [all …]
|
H A D | NotificationRecordExtractorDataTest.java | 40 NotificationRecord r = generateRecord(); in testHasDiffs_noDiffs() local 68 NotificationRecord r = generateRecord(); in testHasDiffs_proposedImportanceChange() local 102 NotificationRecord r = generateRecord(); in testHasDiffs_autoBundled() local 137 NotificationRecord r = generateRecord(); in testHasDiffs_sensitiveContentChange() local
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | ActivityClientController.java | 237 final ActivityRecord r; in activityStopped() local 379 final ActivityRecord r; in navigateUpTo() local 431 final ActivityRecord r; in finishActivity() local 577 final ActivityRecord r; in setForceSendResultForMediaProjection() local 664 final ActivityRecord r = getCallingRecord(token); in getCallingActivity() local 672 final ActivityRecord r = getCallingRecord(token); in getCallingPackage() local 950 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in ensureValidPictureInPictureActivityParams() local 994 boolean requestPictureInPictureMode(@NonNull ActivityRecord r) { in requestPictureInPictureMode() 1026 void onPictureInPictureStateChanged(@NonNull ActivityRecord r, in onPictureInPictureStateChanged() 1433 final ActivityRecord r; in setVrMode() local [all …]
|
/aosp14/frameworks/base/tests/testables/src/android/testing/ |
H A D | DexmakerShareClassLoaderRule.java | 59 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()
|
/aosp14/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
H A D | ActivityThreadClientTest.java | 98 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 263 ActivityClientRecord r, int expectedState) throws Exception { in recreateAndVerifyRelaunched() 295 private Activity launchActivity(ActivityClientRecord r) { in launchActivity() 300 private void startActivity(ActivityClientRecord r) { in startActivity() 304 private void resumeActivity(ActivityClientRecord r) { in resumeActivity() 309 private void pauseActivity(ActivityClientRecord r) { in pauseActivity() 315 private void stopActivity(ActivityClientRecord r) { in stopActivity() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | NewDatabasePerformanceTests.java | 184 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 …]
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | ClientTransactionHandler.java | 122 public abstract void handleResumeActivity(@NonNull ActivityClientRecord r, in handleResumeActivity() 133 public abstract void handleTopResumedActivityChanged(@NonNull ActivityClientRecord r, in handleTopResumedActivityChanged() 156 public abstract void reportRefresh(@NonNull ActivityClientRecord r); in reportRefresh() 167 public abstract void handleSendResult( in handleSendResult() 171 public abstract void handleNewIntent( in handleNewIntent() 175 public abstract void handlePictureInPictureRequested(@NonNull ActivityClientRecord r); in handlePictureInPictureRequested() 185 public abstract void handleAttachSplashScreenView(@NonNull ActivityClientRecord r, in handleAttachSplashScreenView() 190 public abstract Activity handleLaunchActivity(@NonNull ActivityClientRecord r, in handleLaunchActivity() 194 public abstract void handleStartActivity(@NonNull ActivityClientRecord r, in handleStartActivity() 231 public abstract void handleRelaunchActivity(@NonNull ActivityClientRecord r, in handleRelaunchActivity() [all …]
|
H A D | LocalActivityManager.java | 135 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 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 648 LocalActivityRecord r = mActivityArray.get(i); in dispatchRetainNonConfigurationInstance() local [all …]
|
/aosp14/frameworks/base/tests/testables/tests/src/android/testing/ |
H A D | TestableLooperTest.java | 57 Runnable r = mock(Runnable.class); in testMessageExecuted() local 68 Runnable r = mock(Runnable.class); in testMessageCallback() local 87 Runnable r = mock(Runnable.class); in testProcessNumberOfMessages() local 100 Runnable r = mock(Runnable.class); in testProcessAllMessages() local 111 Runnable r = mock(Runnable.class); in test3Chain() local 123 Runnable r = mock(Runnable.class); in testProcessAllMessages_2Messages() local 136 Runnable r = mock(Runnable.class); in testMainLooper() local 169 Runnable r = () -> { in testCorrectLooperExecution() local 245 Runnable r = mock(Runnable.class); in testProcessMessagesNonBlocking_onlyArgNumber() local 260 Runnable r = mock(Runnable.class); in testProcessMessagesNonBlocking_lessMessagesThanArg() local
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | HighRefreshRateDenylistTest.java | 55 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
|
H A D | TaskPositionerTests.java | 117 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
|
/aosp14/frameworks/base/libs/hwui/ |
H A D | Rect.h | 33 #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 100 inline void set(const Rect& r) { set(r.left, r.top, r.right, r.bottom); } in set() 102 inline void set(const SkIRect& r) { set(r.left(), r.top(), r.right(), r.bottom()); } in set() 108 bool intersects(float l, float t, float r, float b) const { in intersects() 117 bool intersects(const Rect& r) const { return intersects(r.left, r.top, r.right, r.bottom); } in intersects() 124 void doIntersect(float l, float t, float r, float b) { in doIntersect() 131 void doIntersect(const Rect& r) { doIntersect(r.left, r.top, r.right, r.bottom); } in doIntersect() 133 inline bool contains(float l, float t, float r, float b) const { in contains() 137 inline bool contains(const Rect& r) const { return contains(r.left, r.top, r.right, r.bottom); } in contains() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | RecurrenceRuleTest.java | 53 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
|
/aosp14/system/core/libutils/include/utils/ |
H A D | FastStrcmp.h | 43 static inline int fastcmp(const char* l, const char* r, const size_t s) { in fastcmp() 50 static inline int fasticmp(const char* l, const char* r, const size_t s) { in fasticmp() 59 const char* r = static_cast<const char*>(rv); in fastcmp() local 66 static inline int fastcmp(const char* l, const char* r) { in fastcmp() 71 static inline int fasticmp(const char* l, const char* r) { in fasticmp()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/ |
H A D | DelayableExecutor.java | 33 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()
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BroadcastHistory.java | 80 void onBroadcastEnqueuedLocked(@NonNull BroadcastRecord r) { in onBroadcastEnqueuedLocked() 84 void onBroadcastFinishedLocked(@NonNull BroadcastRecord r) { in onBroadcastFinishedLocked() 114 final BroadcastRecord r = mPendingBroadcasts.get(i); in dumpDebug() local 124 BroadcastRecord r = mBroadcastHistory[ringIndex]; in dumpDebug() local 159 final BroadcastRecord r = mPendingBroadcasts.get(idx); in dumpLocked() local 175 BroadcastRecord r = mBroadcastHistory[ringIndex]; in dumpLocked() local 220 BroadcastRecord r = mBroadcastHistory[ringIndex]; in dumpLocked() local
|
H A D | BroadcastSkipPolicy.java | 65 public boolean shouldSkip(@NonNull BroadcastRecord r, @NonNull Object target) { in shouldSkip() 82 public @Nullable String shouldSkipMessage(@NonNull BroadcastRecord r, @NonNull Object target) { in shouldSkipMessage() 97 private @Nullable String shouldSkipMessage(@NonNull BroadcastRecord r, in shouldSkipMessage() 341 public boolean disallowBackgroundStart(@NonNull BroadcastRecord r) { in disallowBackgroundStart() 357 private @Nullable String shouldSkipMessage(@NonNull BroadcastRecord r, in shouldSkipMessage() 592 private static String broadcastDescription(BroadcastRecord r, ComponentName component) { in broadcastDescription() 598 private boolean noteOpForManifestReceiver(int appOp, BroadcastRecord r, ResolveInfo info, in noteOpForManifestReceiver() 613 private boolean noteOpForManifestReceiverInner(int appOp, BroadcastRecord r, ResolveInfo info, in noteOpForManifestReceiverInner()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | SettingsProviderTest.java | 51 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 380 ContentResolver r = getContext().getContentResolver(); in testCall_deleteConfig() local 412 ContentResolver r = getContext().getContentResolver(); in testCall_listConfig() local
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/ |
H A D | InputMethodAndSubtypeUtilCompatTest.java | 55 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
|
H A D | InputMethodAndSubtypeUtilTest.java | 53 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
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/ |
H A D | TestShellExecutor.java | 36 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()
|