Home
last modified time | relevance | path

Searched refs:operations (Results 1 – 25 of 181) sorted by relevance

12345678

/frameworks/base/core/java/android/net/
DNetworkStats.java86 private long[] operations; field in NetworkStats
97 public long operations; field in NetworkStats.Entry
103 public Entry(long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in Entry() argument
105 operations); in Entry()
109 long txBytes, long txPackets, long operations) { in Entry() argument
118 this.operations = operations; in Entry()
122 return rxBytes < 0 || rxPackets < 0 || txBytes < 0 || txPackets < 0 || operations < 0; in isNegative()
127 && operations == 0; in isEmpty()
135 this.operations += another.operations; in add()
149 builder.append(" operations=").append(operations); in toString()
[all …]
DNetworkStatsHistory.java80 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/
DLoadedClass.java84 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()
DProc.java54 final List<Operation> operations = new ArrayList<Operation>(); field in Proc
94 operations.add(o); in startOperation()
DWritePreloadedClassFile.java100 for (Operation operation : proc.operations) { in main()
137 for (Operation operation : proc.operations) { in addAllClassesFrom()
/frameworks/base/core/jni/
Dcom_android_internal_net_NetworkStatsFactory.cpp50 jfieldID operations; member
253 ScopedLongArrayRW operations(env, get_long_array(env, stats, in readNetworkStatsDetail() local
254 gNetworkStatsClassInfo.operations, size, grow)); in readNetworkStatsDetail()
255 if (operations.get() == NULL) return -1; in readNetworkStatsDetail()
281 env->SetObjectField(stats, gNetworkStatsClassInfo.operations, operations.getJavaArray()); in readNetworkStatsDetail()
312 gNetworkStatsClassInfo.operations = GetFieldIDOrDie(env, clazz, "operations", "[J"); in register_com_android_internal_net_NetworkStatsFactory()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DImportTestProvider.java60 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()
DImportTestResolver.java36 ArrayList<ContentProviderOperation> operations) { in applyBatch() argument
38 return mProvider.applyBatch(operations); in applyBatch()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkStatsServiceTest.java841 long txBytes, long txPackets, int operations) throws Exception { in assertNetworkTotal() argument
843 txPackets, operations); in assertNetworkTotal()
847 long rxPackets, long txBytes, long txPackets, int operations) throws Exception { in assertNetworkTotal() argument
850 assertValues(history, start, end, rxBytes, rxPackets, txBytes, txPackets, operations); in assertNetworkTotal()
855 txPackets, operations); in assertNetworkTotal()
859 long txBytes, long txPackets, int operations) throws Exception { in assertUidTotal() argument
860 assertUidTotal(template, uid, SET_ALL, rxBytes, rxPackets, txBytes, txPackets, operations); in assertUidTotal()
864 long rxPackets, long txBytes, long txPackets, int operations) throws Exception { in assertUidTotal() argument
869 txPackets, operations); in assertUidTotal()
875 operations); in assertUidTotal()
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DNetworkStatsHistoryTest.java324 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);
DNetworkStatsTest.java404 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in assertContains() argument
408 rxBytes, rxPackets, txBytes, txPackets, operations); in assertContains()
412 int tag, long rxBytes, long rxPackets, long txBytes, long txPackets, long operations) { in assertValues() argument
415 assertValues(entry, rxBytes, rxPackets, txBytes, txPackets, operations); in assertValues()
427 long txBytes, long txPackets, long operations) { in assertValues() argument
432 assertEquals(operations, entry.operations); in assertValues()
/frameworks/base/core/tests/benchmarks/src/android/net/
DNetworkStatsBenchmark.java47 recycle.operations = 0; in setUp()
61 recycle.operations = 0; in setUp()
/frameworks/base/docs/html/training/run-background-service/
Dindex.jd37 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/
DSQLiteContentProvider.java203 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/guide/topics/connectivity/nfc/
Dadvanced-nfc.jd55 <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/
DMockContentProvider.java57 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/
Dbmgr.jd29 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/
Dindex.jd48 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/
Dperf-anr.jd89 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/
DContentProvider.java286 ArrayList<ContentProviderOperation> operations) in applyBatch() argument
288 int numOperations = operations.size(); in applyBatch()
291 ContentProviderOperation operation = operations.get(i); in applyBatch()
298 operations.set(i, operation); in applyBatch()
315 ContentProviderResult[] results = ContentProvider.this.applyBatch(operations); in applyBatch()
1770 @NonNull ArrayList<ContentProviderOperation> operations) in applyBatch()
1772 final int numOperations = operations.size(); in applyBatch()
1775 results[i] = operations.get(i).apply(this, results, i); in applyBatch()
DContentProviderNative.java187 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()
DContentProviderClient.java413 @NonNull ArrayList<ContentProviderOperation> operations) in applyBatch()
415 Preconditions.checkNotNull(operations, "operations"); in applyBatch()
419 return mContentProvider.applyBatch(mPackageName, operations); in applyBatch()
/frameworks/base/docs/html/training/volley/
Dindex.jd56 <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/
Dindex.jd100 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/rs/api/
Drs_core.spec20 RenderScript is a high-performance runtime that provides compute operations at the native level.

12345678