Home
last modified time | relevance | path

Searched defs:info (Results 1 – 25 of 1038) sorted by relevance

12345678910>>...42

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTaskInfoCompat.java25 public static int getUserId(TaskInfo info) { in getUserId()
29 public static int getActivityType(TaskInfo info) { in getActivityType()
33 public static int getWindowingMode(TaskInfo info) { in getWindowingMode()
37 public static boolean supportsSplitScreenMultiWindow(TaskInfo info) { in supportsSplitScreenMultiWindow()
41 public static ComponentName getTopActivity(TaskInfo info) { in getTopActivity()
45 public static ActivityManager.TaskDescription getTaskDescription(TaskInfo info) { in getTaskDescription()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDynamicCodeLoadingTests.java72 PackageDynamicCodeLoading info = makePackageDcl(entries); in testRecord() local
87 PackageDynamicCodeLoading info = new PackageDynamicCodeLoading(); in testRecord_returnsHasChanged() local
110 PackageDynamicCodeLoading info = makePackageDcl(entry1); in testRecord_changeUserForFile_throws() local
119 PackageDynamicCodeLoading info = new PackageDynamicCodeLoading(); in testRecord_badFileType_throws() local
126 PackageDynamicCodeLoading info = new PackageDynamicCodeLoading(); in testRecord_tooManyFiles_ignored() local
148 PackageDynamicCodeLoading info = makePackageDcl(entries); in testClear() local
162 PackageDynamicCodeLoading info = makePackageDcl(entries); in testRemovePackage_present() local
172 PackageDynamicCodeLoading info = makePackageDcl(entries); in testRemovePackage_notPresent() local
181 PackageDynamicCodeLoading info = makePackageDcl(entries); in testRemoveUserPackage_notPresent() local
195 PackageDynamicCodeLoading info = makePackageDcl(entries); in testRemoveUserPackage_presentWithNoOtherUsers() local
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DInfoMediaManagerTest.java97 final MediaRoute2Info info = mock(MediaRoute2Info.class); in onRouteAdded_getAvailableRoutes_shouldAddMediaDevice() local
118 final MediaRoute2Info info = mock(MediaRoute2Info.class); in onRouteAdded_buildAllRoutes_shouldAddMediaDevice() local
148 final MediaRoute2Info info = mock(MediaRoute2Info.class); in onPreferredFeaturesChanged_samePackageName_shouldAddMediaDevice() local
184 final MediaRoute2Info info = mock(MediaRoute2Info.class); in onRoutesChanged_getAvailableRoutes_shouldAddMediaDevice() local
205 final MediaRoute2Info info = mock(MediaRoute2Info.class); in onRoutesChanged_buildAllRoutes_shouldAddMediaDevice() local
227 final MediaRoute2Info info = mock(MediaRoute2Info.class); in connectDeviceWithoutPackageName_noSession_returnFalse() local
248 final MediaRoute2Info info = mock(MediaRoute2Info.class); in onRoutesRemoved_getAvailableRoutes_shouldAddMediaDevice() local
269 final MediaRoute2Info info = mock(MediaRoute2Info.class); in onRoutesRemoved_buildAllRoutes_shouldAddMediaDevice() local
300 final RoutingSessionInfo info = mock(RoutingSessionInfo.class); in addDeviceToPlayMedia_containSelectableRoutes_returnTrue() local
323 final RoutingSessionInfo info = mock(RoutingSessionInfo.class); in addDeviceToPlayMedia_notContainSelectableRoutes_returnFalse() local
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/
DPowerUtilTest.java61 String info = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_moreThanFifteenMinutes_withPercentage() local
87 String info = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_moreThanFifteenMinutes_noPercentage() local
113 String info = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_lessThanSevenMinutes_usesCorrectString() local
130 String info = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_betweenSevenAndFifteenMinutes_usesCorrectString() local
147 String info = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_betweenOneAndTwoDays_usesCorrectString() local
164 String info = PowerUtil.getBatteryRemainingStringFormatted(mContext, in testGetBatteryRemainingStringFormatted_moreThanTwoDays_usesCorrectString() local
181 String info = PowerUtil.getBatteryTipStringFormatted(mContext, in getBatteryTipStringFormatted_moreThanOneDay_usesCorrectString() local
189 String info = PowerUtil.getBatteryTipStringFormatted(mContext, in getBatteryTipStringFormatted_lessThanOneDay_usesCorrectString() local
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/clock/
DClockInfoTest.java53 ClockInfo info = ClockInfo.builder().setName(name).build(); in testGetName() local
60 ClockInfo info = ClockInfo.builder().setTitle(() -> title).build(); in testGetTitle() local
67 ClockInfo info = ClockInfo.builder().setId(id).build(); in testGetId() local
73 ClockInfo info = ClockInfo.builder().setThumbnail(mMockSupplier).build(); in testGetThumbnail() local
80 ClockInfo info = ClockInfo.builder().setPreview(mMockSupplier).build(); in testGetPreview() local
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DScheduleConditionProviderTest.java68 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testIsValidConditionId() local
85 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_InSchedule() local
109 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() local
140 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_beforeSchedule() local
163 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_endSchedule() local
186 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_alarmSetBeforeInSchedule() local
214 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_alarmSetInSchedule() local
243 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_earlierAlarmSet() local
272 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_laterAlarmSet() local
301 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_alarmCanceled() local
[all …]
/frameworks/base/libs/hwui/
DRenderNode.cpp48 explicit ImmediateRemoved(TreeInfo* info) : mTreeInfo(info) {} in ImmediateRemoved()
134 void RenderNode::prepareTree(TreeInfo& info) { in prepareTree()
152 void RenderNode::damageSelf(TreeInfo& info) { in damageSelf()
165 void RenderNode::prepareLayer(TreeInfo& info, uint32_t dirtyMask) { in prepareLayer()
180 void RenderNode::pushLayerUpdate(TreeInfo& info) { in pushLayerUpdate()
221 void RenderNode::prepareTreeImpl(TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer) { in prepareTreeImpl()
285 void RenderNode::pushStagingPropertiesChanges(TreeInfo& info) { in pushStagingPropertiesChanges()
313 void RenderNode::syncDisplayList(TreeObserver& observer, TreeInfo* info) { in syncDisplayList()
331 void RenderNode::handleForceDark(android::uirenderer::TreeInfo *info) { in handleForceDark()
368 void RenderNode::pushStagingDisplayListChanges(TreeObserver& observer, TreeInfo& info) { in pushStagingDisplayListChanges()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java138 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testResolveDisabledActivity() local
154 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testResolveEnabledActivity() local
175 final ResolveInfo info = infoList2.get(0); in testQueryDisabledActivity() local
190 final ResolveInfo info = infoList.get(0); in testQueryEnabledActivity() local
234 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testEnableActivity() local
257 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testDisableActivity() local
285 final ResolveInfo info = mPackageManager.resolveService(mDisabledServiceIntent, 0); in testResolveDisabledService() local
301 final ResolveInfo info = mPackageManager.resolveService(mEnabledServiceIntent, 0); in testResolveEnabledService() local
322 final ResolveInfo info = infoList2.get(0); in testQueryDisabledService() local
337 final ResolveInfo info = infoList.get(0); in testQueryEnabledService() local
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DInfoMediaManager.java110 final RoutingSessionInfo info = infos.get(0); in connectDeviceWithoutPackageName() local
130 final RoutingSessionInfo info = getRoutingSessionInfo(); in addDeviceToPlayMedia() local
161 final RoutingSessionInfo info = getRoutingSessionInfo(); in removeDeviceFromPlayMedia() local
206 final RoutingSessionInfo info = getRoutingSessionInfo(); in getSelectableMediaDevice() local
233 final RoutingSessionInfo info = getRoutingSessionInfo(); in getDeselectableMediaDevice() local
260 final RoutingSessionInfo info = getRoutingSessionInfo(); in getSelectedMediaDevice() local
275 void adjustSessionVolume(RoutingSessionInfo info, int volume) { in adjustSessionVolume()
295 final RoutingSessionInfo info = getRoutingSessionInfo(); in adjustSessionVolume() local
318 final RoutingSessionInfo info = getRoutingSessionInfo(); in getSessionVolumeMax() local
339 final RoutingSessionInfo info = getRoutingSessionInfo(); in getSessionVolume() local
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java340 private TransitionInfoSnapshot(TransitionInfo info) { in TransitionInfoSnapshot()
344 private TransitionInfoSnapshot(TransitionInfo info, ActivityRecord launchedActivity, in TransitionInfoSnapshot()
441 final TransitionInfo info = mTransitionInfoList.get(i); in getActiveTransitionInfo() local
482 final TransitionInfo info = mTransitionInfoList.get(i); in notifyActivityLaunching() local
539 final TransitionInfo info = launchingState.mAssociatedTransitionInfo; in notifyActivityLaunched() local
593 final TransitionInfo info = getActiveTransitionInfo(r); in notifyWindowsDrawn() local
612 final TransitionInfo info = getActiveTransitionInfo(r); in notifyStartingWindowDrawn() local
633 final TransitionInfo info = getActiveTransitionInfo(wc); in notifyTransitionStarting() local
663 final TransitionInfo info = getActiveTransitionInfo(r); in notifyVisibilityChanged() local
691 final TransitionInfo info = getActiveTransitionInfo(r); in checkVisibility() local
[all …]
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp55 const SkImageInfo& info = bitmap->info(); in allocateBitmap() local
81 sk_sp<Bitmap> Bitmap::allocateAshmemBitmap(size_t size, const SkImageInfo& info, size_t rowBytes) { in allocateAshmemBitmap()
118 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(const SkImageInfo& info) { in allocateHeapBitmap()
127 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(size_t size, const SkImageInfo& info, size_t rowBytes) { in allocateHeapBitmap()
140 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, SkPixelRef& pixelRef) { in createFrom()
152 SkImageInfo info = uirenderer::BufferDescriptionToImageInfo(bufferDesc, colorSpace); in createFrom() local
161 SkImageInfo info = SkImageInfo::Make(bufferDesc.width, bufferDesc.height, in createFrom() local
166 sk_sp<Bitmap> Bitmap::createFrom(AHardwareBuffer* hardwareBuffer, const SkImageInfo& info, in createFrom()
175 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, size_t rowBytes, int fd, void* addr, in createFrom()
207 static SkImageInfo validateAlpha(const SkImageInfo& info) { in validateAlpha()
[all …]
/frameworks/base/native/graphics/jni/
Dimagedecoder.cpp76 const auto& info = androidCodec->getInfo(); in createFromStream() local
195 static const ImageDecoder* toDecoder(const AImageDecoderHeaderInfo* info) { in toDecoder()
199 int32_t AImageDecoderHeaderInfo_getWidth(const AImageDecoderHeaderInfo* info) { in AImageDecoderHeaderInfo_getWidth()
206 int32_t AImageDecoderHeaderInfo_getHeight(const AImageDecoderHeaderInfo* info) { in AImageDecoderHeaderInfo_getHeight()
213 const char* AImageDecoderHeaderInfo_getMimeType(const AImageDecoderHeaderInfo* info) { in AImageDecoderHeaderInfo_getMimeType()
220 int32_t AImageDecoderHeaderInfo_getDataSpace(const AImageDecoderHeaderInfo* info) { in AImageDecoderHeaderInfo_getDataSpace()
252 int32_t AImageDecoderHeaderInfo_getAndroidBitmapFormat(const AImageDecoderHeaderInfo* info) { in AImageDecoderHeaderInfo_getAndroidBitmapFormat()
259 int AImageDecoderHeaderInfo_getAlphaFlags(const AImageDecoderHeaderInfo* info) { in AImageDecoderHeaderInfo_getAlphaFlags()
324 SkImageInfo info = toDecoder(decoder)->getOutputInfo(); in AImageDecoder_getMinimumStride() local
337 SkImageInfo info = imageDecoder->getOutputInfo(); in AImageDecoder_decodeImage() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsResolverTest.java248 List<ResolveInfo> info = new ArrayList<>(); in testDeviceCarrierPackageBindMultipleServices() local
301 List<ResolveInfo> info = new ArrayList<>(); in testCarrierPackageBindOneConfigTwoSupport() local
452 List<ResolveInfo> info = new ArrayList<>(); in testDevicePackageBind() local
485 List<ResolveInfo> info = new ArrayList<>(); in testDevicePackageBind_MsimToOneSim() local
527 List<ResolveInfo> info = new ArrayList<>(); in testDevicePackageBind_OneSimToMsim() local
568 List<ResolveInfo> info = new ArrayList<>(); in testDeviceDynamicQueryBindsOnCarrierConfigChanged() local
625 List<ResolveInfo> info = new ArrayList<>(); in testDeviceAndCarrierPackageBind_OneSimToMsim() local
686 List<ResolveInfo> info = new ArrayList<>(); in testDeviceAndCarrierPackageBind_MsimToOneSim() local
745 List<ResolveInfo> info = new ArrayList<>(); in testDevicePackageInvalidMmTelBind() local
778 List<ResolveInfo> info = new ArrayList<>(); in testDeviceAndCarrierPackageBind() local
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java109 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldParseCategory() local
129 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldParseKeyHintForSystemApp() local
151 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldSkipNonSystemApp() local
190 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldReadMetadataTitleAsString() local
212 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldReadMetadataTitleFromResource() local
236 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldNotTintIconIfInSettingsPackage() local
259 final List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_tileAlreadyInCache_shouldUpdateMetaData() local
291 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldMarkIconTintableIfMetadataSet() local
314 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldProcessUriContentForSystemApp() local
348 final ResolveInfo info = new ResolveInfo(); in newInfo() local
/frameworks/av/media/libstagefright/
DMediaCodecListWriter.cpp34 sp<MediaCodecInfo> info = new MediaCodecInfo(); in addMediaCodecInfo() local
42 for (const sp<MediaCodecInfo> &info : mCodecInfos) { in findMediaCodecInfo() local
59 for (const sp<MediaCodecInfo> &info : mCodecInfos) { in writeCodecInfos() local
DNuMediaExtractor.cpp62 TrackInfo *info = &mSelectedTracks.editItemAt(i); in ~NuMediaExtractor() local
351 TrackInfo *info = &mSelectedTracks.editItemAt(i); in selectTrack() local
386 TrackInfo *info = &mSelectedTracks.editItemAt(mSelectedTracks.size() - 1); in selectTrack() local
428 TrackInfo *info = &mSelectedTracks.editItemAt(i); in unselectTrack() local
440 TrackInfo *info = &mSelectedTracks.editItemAt(i); in unselectTrack() local
451 void NuMediaExtractor::releaseTrackSamples(TrackInfo *info) { in releaseTrackSamples()
477 TrackInfo *info = &mSelectedTracks.editItemAt(i); in fetchAllTrackSamples() local
505 void NuMediaExtractor::fetchTrackSamples(TrackInfo *info, in fetchTrackSamples()
583 TrackInfo *info = &mSelectedTracks.editItemAt(minIndex); in advance() local
671 TrackInfo *info = &mSelectedTracks.editItemAt(minIndex); in readSampleData() local
[all …]
/frameworks/base/media/java/android/media/
DMediaRouter.java227 final RouteInfo info = new RouteInfo(mSystemCategory); in updateAudioRoutes() local
393 void setSelectedRoute(RouteInfo info, boolean explicit) { in setSelectedRoute()
957 CallbackInfo info; in addCallback() local
988 final CallbackInfo info = sStatic.mCallbacks.get(i); in findCallbackInfo() local
1102 static boolean matchesDeviceAddress(WifiDisplay display, RouteInfo info) { in matchesDeviceAddress()
1122 public void addUserRoute(UserRouteInfo info) { in addUserRoute()
1129 public void addRouteInt(RouteInfo info) { in addRouteInt()
1133 static void addRouteStatic(RouteInfo info) { in addRouteStatic()
1162 public void removeUserRoute(UserRouteInfo info) { in removeUserRoute()
1173 final RouteInfo info = sStatic.mRoutes.get(i); in clearUserRoutes() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest10.java160 LauncherActivityInfo info = mock(LauncherActivityInfo.class); in setupMockActivityInfo() local
168 LauncherActivityInfo info = setupMockActivityInfo(); in testStartConfigActivity_defaultLauncher() local
176 LauncherActivityInfo info = setupMockActivityInfo(); in testStartConfigActivity_nonDefaultLauncher() local
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelperTest.java116 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testOnPopulateNodeForVirtualView() local
139 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testNullLayout() local
155 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testRtlLayout() local
179 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testMultilineLink() local
206 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testRtlMultilineLink() local
239 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testBidiMultilineLink() local
349 public void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfoCompat info) { in onPopulateNodeForVirtualView()
/frameworks/base/services/core/java/com/android/server/
DLockGuard.java96 LockInfo info = sKnown.get(lock); in findOrCreateLockInfo() local
117 final LockInfo info = findOrCreateLockInfo(lock); in guard() local
182 final LockInfo info = findOrCreateLockInfo(lock); in installLock() local
199 final LockInfo info = findOrCreateLockInfo(lock); in installLock() local
216 final LockInfo info = sKnown.get(lock); in lockToString() local
241 final LockInfo info = sKnown.valueAt(i); in dump() local
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsRegistrationTests.java139 ImsReasonInfo info = new ImsReasonInfo(); in testRegistrationCallbackOnDeregistered() local
148 ImsReasonInfo info = new ImsReasonInfo(); in testRegistrationCallbackOnTechChangeFailed() local
199 ImsReasonInfo info = new ImsReasonInfo(ImsReasonInfo.CODE_LOCAL_NETWORK_NO_LTE_COVERAGE, 0); in testRegistrationCallbackSendCurrentStateDisconnected() local
215 ImsReasonInfo info = new ImsReasonInfo(ImsReasonInfo.CODE_LOCAL_NETWORK_NO_LTE_COVERAGE, 0); in testRegistrationCallbackGetRegistrationTechDisconnected() local
/frameworks/base/media/java/android/media/projection/
DIMediaProjectionWatcherCallback.aidl23 void onStart(in MediaProjectionInfo info); in onStart()
24 void onStop(in MediaProjectionInfo info); in onStop()
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DAppDataRollbackHelperTest.java70 PackageRollbackInfo info = createPackageRollbackInfo("com.foo.bar"); in testSnapshotAppData() local
130 PackageRollbackInfo info = createPackageRollbackInfo("com.foo"); in testRestoreAppDataSnapshot_pendingBackupForUser() local
156 PackageRollbackInfo info = createPackageRollbackInfo("com.foo"); in testRestoreAppDataSnapshot_availableBackupForLockedUser() local
180 PackageRollbackInfo info = createPackageRollbackInfo("com.foo"); in testRestoreAppDataSnapshot_availableBackupForUnlockedUser() local
200 PackageRollbackInfo info = createPackageRollbackInfo("com.foo.bar"); in destroyAppData() local
/frameworks/native/services/vr/bufferhubd/
Dbuffer_hub.cpp67 BufferHubChannel::BufferInfo info = channel->GetBufferInfo(); in DumpState() local
101 BufferHubChannel::BufferInfo info = channel->GetBufferInfo(); in DumpState() local
150 BufferHubChannel::BufferInfo info = channel->GetBufferInfo(); in DumpState() local
183 BufferHubChannel::BufferInfo info = channel->GetBufferInfo(); in DumpState() local
200 BufferHubChannel::BufferInfo info = channel->GetBufferInfo(); in DumpState() local
/frameworks/base/services/core/java/com/android/server/display/
DDisplayInfoProxy.java30 public DisplayInfoProxy(@Nullable DisplayInfo info) { in DisplayInfoProxy()
40 public void set(@Nullable DisplayInfo info) { in set()

12345678910>>...42