/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 77 private long[] operations; field in NetworkStats 88 public long operations; field in NetworkStats.Entry 94 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in Entry() argument 96 operations); in Entry() 100 long txBytes, long txPackets, long operations) { in Entry() argument 109 this.operations = operations; in Entry() 113 return rxBytes < 0 || rxPackets < 0 || txBytes < 0 || txPackets < 0 || operations < 0; in isNegative() 118 && operations == 0; in isEmpty() 126 this.operations += another.operations; in add() 140 builder.append(" operations=").append(operations); in toString() [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 | 49 jfieldID operations; member 252 ScopedLongArrayRW operations(env, get_long_array(env, stats, in readNetworkStatsDetail() local 253 gNetworkStatsClassInfo.operations, size, grow)); in readNetworkStatsDetail() 254 if (operations.get() == NULL) return -1; in readNetworkStatsDetail() 280 env->SetObjectField(stats, gNetworkStatsClassInfo.operations, operations.getJavaArray()); in readNetworkStatsDetail() 320 gNetworkStatsClassInfo.operations = env->GetFieldID(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/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/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 | 324 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in assertValues() argument 327 assertValues(entry, rxBytes, rxPackets, txBytes, txPackets, operations); in assertValues() 339 long txBytes, long txPackets, long operations) { in assertValues() argument 344 assertEquals(operations, entry.operations); in assertValues()
|
/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/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/google/gcm/ |
D | notifications.jd | 24 <li><a href="#response-create">Create/add/remove operations</a> 25 <li><a href="#response-send">Send operations</a> 79 <p>The examples below show you how to perform generate/add/remove operations, 80 and how to send upstream messages. For generate/add/remove operations, the 102 to use in subsequent operations:</p> 117 <p>Here is the HTTP request header you should use for all server side create/add/remove operations:… 180 to use in subsequent operations. Note that a client request only takes a single regID. 181 The only operations supported on the client side are add/remove.</p> 197 <p>Here is the HTTP request header you should use for all add/remove operations. The 265 notification key operations.</p> [all …]
|
/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/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/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 | 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
|
/frameworks/base/core/java/android/content/ |
D | ContentProvider.java | 259 ArrayList<ContentProviderOperation> operations) in applyBatch() argument 261 int numOperations = operations.size(); in applyBatch() 264 ContentProviderOperation operation = operations.get(i); in applyBatch() 271 operations.set(i, operation); in applyBatch() 288 ContentProviderResult[] results = ContentProvider.this.applyBatch(operations); in applyBatch() 1717 public ContentProviderResult[] applyBatch(ArrayList<ContentProviderOperation> operations) in applyBatch() argument 1719 final int numOperations = operations.size(); in applyBatch() 1722 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()
|
/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/tests/utils/SleepUtils/ |
D | README | 11 above, supported operations are:
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | hardware-accel.jd | 51 acceleration, meaning that all drawing operations that are performed on a {@link 59 operations, turning it on might affect some of your custom views or drawing calls. Problems 66 href="#drawing-support">Unsupported drawing operations</a> section describes known issues with 137 application does a lot of custom drawing and not all operations are properly supported by the new 258 android.graphics.Canvas} drawing operations as well as many less-used operations. All of the 259 drawing operations that are used to render applications that ship with Android, default widgets 263 <p>The following table describes the support level of various operations across API levels:</p> 464 with some drawing operations degrading quality significantly at higher scale values. These 465 operations are implemented as textures drawn at scale 1.0, transformed by the GPU. In API level 466 <17, using these operations will result in scaling artifacts increasing with scale.</p> [all …]
|