/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BubbleExtractorTest.java | 131 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 …]
|
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 223 NotificationRecord r = getNotificationRecordWithBubble(/* suppressNotif */ true); in testHideNotifOverridesYes() local 238 NotificationRecord r = getNotificationRecordWithMedia(/* excludeSession */ false); in testHideMediaNotifOverridesYes() local [all …]
|
D | NotificationAttentionHelperTest.java | 389 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in getCallRecord() local 516 NotificationRecord r = new NotificationRecord(context, sbn, mChannel); in getNotificationRecord() local 526 NotificationRecord r = getNotificationRecord(id, insistent, once, noisy, buzzy, lights, in getConversationNotificationRecord() local 644 NotificationRecord r = getLightsNotification(); in testLights() local 656 NotificationRecord r = getBeepyNotification(); in testBeep() local 669 NotificationRecord r = getBeepyNotification(); in testLockedPrivateA11yRedaction() local 691 NotificationRecord r = getBeepyNotification(); in testLockedOverridePrivateA11yRedaction() local 713 NotificationRecord r = getBeepyNotification(); in testLockedPublicA11yNoRedaction() local 735 NotificationRecord r = getBeepyNotification(); in testUnlockedPrivateA11yNoRedaction() local 757 NotificationRecord r = getInsistentBeepyNotification(); in testBeepInsistently() local [all …]
|
D | VisibilityExtractorTest.java | 81 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in getNotificationRecord() local 100 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalAllDpmAllChannelAll() local 118 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalNoneDpmAllChannelAll() local 136 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalSomeDpmAllChannelAll() local 155 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalAllDpmNoneChannelAll() local 174 NotificationRecord r = getNotificationRecord(VISIBILITY_NO_OVERRIDE); in testGlobalAllDpmSomeChannelAll() local 192 NotificationRecord r = getNotificationRecord(VISIBILITY_SECRET); in testGlobalAllDpmAllChannelNone() local 210 NotificationRecord r = getNotificationRecord(VISIBILITY_PRIVATE); in testGlobalAllDpmAllChannelSome() local 229 NotificationRecord r = getNotificationRecord(VISIBILITY_SECRET); in testGlobalAllDpmSomeChannelNone() local
|
D | ZenModeFilteringTest.java | 117 NotificationRecord r = mock(NotificationRecord.class); in getConversationRecord() local 136 NotificationRecord r = mock(NotificationRecord.class); in getCallRecordWithPeopleInfo() local 150 NotificationRecord r = getNotificationRecord(); in testIsMessage() local 165 NotificationRecord r = getNotificationRecord(c); in testIsAlarm() local 175 NotificationRecord r = getNotificationRecord(); in testIsAlarm_wrongCategory() local 186 NotificationRecord r = getNotificationRecord(c); in testIsAlarm_wrongUsage() local 192 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_yes_VisEffectsAllowed() local 203 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_yes_WrongId() local 213 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_yes_WrongPackage() local 223 NotificationRecord r = getNotificationRecord(); in testSuppressDNDInfo_no() local [all …]
|
D | NotificationChannelExtractorTest.java | 100 NotificationRecord r = getRecord(channel, n); in testExtractsUpdatedConversationChannel() local 120 NotificationRecord r = getRecord(channel, n); in testInvalidShortcutFlagEnabled_looksUpCorrectNonChannel() local 141 NotificationRecord r = getRecord(channel, n); in testInvalidShortcutFlagDisabled_looksUpCorrectChannel() local 169 NotificationRecord r = getRecord(channel, n); in testAudioAttributes_callStyleCanUseCallUsage() local 188 NotificationRecord r = getRecord(channel, n); in testAudioAttributes_nonCallStyleCannotUseCallUsage() local 210 NotificationRecord r = getRecord(channel, n); in testAudioAttributes_alarmCategoryCanUseAlarmUsage() local 229 NotificationRecord r = getRecord(channel, n); in testAudioAttributes_nonAlarmCategoryCannotUseAlarmUsage() local 250 NotificationRecord r = getRecord(channel, n); in testAudioAttributes_noMediaUsage() local 271 NotificationRecord r = getRecord(channel, n); in testAudioAttributes_noUnknownUsage() local
|
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
|
/frameworks/rs/driver/runtime/arch/ |
D | generic.c | 123 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/ |
D | ActivityClientController.java | 181 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityIdle() local 229 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityPaused() local 252 final ActivityRecord r; in activityStopped() local 295 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityDestroyed() local 310 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityLocalRelaunch() local 322 final ActivityRecord r = ActivityRecord.forTokenLocked(token); in activityRelaunched() local 336 final ActivityRecord r = ActivityRecord.isInRootTaskLocked(token); in reportSizeConfigurations() local 394 final ActivityRecord r; in navigateUpTo() local 417 final ActivityRecord r = ActivityRecord.isInRootTaskLocked(token); in releaseActivityInstance() local 446 final ActivityRecord r; in finishActivity() local [all …]
|
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
D | ActivityThreadClientTest.java | 99 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnCreate() local 126 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnStart() local 151 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnResume() local 174 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleOfRelaunch() local 264 ActivityClientRecord r, int expectedState) throws Exception { in recreateAndVerifyRelaunched() 296 private Activity launchActivity(ActivityClientRecord r) { in launchActivity() 301 private void startActivity(ActivityClientRecord r) { in startActivity() 305 private void resumeActivity(ActivityClientRecord r) { in resumeActivity() 310 private void pauseActivity(ActivityClientRecord r) { in pauseActivity() 316 private void stopActivity(ActivityClientRecord r) { in stopActivity() [all …]
|
/frameworks/base/core/tests/coretests/src/android/database/ |
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 …]
|
/frameworks/base/core/java/android/app/ |
D | ClientTransactionHandler.java | 110 public abstract void handleDestroyActivity(@NonNull ActivityClientRecord r, boolean finishing, in handleDestroyActivity() 114 public abstract void handlePauseActivity(@NonNull ActivityClientRecord r, boolean finished, in handlePauseActivity() 126 public abstract void handleResumeActivity(@NonNull ActivityClientRecord r, in handleResumeActivity() 137 public abstract void handleTopResumedActivityChanged(@NonNull ActivityClientRecord r, in handleTopResumedActivityChanged() 149 public abstract void handleStopActivity(@NonNull ActivityClientRecord r, in handleStopActivity() 156 public abstract void performRestartActivity(@NonNull ActivityClientRecord r, boolean start); in performRestartActivity() 159 public abstract void reportRefresh(@NonNull ActivityClientRecord r); in reportRefresh() 166 public abstract void handleActivityConfigurationChanged(@NonNull ActivityClientRecord r, in handleActivityConfigurationChanged() 178 public abstract void handleSendResult( in handleSendResult() 182 public abstract void handleNewIntent( in handleNewIntent() [all …]
|
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 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/ |
D | TestableLooperTest.java | 58 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 246 Runnable r = mock(Runnable.class); in testProcessMessagesNonBlocking_onlyArgNumber() local 261 Runnable r = mock(Runnable.class); in testProcessMessagesNonBlocking_lessMessagesThanArg() local
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
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
|
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
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastHistory.java | 85 void onBroadcastFrozenLocked(@NonNull BroadcastRecord r) { in onBroadcastFrozenLocked() 89 void onBroadcastEnqueuedLocked(@NonNull BroadcastRecord r) { in onBroadcastEnqueuedLocked() 94 void onBroadcastFinishedLocked(@NonNull BroadcastRecord r) { in onBroadcastFinishedLocked() 124 final BroadcastRecord r = mPendingBroadcasts.get(i); in dumpDebug() local 128 final BroadcastRecord r = mFrozenBroadcasts.get(i); in dumpDebug() local 138 BroadcastRecord r = mBroadcastHistory[ringIndex]; in dumpDebug() local 181 BroadcastRecord r = mBroadcastHistory[ringIndex]; in dumpLocked() local 226 BroadcastRecord r = mBroadcastHistory[ringIndex]; in dumpLocked() local 285 final BroadcastRecord r = broadcasts.get(idx); in dumpBroadcastList() local
|
/frameworks/base/libs/hwui/ |
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 …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | RecurrenceRuleTest.java | 61 final RecurrenceRule r = new RecurrenceRule( in testSimpleMonth() local 82 final RecurrenceRule r = new RecurrenceRule( in testSimpleDays() local 104 final RecurrenceRule r = new RecurrenceRule( in testNotRecurring() local 122 final RecurrenceRule r = RecurrenceRule.buildNever(); in testNever() local 132 final RecurrenceRule r = new RecurrenceRule( in testSane() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/ |
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()
|
/frameworks/base/tests/testables/src/android/testing/ |
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()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
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
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/inputmethod/ |
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
|
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
|
/frameworks/native/libs/ui/tests/ |
D | Region_test.cpp | 33 void verifyNoTJunctions(const Region& r) { in verifyNoTJunctions() 59 Region r; in TEST_F() local 77 Region r; in TEST_F() local 85 Region r; in TEST_F() local 123 Region r; in TEST_F() local 139 Region r; in TEST_F() local
|