/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 72 private long[] operations; field in NetworkStats 83 public long operations; field in NetworkStats.Entry 89 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in Entry() argument 91 operations); in Entry() 95 long txBytes, long txPackets, long operations) { in Entry() argument 104 this.operations = operations; in Entry() 108 return rxBytes < 0 || rxPackets < 0 || txBytes < 0 || txPackets < 0 || operations < 0; in isNegative() 113 && operations == 0; in isEmpty() 121 this.operations += another.operations; in add() 135 builder.append(" operations=").append(operations); in toString() [all …]
|
D | NetworkStatsHistory.java | 78 private long[] operations; field in NetworkStatsHistory 91 public long operations; field in NetworkStatsHistory.Entry 110 if ((fields & FIELD_OPERATIONS) != 0) operations = new long[initialSize]; in NetworkStatsHistory() 128 operations = readLongArray(in); in NetworkStatsHistory() 142 writeLongArray(out, operations, bucketCount); in writeToParcel() 156 operations = new long[bucketStart.length]; in NetworkStatsHistory() 171 operations = readVarLongArray(in); in NetworkStatsHistory() 183 || txPackets.length != bucketCount || operations.length != bucketCount) { in NetworkStatsHistory() 197 writeVarLongArray(out, operations, bucketCount); in writeToStream() 276 entry.operations = getLong(operations, i, UNKNOWN); in getValues() [all …]
|
/frameworks/base/core/jni/ |
D | com_android_internal_net_NetworkStatsFactory.cpp | 48 jfieldID operations; member 118 ScopedLongArrayRW operations(env, env->NewLongArray(size)); in readNetworkStatsDetail() local 119 if (operations.get() == NULL) return -1; in readNetworkStatsDetail() 143 env->SetObjectField(stats, gNetworkStatsClassInfo.operations, operations.getJavaArray()); in readNetworkStatsDetail() 181 gNetworkStatsClassInfo.operations = env->GetFieldID(clazz, "operations", "[J"); in register_com_android_internal_net_NetworkStatsFactory()
|
/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/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() 494 long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { 501 assertEquals("unexpected operations", operations, entry.operations); 505 long rxPackets, long txBytes, long txPackets, long operations) { 507 txPackets, operations); 512 long operations) { 519 assertEquals("unexpected operations", operations, entry.operations);
|
D | NetworkStatsTest.java | 314 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in assertValues() argument 317 assertValues(entry, rxBytes, rxPackets, txBytes, txPackets, operations); in assertValues() 329 long txBytes, long txPackets, long operations) { in assertValues() argument 334 assertEquals(operations, entry.operations); in assertValues()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkStatsServiceTest.java | 840 long txBytes, long txPackets, int operations) throws Exception { in assertNetworkTotal() argument 842 txPackets, operations); in assertNetworkTotal() 846 long rxPackets, long txBytes, long txPackets, int operations) throws Exception { in assertNetworkTotal() argument 849 assertValues(history, start, end, rxBytes, rxPackets, txBytes, txPackets, operations); in assertNetworkTotal() 854 txPackets, operations); in assertNetworkTotal() 858 long txBytes, long txPackets, int operations) throws Exception { in assertUidTotal() argument 859 assertUidTotal(template, uid, SET_ALL, rxBytes, rxPackets, txBytes, txPackets, operations); in assertUidTotal() 863 long rxPackets, long txBytes, long txPackets, int operations) throws Exception { in assertUidTotal() argument 868 txPackets, operations); in assertUidTotal() 874 operations); in assertUidTotal() [all …]
|
/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. This can cause problems, because long-running operations 41 help you off-load operations onto a separate thread running in the background. The most useful
|
/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/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/docs/html/tools/help/ |
D | bmgr.jd | 29 and restore operations so that you don't need to repeatedly wipe data or take similar 56 pending backup operations to run immediately by using the <code>bmgr run</code> command: 69 <p>Unlike backup operations, which are batched together and run on an occasional basis, restore 70 operations execute immediately. The Backup Manager currently provides two kinds of restore 71 operations. The first kind restores an entire device with the data that has been backed up. This 123 verify whether the operating system thinks it should be performing such operations at all.</p> 136 data will be saved from the device, and no restore operations will be possible, unless the Backup 167 command. From this point forward, backup and restore operations will be directed through the
|
/frameworks/base/docs/html/training/articles/ |
D | perf-anr.jd | 89 Potentially long running operations such as network 90 or database operations, or computationally expensive calculations such as 92 operations, via an asynchronous request).</p> 95 operations is with the {@link android.os.AsyncTask} 162 operations or calculations in a broadcast receiver. But instead of doing intensive 170 long running operations such as network or database operations that
|
D | smp.jd | 30 <li style="margin:3px 0 0"><a href="#atomic_ops">Atomic operations</a> 131 <li>All memory operations appear to execute one at a time</li> 132 <li>All operations on a single processor appear to execute in the order described 249 apparent order of operations):</p> 728 Instead, think of them as a dividing line in time for operations on the current 732 <h3 id="atomic_ops">Atomic operations</h3> 734 <p>Atomic operations guarantee that an operation that requires a series of steps 761 <p>The most fundamental operations — loading and storing 32-bit values 818 <p>It’s worth noting that the read-modify-write operations would not work 823 atomic RMW operations remain atomic in an SMP environment.</p> [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 241 ArrayList<ContentProviderOperation> operations) in applyBatch() argument 243 for (ContentProviderOperation operation : operations) { in applyBatch() 260 return ContentProvider.this.applyBatch(operations); in applyBatch() 1612 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) in applyBatch() argument 1614 final int numOperations = operations.size(); in applyBatch() 1617 results[i] = operations.get(i).apply(this, results, i); in applyBatch()
|
D | ContentProviderNative.java | 180 final ArrayList<ContentProviderOperation> operations = in onTransact() local 183 operations.add(i, ContentProviderOperation.CREATOR.createFromParcel(data)); in onTransact() 185 final ContentProviderResult[] results = applyBatch(callingPkg, operations); in onTransact() 499 ArrayList<ContentProviderOperation> operations) in applyBatch() argument 506 data.writeInt(operations.size()); in applyBatch() 507 for (ContentProviderOperation operation : operations) { in applyBatch()
|
D | ContentProviderClient.java | 373 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) in applyBatch() argument 377 return mContentProvider.applyBatch(mPackageName, operations); in applyBatch()
|
/frameworks/base/docs/html/google/gcm/ |
D | notifications.jd | 63 … how to perform generate/add/remove operations, and how to send upstream messages. For generate/ad… 68 <p>Here is the HTTP request header you should use for all create/add/remove operations:</p> 80 …well as its mapping to the <code>notification_key_name</code>) to use in subsequent operations:</p> 134 …s section shows examples of the responses that can be returned for notification key operations.</p> 136 <h5>Response for create/add/remove operations</h5> 146 <h5>Response for send operations</h5>
|
/frameworks/base/docs/html/training/basics/network-ops/ |
D | index.jd | 47 common network operations. You can download the sample (to the right) and use it 62 network operations outside of the UI thread.</dd>
|
/frameworks/base/docs/html/training/notify-user/ |
D | index.jd | 99 operations where you can estimate how much has been completed (determinate progress) and 100 operations where you don't know how much has been completed (indefinite progress).
|
/frameworks/testing/uiautomator/utils/SleepUtils/ |
D | README | 11 above, supported operations are:
|