Home
last modified time | relevance | path

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

12345678910>>...39

/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/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/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/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.java66 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testIsValidConditionId() local
83 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_InSchedule() local
107 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() local
138 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_beforeSchedule() local
161 ZenModeConfig.ScheduleInfo info = new ZenModeConfig.ScheduleInfo(); in testEvaluateSubscription_noAlarmExit_endSchedule() local
184 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_alarmSetBeforeInSchedule() local
212 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_alarmSetInSchedule() local
241 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_earlierAlarmSet() local
270 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_laterAlarmSet() local
299 ZenModeConfig.ScheduleInfo info = getScheduleEndsInHour(now); in testEvaluateSubscription_alarmCanceled() local
[all …]
/frameworks/base/libs/hwui/
DRenderNode.cpp43 explicit ImmediateRemoved(TreeInfo* info) : mTreeInfo(info) {} in ImmediateRemoved()
117 void RenderNode::prepareTree(TreeInfo& info) { in prepareTree()
135 void RenderNode::damageSelf(TreeInfo& info) { in damageSelf()
148 void RenderNode::prepareLayer(TreeInfo& info, uint32_t dirtyMask) { in prepareLayer()
163 void RenderNode::pushLayerUpdate(TreeInfo& info) { in pushLayerUpdate()
202 void RenderNode::prepareTreeImpl(TreeObserver& observer, TreeInfo& info, bool functorsNeedLayer) { in prepareTreeImpl()
266 void RenderNode::pushStagingPropertiesChanges(TreeInfo& info) { in pushStagingPropertiesChanges()
294 void RenderNode::syncDisplayList(TreeObserver& observer, TreeInfo* info) { in syncDisplayList()
312 void RenderNode::handleForceDark(android::uirenderer::TreeInfo *info) { in handleForceDark()
349 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/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java217 private WindowingModeTransitionInfoSnapshot(WindowingModeTransitionInfo info) { in WindowingModeTransitionInfoSnapshot()
221 private WindowingModeTransitionInfoSnapshot(WindowingModeTransitionInfo info, in WindowingModeTransitionInfoSnapshot()
226 private WindowingModeTransitionInfoSnapshot(WindowingModeTransitionInfo info, in WindowingModeTransitionInfoSnapshot()
384 final WindowingModeTransitionInfo info = mWindowingModeTransitionInfo.get(windowingMode); in notifyActivityLaunched() local
447 final WindowingModeTransitionInfo info = mWindowingModeTransitionInfo.get(windowingMode); in notifyWindowsDrawn() local
465 final WindowingModeTransitionInfo info = mWindowingModeTransitionInfo.get(windowingMode); in notifyStartingWindowDrawn() local
493 final WindowingModeTransitionInfo info = mWindowingModeTransitionInfo.get( in notifyTransitionStarting() local
514 final WindowingModeTransitionInfo info = mWindowingModeTransitionInfo.get( in notifyVisibilityChanged() local
542 final WindowingModeTransitionInfo info = mWindowingModeTransitionInfo.get( in checkVisibility() local
582 final WindowingModeTransitionInfo info = mWindowingModeTransitionInfo.valueAt(i); in notifyBindApplication() local
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java103 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldParseCategory() local
120 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldParseKeyHintForSystemApp() local
139 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldSkipNonSystemApp() local
174 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldReadMetadataTitleAsString() local
193 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldReadMetadataTitleFromResource() local
214 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldNotTintIconIfInSettingsPackage() local
234 final List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_tileAlreadyInCache_shouldUpdateMetaData() local
267 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldMarkIconTintableIfMetadataSet() local
287 List<ResolveInfo> info = new ArrayList<>(); in getTilesForIntent_shouldProcessUriContentForSystemApp() local
317 ResolveInfo info = new ResolveInfo(); in newInfo() local
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp52 const SkImageInfo& info = bitmap->info(); in allocateBitmap() local
78 sk_sp<Bitmap> Bitmap::allocateAshmemBitmap(size_t size, const SkImageInfo& info, size_t rowBytes) { in allocateAshmemBitmap()
107 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(const SkImageInfo& info) { in allocateHeapBitmap()
116 sk_sp<Bitmap> Bitmap::allocateHeapBitmap(size_t size, const SkImageInfo& info, size_t rowBytes) { in allocateHeapBitmap()
129 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, SkPixelRef& pixelRef) { in createFrom()
139 SkImageInfo info = SkImageInfo::Make(graphicBuffer->getWidth(), graphicBuffer->getHeight(), in createFrom() local
144 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, size_t rowBytes, int fd, void* addr, in createFrom()
172 static SkImageInfo validateAlpha(const SkImageInfo& info) { in validateAlpha()
190 Bitmap::Bitmap(void* address, size_t size, const SkImageInfo& info, size_t rowBytes) in Bitmap()
198 Bitmap::Bitmap(void* address, void* context, FreeFunc freeFunc, const SkImageInfo& info, in Bitmap()
[all …]
/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/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsRegistrationTests.java140 ImsReasonInfo info = new ImsReasonInfo(); in testRegistrationCallbackOnDeregistered() local
149 ImsReasonInfo info = new ImsReasonInfo(); in testRegistrationCallbackOnTechChangeFailed() local
200 ImsReasonInfo info = new ImsReasonInfo(ImsReasonInfo.CODE_LOCAL_NETWORK_NO_LTE_COVERAGE, 0); in testRegistrationCallbackSendCurrentStateDisconnected() local
216 ImsReasonInfo info = new ImsReasonInfo(ImsReasonInfo.CODE_LOCAL_NETWORK_NO_LTE_COVERAGE, 0); in testRegistrationCallbackGetRegistrationTechDisconnected() local
248 ImsReasonInfo info = new ImsReasonInfo(ImsReasonInfo.CODE_LOCAL_NETWORK_NO_LTE_COVERAGE, 0); in testRegistrationCallbackNotCalledOnAddAfterDeregistered() local
/frameworks/base/services/tests/servicestests/src/com/android/server/rollback/
DAppDataRollbackHelperTest.java62 PackageRollbackInfo info = createPackageRollbackInfo("com.foo.bar"); in testSnapshotAppData() local
117 PackageRollbackInfo info = createPackageRollbackInfo("com.foo"); in testRestoreAppDataSnapshot_pendingBackupForUser() local
143 PackageRollbackInfo info = createPackageRollbackInfo("com.foo"); in testRestoreAppDataSnapshot_availableBackupForLockedUser() local
167 PackageRollbackInfo info = createPackageRollbackInfo("com.foo"); in testRestoreAppDataSnapshot_availableBackupForUnlockedUser() local
187 PackageRollbackInfo info = createPackageRollbackInfo("com.foo.bar"); in destroyAppData() local
288 PackageRollbackInfo info = createPackageRollbackInfo("com.foo.bar"); in snapshotAddDataSavesSnapshottedUsersToInfo() local
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DInfoMediaManagerTest.java79 final MediaRouter.RouteInfo info = mock(MediaRouter.RouteInfo.class); in onRouteAdded_mediaDeviceNotExistInList_addMediaDevice() local
93 final MediaRouter.RouteInfo info = mock(MediaRouter.RouteInfo.class); in onRouteAdded_mediaDeviceExistInList_doNothing() local
109 final MediaRouter.RouteInfo info = mock(MediaRouter.RouteInfo.class); in onRouteRemoved_mediaDeviceExistInList_removeMediaDevice() local
125 final MediaRouter.RouteInfo info = mock(MediaRouter.RouteInfo.class); in onRouteRemoved_mediaDeviceNotExistInList_doNothing() 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
334 TrackInfo *info = &mSelectedTracks.editItemAt(i); in selectTrack() local
369 TrackInfo *info = &mSelectedTracks.editItemAt(mSelectedTracks.size() - 1); in selectTrack() local
411 TrackInfo *info = &mSelectedTracks.editItemAt(i); in unselectTrack() local
423 TrackInfo *info = &mSelectedTracks.editItemAt(i); in unselectTrack() local
434 void NuMediaExtractor::releaseTrackSamples(TrackInfo *info) { in releaseTrackSamples()
460 TrackInfo *info = &mSelectedTracks.editItemAt(i); in fetchAllTrackSamples() local
488 void NuMediaExtractor::fetchTrackSamples(TrackInfo *info, in fetchTrackSamples()
566 TrackInfo *info = &mSelectedTracks.editItemAt(minIndex); in advance() local
654 TrackInfo *info = &mSelectedTracks.editItemAt(minIndex); in readSampleData() 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/base/media/java/android/media/
DMediaRouter.java223 final RouteInfo info = new RouteInfo(mSystemCategory); in updateAudioRoutes() local
387 void setSelectedRoute(RouteInfo info, boolean explicit) { in setSelectedRoute()
944 CallbackInfo info; in addCallback() local
975 final CallbackInfo info = sStatic.mCallbacks.get(i); in findCallbackInfo() local
1089 static boolean matchesDeviceAddress(WifiDisplay display, RouteInfo info) { in matchesDeviceAddress()
1109 public void addUserRoute(UserRouteInfo info) { in addUserRoute()
1116 public void addRouteInt(RouteInfo info) { in addRouteInt()
1120 static void addRouteStatic(RouteInfo info) { in addRouteStatic()
1149 public void removeUserRoute(UserRouteInfo info) { in removeUserRoute()
1160 final RouteInfo info = sStatic.mRoutes.get(i); in clearUserRoutes() local
[all …]
/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/av/media/libstagefright/filters/
DMediaFilter.cpp230 BufferInfo info; in allocateBuffersOnPort() local
264 BufferInfo *info = &mBuffers[portIndex].editItemAt(i); in findBufferByID() local
279 void MediaFilter::postFillThisBuffer(BufferInfo *info) { in postFillThisBuffer()
299 void MediaFilter::postDrainThisBuffer(BufferInfo *info) { in postDrainThisBuffer()
324 BufferInfo *info = &mBuffers[kPortIndexInput].editItemAt(i); in requestFillEmptyInput() local
514 BufferInfo *info = findBufferByID(kPortIndexInput, bufferID); in onInputBufferFilled() local
586 BufferInfo *info = findBufferByID(kPortIndexOutput, bufferID); in onOutputBufferDrained() local
639 BufferInfo *info = &mBuffers[kPortIndexInput].editItemAt(i); in onFlush() local
644 BufferInfo *info = &mBuffers[kPortIndexOutput].editItemAt(i); in onFlush() 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/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/av/media/libstagefright/rtsp/
DARTPSession.cpp81 TrackInfo *info = &mTracks.editItemAt(mTracks.size() - 1); in setup() local
117 TrackInfo *info = &mTracks.editItemAt(i); in ~ARTPSession() local
143 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived() local
186 TrackInfo *info = &mTracks.editItemAt(trackIndex); in onMessageReceived() local
/frameworks/av/media/libstagefright/foundation/
DALooperRoster.cpp45 HandlerInfo info; in registerHandler() local
65 const HandlerInfo &info = mHandlers.valueAt(index); in unregisterHandler() local
84 const HandlerInfo &info = mHandlers.valueAt(i); in unregisterStaleHandlers() local
138 HandlerInfo &info = mHandlers.editValueAt(i); in dump() local

12345678910>>...39