/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
SampleAuxiliaryInformationOffsetsBox.java | 51 private List<Long> offsets = new LinkedList<Long>(); 52 private long auxInfoType; 53 private long auxInfoTypeParameter; 60 protected long getContentSize() { 73 for (Long offset : offsets) { 104 public long getAuxInfoType() { 108 public void setAuxInfoType(long auxInfoType) { 112 public long getAuxInfoTypeParameter() { 116 public void setAuxInfoTypeParameter(long auxInfoTypeParameter) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationSelectionSet.java | 68 private final HashMap<Long, Conversation> mInternalMap = new HashMap<Long, Conversation>(); 70 private final BiMap<String, Long> mConversationUriToIdMap = HashBiMap.create(); 124 private boolean containsKey(Long key) { 182 private void put(Long id, Conversation info) { 197 private void remove(Long id) { 203 private void removeAll(Collection<Long> ids) { 207 final BiMap<Long, String> inverseMap = mConversationUriToIdMap.inverse(); 209 for (Long id : ids) { 250 final long conversationId = conversation.id [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
KeySetManager.java | 46 public static final long KEYSET_NOT_FOUND = -1; 49 private static final long PUBLIC_KEY_NOT_FOUND = -1; 57 private final LongSparseArray<Set<Long>> mKeySetMapping; 61 private static long lastIssuedKeySetId = 0; 63 private static long lastIssuedKeyId = 0; 68 mKeySetMapping = new LongSparseArray<Set<Long>>(); 92 long id = getIdByKeySetLocked(ks); 114 long id = getIdByKeySetLocked(ks); 132 long id = getIdByKeySetLocked(ks); 133 Set<Long> publicKeyIds = mKeySetMapping.get(id) [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
GlobalDismissManager.java | 55 public final long mStartTime; 57 private GlobalDismissId(String accountName, String syncId, long startTime) { 105 public final long mEventId; 106 public final long mStartTime; 108 public LocalDismissId(String accountType, String accountName, long eventId, 109 long startTime) { 160 public long mEventId; 161 public long mStart; 163 public AlarmId(long id, long start) [all...] |
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
VoicemailImpl.java | 25 private final Long mTimestamp; 27 private final Long mId; 28 private final Long mDuration; 39 Long timestamp, 41 Long id, 42 Long duration, 64 public static Builder createForInsertion(long timestamp, String number) { 73 public static Builder createForUpdate(long id) { 93 private Long mBuilderTimestamp; 95 private Long mBuilderId [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwQuotaManagerBridge.java | 44 public final long[] mUsages; 45 public final long[] mQuotas; 47 Origins(String[] origins, long[] usages, long[] quotas) { 61 private Map<Integer, ValueCallback<Long>> mPendingGetQuotaForOriginCallbacks; 62 private Map<Integer, ValueCallback<Long>> mPendingGetUsageForOriginCallbacks; 68 mPendingGetQuotaForOriginCallbacks = new HashMap<Integer, ValueCallback<Long>>(); 69 mPendingGetUsageForOriginCallbacks = new HashMap<Integer, ValueCallback<Long>>(); 118 public void getQuotaForOrigin(String origin, ValueCallback<Long> callback) { 129 public void getUsageForOrigin(String origin, ValueCallback<Long> callback) [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
LongSparseLongArrayTest.java | 35 final long value = 1 << i; 39 final long value = 1 << i; 48 final long value = 1 << i; 52 final long value = 1 << i; 61 final long value = 1 << i; 64 final long special = (1 << 24) + 5; 67 final long value = 1 << i; 77 final HashMap<Long, Long> map = new HashMap<Long, Long>() [all...] |
/external/guava/guava/src/com/google/common/math/ |
LongMath.java | 37 * A class for arithmetic on values of type {@code long}. Where possible, methods are defined and 45 * {@code long} values, see {@link com.google.common.primitives.Longs}. 57 * <p>This differs from {@code Long.bitCount(x) == 1}, because 58 * {@code Long.bitCount(Long.MIN_VALUE) == 1}, but {@link Long#MIN_VALUE} is not a power of two. 60 public static boolean isPowerOfTwo(long x) { 72 public static int log2(long x, RoundingMode mode) { 80 return (Long.SIZE - 1) - Long.numberOfLeadingZeros(x) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_DeletedContacts.java | 60 long start = System.currentTimeMillis(); 70 if (Long.parseLong(record[0]) == ids.mContactId) { 72 assertTrue(Long.parseLong(record[1]) > start); 90 long startCount = DeletedContactUtil.getCount(mResolver); 96 long endCount = DeletedContactUtil.getCount(mResolver); 104 HashSet<Long> beforeIds = new HashSet<Long>(); 108 long start = System.currentTimeMillis(); 111 HashSet<Long> afterIds = new HashSet<Long>(); [all...] |
/external/javassist/src/main/javassist/bytecode/annotation/ |
LongMemberValue.java | 24 * Long integer constant value. 33 * Constructs a long constant value. The initial value is specified 44 * Constructs a long constant value. 48 public LongMemberValue(long j, ConstPool cp) { 54 * Constructs a long constant value. The initial value is 0. 62 return new Long(getValue()); 66 return long.class; 72 public long getValue() { 79 public void setValue(long newValue) { 87 return Long.toString(getValue()) [all...] |
/external/valgrind/main/memcheck/tests/ |
origin2-not-quite.c | 14 typedef long long Long; 23 assert(8 == sizeof(Long));
|
/frameworks/base/core/java/android/webkit/ |
WebStorage.java | 53 public void updateQuota(long newQuota); 64 private long mQuota = 0; 65 private long mUsage = 0; 68 protected Origin(String origin, long quota, long usage) { 75 protected Origin(String origin, long quota) { 106 public long getQuota() { 116 public long getUsage() { 151 public void getUsageForOrigin(String origin, ValueCallback<Long> callback) { 162 public void getQuotaForOrigin(String origin, ValueCallback<Long> callback) [all...] |
/frameworks/volley/tests/src/com/android/volley/utils/ |
CacheTestUtils.java | 28 entry.ttl = isExpired ? 0 : Long.MAX_VALUE; 29 entry.softTtl = needsRefresh ? 0 : Long.MAX_VALUE;
|
/libcore/benchmarks/src/benchmarks/regression/ |
DoubleBenchmark.java | 25 private long l = 4608083138725491507L; 28 long result = 123; 33 throw new RuntimeException(Long.toString(result)); 38 long result = 123; 43 throw new RuntimeException(Long.toString(result));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
ThroughputEmulatorActivity.java | 50 void onApduSequenceComplete(ComponentName component, long duration) { 52 long timePerApdu = duration / ThroughputService.APDU_COMMAND_SEQUENCE.length; 54 mTextView.setText("PASS. Total duration: " + Long.toString(duration) + " ms " + 55 "( " + Long.toString(timePerApdu) + " ms per APDU roundtrip)."); 58 mTextView.setText("FAIL. Total duration: " + Long.toString(duration) + " ms " + 59 "(" + Long.toString(timePerApdu) + " ms per APDU roundtrip)." +
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/cmp_long/ |
Test_cmp_long.java | 50 * @title Arguments = Long.MAX_VALUE > Long.MIN_VALUE 54 assertEquals(1, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); 58 * @title Arguments = Long.MIN_VALUE < Long.MAX_VALUE 62 assertEquals(-1, t.run(Long.MIN_VALUE, Long.MAX_VALUE)); 100 * @title types of arguments - float, long 113 * @title types of arguments - int, long [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/not_long/ |
Test_not_long.java | 52 * @title Argument = Long.MAX_VALUE 56 assertEquals(Long.MIN_VALUE, t.run(Long.MAX_VALUE)); 60 * @title Argument = Long.MIN_VALUE 64 assertEquals(Long.MAX_VALUE, t.run(Long.MIN_VALUE)); 147 * @title Types of arguments - long, double. The verifier checks that longs
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/xor_long/ |
Test_xor_long.java | 58 * @title Arguments = Long.MAX_VALUE & Long.MIN_VALUE 62 assertEquals(0xffffffff, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); 66 * @title Arguments = Long.MAX_VALUE & Long.MAX_VALUE 70 assertEquals(0l, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); 91 * @title types of arguments - int, long 105 * @title types of arguments - float, long [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/xor_long_2addr/ |
Test_xor_long_2addr.java | 59 * @title Arguments = Long.MAX_VALUE & Long.MIN_VALUE 63 assertEquals(0xffffffff, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); 67 * @title Arguments = Long.MAX_VALUE & Long.MAX_VALUE 71 assertEquals(0l, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); 92 * @title types of arguments - int, long 106 * @title types of arguments - float, long [all...] |
/external/apache-http/src/org/apache/http/impl/ |
HttpConnectionMetricsImpl.java | 50 private long requestCount = 0; 51 private long responseCount = 0; 68 public long getReceivedBytesCount() { 76 public long getSentBytesCount() { 84 public long getRequestCount() { 92 public long getResponseCount() { 107 value = new Long(requestCount); 109 value = new Long(responseCount); 112 return new Long(this.inTransportMetric.getBytesTransferred()); 118 return new Long(this.outTransportMetric.getBytesTransferred()) [all...] |
/external/chromium_org/remoting/host/setup/ |
pin_validator_unittest.cc | 19 TEST(IsPinValidTest, Long) {
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
ensure-valid-python | 31 use Getopt::Long;
|
/external/guava/guava/src/com/google/common/primitives/ |
Longs.java | 37 * Static utility methods pertaining to {@code long} primitives, that are not 38 * already found in either {@link Long} or {@link Arrays}. 48 * The number of bytes required to represent a primitive {@code long} 51 public static final int BYTES = Long.SIZE / Byte.SIZE; 54 * The largest power of two that can be represented as a {@code long}. 58 public static final long MAX_POWER_OF_TWO = 1L << (Long.SIZE - 2); 62 * {@code ((Long) value).hashCode()}. 65 * Long#hashCode()} in java, which might be different from 66 * {@code ((Long) value).hashCode()} in GWT because {@link Long#hashCode() [all...] |
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
Longs.java | 35 * Static utility methods pertaining to {@code long} primitives, that are not 36 * already found in either {@link Long} or {@link Arrays}. 46 * The number of bytes required to represent a primitive {@code long} 49 public static final int BYTES = Long.SIZE / Byte.SIZE; 52 * The largest power of two that can be represented as a {@code long}. 56 public static final long MAX_POWER_OF_TWO = 1L << (Long.SIZE - 2); 60 * {@code ((Long) value).hashCode()}. 63 * Long#hashCode()} in java, which might be different from 64 * {@code ((Long) value).hashCode()} in GWT because {@link Long#hashCode() [all...] |
/frameworks/base/core/java/android/content/ |
ContentUris.java | 73 * Converts the last path segment to a long. 81 * @return the long conversion of the last segment or -1 if the path is 84 public static long parseId(Uri contentUri) { 86 return last == null ? -1 : Long.parseLong(last); 97 public static Uri.Builder appendId(Uri.Builder builder, long id) { 109 public static Uri withAppendedId(Uri contentUri, long id) {
|