OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sRandom
(Results
1 - 9
of
9
) sorted by null
/frameworks/base/core/java/android/util/
MathUtils.java
27
private static final Random
sRandom
= new Random();
160
return (int) (
sRandom
.nextFloat() * howbig);
165
return (int) (
sRandom
.nextFloat() * (howbig - howsmall) + howsmall);
169
return
sRandom
.nextFloat() * howbig;
174
return
sRandom
.nextFloat() * (howbig - howsmall) + howsmall;
178
sRandom
.setSeed(seed);
/frameworks/base/core/java/android/net/
DnsPinger.java
63
private static final Random
sRandom
= new Random();
160
newActivePing.packetId = (short)
sRandom
.nextInt();
/packages/providers/MediaProvider/src/com/android/providers/media/
MediaThumbRequest.java
72
private static final Random
sRandom
= new Random();
220
magic =
sRandom
.nextLong();
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
MimeMessage.java
74
private static final java.util.Random
sRandom
= new java.util.Random();
103
final int value =
sRandom
.nextInt() & 31;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
Helpers.java
41
public static Random
sRandom
= new Random(SystemClock.uptimeMillis());
330
sequence +=
sRandom
.nextInt(magnitude) + 1;
DownloadInfo.java
265
mFuzz = Helpers.
sRandom
.nextInt(1001);
DownloadThread.java
776
retryAfter += Helpers.
sRandom
.nextInt(Constants.MIN_RETRY_AFTER + 1);
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
ComposeActivity.java
226
private static final Random
sRandom
= new Random(System.currentTimeMillis());
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
RIL.java
96
static Random
sRandom
= new Random();
174
sNextSerial.set(
sRandom
.nextInt());
[
all
...]
Completed in 414 milliseconds