/packages/modules/Connectivity/tests/common/java/android/net/ |
D | RouteInfoTest.java | 62 RouteInfo r; in testConstructor() local 124 PatchedRouteInfo r; in testMatches() local 186 RouteInfo r; in testHostAndDefaultRoutes() local 299 RouteInfo r = new RouteInfo(new IpPrefix(Inet6Address.ANY, 0), RTN_UNREACHABLE); in testRouteTypes() local 310 RouteInfo r; in testTruncation() local 326 RouteInfo r; in testMulticastRoute() local 334 RouteInfo r; in testParceling() local 345 final RouteInfo r = new RouteInfo(Prefix("ff02::1/128"), Address("2001:db8::"), "testiface", in testMtuParceling() local 352 RouteInfo r; in testMtu() local
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarUxRestrictionsConfigurationXmlParserTest.java | 67 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testParsingParameters() local 91 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testParsingMovingState_NoSpeedRange() local 102 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testParsingMovingState_SingleSpeedRange() local 225 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testMultipleConfigurationsShareParameters() local 255 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testParsingConfigurationMultipleRestrictionParameters() local 271 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testParsingConfigurationMultipleRestrictionParametersLocalAndGlobal() local 295 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testParsingConfigurationMultipleRestrictionParametersOnlyLocal() local 319 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testParsingConfigurationMultipleRestrictionParametersMultipleDrivingState() local 338 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testParsingConfigurationIncorrectRestrictionParameters() local 353 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testParsingConfigurationNoStringRestrictionParameters() local
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/accounts/ |
D | Authenticator.java | 33 public Bundle editProperties(AccountAuthenticatorResponse r, String s) { in editProperties() 38 public Bundle addAccount(AccountAuthenticatorResponse r, String s, String s2, String[] strings, in addAccount() 47 public Bundle confirmCredentials(AccountAuthenticatorResponse r, Account account, Bundle bundle) in confirmCredentials() 53 public Bundle getAuthToken(AccountAuthenticatorResponse r, Account account, String s, in getAuthToken() 64 public Bundle updateCredentials(AccountAuthenticatorResponse r, Account account, String s, in updateCredentials() 70 public Bundle hasFeatures(AccountAuthenticatorResponse r, Account account, String[] strings) in hasFeatures()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/ |
D | PbapClientAccountAuthenticator.java | 48 public Bundle editProperties(AccountAuthenticatorResponse r, String accountType) { in editProperties() 56 AccountAuthenticatorResponse r, in addAccount() 78 AccountAuthenticatorResponse r, Account account, Bundle options) in confirmCredentials() 87 AccountAuthenticatorResponse r, Account account, String authTokenType, Bundle options) in getAuthToken() 111 AccountAuthenticatorResponse r, Account account, String authTokenType, Bundle options) in updateCredentials() 127 public Bundle hasFeatures(AccountAuthenticatorResponse r, Account account, String[] features) in hasFeatures()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarThresholdUtils.java | 39 private static int getThreshold(Resources r, DeviceProfile dp, int thresholdDimen, in getThreshold() 54 public static int getFromNavThreshold(Resources r, DeviceProfile dp) { in getFromNavThreshold() 62 public static int getAppWindowThreshold(Resources r, DeviceProfile dp) { in getAppWindowThreshold() 70 public static int getHomeOverviewThreshold(Resources r, DeviceProfile dp) { in getHomeOverviewThreshold() 78 public static int getCatchUpThreshold(Resources r, DeviceProfile dp) { in getCatchUpThreshold()
|
/packages/services/Car/tests/CarServiceTest/src/com/android/car/input/ |
D | CarInputManagerTest.java | 176 LinkedList<Pair<Integer, List<KeyEvent>>> r = in getkeyEvents() local 185 LinkedList<Pair<Integer, List<RotaryEvent>>> r = in getRotaryEvents() local 200 LinkedList<Pair<Integer, List<CustomInputEvent>>> r = in getCustomInputEvents() local 282 int r = mCarInputManager.requestInputEventCapture( in testInjectKeyEvent_mainDisplay() local 300 int r = mCarInputManager.requestInputEventCapture( in testInjectKeyEvent_instrumentClusterDisplay() local 327 int r = carInputManager0.requestInputEventCapture( in testFailWithFullCaptureHigherPriority() local 354 int r = carInputManager0.requestInputEventCapture( in testDelayedGrantWithFullCapture() local 401 int r = carInputManager0.requestInputEventCapture( in testOneClientTransitionFromFullToNonFull() local 431 int r = mCarInputManager.requestInputEventCapture( in testSwitchFromFullCaptureToPerTypeCapture() local 450 int r = createAnotherCarInputManager().requestInputEventCapture( in testIndependentTwoCaptures() local [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/ |
D | WifiStaIfaceAidlImplTest.java | 125 Random r = new Random(1775968256); in testLinkLayerStatsAssignment() local 156 Random r = new Random(245786856); in testTwoRadioStatsAggregation() local 178 Random r = new Random(245786856); in testRadioStatsAggregationDisabled() local 396 private static void randomizePacketStats(Random r, StaLinkLayerLinkStats stats) { in randomizePacketStats() 407 private static void randomizePacketStats(Random r, StaLinkLayerIfacePacketStats pstats) { in randomizePacketStats() 417 private static void randomizeRadioStats(Random r, StaLinkLayerRadioStats rstat) { in randomizeRadioStats() 447 private static void randomizeContentionTimeStats(Random r, StaLinkLayerLinkStats stats) { in randomizeContentionTimeStats() 458 private static void randomizeContentionTimeStats(Random r, in randomizeContentionTimeStats() 469 private static StaPeerInfo[] randomizePeerInfoStats(Random r) { in randomizePeerInfoStats()
|
D | WifiStaIfaceHidlImplTest.java | 194 private static void randomizePacketStats(Random r, StaLinkLayerIfacePacketStats pstats) { in randomizePacketStats() 204 private static void randomizeContentionTimeStats(Random r, in randomizeContentionTimeStats() 215 private static void randomizeRadioStats(Random r, ArrayList<StaLinkLayerRadioStats> rstats) { in randomizeRadioStats() 231 private static void randomizeRadioStats_1_3(Random r, in randomizeRadioStats_1_3() 258 private static void randomizeRadioStats_1_5(Random r, in randomizeRadioStats_1_5() 267 private static void randomizePeerInfoStats(Random r, ArrayList<StaPeerInfo> pstats) { in randomizePeerInfoStats() 535 Random r = new Random(1775968256); in testLinkLayerStatsAssignment() local 557 Random r = new Random(1775968256); in testLinkLayerStatsAssignment_1_3() local 584 Random r = new Random(1775968256); in testLinkLayerStatsAssignment_1_5() local 621 Random r = new Random(245786856); in testTwoRadioStatsAggregation_1_3() local [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | EthernetNetworkUpdateRequestTest.java | 64 final EthernetNetworkUpdateRequest r = createRequest(DEFAULT_CAPS, DEFAULT_IP_CONFIG); in testGetNetworkCapabilities() local 70 final EthernetNetworkUpdateRequest r = createRequest(DEFAULT_CAPS, DEFAULT_IP_CONFIG); in testGetIpConfiguration() local 76 final EthernetNetworkUpdateRequest r = createRequest(DEFAULT_CAPS, DEFAULT_IP_CONFIG); in testBuilderWithRequest() local
|
/packages/modules/AdServices/shared/testing-libraries/device-side/java/com/android/adservices/shared/testing/concurrency/ |
D | DeviceSideConcurrencyHelper.java | 42 public static Thread startNewThread(Runnable r) { in startNewThread() 51 public static Thread runAsync(long delayMs, Runnable r) { in runAsync() 79 public static void runOnMainThread(Runnable r) { in runOnMainThread()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropMath.java | 42 public static float[] getCornersFromRect(RectF r) { in getCornersFromRect() 62 public static boolean inclusiveContains(RectF r, float x, float y) { in inclusiveContains() 74 RectF r = new RectF(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY, in trapToRect() local 173 public static void fixAspectRatio(RectF r, float w, float h) { in fixAspectRatio() 190 public static void fixAspectRatioContained(RectF r, float w, float h) { in fixAspectRatioContained() 243 int r = (int) ((rotation % 360) / 90); in constrainedRotation() local
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ColorSpaceMatrix.java | 185 public float getRed(int r, int g, int b) { in getRed() 197 public float getGreen(int r, int g, int b) { in getGreen() 209 public float getBlue(int r, int g, int b) { in getBlue() 213 private float getRedf(float r, float g, float b) { in getRedf() 217 private float getGreenf(float r, float g, float b) { in getGreenf() 221 private float getBluef(float r, float g, float b) { in getBluef()
|
D | FilterRedEyeRepresentation.java | 53 RedEyeCandidate r = (RedEyeCandidate) getCandidate(i); in addRect() local 59 RedEyeCandidate r = intersects.elementAt(i); in addRect() local
|
/packages/services/Car/tests/CarExtendedApiTest/src/com/android/car/internal/test/ |
D | LargeParcelableTest.java | 117 TestLargeParcelable r = mBinder.echoTestLargeParcelable(origParcelable); in testRemoteNullPayload() local 158 long r = mBinder.echoLongWithTestLargeParcelable(origParcelable, argValue); in testMultiArgsWithNullPayload() local 205 LargeParcelable r = mBinder.echoLargeParcelable(new LargeParcelable(origParcelable)); in doTestLargeParcelable() local 218 TestLargeParcelable r = mBinder.echoTestLargeParcelable(origParcelable); in doTestTestLargeParcelable() local 244 long r = mBinder.echoLongWithTestLargeParcelable(origParcelable, argValue); in doTestMultipleArgs() local
|
D | LargeParcelableJavaStableAIDLTest.java | 133 StableAIDLTestLargeParcelable r = mBinder.echo(null); in testNullParcelable() local 175 StableAIDLTestLargeParcelable r = mBinder.echo(orig); in testReconstructStableLargeParcelable_withCreator() local 208 StableAIDLTestLargeParcelable r = mBinder.echo(orig); in doTestLEcho() local 234 long r = mBinder.echoWithLong(orig, argValue); in doTestMultipleArgs() local 255 StableAIDLTestLargeParcelable r = callback.getResult(); in doTestEchoWithCallback() local
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/ |
D | CountedDataInputStream.java | 46 int r = in.read(b); in read() local 53 int r = in.read(b, off, len); in read() local 60 int r = in.read(); in read() local 86 int r = read(b, off, len); in readOrThrow() local
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | CountedDataInputStream.java | 45 int r = in.read(b); in read() local 52 int r = in.read(b, off, len); in read() local 59 int r = in.read(); in read() local 85 int r = read(b, off, len); in readOrThrow() local
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | CountedDataInputStream.java | 45 int r = in.read(b); in read() local 52 int r = in.read(b, off, len); in read() local 59 int r = in.read(); in read() local 83 int r = read(b, off, len); in readOrThrow() local
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | CountedDataInputStream.java | 45 int r = in.read(b); in read() local 52 int r = in.read(b, off, len); in read() local 59 int r = in.read(); in read() local 83 int r = read(b, off, len); in readOrThrow() local
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | Config.java | 44 Resources r = context.getResources(); in AlbumSetPage() local 95 Resources r = context.getResources(); in AlbumPage() local 121 Resources r = context.getResources(); in ManageCachePage() local
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/ |
D | RecordingTaskTest.java | 94 ScheduledRecording r = createRecording(channel); in testHandle_init() local 121 ScheduledRecording r = createRecording(channel); in testOnConnected() local 141 private RecordingTask createRecordingTask(ScheduledRecording r, Channel channel) { in createRecordingTask()
|
D | InputTaskSchedulerTest.java | 120 ScheduledRecording r = in testAddSchedule_past() local 223 ScheduledRecording r = in testUpdateSchedule_noCancel() local 238 ScheduledRecording r = in testUpdateSchedule_cancel() local
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/graphics/ |
D | ShapeDelegateTest.kt | 85 val r = AREA_CALC_SIZE / 2 in pickBestShape picks circle() constant 163 val r = factor * AREA_CALC_SIZE / 2 in roundedRectPath() constant 177 val r = (factor * s / 2) in roundedRectString() constant
|
/packages/modules/DnsResolver/tests/ |
D | resolv_tls_unit_test.cpp | 130 auto r = transport.query(makeSlice(QUERY)).get(); in TEST_F() local 169 DnsTlsTransport::Result r = f.get(); in TEST_F() local 192 auto r = result.get(); in TEST_F() local 262 auto r = result.get(); in TEST_F() local 282 auto r = result.get(); in TEST_F() local 302 auto r = results[i].get(); in TEST_F() local 324 auto r = results[i].get(); in TEST_F() local 347 auto r = transport.query(makeSlice(QUERY)).get(); in TEST_F() local 374 auto r = results[i].get(); in TEST_F() local 394 auto r = results[i].get(); in TEST_F() local [all …]
|
/packages/modules/Permission/tests/cts/permission/permissionTestUtilLib/src/android/permission/cts/ |
D | TestUtils.java | 58 public static void ensure(@NonNull ThrowingRunnable r, long timeout) throws Throwable { in ensure() 74 public static <T> T ensure(@NonNull ThrowingCallable<T> r, long timeout) throws Throwable { in ensure() 98 public static void eventually(@NonNull ThrowingRunnable r, long timeout) throws Throwable { in eventually() 114 public static <T> T eventually(@NonNull ThrowingCallable<T> r, long timeout) throws Throwable { in eventually()
|