/frameworks/av/services/mediametrics/ |
D | statsd_recorder.cpp | 77 if (item->getInt32("android.media.mediarecorder.video-encoder-profile", &video_profile)) { in statsd_recorder() 82 if (item->getInt32("android.media.mediarecorder.video-encoder-level", &video_level)) { in statsd_recorder() 87 if (item->getInt32("android.media.mediarecorder.width", &width)) { in statsd_recorder() 92 if (item->getInt32("android.media.mediarecorder.height", &height)) { in statsd_recorder() 97 if (item->getInt32("android.media.mediarecorder.rotation", &rotation)) { in statsd_recorder() 102 if (item->getInt32("android.media.mediarecorder.frame-rate", &framerate)) { in statsd_recorder() 108 if (item->getInt32("android.media.mediarecorder.capture-fps", &capture_fps)) { in statsd_recorder() 129 if (item->getInt32("android.media.mediarecorder.NPauses", &paused_count)) { in statsd_recorder() 135 if (item->getInt32("android.media.mediarecorder.audio-bitrate", &audio_bitrate)) { in statsd_recorder() 140 if (item->getInt32("android.media.mediarecorder.audio-channels", &audio_channels)) { in statsd_recorder() [all …]
|
D | statsd_codec.cpp | 226 if (item->getInt32("android.media.mediacodec.encoder", &isEncoder)) { in statsd_codec() 232 if (item->getInt32("android.media.mediacodec.secure", &isSecure)) { in statsd_codec() 238 item->getInt32("android.media.mediacodec.hardware", &isHardware); in statsd_codec() 242 item->getInt32("android.media.mediacodec.tunneled", &isTunneled); in statsd_codec() 246 if (item->getInt32("android.media.mediacodec.width", &width)) { in statsd_codec() 252 if (item->getInt32("android.media.mediacodec.height", &height)) { in statsd_codec() 258 if (item->getInt32("android.media.mediacodec.rotation-degrees", &rotation)) { in statsd_codec() 264 if (item->getInt32("android.media.mediacodec.crypto", &crypto)) { in statsd_codec() 270 if (item->getInt32("android.media.mediacodec.profile", &profile)) { in statsd_codec() 276 if (item->getInt32("android.media.mediacodec.level", &level)) { in statsd_codec() [all …]
|
D | statsd_audiorecord.cpp | 68 if (item->getInt32("android.media.audiorecord.latency", &latency)) { in statsd_audiorecord() 73 if (item->getInt32("android.media.audiorecord.samplerate", &samplerate)) { in statsd_audiorecord() 78 if (item->getInt32("android.media.audiorecord.channels", &channels)) { in statsd_audiorecord() 97 if (item->getInt32("android.media.audiorecord.n", &count)) { in statsd_audiorecord() 102 if (item->getInt32("android.media.audiorecord.errcode", &error_code) || in statsd_audiorecord() 103 item->getInt32("android.media.audiorecord.lastError.code", &error_code)) { in statsd_audiorecord() 114 if (item->getInt32("android.media.audiorecord.portId", &port_id)) { in statsd_audiorecord() 119 if (item->getInt32("android.media.audiorecord.frameCount", &frame_count)) { in statsd_audiorecord()
|
D | statsd_nuplayer.cpp | 76 if (item->getInt32("android.media.mediaplayer.width", &width)) { in statsd_nuplayer() 80 if (item->getInt32("android.media.mediaplayer.height", &height)) { in statsd_nuplayer() 120 if (item->getInt32("android.media.mediaplayer.err", &error)) { in statsd_nuplayer() 124 if (item->getInt32("android.media.mediaplayer.errcode", &error_code)) { in statsd_nuplayer() 142 if (item->getInt32("android.media.mediaplayer.rebuffers", &rebuffers)) { in statsd_nuplayer() 146 if (item->getInt32("android.media.mediaplayer.rebufferExit", &rebuffer_at_exit)) { in statsd_nuplayer()
|
D | statsd_audiothread.cpp | 64 if (item->getInt32(MM_PREFIX "framecount", &framecount)) { in statsd_audiothread() 68 if (item->getInt32(MM_PREFIX "samplerate", &samplerate)) { in statsd_audiothread() 101 if (item->getInt32(MM_PREFIX "id", &id)) { in statsd_audiothread() 106 if (item->getInt32(MM_PREFIX "portId", &port_id)) { in statsd_audiothread() 116 if (item->getInt32(MM_PREFIX "sampleRate", &sample_rate)) { in statsd_audiothread() 121 if (item->getInt32(MM_PREFIX "channelMask", &channel_mask)) { in statsd_audiothread() 131 if (item->getInt32(MM_PREFIX "frameCount", &frame_count)) { in statsd_audiothread()
|
D | statsd_audiotrack.cpp | 81 if (item->getInt32("android.media.audiotrack.sampleRate", &sample_rate)) { in statsd_audiotrack() 93 if (item->getInt32("android.media.audiotrack.underrunFrames", &underrun_frames)) { in statsd_audiotrack() 100 if (item->getInt32("android.media.audiotrack.glitch.startup", &startup_glitch)) { in statsd_audiotrack() 106 if (item->getInt32("android.media.audiotrack.portId", &port_id)) { in statsd_audiotrack() 116 if (item->getInt32("android.media.audiotrack.frameCount", &frame_count)) { in statsd_audiotrack()
|
D | statsd_drm.cpp | 117 (void) item->getInt32("method_id", &method_id); in statsd_drmmanager() 248 if (!item->getInt32("frontend", &frontend)) return false; in statsd_mediadrm_created() 283 if (!item->getInt32("frontend", &frontend)) return false; in statsd_mediadrm_session_opened() 285 if (!item->getInt32("requested_security_level", &requested_security_level)) return false; in statsd_mediadrm_session_opened() 287 if (!item->getInt32("opened_security_level", &opened_security_level)) return false; in statsd_mediadrm_session_opened() 325 if (!item->getInt32("frontend", &frontend)) return false; in statsd_mediadrm_errored() 332 if (!item->getInt32("error_code", &error_code)) return false; in statsd_mediadrm_errored() 340 item->getInt32("security_level", &security_level); in statsd_mediadrm_errored() 343 item->getInt32("cdm_err", &cdm_err); in statsd_mediadrm_errored() 345 item->getInt32("oem_err", &oem_err); in statsd_mediadrm_errored() [all …]
|
D | statsd_mediaparser.cpp | 53 item->getInt32("android.media.mediaparser.createdByName", &createdByName); in statsd_mediaparser() 77 item->getInt32("android.media.mediaparser.videoWidth", &videoWidth); in statsd_mediaparser() 80 item->getInt32("android.media.mediaparser.videoHeight", &videoHeight); in statsd_mediaparser()
|
D | statsd_audiopolicy.cpp | 59 if (item->getInt32("android.media.audiopolicy.status", &status)) { in statsd_audiopolicy() 74 if (item->getInt32("android.media.audiopolicy.rqst.session", &request_session)) { in statsd_audiopolicy() 95 if (item->getInt32("android.media.audiopolicy.active.session", &active_session)) { in statsd_audiopolicy()
|
D | AudioPowerUsage.cpp | 146 if (!item->getInt32(AUDIO_POWER_USAGE_PROP_TYPE, &type)) return; in sendItem() 149 if (!item->getInt32(AUDIO_POWER_USAGE_PROP_DEVICE, &audio_device)) return; in sendItem() 240 item->getInt32(AUDIO_POWER_USAGE_PROP_DEVICE, &item_device); in saveAsItem_l() 242 item->getInt32(AUDIO_POWER_USAGE_PROP_TYPE, &item_type); in saveAsItem_l()
|
D | statsd_extractor.cpp | 67 if (item->getInt32("android.media.mediaextractor.ntrk", &tracks)) { in statsd_extractor()
|
/frameworks/av/media/module/libmediatranscoding/ |
D | TranscodingLogger.cpp | 78 static inline int32_t getInt32(AMediaFormat* fmt, const char* key, int32_t defaultValue = -1) { in getInt32() function 123 const int32_t srcWidth = getInt32(srcFormat, AMEDIAFORMAT_KEY_WIDTH); in logSessionEnded() 124 const int32_t srcHeight = getInt32(srcFormat, AMEDIAFORMAT_KEY_HEIGHT); in logSessionEnded() 126 const int32_t srcProfile = getInt32(srcFormat, AMEDIAFORMAT_KEY_PROFILE); in logSessionEnded() 127 const int32_t srcLevel = getInt32(srcFormat, AMEDIAFORMAT_KEY_LEVEL); in logSessionEnded() 128 const int32_t srcFrameRate = getInt32(srcFormat, AMEDIAFORMAT_KEY_FRAME_RATE); in logSessionEnded() 129 const int32_t srcFrameCount = getInt32(srcFormat, AMEDIAFORMAT_KEY_FRAME_COUNT); in logSessionEnded() 132 int32_t dstWidth = getInt32(dstFormat, AMEDIAFORMAT_KEY_WIDTH, srcWidth); in logSessionEnded() 133 int32_t dstHeight = getInt32(dstFormat, AMEDIAFORMAT_KEY_HEIGHT, srcHeight); in logSessionEnded()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerMetadataTest.cpp | 59 ASSERT_EQ(3, metadata.getInt32(4, 3)); in TEST_F() 62 ASSERT_EQ(5, metadata.getInt32(4, 5)); in TEST_F() 65 ASSERT_EQ(2, metadata.getInt32(4, 0)); in TEST_F() 69 ASSERT_EQ(0, metadata.getInt32(2, 0)); in TEST_F() 95 ASSERT_EQ(5, metadata.getInt32(6, 0)); in TEST_F()
|
D | SurfaceFlinger_UpdateLayerMetadataSnapshotTest.cpp | 153 layerDMetadata.getInt32(gui::METADATA_CALLING_UID, 0)) in TEST_F() 166 layerDMetadata.getInt32(gui::METADATA_CALLING_UID, 0)) in TEST_F()
|
/frameworks/native/libs/gui/ |
D | LayerMetadata.cpp | 100 int32_t LayerMetadata::getInt32(uint32_t key, int32_t fallback) const { in getInt32() function in android::gui::LayerMetadata 134 return StringPrintf("ownerUID%s%d", separator, getInt32(key, 0)); in itemToString() 136 return StringPrintf("windowType%s%d", separator, getInt32(key, 0)); in itemToString() 138 return StringPrintf("taskId%s%d", separator, getInt32(key, 0)); in itemToString() 140 return StringPrintf("ownerPID%s%d", separator, getInt32(key, 0)); in itemToString() 144 return StringPrintf("gameMode%s%d", separator, getInt32(key, 0)); in itemToString()
|
/frameworks/av/media/module/extractors/mp4/ |
D | HeifCleanAperture.cpp | 126 const int32_t clapW = clap.width.getInt32(); in convertCleanApertureToRect() 127 const int32_t clapH = clap.height.getInt32(); in convertCleanApertureToRect() 143 *left = centerX.getInt32(); in convertCleanApertureToRect() 144 *top = centerY.getInt32(); in convertCleanApertureToRect()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerCreationArgs.cpp | 47 ownerPid = metadata.getInt32(gui::METADATA_OWNER_PID, ownerPid); in LayerCreationArgs() 49 metadata.getInt32(gui::METADATA_OWNER_UID, static_cast<int32_t>(ownerUid))); in LayerCreationArgs()
|
/frameworks/av/media/module/extractors/mp4/include/ |
D | HeifCleanAperture.h | 34 int32_t getInt32() const { return n / d; } in getInt32() function
|
/frameworks/native/libs/gui/include/gui/ |
D | LayerMetadata.h | 55 int32_t getInt32(uint32_t key, int32_t fallback) const;
|
/frameworks/av/services/mediametrics/tests/ |
D | mediametrics_tests.cpp | 303 ASSERT_TRUE(item.getInt32("value", &i32)); in TEST() 306 ASSERT_TRUE(item.getInt32("bar", &i32)); in TEST() 368 ASSERT_TRUE(item.getInt32(std::to_string(i).c_str(), &i32)); in TEST() 386 ASSERT_TRUE(item.getInt32(std::to_string(i).c_str(), &i32)); in TEST() 389 ASSERT_FALSE(item.getInt32(std::to_string(i).c_str(), &i32)); in TEST() 407 ASSERT_TRUE(item.getInt32(std::to_string(i).c_str(), &i32)); in TEST() 410 ASSERT_FALSE(item.getInt32(std::to_string(i).c_str(), &i32)); in TEST() 427 ASSERT_TRUE(item.getInt32("convert", &i32)); // check it is i32 and 2 (123 is discarded). in TEST() 591 ASSERT_TRUE(item2.getInt32(std::to_string(i).c_str(), &i32)); in TEST()
|
/frameworks/native/services/surfaceflinger/ |
D | FpsReporter.cpp | 64 int32_t taskId = metadata.getInt32(gui::METADATA_TASK_ID, 0); in dispatchLayerFps()
|
/frameworks/av/media/mtp/ |
D | MtpDataPacket.h | 52 inline bool getInt32(int32_t& value) { return getUInt32((uint32_t&)value); } in getInt32() function
|
/frameworks/base/core/java/android/os/ |
D | HwBlob.java | 68 public native final int getInt32(long offset); in getInt32() method in HwBlob
|
/frameworks/av/media/libmediametrics/ |
D | MediaMetrics.cpp | 136 return item->getInt32(attr, value); in mediametrics_getInt32()
|
/frameworks/av/media/libmedia/include/media/ |
D | NdkWrapper.h | 63 bool getInt32(const char *name, int32_t *out) const;
|