/external/tensorflow/tensorflow/core/kernels/ |
list_kernels.cc | 52 string metadata; local 53 core::PutVarint64(&metadata, static_cast<uint64>(element_dtype)); 57 core::PutVarint64(&metadata, dim.size); 59 core::PutVarint64(&metadata, std::numeric_limits<uint64>::max()); 63 data->set_metadata(metadata); 100 string metadata; local 101 data.get_metadata(&metadata); 103 StringPiece iter(metadata);
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
gcs_file_system.h | 129 // The maximum total time a metadata request can take. If a request has not 130 // completed within `metadata` seconds, the request is aborted. 131 uint32 metadata = 3600; // 1 hour member in struct:tensorflow::GcsFileSystem::TimeoutConfig 142 TimeoutConfig(uint32 connect, uint32 idle, uint32 metadata, uint32 read, 146 metadata(metadata),
|
/frameworks/av/camera/ |
ICameraClient.cpp | 60 camera_frame_metadata_t *metadata) 67 if (metadata) { 68 data.writeInt32(metadata->number_of_faces); 69 data.write(metadata->faces, sizeof(camera_face_t) * metadata->number_of_faces); 142 camera_frame_metadata_t *metadata = NULL; local 144 metadata = new camera_frame_metadata_t; 145 metadata->number_of_faces = data.readInt32(); 146 metadata->faces = (camera_face_t *) data.readInplace( 147 sizeof(camera_face_t) * metadata->number_of_faces) [all...] |
/frameworks/av/media/libaudiohal/4.0/ |
DeviceHalHidl.cpp | 262 {} /* metadata */, 290 SinkMetadata metadata = {{{AudioSource(source), 1}}}; local 296 metadata,
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
FrameProcessor.cpp | 109 camera_frame_metadata metadata; local 111 metadata.number_of_faces = 0; 121 callbackFaceDetection(client, metadata); 124 metadata.number_of_faces = entry.count / 4; 125 if (metadata.number_of_faces > 129 metadata.number_of_faces, l.mParameters.fastInfo.maxFaces); 177 faces.setCapacity(metadata.number_of_faces); 179 size_t maxFaces = metadata.number_of_faces; 182 metadata.number_of_faces--; 224 metadata.faces = faces.editArray() 237 const CameraMetadata &metadata = frame.mMetadata; local [all...] |
/frameworks/base/cmds/incidentd/src/ |
Reporter.h | 31 #include "frameworks/base/libs/incident/proto/android/os/metadata.pb.h" 68 IncidentMetadata& metadata() { return mMetadata; } function in class:android::os::incidentd::ReportRequestSet
|
/frameworks/base/cmds/incidentd/tests/ |
Reporter_test.cpp | 195 IncidentMetadata metadata = reporter->batch.metadata(); local 196 EXPECT_EQ(IncidentMetadata_Destination_EXPLICIT, metadata.dest()); 197 EXPECT_EQ(1, metadata.request_size()); 198 EXPECT_TRUE(metadata.use_dropbox()); 199 EXPECT_EQ(0, metadata.sections_size());
|
/frameworks/compile/libbcc/lib/ |
RSCompilerDriver.cpp | 96 bccAssert("Could not extract RS pragma metadata for module!"); 114 // embed build checksum metadata into the source 312 // Read and store metadata before linking the modules together 313 std::vector<bcinfo::MetadataExtractor*> metadata; local 316 ALOGE("Cannot extract metadata from module"); 337 ALOGE("ScriptGroup source files have inconsistent metadata"); 351 // linking copies metadata from source->getModule(), but we don't 352 // want the wrapper metadata (we'll be reconstructing this when we
|
/frameworks/ex/common/tests/src/com/android/common/widget/ |
GroupingListAdapterTests.java | 303 GroupingListAdapter.PositionMetadata metadata = new GroupingListAdapter.PositionMetadata(); local 304 mAdapter.obtainPositionMetadata(metadata, position); 305 assertEquals(itemType, metadata.itemType); 306 if (metadata.itemType == ITEM_TYPE_GROUP_HEADER) { 307 assertEquals(isExpanded, metadata.isExpanded); 309 assertEquals(cursorPosition, metadata.cursorPosition);
|
/hardware/libhardware/modules/camera/3_4/ |
v4l2_camera.cpp | 31 #include "metadata/metadata_common.h" 39 // Helper function for managing metadata. 40 static std::vector<int32_t> getMetadataKeys(const camera_metadata_t* metadata) { 42 size_t num_entries = get_camera_metadata_entry_count(metadata); 45 get_camera_metadata_ro_entry(metadata, i, &entry); 60 std::unique_ptr<Metadata> metadata; local 61 int res = GetV4L2Metadata(v4l2_wrapper, &metadata); 63 HAL_LOGE("Failed to initialize V4L2 metadata: %d", res); 67 return new V4L2Camera(id, std::move(v4l2_wrapper), std::move(metadata)); [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
QCamera3HdrPlusListenerThread.h | 74 camera_metadata_t *metadata; member in struct:qcamera::QCamera3HdrPlusListenerThread::PendingResult
|
/hardware/qcom/display/msm8084/libgralloc/ |
mapper.cpp | 225 //metadata buffer as it is only read/written in software. 371 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; local 372 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { 373 *stride = metadata->bufferDim.sliceWidth; 388 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; local 389 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { 390 *stride = metadata->bufferDim.sliceWidth; 391 *height = metadata->bufferDim.sliceHeight 422 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; local [all...] |
/hardware/qcom/display/msm8084/liboverlay/ |
overlayWriteback.cpp | 191 struct msmfb_metadata metadata; local 192 memset(&metadata, 0 , sizeof(metadata)); 193 metadata.op = metadata_op_wb_format; 194 metadata.data.mixer_cfg.writeback_format = mdpFormat; 195 if (ioctl(mFd.getFD(), MSMFB_METADATA_SET, &metadata) < 0) { 206 struct msmfb_metadata metadata; local 207 memset(&metadata, 0 , sizeof(metadata)); 208 metadata.op = metadata_op_wb_format 221 struct msmfb_metadata metadata; local [all...] |
/hardware/qcom/display/msm8226/libgralloc/ |
mapper.cpp | 225 //metadata buffer as it is only read/written in software. 371 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; local 372 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { 373 *stride = metadata->bufferDim.sliceWidth; 388 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; local 389 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { 390 *stride = metadata->bufferDim.sliceWidth; 391 *height = metadata->bufferDim.sliceHeight 422 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; local [all...] |
/hardware/qcom/display/msm8226/liboverlay/ |
overlayWriteback.cpp | 191 struct msmfb_metadata metadata; local 192 memset(&metadata, 0 , sizeof(metadata)); 193 metadata.op = metadata_op_wb_format; 194 metadata.data.mixer_cfg.writeback_format = mdpFormat; 195 if (ioctl(mFd.getFD(), MSMFB_METADATA_SET, &metadata) < 0) { 206 struct msmfb_metadata metadata; local 207 memset(&metadata, 0 , sizeof(metadata)); 208 metadata.op = metadata_op_wb_format 221 struct msmfb_metadata metadata; local [all...] |
/hardware/qcom/display/msm8960/libgralloc/ |
mapper.cpp | 217 //Invalidate if reading in software. No need to do this for the metadata 398 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; local 399 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { 400 *stride = metadata->bufferDim.sliceWidth;
|
/hardware/qcom/display/msm8994/liboverlay/ |
overlayWriteback.cpp | 195 struct msmfb_metadata metadata; local 196 memset(&metadata, 0 , sizeof(metadata)); 197 metadata.op = metadata_op_wb_format; 198 metadata.data.mixer_cfg.writeback_format = mdpFormat; 199 if (ioctl(mFd.getFD(), MSMFB_METADATA_SET, &metadata) < 0) { 210 struct msmfb_metadata metadata; local 211 memset(&metadata, 0 , sizeof(metadata)); 212 metadata.op = metadata_op_wb_format 225 struct msmfb_metadata metadata; local [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/ |
ZslImageCaptureCommand.java | 50 * on metadata) images. If no such images are available, a fallback 126 TotalCaptureResultProxy metadata = null; local 134 metadata = metadataFuture.get(); 137 // If we cannot get metadata for an image, for whatever 156 return new Pair<>(imageToSave, metadata);
|
/packages/apps/Car/Media/src/com/android/car/media/ |
MetadataController.java | 21 * Common controller for displaying current track's metadata. 117 MediaItemMetadata metadata = mModel != null ? mModel.getMetadata() : null; local 118 mTitle.setText(metadata != null ? metadata.getTitle() : null); 119 mSubtitle.setText(metadata != null ? metadata.getSubtitle() : null); 120 if (mAlbumArt != null && metadata != null && (metadata.getAlbumArtUri() != null 121 || metadata.getAlbumArtBitmap() != null)) { 123 metadata.getAlbumArt(mAlbumArt.getContext(), mAlbumArtSize, mAlbumArtSize, true [all...] |
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
PlaybackFragment.java | 132 MediaItemMetadata metadata = mModel.getMetadata(); local 133 if (Objects.equals(mCurrentMetadata, metadata)) { 136 mCurrentMetadata = metadata; 137 mTitle.setText(metadata != null ? metadata.getTitle() : null); 138 mSubtitle.setText(metadata != null ? metadata.getSubtitle() : null); 139 if (metadata != null) { 140 metadata.getAlbumArt(getContext(),
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
SliceControllerInXmlCodeInspector.java | 83 final List<Bundle> metadata = PreferenceXmlParserUtils.extractMetadata(mContext, local 85 for (Bundle bundle : metadata) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/ |
SliceTester.java | 58 * TODO (77712944) check Summary, range (metadata.getRange()), toggle icons. 72 final SliceMetadata metadata = SliceMetadata.from(context, slice); local 74 final long sliceTTL = metadata.getExpiry(); 81 final List<SliceAction> toggles = metadata.getToggles(); 84 final PendingIntent primaryPendingIntent = metadata.getPrimaryAction().getAction(); 91 assertKeywords(metadata, sliceData); 105 final SliceMetadata metadata = SliceMetadata.from(context, slice); local 111 final List<SliceAction> toggles = metadata.getToggles(); 114 final long sliceTTL = metadata.getExpiry(); 129 final PendingIntent primaryPendingIntent = metadata.getPrimaryAction().getAction() 148 final SliceMetadata metadata = SliceMetadata.from(context, slice); local 188 final SliceMetadata metadata = SliceMetadata.from(context, slice); local [all...] |
/packages/apps/Settings/tests/unit/src/com/android/settings/core/ |
UniquePreferenceTest.java | 171 final List<Bundle> metadata = PreferenceXmlParserUtils.extractMetadata(mContext, local 177 for (Bundle bundle : metadata) {
|
/system/bt/btcore/src/ |
module.cc | 39 static std::unordered_map<const module_t*, module_state_t> metadata; variable 51 metadata.clear(); 150 auto map_ptr = metadata.find(module); 152 return (map_ptr != metadata.end()) ? map_ptr->second : MODULE_STATE_NONE; 157 metadata[module] = state;
|
/frameworks/support/media/src/main/java/androidx/media/ |
MediaUtils2.java | 62 MediaMetadata2 metadata = item2.getMetadata(); local 63 if (metadata == null) { 70 .setSubtitle(metadata.getText(METADATA_KEY_DISPLAY_SUBTITLE)) 71 .setDescription(metadata.getText(METADATA_KEY_DISPLAY_DESCRIPTION)) 72 .setIconBitmap(metadata.getBitmap(METADATA_KEY_DISPLAY_ICON)) 73 .setExtras(metadata.getExtras()); 75 String title = metadata.getString(METADATA_KEY_TITLE); 79 builder.setTitle(metadata.getString(METADATA_KEY_DISPLAY_TITLE)); 82 String displayIconUri = metadata.getString(METADATA_KEY_DISPLAY_ICON_URI); 87 String mediaUri = metadata.getString(METADATA_KEY_MEDIA_URI) [all...] |