Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 1432) sorted by relevance

12345678910>>...58

/frameworks/base/libs/hwui/tests/unit/
DJankTrackerTests.cpp37 FrameInfo* info = jankTracker.startFrame(); in TEST() local
38 info->set(FrameInfoIndex::IntendedVsync) = 100_ms; in TEST()
39 info->set(FrameInfoIndex::Vsync) = 101_ms; in TEST()
40 info->set(FrameInfoIndex::SwapBuffersCompleted) = 115_ms; in TEST()
41 info->set(FrameInfoIndex::GpuCompleted) = 115_ms; in TEST()
42 info->set(FrameInfoIndex::FrameCompleted) = 115_ms; in TEST()
43 info->set(FrameInfoIndex::FrameInterval) = 16_ms; in TEST()
44 info->set(FrameInfoIndex::FrameDeadline) = 120_ms; in TEST()
45 jankTracker.finishFrame(*info, reporter); in TEST()
47 info = jankTracker.startFrame(); in TEST()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java396 private TransitionInfoSnapshot(TransitionInfo info) { in TransitionInfoSnapshot() argument
397 this(info, info.mLastLaunchedActivity, INVALID_DELAY); in TransitionInfoSnapshot()
400 private TransitionInfoSnapshot(TransitionInfo info, ActivityRecord launchedActivity, in TransitionInfoSnapshot() argument
402 applicationInfo = launchedActivity.info.applicationInfo; in TransitionInfoSnapshot()
404 launchedActivityName = launchedActivity.info.name; in TransitionInfoSnapshot()
406 launchedActivityLaunchToken = launchedActivity.info.launchToken; in TransitionInfoSnapshot()
410 reason = info.mReason; in TransitionInfoSnapshot()
411 sourceEventDelayMs = info.mSourceEventDelayMs; in TransitionInfoSnapshot()
412 startingWindowDelayMs = info.mStartingWindowDelayMs; in TransitionInfoSnapshot()
413 bindApplicationDelayMs = info.mBindApplicationDelayMs; in TransitionInfoSnapshot()
[all …]
/frameworks/av/media/libstagefright/foundation/
DColorUtils_fill.cpp35 void ColorUtils::fillHdrStaticInfoBuffer( const HDRStaticInfo &info, uint8_t *data) { in fillHdrStaticInfoBuffer() argument
37 data[0] = info.mID; in fillHdrStaticInfoBuffer()
40 data[1] = LO_UINT16(info.sType1.mR.x); in fillHdrStaticInfoBuffer()
41 data[2] = HI_UINT16(info.sType1.mR.x); in fillHdrStaticInfoBuffer()
42 data[3] = LO_UINT16(info.sType1.mR.y); in fillHdrStaticInfoBuffer()
43 data[4] = HI_UINT16(info.sType1.mR.y); in fillHdrStaticInfoBuffer()
46 data[5] = LO_UINT16(info.sType1.mG.x); in fillHdrStaticInfoBuffer()
47 data[6] = HI_UINT16(info.sType1.mG.x); in fillHdrStaticInfoBuffer()
48 data[7] = LO_UINT16(info.sType1.mG.y); in fillHdrStaticInfoBuffer()
49 data[8] = HI_UINT16(info.sType1.mG.y); in fillHdrStaticInfoBuffer()
[all …]
/frameworks/av/media/codecs/mp3dec/src/
Dpvmp3_decode_header.cpp116 mp3Header *info, in pvmp3_decode_header() argument
153 info->version_x = MPEG_2_5; in pvmp3_decode_header()
156 info->version_x = MPEG_2; in pvmp3_decode_header()
159 info->version_x = MPEG_1; in pvmp3_decode_header()
162 info->version_x = INVALID_VERSION; in pvmp3_decode_header()
167 info->layer_description = 4 - ((temp << 13) >> 30); /* 2 */ in pvmp3_decode_header()
168 info->error_protection = !((temp << 15) >> 31); /* 1 */ in pvmp3_decode_header()
170 if (info->error_protection) in pvmp3_decode_header()
176 info->bitrate_index = (temp << 16) >> 28; /* 4 */ in pvmp3_decode_header()
177 info->sampling_frequency = (temp << 20) >> 30; /* 2 */ in pvmp3_decode_header()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DNumberPickerTest.java47 AccessibilityNodeInfo info = provider.createAccessibilityNodeInfo(View.NO_ID); in testAccessibilityFocusedProperty() local
48 assertFalse(info.isAccessibilityFocused()); in testAccessibilityFocusedProperty()
49 info.recycle(); in testAccessibilityFocusedProperty()
51 info = provider.createAccessibilityNodeInfo(View.NO_ID); in testAccessibilityFocusedProperty()
52 assertTrue(info.isAccessibilityFocused()); in testAccessibilityFocusedProperty()
53 info.recycle(); in testAccessibilityFocusedProperty()
55 info = provider.createAccessibilityNodeInfo(virtualViewIdIncrement); in testAccessibilityFocusedProperty()
56 assertFalse(info.isAccessibilityFocused()); in testAccessibilityFocusedProperty()
57 info.recycle(); in testAccessibilityFocusedProperty()
63 info = provider.createAccessibilityNodeInfo(virtualViewIdIncrement); in testAccessibilityFocusedProperty()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleConditionProviderTest.java68 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testIsValidConditionId() local
69 info.days = new int[] {1, 2, 4}; in testIsValidConditionId()
70 info.startHour = 8; in testIsValidConditionId()
71 info.startMinute = 56; in testIsValidConditionId()
72 info.nextAlarm = 1000; in testIsValidConditionId()
73 info.exitAtAlarm = true; in testIsValidConditionId()
74 info.endHour = 12; in testIsValidConditionId()
75 info.endMinute = 9; in testIsValidConditionId()
76 Uri conditionId = ZenModeConfig.toScheduleConditionId(info); in testIsValidConditionId()
85 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_InSchedule() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDynamicCodeLoadingTests.java72 PackageDynamicCodeLoading info = makePackageDcl(entries); in testRecord() local
73 assertHasEntries(info, entries); in testRecord()
87 PackageDynamicCodeLoading info = new PackageDynamicCodeLoading(); in testRecord_returnsHasChanged() local
89 assertTrue(record(info, owner1Path1Loader1)); in testRecord_returnsHasChanged()
90 assertFalse(record(info, owner1Path1Loader1)); in testRecord_returnsHasChanged()
92 assertTrue(record(info, owner1Path1Loader2)); in testRecord_returnsHasChanged()
93 assertFalse(record(info, owner1Path1Loader2)); in testRecord_returnsHasChanged()
95 assertTrue(record(info, owner1Path2Loader1)); in testRecord_returnsHasChanged()
96 assertFalse(record(info, owner1Path2Loader1)); in testRecord_returnsHasChanged()
98 assertTrue(record(info, owner2Path1Loader1)); in testRecord_returnsHasChanged()
[all …]
/frameworks/base/libs/hwui/
DRenderNode.cpp49 explicit ImmediateRemoved(TreeInfo* info) : mTreeInfo(info) {} in ImmediateRemoved() argument
127 void RenderNode::prepareTree(TreeInfo& info) { in prepareTree() argument
129 LOG_ALWAYS_FATAL_IF(!info.damageAccumulator, "DamageAccumulator missing"); in prepareTree()
130 MarkAndSweepRemoved observer(&info); in prepareTree()
132 const int before = info.disableForceDark; in prepareTree()
133 prepareTreeImpl(observer, info, false); in prepareTree()
134 LOG_ALWAYS_FATAL_IF(before != info.disableForceDark, "Mis-matched force dark"); in prepareTree()
145 void RenderNode::damageSelf(TreeInfo& info) { in damageSelf() argument
147 mDamageGenerationId = info.damageGenerationId; in damageSelf()
149 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight()); in damageSelf()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DTarBackupReader.java104 FileMetadata info = null; in readTarHeaders() local
110 info = new FileMetadata(); in readTarHeaders()
111 info.size = extractRadix(block, in readTarHeaders()
115 info.mtime = extractRadix(block, in readTarHeaders()
119 info.mode = extractRadix(block, in readTarHeaders()
124 info.path = extractString(block, in readTarHeaders()
131 if (info.path.length() > 0) { in readTarHeaders()
132 info.path += '/'; in readTarHeaders()
134 info.path += path; in readTarHeaders()
141 gotHeader = readPaxExtendedHeader(info); in readTarHeaders()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCompatibilityModeTest.java73 final ApplicationInfo info = in testGlobalCompatModeEnabled_oldApp_supportAllScreens_usesCompatMode() local
75 assertThat(info.usesCompatibilityMode(), is(true)); in testGlobalCompatModeEnabled_oldApp_supportAllScreens_usesCompatMode()
84 final ApplicationInfo info = in testGlobalCompatModeEnabled_oldApp_supportSomeScreens_usesCompatMode() local
86 assertThat(info.usesCompatibilityMode(), is(true)); in testGlobalCompatModeEnabled_oldApp_supportSomeScreens_usesCompatMode()
93 final ApplicationInfo info = in testGlobalCompatModeEnabled_oldApp_supportOnlyOneScreen_usesCompatMode() local
95 assertThat(info.usesCompatibilityMode(), is(true)); in testGlobalCompatModeEnabled_oldApp_supportOnlyOneScreen_usesCompatMode()
101 final ApplicationInfo info = in testGlobalCompatModeEnabled_oldApp_DoesntSupportAllScreens_usesCompatMode() local
103 assertThat(info.usesCompatibilityMode(), is(true)); in testGlobalCompatModeEnabled_oldApp_DoesntSupportAllScreens_usesCompatMode()
112 final ApplicationInfo info = in testGlobalCompatModeDisabled_oldApp_supportAllScreens_usesCompatMode() local
114 assertThat(info.usesCompatibilityMode(), is(true)); in testGlobalCompatModeDisabled_oldApp_supportAllScreens_usesCompatMode()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicHistogram.cpp49 static void kernelP1U4(const RsExpandKernelDriverInfo *info,
52 static void kernelP1U3(const RsExpandKernelDriverInfo *info,
55 static void kernelP1U2(const RsExpandKernelDriverInfo *info,
58 static void kernelP1U1(const RsExpandKernelDriverInfo *info,
62 static void kernelP1L4(const RsExpandKernelDriverInfo *info,
65 static void kernelP1L3(const RsExpandKernelDriverInfo *info,
68 static void kernelP1L2(const RsExpandKernelDriverInfo *info,
71 static void kernelP1L1(const RsExpandKernelDriverInfo *info,
163 void RsdCpuScriptIntrinsicHistogram::kernelP1U4(const RsExpandKernelDriverInfo *info, in kernelP1U4() argument
167 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; in kernelP1U4()
[all …]
DrsCpuIntrinsicConvolve3x3.cpp42 static void kernelU1(const RsExpandKernelDriverInfo *info,
45 static void kernelU2(const RsExpandKernelDriverInfo *info,
48 static void kernelU4(const RsExpandKernelDriverInfo *info,
51 static void kernelF1(const RsExpandKernelDriverInfo *info,
54 static void kernelF2(const RsExpandKernelDriverInfo *info,
57 static void kernelF4(const RsExpandKernelDriverInfo *info,
84 static void ConvolveOneU4(const RsExpandKernelDriverInfo *info, uint32_t x, uchar4 *out, in ConvolveOneU4() argument
89 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); in ConvolveOneU4()
106 static void ConvolveOneU2(const RsExpandKernelDriverInfo *info, uint32_t x, uchar2 *out, in ConvolveOneU2() argument
111 uint32_t x2 = rsMin((int32_t)x+1, (int32_t)info->dim.x-1); in ConvolveOneU2()
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/
DAndroid.bp31 "res/bbb_aac_stereo_128kbps_48000hz.info",
32 "res/bbb_aac_stereo_128kbps_48000hz_multi_frame.info",
34 "res/bbb_amrwb_1ch_14kbps_16000hz.info",
35 "res/bbb_amrwb_1ch_14kbps_16000hz_multi_frame.info",
37 "res/bbb_flac_stereo_680kbps_48000hz.info",
38 "res/bbb_g711alaw_1ch_8khz.info",
40 "res/bbb_g711mulaw_1ch_8khz.info",
42 "res/bbb_gsm_1ch_8khz_13kbps.info",
44 "res/bbb_mp3_stereo_192kbps_48000hz.info",
46 "res/bbb_mp3_stereo_192kbps_48000hz_multi_frame.info",
[all …]
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/
DApplicationsStateTest.java38 mEntry.info = mock(ApplicationInfo.class); in setUp()
43 mEntry.info.flags = ApplicationInfo.FLAG_IS_GAME; in testGamesFilterAcceptsGameDeprecated()
50 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testGameFilterAcceptsCategorizedGame()
57 mEntry.info.flags = ApplicationInfo.FLAG_IS_GAME; in testGameFilterAcceptsCategorizedGameAndDeprecatedIsGame()
58 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testGameFilterAcceptsCategorizedGameAndDeprecatedIsGame()
65 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED; in testGamesFilterRejectsNotGame()
72 mEntry.info.category = ApplicationInfo.CATEGORY_AUDIO; in testAudioFilterAcceptsCategorizedAudio()
79 mEntry.info.category = ApplicationInfo.CATEGORY_GAME; in testAudiosFilterRejectsNotAudio()
86 mEntry.info.category = ApplicationInfo.CATEGORY_UNDEFINED; in testAudiosFilterRejectsDefaultCategory()
93 mEntry.info.category = ApplicationInfo.CATEGORY_AUDIO; in testOtherAppsRejectsAudio()
[all …]
/frameworks/native/libs/gui/
DLayerDebugInfo.cpp113 std::string to_string(const LayerDebugInfo& info) { in to_string() argument
116 StringAppendF(&result, "+ %s (%s)\n", info.mType.c_str(), info.mName.c_str()); in to_string()
117 info.mTransparentRegion.dump(result, "TransparentRegion"); in to_string()
118 info.mVisibleRegion.dump(result, "VisibleRegion"); in to_string()
119 info.mSurfaceDamageRegion.dump(result, "SurfaceDamageRegion"); in to_string()
120 if (info.mStretchEffect.hasEffect()) { in to_string()
121 const auto& se = info.mStretchEffect; in to_string()
130 info.mLayerStack, info.mZ, static_cast<double>(info.mX), in to_string()
131 static_cast<double>(info.mY), info.mWidth, info.mHeight); in to_string()
133 StringAppendF(&result, "crop=%s, ", to_string(info.mCrop).c_str()); in to_string()
[all …]
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerInfoHelper.java63 BatteryConsumerInfo info = new BatteryConsumerInfo(); in makeBatteryConsumerInfo() local
64 info.id = batteryConsumerId; in makeBatteryConsumerInfo()
65 return info; in makeBatteryConsumerInfo()
70 BatteryConsumerInfo info = new BatteryConsumerInfo(); in makeBatteryConsumerInfo() local
71 info.consumerType = BatteryConsumerData.ConsumerType.UID_BATTERY_CONSUMER; in makeBatteryConsumerInfo()
72 info.id = BatteryConsumerData.batteryConsumerId(uidBatteryConsumer); in makeBatteryConsumerInfo()
73 info.powerMah = uidBatteryConsumer.getConsumedPower(); in makeBatteryConsumerInfo()
75 info.details = String.format("UID: %d", uid); in makeBatteryConsumerInfo()
78 info.label = "<root>"; in makeBatteryConsumerInfo()
97 info.label = applicationInfo.loadLabel(packageManager); in makeBatteryConsumerInfo()
[all …]
/frameworks/base/services/core/java/com/android/server/vibrator/
DClippingAmplitudeAndFrequencyAdapter.java41 public int apply(List<VibrationEffectSegment> segments, int repeatIndex, VibratorInfo info) { in apply() argument
46 segments.set(i, apply((StepSegment) segment, info)); in apply()
48 segments.set(i, apply((RampSegment) segment, info)); in apply()
54 private StepSegment apply(StepSegment segment, VibratorInfo info) { in apply() argument
55 float clampedFrequency = clampFrequency(info, segment.getFrequency()); in apply()
57 clampAmplitude(info, clampedFrequency, segment.getAmplitude()), in apply()
58 info.getAbsoluteFrequency(clampedFrequency), in apply()
62 private RampSegment apply(RampSegment segment, VibratorInfo info) { in apply() argument
63 float clampedStartFrequency = clampFrequency(info, segment.getStartFrequency()); in apply()
64 float clampedEndFrequency = clampFrequency(info, segment.getEndFrequency()); in apply()
[all …]
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp51 typedef sk_sp<Bitmap> (*AllocPixelRef)(size_t allocSize, const SkImageInfo& info, size_t rowBytes);
54 const SkImageInfo& info = bitmap->info(); in allocateBitmap() local
55 if (info.colorType() == kUnknown_SkColorType) { in allocateBitmap()
69 auto wrapper = alloc(size, info, rowBytes); in allocateBitmap()
80 sk_sp<Bitmap> Bitmap::allocateAshmemBitmap(size_t size, const SkImageInfo& info, size_t rowBytes) { in allocateAshmemBitmap() argument
99 return sk_sp<Bitmap>(new Bitmap(addr, fd, size, info, rowBytes)); in allocateAshmemBitmap()
101 return Bitmap::allocateHeapBitmap(size, info, rowBytes); in allocateAshmemBitmap()
109 return Bitmap::allocateHeapBitmap(bitmap.info()); in allocateHardwareBitmap()
117 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(const SkImageInfo& info) { in allocateHeapBitmap() argument
119 if (!computeAllocationSize(info.minRowBytes(), info.height(), &size)) { in allocateHeapBitmap()
[all …]
/frameworks/base/native/graphics/jni/
Dimagedecoder.cpp241 static const ImageDecoder* toDecoder(const AImageDecoderHeaderInfo* info) { in toDecoder() argument
242 return reinterpret_cast<const ImageDecoder*>(info); in toDecoder()
245 int32_t AImageDecoderHeaderInfo_getWidth(const AImageDecoderHeaderInfo* info) { in AImageDecoderHeaderInfo_getWidth() argument
246 if (!info) { in AImageDecoderHeaderInfo_getWidth()
249 return toDecoder(info)->width(); in AImageDecoderHeaderInfo_getWidth()
252 int32_t AImageDecoderHeaderInfo_getHeight(const AImageDecoderHeaderInfo* info) { in AImageDecoderHeaderInfo_getHeight() argument
253 if (!info) { in AImageDecoderHeaderInfo_getHeight()
256 return toDecoder(info)->height(); in AImageDecoderHeaderInfo_getHeight()
259 const char* AImageDecoderHeaderInfo_getMimeType(const AImageDecoderHeaderInfo* info) { in AImageDecoderHeaderInfo_getMimeType() argument
260 if (!info) { in AImageDecoderHeaderInfo_getMimeType()
[all …]
/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/
DDeviceStateInfoTest.java47 final DeviceStateInfo info = new DeviceStateInfo(supportedStates, baseState, currentState); in create() local
48 assertNotNull(info.supportedStates); in create()
49 assertEquals(supportedStates, info.supportedStates); in create()
50 assertEquals(baseState, info.baseState); in create()
51 assertEquals(currentState, info.currentState); in create()
60 final DeviceStateInfo info = new DeviceStateInfo(supportedStates, baseState, currentState); in equals() local
61 assertTrue(info.equals(info)); in equals()
65 assertTrue(info.equals(sameInfo)); in equals()
69 assertFalse(info.equals(differentInfo)); in equals()
78 final DeviceStateInfo info = new DeviceStateInfo(supportedStates, baseState, currentState); in diff_sameObject() local
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerHistory.cpp42 bool isLayerActive(const LayerInfo& info, nsecs_t threshold) { in isLayerActive() argument
44 if (info.getSetFrameRateVote().rate.isValid()) { in isLayerActive()
48 return info.isVisible() && info.getLastUpdatedTime() >= threshold; in isLayerActive()
61 void trace(const LayerInfo& info, LayerHistory::LayerVoteType type, int fps) { in trace() argument
63 ATRACE_INT(info.getTraceTag(checkedType), type == checkedType ? value : 0); in trace()
74 ALOGD("%s: %s @ %d Hz", __FUNCTION__, info.getName().c_str(), fps); in trace()
88 for (const auto& info : mLayerInfos) { in registerLayer() local
89 LOG_ALWAYS_FATAL_IF(info.first == layer, "%s already registered", layer->getName().c_str()); in registerLayer()
91 auto info = std::make_unique<LayerInfo>(layer->getName(), layer->getOwnerUid(), type); in registerLayer() local
92 mLayerInfos.emplace_back(layer, std::move(info)); in registerLayer()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DVibratorInfoTest.java65 VibratorInfo info = new VibratorInfo.Builder(TEST_VIBRATOR_ID) in testHasCapabilities() local
68 assertTrue(info.hasCapability(IVibrator.CAP_COMPOSE_EFFECTS)); in testHasCapabilities()
69 assertFalse(info.hasCapability(IVibrator.CAP_AMPLITUDE_CONTROL)); in testHasCapabilities()
88 VibratorInfo info = new VibratorInfo.Builder(TEST_VIBRATOR_ID) in testIsPrimitiveSupported() local
92 assertTrue(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in testIsPrimitiveSupported()
93 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_TICK)); in testIsPrimitiveSupported()
96 info = new VibratorInfo.Builder(TEST_VIBRATOR_ID) in testIsPrimitiveSupported()
99 assertFalse(info.isPrimitiveSupported(VibrationEffect.Composition.PRIMITIVE_CLICK)); in testIsPrimitiveSupported()
104 VibratorInfo info = new VibratorInfo.Builder(TEST_VIBRATOR_ID) in testGetPrimitiveDuration() local
108 assertEquals(20, info.getPrimitiveDuration(VibrationEffect.Composition.PRIMITIVE_CLICK)); in testGetPrimitiveDuration()
[all …]
/frameworks/base/libs/hwui/apex/
Dandroid_bitmap.cpp48 static AndroidBitmapFormat getFormat(const SkImageInfo& info) { in getFormat() argument
49 switch (info.colorType()) { in getFormat()
82 static uint32_t getAlphaFlags(const SkImageInfo& info) { in getAlphaFlags() argument
83 switch (info.alphaType()) { in getAlphaFlags()
96 static uint32_t getInfoFlags(const SkImageInfo& info, bool isHardware) { in getInfoFlags() argument
97 uint32_t flags = getAlphaFlags(info); in getInfoFlags()
111 Bitmap::allocateHeapBitmap(srcBitmap.info().makeColorType(dstColorType)); in ABitmap_copy()
112 if (dstBitmap && srcBitmap.readPixels(dstBitmap->info(), dstBitmap->pixels(), in ABitmap_copy()
121 AndroidBitmapInfo info; in getInfo() local
122 info.width = imageInfo.width(); in getInfo()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTPSource.cpp98 TrackInfo *info = NULL; in prepareAsync() local
101 info = &mTracks.editItemAt(i); in prepareAsync()
103 if (info == NULL) in prepareAsync()
107 ASessionDescription::SDPStringFactory(sdp, info->mLocalIp, in prepareAsync()
108 info->mIsAudio, info->mLocalPort, info->mPayloadType, info->mAS, info->mCodecName, in prepareAsync()
109 NULL, info->mWidth, info->mHeight, info->mCVOExtMap); in prepareAsync()
117 ARTPConnection::MakeRTPSocketPair(&sockRtp, &sockRtcp, info->mLocalIp, info->mRemoteIp, in prepareAsync()
118 info->mLocalPort, info->mRemotePort, info->mSocketNetwork); in prepareAsync()
126 mRTPConn->setSelfID(info->mSelfID); in prepareAsync()
127 mRTPConn->setStaticJitterTimeMs(info->mJbTimeMs); in prepareAsync()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecNetwork.java265 final void addCecDevice(HdmiDeviceInfo info) { in addCecDevice() argument
267 HdmiDeviceInfo old = addDeviceInfo(info); in addCecDevice()
268 if (isLocalDeviceAddress(info.getLogicalAddress())) { in addCecDevice()
273 invokeDeviceEventListener(info, in addCecDevice()
275 } else if (!old.equals(info)) { in addCecDevice()
278 invokeDeviceEventListener(info, in addCecDevice()
283 private void invokeDeviceEventListener(HdmiDeviceInfo info, int event) { in invokeDeviceEventListener() argument
284 if (!hideDevicesBehindLegacySwitch(info)) { in invokeDeviceEventListener()
285 mHdmiControlService.invokeDeviceEventListeners(info, event); in invokeDeviceEventListener()
295 final void updateCecDevice(HdmiDeviceInfo info) { in updateCecDevice() argument
[all …]

12345678910>>...58