Home
last modified time | relevance | path

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

12345678

/frameworks/base/core/java/android/net/
DNetworkStats.java96 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 …]
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.cpp51 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/
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/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.java515 long operations) { in assertContains() argument
519 rxBytes, rxPackets, txBytes, txPackets, operations); in assertContains()
524 long operations) { in assertValues() argument
527 assertValues(entry, rxBytes, rxPackets, txBytes, txPackets, operations); in assertValues()
540 long txBytes, long txPackets, long operations) { in assertValues() argument
545 assertEquals(operations, entry.operations); in assertValues()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsServiceTest.java1024 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/
DNetworkStatsBenchmark.java45 recycle.operations = 0; in setUp()
59 recycle.operations = 0; in setUp()
/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/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/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/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/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/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/core/java/android/content/
DContentProvider.java287 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()
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.java432 @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/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/base/docs/html/guide/topics/graphics/
Dhardware-accel.jd51 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>
412 with some drawing operations degrading quality significantly at higher scale values. These
413 operations are implemented as textures drawn at scale 1.0, transformed by the GPU. In API level
414 &lt;17, using these operations will result in scaling artifacts increasing with scale.</p>
[all …]
/frameworks/rs/api/
Drs_core.spec20 RenderScript is a high-performance runtime that provides compute operations at the native level.

12345678