| /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 | ZenModeFilteringTest.java | 90 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 …]
|
| 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 | BuzzBeepBlinkTest.java | 283 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in getCallRecord() local 380 NotificationRecord r = new NotificationRecord(context, sbn, mChannel); in getNotificationRecord() local 468 NotificationRecord r = getLightsNotification(); in testLights() local 480 NotificationRecord r = getBeepyNotification(); in testBeep() local 493 NotificationRecord r = getBeepyNotification(); in testLockedPrivateA11yRedaction() local 515 NotificationRecord r = getBeepyNotification(); in testLockedOverridePrivateA11yRedaction() local 537 NotificationRecord r = getBeepyNotification(); in testLockedPublicA11yNoRedaction() local 559 NotificationRecord r = getBeepyNotification(); in testUnlockedPrivateA11yNoRedaction() local 581 NotificationRecord r = getInsistentBeepyNotification(); in testBeepInsistently() local 592 NotificationRecord r = getInsistentBeepyLeanbackNotification(); in testNoLeanbackBeep() local [all …]
|
| D | ZenModeExtractorTest.java | 57 NotificationRecord r = generateRecord(); in testExtractIntercepted() local 74 NotificationRecord r = generateRecord(); in testExtractVisualDisturbancesNotIntercepted() local 89 NotificationRecord r = generateRecord(); in testExtractVisualDisturbancesIntercepted() 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/core/tests/mockingcoretests/src/android/app/activity/ |
| D | ActivityThreadClientTest.java | 84 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnCreate() local 111 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnStart() local 136 ActivityClientRecord r = clientSession.stubActivityRecord(); in testLifecycleAfterFinished_OnResume() local 173 private Activity launchActivity(ActivityClientRecord r) { in launchActivity() 178 private void startActivity(ActivityClientRecord r) { in startActivity() 182 private void resumeActivity(ActivityClientRecord r) { in resumeActivity() 187 private void pauseActivity(ActivityClientRecord r) { in pauseActivity() 193 private void stopActivity(ActivityClientRecord r) { in stopActivity() 198 private void destroyActivity(ActivityClientRecord r) { in destroyActivity()
|
| /frameworks/base/tests/testables/tests/src/android/testing/ |
| D | TestableLooperTest.java | 54 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/ |
| 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/services/tests/wmtests/src/com/android/server/wm/ |
| D | HighRefreshRateBlacklistTest.java | 61 final Resources r = createResources(APP1, APP2); in testDefaultBlacklist() local 71 final Resources r = createResources(); in testNoDefaultBlacklist() local 79 final Resources r = createResources(APP1); in testDefaultBlacklistIsOverriddenByDeviceConfig() local 91 final Resources r = createResources(APP1); in testDefaultBlacklistIsOverriddenByEmptyDeviceConfig() local 101 final Resources r = createResources(APP1); in testDefaultBlacklistIsOverriddenByDeviceConfigUpdate() local 125 final Resources r = createResources(APP1); in testOverriddenByDeviceConfigUnrelatedFlagChanged() local 141 Resources r = mock(Resources.class); in createResources() local
|
| D | TaskPositionerTests.java | 121 final Rect r = new Rect(left, top, left + windowSize, top + windowSize); in testMoveWindow() local 142 final Rect r = new Rect(100, 220, 700, 520); in testBasicFreeWindowResizing() local 203 final Rect r = new Rect(100, 220, 700, 520); in testFreeWindowResizingTestAllEdges() local 287 final Rect r = new Rect(100, 220, 700, 520); in testLandscapePreservedWindowResizingDragTopLeft() local 325 final Rect r = new Rect(100, 220, 700, 520); in testLandscapePreservedWindowResizingDragLeft() local 366 final Rect r = new Rect(100, 220, 700, 520); in testLandscapePreservedWindowResizingDragTop() local 403 final Rect r = new Rect(330, 100, 630, 600); in testPortraitPreservedWindowResizingDragTopLeft() local 436 final Rect r = new Rect(330, 100, 630, 600); in testPortraitPreservedWindowResizingDragLeft() local 479 final Rect r = new Rect(330, 100, 630, 600); in testPortraitPreservedWindowResizingDragTop() local
|
| /frameworks/base/tests/net/common/java/android/net/ |
| D | RouteInfoTest.java | 74 RouteInfo r; in testConstructor() local 136 PatchedRouteInfo r; in testMatches() local 198 RouteInfo r; in testHostAndDefaultRoutes() local 334 RouteInfo r; in testTruncation() local 350 RouteInfo r; in testMulticastRoute() local 358 RouteInfo r; in testParceling() local 369 final RouteInfo r = new RouteInfo(Prefix("ff02::1/128"), Address("2001:db8::"), "testiface", in testMtuParceling() local 387 RouteInfo r; in testMtu() local
|
| /frameworks/base/core/java/android/app/ |
| D | LocalActivityManager.java | 134 private void moveToState(LocalActivityRecord r, int desiredState) { in moveToState() 245 private void performPause(LocalActivityRecord r, boolean finishing) { in performPause() 311 LocalActivityRecord r = mActivities.get(id); in startActivity() local 395 private Window performDestroy(LocalActivityRecord r, boolean finish) { in performDestroy() 426 LocalActivityRecord r = mActivities.get(id); in destroyActivity() local 473 LocalActivityRecord r = mActivities.get(id); in getActivity() local 496 LocalActivityRecord r = mActivities.get(id); in dispatchCreate() local 532 final LocalActivityRecord r = mActivityArray.get(i); in saveInstanceState() local 597 LocalActivityRecord r = mActivityArray.get(i); in dispatchPause() local 616 LocalActivityRecord r = mActivityArray.get(i); in dispatchStop() local [all …]
|
| /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/core/tests/coretests/src/android/util/ |
| 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
|
| /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 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/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 225 ContentResolver r = getContext().getContentResolver(); in testParseProviderList() local 291 ContentResolver r = getContext().getContentResolver(); in testPerUserSettings() local 378 ContentResolver r = getContext().getContentResolver(); in testValidSsaid() local 394 ContentResolver r = getContext().getContentResolver(); in testCall_putAndGetConfig() local 430 ContentResolver r = getContext().getContentResolver(); in testCall_deleteConfig() local 460 ContentResolver r = getContext().getContentResolver(); in testCall_listConfig() 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
|
| /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/base/services/core/java/com/android/server/notification/ |
| D | PreferencesHelper.java | 248 PackagePreferences r = getOrCreatePackagePreferencesLocked( in readXml() local 397 r = (uid == UNKNOWN_UID) in getOrCreatePackagePreferencesLocked() local 425 mRestoredWithoutUids.put(unrestoredPackageKey(pkg, userId), r); in getOrCreatePackagePreferencesLocked() local 433 private boolean shouldHaveDefaultChannel(PackagePreferences r) throws in shouldHaveDefaultChannel() 447 private boolean deleteDefaultChannelIfNeededLocked(PackagePreferences r) throws in deleteDefaultChannelIfNeededLocked() 465 private boolean createDefaultChannelIfNeededLocked(PackagePreferences r) throws in createDefaultChannelIfNeededLocked() 517 final PackagePreferences r = mPackagePreferences.valueAt(i); in writeXml() local 678 PackagePreferences r = getOrCreatePackagePreferencesLocked(packageName, uid); in isInInvalidMsgState() local 685 PackagePreferences r = getOrCreatePackagePreferencesLocked(packageName, uid); in hasUserDemotedInvalidMsgApp() local 692 PackagePreferences r = getOrCreatePackagePreferencesLocked(packageName, uid); in setInvalidMsgAppDemoted() local [all …]
|
| D | ConditionProviders.java | 140 final ConditionRecord r = mRecords.get(i); in dump() local 217 final ConditionRecord r = mRecords.get(i); in onServiceRemovedLocked() local 283 final ConditionRecord r = mRecords.get(i); in getRecordLocked() local 289 final ConditionRecord r = new ConditionRecord(id, component); in getRecordLocked() local 305 final ConditionRecord r = getRecordLocked(c.id, info.component, true /*create*/); in notifyConditions() local 332 final ConditionRecord r = getRecordLocked(conditionId, component, false /*create*/); in findCondition() local 341 final ConditionRecord r = getRecordLocked(conditionId, component, true /*create*/); in ensureRecordExists() local 351 final ConditionRecord r = getRecordLocked(conditionId, component, false /*create*/); in subscribeIfNecessary() local 364 final ConditionRecord r = getRecordLocked(conditionId, component, false /*create*/); in unsubscribeIfNecessary() local 374 private void subscribeLocked(ConditionRecord r) { in subscribeLocked() [all …]
|
| /frameworks/base/services/core/java/com/android/server/am/ |
| D | ActiveServices.java | 233 final ServiceRecord r = smap.mServicesByInstanceName.valueAt(i); in stopAllForegroundServicesLocked() local 249 final ServiceRecord r = toStop.get(i); in stopAllForegroundServicesLocked() local 329 void ensureNotStartingBackgroundLocked(ServiceRecord r) { in ensureNotStartingBackgroundLocked() 346 ServiceRecord r = mStartingBackground.get(i); in rescheduleDelayedStartsLocked() local 356 ServiceRecord r = mDelayedStartList.remove(0); in rescheduleDelayedStartsLocked() local 535 ServiceRecord r = res.record; in startServiceLocked() local 743 private boolean requestStartTargetPermissionsReviewIfNeededLocked(ServiceRecord r, in requestStartTargetPermissionsReviewIfNeededLocked() 788 ComponentName startServiceInnerLocked(ServiceMap smap, Intent service, ServiceRecord r, in startServiceInnerLocked() 866 ServiceLookupResult r = retrieveServiceLocked(service, null, resolvedType, null, in stopServiceLocked() local 932 void killMisbehavingService(ServiceRecord r, in killMisbehavingService() [all …]
|
| D | BroadcastQueue.java | 226 public void enqueueParallelBroadcastLocked(BroadcastRecord r) { in enqueueParallelBroadcastLocked() 231 public void enqueueOrderedBroadcastLocked(BroadcastRecord r) { in enqueueOrderedBroadcastLocked() 240 private void enqueueBroadcastHelper(BroadcastRecord r) { in enqueueBroadcastHelper() 254 public final BroadcastRecord replaceParallelBroadcastLocked(BroadcastRecord r) { in replaceParallelBroadcastLocked() 262 public final BroadcastRecord replaceOrderedBroadcastLocked(BroadcastRecord r) { in replaceOrderedBroadcastLocked() 266 private BroadcastRecord replaceBroadcastLocked(ArrayList<BroadcastRecord> queue, in replaceBroadcastLocked() 283 private final void processCurBroadcastLocked(BroadcastRecord r, in processCurBroadcastLocked() 372 BroadcastRecord r = null; in skipCurrentReceiverLocked() local 392 private void skipReceiverLocked(BroadcastRecord r) { in skipReceiverLocked() 429 private void postActivityStartTokenRemoval(ProcessRecord app, BroadcastRecord r) { in postActivityStartTokenRemoval() [all …]
|