/packages/modules/DnsResolver/ |
D | OperationLimiter.h | 66 auto& cnt = mCounters[key]; // operator[] creates new entries as needed. in start() local 67 if (cnt >= mLimitPerKey) { in start() 72 ++cnt; in start() 93 auto& cnt = it->second; in finish() local 94 --cnt; in finish() 95 if (cnt <= 0) { in finish()
|
/packages/services/Car/tools/keventreader/server/ |
D | inputsource.cpp | 56 auto cnt = ::read(mDescriptor, &evt, sizeof(evt)); in read() local 59 if (cnt < static_cast<decltype(cnt)>(sizeof(evt))) { in read()
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genPCLm.cpp | 1276 sint32 cnt = 0; in RLEEncodeImage() local 1280 cnt = 1; in RLEEncodeImage() 1283 while (*imgPtr == c && cnt < inLength) { in RLEEncodeImage() 1287 cnt++; in RLEEncodeImage() 1291 if (cnt > 1) { in RLEEncodeImage() 1297 while (cnt > 128) { in RLEEncodeImage() 1300 cnt -= 128; in RLEEncodeImage() 1303 if (cnt) { in RLEEncodeImage() 1304 *out++ = (257 - cnt); // i.e. cnt==2: 257-255=2 in RLEEncodeImage() 1318 for (cnt = 1, p = start; *p != *imgPtr; p++, imgPtr++, cnt++) { in RLEEncodeImage() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderNameEditText.java | 68 int cnt = Math.min(suggestList.size(), FolderNameProvider.SUGGEST_MAX); in displayCompletions() local 69 CompletionInfo[] cInfo = new CompletionInfo[cnt]; in displayCompletions() 70 for (int i = 0; i < cnt; i++) { in displayCompletions()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ReadWriteDraftMessageActionTest.java | 365 int cnt = 0; in testBugleDatabaseDraftOperations() local 372 cnt++; in testBugleDatabaseDraftOperations() 374 assertEquals("Wrong number of parts", 2, cnt); in testBugleDatabaseDraftOperations() 411 cnt = 0; in testBugleDatabaseDraftOperations() 418 cnt++; in testBugleDatabaseDraftOperations() 420 assertEquals("Wrong number of parts", 2, cnt); in testBugleDatabaseDraftOperations()
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
D | ControlPanelPicker.java | 62 int cnt = -1; in onCreate() local 70 cnt += 1; in onCreate() 75 defpanelidx = cnt; in onCreate()
|
/packages/apps/Car/Radio/src/com/android/car/radio/ |
D | BrowseAdapter.java | 232 int cnt = mPrograms.size(); in getItemCount() local 233 if (cnt == 0 && mCurrentProgram != null) return 1; in getItemCount() 234 return cnt; in getItemCount()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContent.java | 2355 int cnt = 0; in msgListing() local 2491 int cnt = 0; in msgListingSize() local 2504 cnt = c.getCount(); in msgListingSize() 2520 cnt += c.getCount(); in msgListingSize() 2538 cnt += c.getCount(); in msgListingSize() 2558 cnt += c.getCount(); in msgListingSize() 2569 Log.d(TAG, "msgListingSize: size = " + cnt); in msgListingSize() 2571 return cnt; in msgListingSize() 2585 int cnt = 0; in msgListingHasUnread() local 2600 cnt = c.getCount(); in msgListingHasUnread() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragView.java | 355 int cnt = canvas.save(); in draw() local 360 canvas.restoreToCount(cnt); in draw()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiHealthMonitor.java | 657 void setCount(@FailureReasonCode int reasonCode, int cnt) { in setCount() argument 658 mCount[reasonCode] = cnt; in setCount()
|
D | WifiScoreCard.java | 2034 public void accumulate(@ConnectionCountCode int countCode, int cnt) { in accumulate() argument 2035 mCount[countCode] += cnt; in accumulate()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 917 final int cnt = resolver.update(uri, values, null, null); in updateSmsMessageSendingStatus() local 918 if (cnt == 1) { in updateSmsMessageSendingStatus() 1002 final int cnt = resolver.update(uri, values, null, null); in updateMmsMessageSendingStatus() local 1003 if (cnt == 1) { in updateMmsMessageSendingStatus()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleDatabaseOperations.java | 1230 final int cnt = dbWrapper.delete(DatabaseHelper.PARTS_TABLE, in deletePartsForMessage() local 1233 Assert.inRange(cnt, 0, Integer.MAX_VALUE); in deletePartsForMessage()
|