/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 96 private long[] operations; field in NetworkStats 113 public long operations; field in NetworkStats.Entry 119 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in Entry() argument 121 operations); in Entry() 125 long txBytes, long txPackets, long operations) { in Entry() argument 127 operations); in Entry() 131 long rxPackets, long txBytes, long txPackets, long operations) { in Entry() argument 141 this.operations = operations; in Entry() 145 return rxBytes < 0 || rxPackets < 0 || txBytes < 0 || txPackets < 0 || operations < 0; in isNegative() 150 && operations == 0; in isEmpty() [all …]
|
D | NetworkStatsHistory.java | 80 private long[] operations; field in NetworkStatsHistory 93 public long operations; field in NetworkStatsHistory.Entry 112 if ((fields & FIELD_OPERATIONS) != 0) operations = new long[initialSize]; in NetworkStatsHistory() 130 operations = readLongArray(in); in NetworkStatsHistory() 144 writeLongArray(out, operations, bucketCount); in writeToParcel() 158 operations = new long[bucketStart.length]; in NetworkStatsHistory() 173 operations = readVarLongArray(in); in NetworkStatsHistory() 185 || txPackets.length != bucketCount || operations.length != bucketCount) { in NetworkStatsHistory() 199 writeVarLongArray(out, operations, bucketCount); in writeToStream() 278 entry.operations = getLong(operations, i, UNKNOWN); in getValues() [all …]
|
/frameworks/base/tools/preload/ |
D | LoadedClass.java | 84 private static int calculateMedian(List<Operation> operations) { in calculateMedian() argument 85 int size = operations.size(); in calculateMedian() 92 times[i] = operations.get(i).exclusiveTimeMicros(); in calculateMedian()
|
D | Proc.java | 54 final List<Operation> operations = new ArrayList<Operation>(); field in Proc 94 operations.add(o); in startOperation()
|
D | WritePreloadedClassFile.java | 100 for (Operation operation : proc.operations) { in main() 137 for (Operation operation : proc.operations) { in addAllClassesFrom()
|
/frameworks/base/core/jni/ |
D | com_android_internal_net_NetworkStatsFactory.cpp | 51 jfieldID operations; member 257 ScopedLongArrayRW operations(env, get_long_array(env, stats, in readNetworkStatsDetail() local 258 gNetworkStatsClassInfo.operations, size, grow)); in readNetworkStatsDetail() 259 if (operations.get() == NULL) return -1; in readNetworkStatsDetail() 287 env->SetObjectField(stats, gNetworkStatsClassInfo.operations, operations.getJavaArray()); in readNetworkStatsDetail() 319 gNetworkStatsClassInfo.operations = GetFieldIDOrDie(env, clazz, "operations", "[J"); in register_com_android_internal_net_NetworkStatsFactory()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ImportTestProvider.java | 60 ArrayList<ContentProviderOperation> operations) { in applyBatch() argument 61 if (operations == null) { in applyBatch() 65 final int size = operations.size(); in applyBatch() 73 ContentProviderOperation operation = operations.get(i); in applyBatch() 78 ContentProviderOperation operation = operations.get(i); in applyBatch()
|
D | ImportTestResolver.java | 36 ArrayList<ContentProviderOperation> operations) { in applyBatch() argument 38 return mProvider.applyBatch(operations); in applyBatch()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkStatsHistoryTest.java | 324 entry.operations = nextPositiveLong(r); in testFuzzing() 528 long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { 535 assertEquals("unexpected operations", operations, entry.operations); 539 long rxPackets, long txBytes, long txPackets, long operations) { 541 txPackets, operations); 546 long operations) { 553 assertEquals("unexpected operations", operations, entry.operations);
|
D | NetworkStatsTest.java | 566 long operations) { in assertContains() argument 570 rxBytes, rxPackets, txBytes, txPackets, operations); in assertContains() 575 long operations) { in assertValues() argument 578 assertValues(entry, rxBytes, rxPackets, txBytes, txPackets, operations); in assertValues() 591 long txBytes, long txPackets, long operations) { in assertValues() argument 596 assertEquals(operations, entry.operations); in assertValues()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkStatsServiceTest.java | 1024 long txBytes, long txPackets, int operations) throws Exception { in assertNetworkTotal() argument 1026 txPackets, operations); in assertNetworkTotal() 1030 long rxPackets, long txBytes, long txPackets, int operations) throws Exception { in assertNetworkTotal() argument 1033 assertValues(history, start, end, rxBytes, rxPackets, txBytes, txPackets, operations); in assertNetworkTotal() 1038 rxPackets, txBytes, txPackets, operations); in assertNetworkTotal() 1042 long txBytes, long txPackets, int operations) throws Exception { in assertUidTotal() argument 1044 operations); in assertUidTotal() 1048 long rxBytes, long rxPackets, long txBytes, long txPackets, int operations) in assertUidTotal() argument 1054 txPackets, operations); in assertUidTotal() 1060 txPackets, operations); in assertUidTotal() [all …]
|
/frameworks/base/core/tests/benchmarks/src/android/net/ |
D | NetworkStatsBenchmark.java | 45 recycle.operations = 0; in setUp() 59 recycle.operations = 0; in setUp()
|
/frameworks/ex/common/java/com/android/common/content/ |
D | SQLiteContentProvider.java | 203 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) in applyBatch() argument 211 final int numOperations = operations.size(); in applyBatch() 220 final ContentProviderOperation operation = operations.get(i); in applyBatch()
|
/frameworks/base/docs/html/training/run-background-service/ |
D | index.jd | 37 Unless you specify otherwise, most of the operations you do in an app run in the foreground on 38 a special thread called the UI thread. Long-running foreground operations can cause problems 41 help you off-load operations onto a separate thread that runs in the background. The most
|
/frameworks/base/docs/html/guide/topics/connectivity/nfc/ |
D | advanced-nfc.jd | 55 <td>Provides access to NFC-A (ISO 14443-3A) properties and I/O operations.</td> 61 <td>Provides access to NFC-B (ISO 14443-3B) properties and I/O operations.</td> 67 <td>Provides access to NFC-F (JIS 6319-4) properties and I/O operations.</td> 73 <td>Provides access to NFC-V (ISO 15693) properties and I/O operations.</td> 79 <td>Provides access to ISO-DEP (ISO 14443-4) properties and I/O operations.</td> 85 <td>Provides access to NDEF data and operations on NFC tags that have been formatted as 92 <td>Provides a format operations for tags that may be NDEF formattable.</td> 107 <td>Provides access to MIFARE Classic properties and I/O operations, if this Android device 114 <td>Provides access to MIFARE Ultralight properties and I/O operations, if this Android
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockContentProvider.java | 57 ArrayList<ContentProviderOperation> operations) in applyBatch() argument 59 return MockContentProvider.this.applyBatch(operations); in applyBatch() 233 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) { in applyBatch() argument
|
/frameworks/base/docs/html/training/basics/network-ops/ |
D | index.jd | 48 common network operations. You can download the sample (to the right) and use it 61 of your app's network operations.</p> 71 network operations outside of the UI thread.</dd>
|
/frameworks/base/docs/html/training/articles/ |
D | perf-anr.jd | 97 Potentially long running operations such as network 98 or database operations, or computationally expensive calculations such as 100 operations, via an asynchronous request).</p> 103 operations is with the {@link android.os.AsyncTask} 170 operations or calculations in a broadcast receiver. But instead of doing intensive 188 long running operations such as network or database operations that
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 287 ArrayList<ContentProviderOperation> operations) in applyBatch() argument 289 int numOperations = operations.size(); in applyBatch() 292 ContentProviderOperation operation = operations.get(i); in applyBatch() 299 operations.set(i, operation); in applyBatch() 316 ContentProviderResult[] results = ContentProvider.this.applyBatch(operations); in applyBatch() 1773 @NonNull ArrayList<ContentProviderOperation> operations) in applyBatch() 1775 final int numOperations = operations.size(); in applyBatch() 1778 results[i] = operations.get(i).apply(this, results, i); in applyBatch()
|
D | ContentProviderNative.java | 187 final ArrayList<ContentProviderOperation> operations = in onTransact() local 190 operations.add(i, ContentProviderOperation.CREATOR.createFromParcel(data)); in onTransact() 192 final ContentProviderResult[] results = applyBatch(callingPkg, operations); in onTransact() 507 ArrayList<ContentProviderOperation> operations) in applyBatch() argument 514 data.writeInt(operations.size()); in applyBatch() 515 for (ContentProviderOperation operation : operations) { in applyBatch()
|
D | ContentProviderClient.java | 432 @NonNull ArrayList<ContentProviderOperation> operations) in applyBatch() 434 Preconditions.checkNotNull(operations, "operations"); in applyBatch() 438 return mContentProvider.applyBatch(mPackageName, operations); in applyBatch()
|
/frameworks/base/docs/html/training/volley/ |
D | index.jd | 56 <p>Volley excels at RPC-type operations used to populate a UI, such as fetching a page of 61 <p>Volley is not suitable for large download or streaming operations, since Volley holds 62 all responses in memory during parsing. For large download operations, consider using an
|
/frameworks/base/docs/html/training/notify-user/ |
D | index.jd | 100 operations where you can estimate how much has been completed (determinate progress) and 101 operations where you don't know how much has been completed (indefinite progress).
|
/frameworks/base/services/core/proto/ |
D | ipconnectivity.proto | 142 // The number of query operations recorded. 145 // The number of query operations returning A IPv4 records. 148 // The number of query operations returning AAAA IPv6 records. 159 // The number of connect() operations recorded. 162 // The number of connect() operations with IPv6 socket address. 170 // Counts of all error values returned by failed connect() operations.
|
/frameworks/rs/api/ |
D | rs_core.spec | 20 RenderScript is a high-performance runtime that provides compute operations at the native level.
|