Home
last modified time | relevance | path

Searched refs:opCount (Results 1 – 11 of 11) sorted by relevance

/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DAbstractContactsProvider.java224 int opCount = 0; in bulkInsert() local
228 if (++opCount >= BULK_INSERTS_PER_YIELD_POINT) { in bulkInsert()
229 opCount = 0; in bulkInsert()
258 int opCount = 0; in applyBatch() local
264 if (++opCount >= MAX_OPERATIONS_PER_YIELD_POINT) { in applyBatch()
273 … Log.v(TAG, "applyBatch: " + opCount + " ops finished; about to yield..."); in applyBatch()
275 opCount = 0; in applyBatch()
/aosp12/frameworks/ex/common/java/com/android/common/content/
H A DSQLiteContentProvider.java206 int opCount = 0; in applyBatch() local
214 if (++opCount > getMaxOperationsPerYield()) { in applyBatch()
222 opCount = 0; in applyBatch()
/aosp12/frameworks/base/services/core/java/com/android/server/appop/
H A DHistoricalRegistry.java340 final int opCount = ops.size(); in dump() local
772 for (int i = 0; i < opCount; i++) { in persistPendingHistory()
797 final int opCount = ops.size(); in pruneFutureOps() local
798 for (int i = opCount - 1; i >= 0; i--) { in pruneFutureOps()
1150 final int opCount = allOps.size(); in handlePersistHistoricalOpsRecursiveDLocked() local
1151 for (int i = 0; i < opCount; i++) { in handlePersistHistoricalOpsRecursiveDLocked()
1572 for (int i = 0; i < opCount; i++) { in writeHistoricalAttributionOpsDLocked()
1693 final int opCount = ops.size(); in normalizeSnapshotForSlotDuration() local
1733 final int opCount = ops.size(); in opsToDebugString() local
1734 for (int i = 0; i < opCount; i++) { in opsToDebugString()
[all …]
H A DAppOpsService.java5090 final int opCount = opModes.size(); in writeState() local
5106 final int opCount = opModes.size(); in writeState() local
6085 final int opCount = activeWatchers.size(); in dump() local
6086 for (int opNum = 0; opNum < opCount; opNum++) { in dump()
6091 if (opNum < opCount - 1) { in dump()
6133 final int opCount = startedWatchers.size(); in dump() local
6134 for (int opNum = 0; opNum < opCount; opNum++) { in dump()
6140 if (opNum < opCount - 1) { in dump()
6176 final int opCount = notedWatchers.size(); in dump() local
6177 for (int opNum = 0; opNum < opCount; opNum++) { in dump()
[all …]
/aosp12/packages/apps/Gallery2/src/com/android/photos/data/
H A DSQLiteContentProvider.java208 int opCount = 0; in applyBatch() local
217 if (++opCount >= MAX_OPERATIONS_PER_YIELD_POINT) { in applyBatch()
228 opCount = 0; in applyBatch()
/aosp12/frameworks/base/core/java/com/android/internal/app/procstats/
H A DServiceState.java518 int uid, long vers, String serviceName, int serviceType, int opCount,
520 if (opCount <= 0) {
533 pw.print(opCount);
589 int opCount, int curState, long curStartTime, long now) {
590 if (opCount <= 0) {
596 proto.write(PackageServiceOperationStatsProto.COUNT, opCount);
/aosp12/system/core/libutils/
H A DRefBase_fuzz.cpp177 uint8_t opCount = dataProvider->ConsumeIntegralInRange<uint8_t>(1, kMaxOperations); in spawnThreads() local
178 std::vector<uint8_t> threadOperations = dataProvider->ConsumeBytes<uint8_t>(opCount); in spawnThreads()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
H A DAppPermissionUsage.java280 final int opCount = ops.size(); in isRunning() local
281 for (int j = 0; j < opCount; j++) { in isRunning()
310 final int opCount = ops.size(); in lastAccessAggregate() local
312 for (int opNum = 0; opNum < opCount; opNum++) { in lastAccessAggregate()
/aosp12/frameworks/base/core/java/android/app/
H A DAppOpsManager.java5550 for (int i = 0; i < opCount; i++) { in HistoricalUidOps()
5813 for (int i = 0; i < opCount; i++) { in HistoricalPackageOps()
6159 for (int i = 0; i < opCount; i++) { in AttributedHistoricalOps()
6171 final int opCount = getOpCount(); in splice() local
6207 final int opCount = getOpCount(); in filter() local
6220 final int opCount = getOpCount(); in isEmpty() local
6294 final int opCount = getOpCount(); in accept() local
7315 final int opCount = ops.length; in getPackagesForOps() local
7317 for (int i = 0; i < opCount; i++) { in getPackagesForOps()
10097 int opCount = opEntries.size(); in mergeAttributedOpEntries() local
[all …]
/aosp12/frameworks/base/core/java/android/content/
H A DUndoManager.java205 int opCount = in.readInt(); in restoreOwner() local
207 owner.mOpCount = opCount; in restoreOwner()
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DBinaryDictionaryTests.java562 for (int opCount = 0; opCount < operationCountInEachIteration; opCount++) { in testRandomOperationsAndFlashWithGC()