/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 1122 struct dirent* entry; local 1123 while ((entry = readdir(dir))) { 1124 const char* name = entry->d_name; 1138 if (entry->d_type == DT_DIR) {
|
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.cpp | 346 camera_metadata_entry_t entry = staticInfo.find(ANDROID_REQUEST_AVAILABLE_CAPABILITIES); local 348 for(size_t i = 0; i < entry.count; ++i) { 349 uint8_t capability = entry.data.u8[i]; 1454 camera_metadata_entry_t entry; local 1461 entry = staticInfo.find(ANDROID_LED_AVAILABLE_LEDS); 1462 for(size_t i = 0; i < entry.count; ++i) { 1463 uint8_t led = entry.data.u8[i]; 1486 entry = metadata.find(ANDROID_LED_TRANSMIT); 1487 if (entry.count > 0 && entry [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkStats.java | 282 NetworkStats.Entry entry = null; 284 entry = getValues(i, entry); 285 clone.addValues(entry); 313 * Add new stats entry, copying from given {@link Entry}. The {@link Entry} 316 public NetworkStats addValues(Entry entry) { argument 333 iface[size] = entry.iface; 334 uid[size] = entry.uid; 335 set[size] = entry.set; 336 tag[size] = entry 412 combineValues(Entry entry) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_CameraMetadata.cpp | 239 ALOGV("%s: Empty returned %d, entry count was %zu", 302 camera_metadata_entry entry = metadata->find(tag); local 303 if (entry.count == 0) { 309 ALOGV("%s: Tag %d had an entry, but it had 0 data", __FUNCTION__, 314 jsize byteCount = entry.count * tagSize; 320 memcpy(arrayWriter.get(), entry.data.u8, byteCount); 343 // If array is NULL, delete the entry
|
H A D | android_util_AssetManager.cpp | 939 const ResTable::bag_entry* entry = NULL; local 941 ssize_t entryCount = res.getBagLocked(ident, &entry, &typeSpecFlags); 944 if (((uint32_t)bagEntryId) == entry->map.name.ident) { 945 block = entry->stringBlock; 946 value = entry->map.value; 948 entry++;
|
H A D | android_util_Process.cpp | 806 struct dirent* entry; local 807 while ((entry=readdir(dirp)) != NULL) { 808 const char* p = entry->d_name; 816 int pid = strtol(entry->d_name, &end, 10); 817 //ALOGI("File %s pid=%d\n", entry->d_name, pid);
|
/frameworks/base/libs/androidfw/ |
H A D | AssetManager2.cpp | 83 for (const DynamicPackageEntry& entry : package->GetDynamicPackageMap()) { 84 String16 package_name(entry.package_name.c_str(), entry.package_name.size()); 86 package_name, static_cast<uint8_t>(entry.package_id)); 339 LoadedArscEntry entry; local 343 true /* stop_at_first_match */, &entry, &config, &flags); 356 out_name->type = entry.type_string_ref.string8(&out_name->type_len); 359 out_name->type16 = entry.type_string_ref.string16(&out_name->type_len); 365 out_name->entry = entry 377 LoadedArscEntry entry; local 390 LoadedArscEntry entry; local 464 LoadedArscEntry entry; local 631 StringPiece package_name, type, entry; local 778 Entry& entry = type->entries[entry_idx]; local 819 const Entry& entry = type->entries[entry_idx]; local [all...] |
H A D | AssetManager.cpp | 767 ZipEntryRO entry = pZip->findEntryByName(path.string()); local 768 if (entry != NULL) { 770 pAsset = openAssetFromZipLocked(pZip, entry, mode, path); 771 pZip->releaseEntry(entry); 852 * Given an entry in a Zip archive, create a new Asset object. 854 * If the entry is uncompressed, we may want to create or share a 858 const ZipEntryRO entry, AccessMode mode, const String8& entryName) 868 if (!pZipFile->getEntryInfo(entry, &method, &uncompressedLen, NULL, NULL, 875 FileMap* dataMap = pZipFile->createEntryFileMap(entry); 877 ALOGW("create map from entry faile 857 openAssetFromZipLocked(const ZipFileRO* pZipFile, const ZipEntryRO entry, AccessMode mode, const String8& entryName) argument 1090 struct dirent* entry; local 1188 ZipEntryRO entry; local [all...] |
/frameworks/base/media/jni/ |
H A D | android_mtp_MtpDatabase.cpp | 792 static void foreachentry(ExifEntry *entry, void* /* user */) { argument 794 ALOGI("entry %x, format %d, size %d: %s", 795 entry->tag, entry->format, entry->size, exif_entry_get_value(entry, buf, sizeof(buf))); 1039 const PropertyTableEntry* entry = kObjectPropertyTable; local 1040 for (int i = 0; i < count; i++, entry++) { 1041 if (entry->property == property) { 1042 type = entry 1051 const PropertyTableEntry* entry = kDevicePropertyTable; local [all...] |
H A D | android_media_MediaDrm.cpp | 142 EntryFields entry; member in struct:android::fields_t 483 jobject entry = env->CallObjectMethod(iterator, gFields.iterator.next); local 484 if (entry) { 485 jobject obj = env->CallObjectMethod(entry, gFields.entry.getKey); 489 env->DeleteLocalRef(entry); 495 obj = env->CallObjectMethod(entry, gFields.entry.getValue); 499 env->DeleteLocalRef(entry); 513 env->DeleteLocalRef(entry); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | ScrimController.java | 471 public void onHeadsUpStateChanged(NotificationData.Entry entry, boolean isHeadsUp) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | HeadsUpManager.java | 202 // the entry was released before this update (i.e by a listener) This can happen 211 private void addHeadsUpEntry(NotificationData.Entry entry) { argument 214 // This will also add the entry to the sortedList 215 headsUpEntry.setEntry(entry); 216 mHeadsUpEntries.put(entry.key, headsUpEntry); 217 entry.row.setHeadsUp(true); 218 setEntryPinned(headsUpEntry, shouldHeadsUpBecomePinned(entry)); 220 listener.onHeadsUpStateChanged(entry, true); 222 entry.row.sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED); 225 private boolean shouldHeadsUpBecomePinned(NotificationData.Entry entry) { argument 230 hasFullScreenIntent(NotificationData.Entry entry) argument 249 removeHeadsUpEntry(NotificationData.Entry entry) argument 591 setRemoteInputActive(NotificationData.Entry entry, boolean remoteInputActive) argument 607 setExpanded(NotificationData.Entry entry, boolean expanded) argument 643 public NotificationData.Entry entry; field in class:HeadsUpManager.HeadsUpEntry 650 setEntry(final NotificationData.Entry entry) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.h | 340 Entry(const Entry& entry); 341 Entry& operator=(const Entry& entry); 375 // Index of the entry's name string in the key pool. 424 // Index of this entry in its Type. 433 void addEntry(const ResTable_config& config, const sp<Entry>& entry) { argument 434 mEntries.add(config, entry); 491 sp<Entry> getEntry(const String16& entry, 498 bool isPublic(const String16& entry) const { 499 return mPublic.indexOfKey(entry) >= 0; 502 sp<ConfigList> removeEntry(const String16& entry); [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | BaseRecipientAdapter.java | 60 * {@link #mShowRequestPermissionsItem} is true it will return single entry that asks user to grant 62 * display that entry but then it should set 212 RecipientEntry entry) { 214 Collections.singletonList(entry), 216 Collections.singletonList(entry) /* nonAggregatedEntries */, 250 // App doesn't want to show request permission entry. Returning empty results. 254 // Return result with only permission request entry. 282 // Note: At this point each entry doesn't contain any photo 340 final RecipientEntry entry = (RecipientEntry)resultValue; 341 final String displayName = entry 211 createResultWithNonAggregatedEntry( RecipientEntry entry) argument 798 putOneEntry(TemporaryEntry entry, boolean isAggregatedEntry) argument 803 putOneEntry(TemporaryEntry entry, boolean isAggregatedEntry, LinkedHashMap<Long, List<RecipientEntry>> entryMap, List<RecipientEntry> nonAggregatedEntries, Set<String> existingDestinations) argument 928 fetchPhoto(final RecipientEntry entry, PhotoManager.PhotoManagerCallback cb) argument [all...] |
/frameworks/rs/script_api/ |
H A D | Specification.cpp | 80 string entry; local 81 while (getline(stream, entry, ',')) { 82 trimSpaces(&entry); 83 entries.push_back(entry); 109 // Returns true if each entry in typeVector is an RS numerical type 339 void Function::addParameter(ParameterEntry* entry, Scanner* scanner) { argument 341 if (i->name == entry->name) { 343 if (!entry->documentation.empty()) { 344 scanner->error(entry->lineNumber) 351 mParameters.push_back(entry); 354 addReturn(ParameterEntry* entry, Scanner* scanner) argument [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 525 QueueEntry entry; local 526 entry.mNotifyConsumed = notify; 527 entry.mMeta = meta; 530 mAudioQueue.push_back(entry); 857 QueueEntry *entry; // will be valid after while loop if hasEOS is set. local 859 entry = &*mAudioQueue.begin(); 861 if (entry->mBuffer == NULL) { // EOS 867 if (firstEntry && entry->mOffset == 0) { 870 CHECK(entry->mBuffer->meta()->findInt64("timeUs", &mediaTimeUs)); 875 size_t copy = entry 934 QueueEntry *entry = &*it++; local 1002 QueueEntry *entry = &*mAudioQueue.begin(); local 1225 QueueEntry &entry = *mVideoQueue.begin(); local 1322 QueueEntry *entry = &*mVideoQueue.begin(); local 1459 QueueEntry entry; local 1541 QueueEntry entry; local 1654 QueueEntry *entry = &*queue->begin(); local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | OggExtractor.cpp | 150 // *buffer is NULL'ed out immediately upon entry, and if successful a new buffer is allocated; 437 const TOCEntry &entry = mTableOfContents.itemAt(center); local 439 if (timeUs < entry.mTimeUs) { 441 } else if (timeUs > entry.mTimeUs) { 453 const TOCEntry &entry = mTableOfContents.itemAt(left); local 455 ALOGV("seeking to entry %zu / %zu at offset %lld", 456 left, mTableOfContents.size(), (long long)entry.mPageOffset); 458 return seekToOffset(entry.mPageOffset); 877 TOCEntry &entry = local 880 entry [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | vlc_encode.cpp | 2734 Int residual, vlc_code_mag, bits, entry; local 2739 entry = vlc_code_mag + 65; 2741 entry = vlc_code_mag; 2743 bits = PutMV(entry, bs);
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 100 BandwidthEntry entry; local 101 entry.mTimestampUs = nowUs; 102 entry.mDelayUs = delayUs; 103 entry.mNumBytes = numBytes; 106 mBandwidthHistory.push_back(entry);
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 517 ZipEntryRO entry = zip->findEntryByName(name); local 518 ALOGE_IF(!entry, "couldn't find %s", name); 519 if (!entry) { 523 FileMap* entryMap = zip->createEntryFileMap(entry); 524 zip->releaseEntry(entry); 716 ZipEntryRO entry; local 718 while ((entry = zip->nextEntry(cookie)) != NULL) { 719 const int foundEntryName = zip->getEntryFileName(entry, name, ANIM_ENTRY_NAME_MAX); 721 ALOGE("Error fetching entry file name"); 730 FileMap* map = zip->createEntryFileMap(entry); [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaScanner.java | 99 * gathered and inserts an entry in to the database. 114 * Once MediaScanner processFile returns, an entry is inserted in to the database. 534 FileEntry entry = makeEntryFor(path); 536 long delta = (entry != null) ? (lastModified - entry.mLastModified) : 0; 538 if (entry == null || wasModified) { 540 entry.mLastModified = lastModified; 542 entry = new FileEntry(0, path, lastModified, 545 entry.mLastModifiedChanged = true; 549 mPlayLists.add(entry); 902 endFile(FileEntry entry, boolean ringtones, boolean notifications, boolean alarms, boolean music, boolean podcasts) argument 1866 processPlayList(FileEntry entry, Cursor fileList) argument [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
H A D | ApplicationsState.java | 245 final AppEntry entry = mEntriesMap.get(userId).get(info.packageName); 246 if (entry != null) { 247 entry.info = info; 297 AppEntry entry = mEntriesMap.get(userId).get(packageName); 298 if (entry == null) { 309 entry = getEntryLocked(info); 313 return entry; 328 public void ensureIcon(AppEntry entry) { argument 329 if (entry.icon != null) { 332 synchronized (entry) { [all...] |
/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | BugreportProgressService.java | 1125 * If user provided a title, it will be saved into a {@code title.txt} entry; similarly, the 1150 // It's not possible to add a new entry into an existing file, so we need to create a new 1163 final ZipEntry entry = entries.nextElement(); 1164 final String entryName = entry.getName(); 1165 if (!entry.isDirectory()) { 1166 addEntry(zos, entryName, entry.getTime(), oldZip.getInputStream(entry)); 1168 Log.w(TAG, "skipping directory entry: " + entryName); 1192 private static void addEntry(ZipOutputStream zos, String entry, String text) argument 1194 if (DEBUG) Log.v(TAG, "adding entry '" [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationContentView.java | 1083 public void onNotificationUpdated(NotificationData.Entry entry) { argument 1084 mStatusBarNotification = entry.notification; 1085 mBeforeN = entry.targetSdk < Build.VERSION_CODES.N; 1088 mContractedWrapper.onContentUpdated(entry.row); 1091 mExpandedWrapper.onContentUpdated(entry.row); 1094 mHeadsUpWrapper.onContentUpdated(entry.row); 1097 mAmbientWrapper.onContentUpdated(entry.row); 1099 applyRemoteInput(entry); 1131 private void applyRemoteInput(final NotificationData.Entry entry) { argument 1138 Notification.Action[] actions = entry 1182 applyRemoteInput(View view, NotificationData.Entry entry, boolean hasRemoteInput, PendingIntent existingPendingIntent, RemoteInputView cachedView, NotificationViewWrapper wrapper) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_location_ContextHubService.cpp | 458 AppInstanceInfo entry; local 462 entry.appInfo = *appInfo; 464 entry.instanceId = appInstanceHandle; 465 entry.truncName = appInfo->appId; 466 entry.hubHandle = hubHandle; 467 db.appInstances[appInstanceHandle] = entry; 472 hubHandle, entry.instanceId, 473 entry.truncName, 474 entry.appInfo.version); 478 " as appInstance %" PRId32, action, entry [all...] |