Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DThreadPool.java230 private boolean acquireResource(ResourceCounter counter) { in acquireResource() argument
237 mWaitOnResource = counter; in acquireResource()
240 synchronized (counter) { in acquireResource()
241 if (counter.value > 0) { in acquireResource()
242 counter.value--; in acquireResource()
246 counter.wait(); in acquireResource()
261 private void releaseResource(ResourceCounter counter) { in releaseResource() argument
262 synchronized (counter) { in releaseResource()
263 counter.value++; in releaseResource()
264 counter.notifyAll(); in releaseResource()
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DNfcImportVCardActivity.java90 VCardEntryCounter counter = null; in createImportRequest() local
98 counter = new VCardEntryCounter(); in createImportRequest()
100 parser.addInterpreter(counter); in createImportRequest()
108 counter = new VCardEntryCounter(); in createImportRequest()
110 parser.addInterpreter(counter); in createImportRequest()
136 detector.getEstimatedCharset(), vcardVersion, counter.getCount()); in createImportRequest()
DImportVCardActivity.java308 VCardEntryCounter counter = null; in constructImportRequest() local
321 counter = new VCardEntryCounter(); in constructImportRequest()
323 mVCardParser.addInterpreter(counter); in constructImportRequest()
340 counter = new VCardEntryCounter(); in constructImportRequest()
342 mVCardParser.addInterpreter(counter); in constructImportRequest()
367 vcardVersion, counter.getCount()); in constructImportRequest()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DBluetoothPbapVcardList.java71 VCardEntryCounter counter = new VCardEntryCounter(); in parse() local
77 parser.addInterpreter(counter); in parse()
/packages/apps/Music/src/com/android/music/
DPlaylistBrowserActivity.java526 Cursor counter = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in mergedCursor() local
528 if (counter != null) { in mergedCursor()
529 counter.moveToFirst(); in mergedCursor()
530 int numpodcasts = counter.getInt(0); in mergedCursor()
531 counter.close(); in mergedCursor()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Drapidjsontest.cpp246 ValueCounter counter; in TEST_F() local
247 doc_.Accept(counter); in TEST_F()
248 EXPECT_EQ(4339u, counter.count_); in TEST_F()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardRequest.java120 final VCardEntryCounter counter = new VCardEntryCounter(); in parseVCard() local
135 counter, false, null); in parseVCard()
/packages/apps/Dialer/src/com/android/dialer/list/
DPhoneFavoritesTileAdapter.java253 int counter = 0; in saveCursorToCache() local
262 if (starred < 1 && counter >= TILES_SOFT_LIMIT) { in saveCursorToCache()
314 counter++; in saveCursorToCache()
/packages/apps/Dialer/src/com/android/dialer/database/
DDialerDatabaseHelper.java1120 int counter = 0; in getLooseMatches() local
1125 while ((cursor.moveToNext()) && (counter < MAX_ENTRIES)) { in getLooseMatches()
1154 counter++; in getLooseMatches()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifInterface.java1662 int counter = 0; in getTagDefinitionsForTagId() local
1667 defs[counter++] = def; in getTagDefinitionsForTagId()
1670 if (counter == 0) { in getTagDefinitionsForTagId()
1674 return Arrays.copyOfRange(defs, 0, counter); in getTagDefinitionsForTagId()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifInterface.java1683 int counter = 0; in getTagDefinitionsForTagId() local
1688 defs[counter++] = def; in getTagDefinitionsForTagId()
1691 if (counter == 0) { in getTagDefinitionsForTagId()
1695 return Arrays.copyOfRange(defs, 0, counter); in getTagDefinitionsForTagId()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DExifInterface.java1683 int counter = 0; in getTagDefinitionsForTagId() local
1688 defs[counter++] = def; in getTagDefinitionsForTagId()
1691 if (counter == 0) { in getTagDefinitionsForTagId()
1695 return Arrays.copyOfRange(defs, 0, counter); in getTagDefinitionsForTagId()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifInterface.java1683 int counter = 0; in getTagDefinitionsForTagId() local
1688 defs[counter++] = def; in getTagDefinitionsForTagId()
1691 if (counter == 0) { in getTagDefinitionsForTagId()
1695 return Arrays.copyOfRange(defs, 0, counter); in getTagDefinitionsForTagId()
/packages/apps/TV/usbtuner/libs/
Dexoplayer_1.5.6.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz