/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 | Authenticator.java | 36 public Bundle editProperties(AccountAuthenticatorResponse r, String s) { in editProperties() 44 AccountAuthenticatorResponse r, String s, String s2, String[] strings, Bundle bundle) in addAccount() 53 public Bundle confirmCredentials(AccountAuthenticatorResponse r, Account account, Bundle bundle) in confirmCredentials() 62 AccountAuthenticatorResponse r, Account account, String s, Bundle bundle) in getAuthToken() 78 AccountAuthenticatorResponse r, Account account, String s, Bundle bundle) in updateCredentials() 86 public Bundle hasFeatures(AccountAuthenticatorResponse r, Account account, String[] strings) in hasFeatures()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarThresholdUtils.java | 40 private static int getThreshold(Resources r, DeviceProfile dp, int thresholdDimen, in getThreshold() 59 public static int getFromNavThreshold(Resources r, DeviceProfile dp) { in getFromNavThreshold() 67 public static int getAppWindowThreshold(Resources r, DeviceProfile dp) { in getAppWindowThreshold() 75 public static int getHomeOverviewThreshold(Resources r, DeviceProfile dp) { in getHomeOverviewThreshold() 83 public static int getCatchUpThreshold(Resources r, DeviceProfile dp) { in getCatchUpThreshold()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/input/ |
D | CarInputManagerTest.java | 178 LinkedList<Pair<Integer, List<KeyEvent>>> r = in getkeyEvents() local 187 LinkedList<Pair<Integer, List<RotaryEvent>>> r = in getRotaryEvents() local 202 LinkedList<Pair<Integer, List<CustomInputEvent>>> r = in getCustomInputEvents() local 284 int r = mCarInputManager.requestInputEventCapture( in testInjectKeyEvent_mainDisplay() local 302 int r = mCarInputManager.requestInputEventCapture( in testInjectKeyEvent_instrumentClusterDisplay() local 329 int r = carInputManager0.requestInputEventCapture( in testFailWithFullCaptureHigherPriority() local 356 int r = carInputManager0.requestInputEventCapture( in testDelayedGrantWithFullCapture() local 403 int r = carInputManager0.requestInputEventCapture( in testOneClientTransitionFromFullToNonFull() local 433 int r = mCarInputManager.requestInputEventCapture( in testSwitchFromFullCaptureToPerTypeCapture() local 452 int r = createAnotherCarInputManager().requestInputEventCapture( in testIndependentTwoCaptures() local [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/ |
D | WifiStaIfaceAidlImplTest.java | 110 Random r = new Random(1775968256); in testLinkLayerStatsAssignment() local 141 Random r = new Random(245786856); in testTwoRadioStatsAggregation() local 163 Random r = new Random(245786856); in testRadioStatsAggregationDisabled() local 380 private static void randomizePacketStats(Random r, StaLinkLayerLinkStats stats) { in randomizePacketStats() 391 private static void randomizePacketStats(Random r, StaLinkLayerIfacePacketStats pstats) { in randomizePacketStats() 401 private static void randomizeRadioStats(Random r, StaLinkLayerRadioStats rstat) { in randomizeRadioStats() 431 private static void randomizeContentionTimeStats(Random r, StaLinkLayerLinkStats stats) { in randomizeContentionTimeStats() 442 private static void randomizeContentionTimeStats(Random r, in randomizeContentionTimeStats() 453 private static StaPeerInfo[] randomizePeerInfoStats(Random r) { in randomizePeerInfoStats()
|
D | WifiStaIfaceHidlImplTest.java | 192 private static void randomizePacketStats(Random r, StaLinkLayerIfacePacketStats pstats) { in randomizePacketStats() 202 private static void randomizeContentionTimeStats(Random r, in randomizeContentionTimeStats() 213 private static void randomizeRadioStats(Random r, ArrayList<StaLinkLayerRadioStats> rstats) { in randomizeRadioStats() 229 private static void randomizeRadioStats_1_3(Random r, in randomizeRadioStats_1_3() 256 private static void randomizeRadioStats_1_5(Random r, in randomizeRadioStats_1_5() 265 private static void randomizePeerInfoStats(Random r, ArrayList<StaPeerInfo> pstats) { in randomizePeerInfoStats() 533 Random r = new Random(1775968256); in testLinkLayerStatsAssignment() local 555 Random r = new Random(1775968256); in testLinkLayerStatsAssignment_1_3() local 582 Random r = new Random(1775968256); in testLinkLayerStatsAssignment_1_5() local 619 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/services/Car/tests/android_car_api_test/src/com/android/car/internal/test/ |
D | LargeParcelableTest.java | 104 TestLargeParcelable r = mBinder.echoTestLargeParcelable(origParcelable); in testRemoteNullPayload() local 145 long r = mBinder.echoLongWithTestLargeParcelable(origParcelable, argValue); in testMultiArgsWithNullPayload() local 168 LargeParcelable r = mBinder.echoLargeParcelable(new LargeParcelable(origParcelable)); in doTestLargeParcelable() local 181 TestLargeParcelable r = mBinder.echoTestLargeParcelable(origParcelable); in doTestTestLargeParcelable() local 207 long r = mBinder.echoLongWithTestLargeParcelable(origParcelable, argValue); in doTestMultipleArgs() local
|
D | LargeParcelableJavaStableAIDLTest.java | 135 StableAIDLTestLargeParcelable r = mBinder.echo(null); in testNullParcelable() local 175 StableAIDLTestLargeParcelable r = mBinder.echo(orig); in doTestLEcho() local 201 long r = mBinder.echoWithLong(orig, argValue); in doTestMultipleArgs() local 222 StableAIDLTestLargeParcelable r = callback.getResult(); in doTestEchoWithCallback() local
|
/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/modules/NetworkStack/src/android/net/apf/ |
D | ApfV4GeneratorBase.java | 110 public final Type addLoad8(Register r, int ofs) { in addLoad8() 118 public final Type addLoad16(Register r, int ofs) { in addLoad16() 126 public final Type addLoad32(Register r, int ofs) { in addLoad32() 135 public final Type addLoad8Indexed(Register r, int ofs) { in addLoad8Indexed() 144 public final Type addLoad16Indexed(Register r, int ofs) { in addLoad16Indexed() 153 public final Type addLoad32Indexed(Register r, int ofs) { in addLoad32Indexed() 554 public final Type addLoadFromMemory(Register r, MemorySlot slot) in addLoadFromMemory() 563 public final Type addStoreToMemory(MemorySlot slot, Register r) in addStoreToMemory() 571 public final Type addNot(Register r) { in addNot() 578 public final Type addNeg(Register r) { in addNeg() [all …]
|
/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/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/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/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/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | BugStorageUtils.java | 112 ContentResolver r = context.getContentResolver(); in createBugReport() local 122 ContentResolver r = context.getContentResolver(); in openBugReportFileToWrite() local 131 ContentResolver r = context.getContentResolver(); in openAudioMessageFileToWrite() local 175 ContentResolver r = context.getContentResolver(); in completeDeleteBugReport() local 182 ContentResolver r = context.getContentResolver(); in deleteBugReportFiles() local 193 ContentResolver r = context.getContentResolver(); in expireBugReport() local 274 ContentResolver r = context.getContentResolver(); in getBugreports() 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/modules/Permission/tests/cts/permission/permissionTestUtilLib/src/android/permission/cts/ |
D | TestUtils.java | 55 public static void ensure(@NonNull ThrowingRunnable r, long timeout) throws Throwable { in ensure() 71 public static <T> T ensure(@NonNull ThrowingCallable<T> r, long timeout) throws Throwable { in ensure() 95 public static void eventually(@NonNull ThrowingRunnable r, long timeout) throws Throwable { in eventually() 111 public static <T> T eventually(@NonNull ThrowingCallable<T> r, long timeout) throws Throwable { in eventually()
|
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/concurrency/ |
D | ConcurrencyHelper.java | 40 public Thread runAsync(long timeoutMs, Runnable r) { in runAsync() 61 public Thread startNewThread(Runnable r) { in startNewThread()
|
/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()
|
/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 …]
|