Home
last modified time | relevance | path

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

12345678910>>...32

/packages/apps/Launcher3/src/com/android/launcher3/util/
DShortcutUtil.java29 public static boolean supportsShortcuts(ItemInfo info) { in supportsShortcuts()
36 public static boolean supportsDeepShortcuts(ItemInfo info) { in supportsDeepShortcuts()
43 public static String getShortcutIdIfPinnedShortcut(ItemInfo info) { in getShortcutIdIfPinnedShortcut()
51 public static String[] getPersonKeysIfPinnedShortcut(ItemInfo info) { in getPersonKeysIfPinnedShortcut()
59 public static boolean isDeepShortcut(ItemInfo info) { in isDeepShortcut()
64 private static boolean isActive(ItemInfo info) { in isActive()
70 private static boolean isApp(ItemInfo info) { in isApp()
74 private static boolean isPinnedShortcut(ItemInfo info) { in isPinnedShortcut()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DVendorServiceInfoTest.java63 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME); in testServiceNameWithDefaults() local
75 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=start"); in startService() local
84 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=bind"); in bindService() local
91 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=startForeground"); in startServiceInForeground() local
98 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#trigger=asap"); in triggerAsap() local
104 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#trigger=userUnlocked"); in triggerUnlocked() local
116 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#user=foreground"); in userScopeForeground() local
123 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#user=system"); in userScopeSystem() local
130 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#user=all"); in userScopeAll() local
143 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME in allArgs() local
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.java82 SubscriptionInfo info = mock(SubscriptionInfo.class); in setUp() local
120 DataUsageController.DataUsageInfo info = new DataUsageController.DataUsageInfo(); in refreshUi_hasUsage_titleSet() local
134 DataUsageController.DataUsageInfo info = new DataUsageController.DataUsageInfo(); in refreshUi_noLimits_doesntSetDataLimitText() local
148 DataUsageController.DataUsageInfo info = new DataUsageController.DataUsageInfo(); in refreshUi_hasLimit_setsDataLimitText() local
164 DataUsageController.DataUsageInfo info = new DataUsageController.DataUsageInfo(); in refreshUi_hasWarning_setsDataLimitText() local
180 DataUsageController.DataUsageInfo info = new DataUsageController.DataUsageInfo(); in refreshUi_hasWarningAndLimit_setsDataLimitText() local
198 DataUsageController.DataUsageInfo info = new DataUsageController.DataUsageInfo(); in refreshUi_endTimeIsGreaterThanOneDay_setsBillingCycleText() local
216 DataUsageController.DataUsageInfo info = new DataUsageController.DataUsageInfo(); in refreshUi_endTimeIsLessThanOneDay_setsBillingCycleText() local
230 DataUsageController.DataUsageInfo info = new DataUsageController.DataUsageInfo(); in refreshUi_endTimeIsNow_setsBillingCycleText() local
244 DataUsageController.DataUsageInfo info = new DataUsageController.DataUsageInfo(); in refreshUi_hasCarrierName_hasRecentUpdate_setsCarrierInfoText() local
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryInfoTest.java104 BatteryInfo info = BatteryInfo.getBatteryInfoOld(mContext, in testGetBatteryInfo_hasStatusLabel() local
114 BatteryInfo info = BatteryInfo.getBatteryInfoOld(mContext, mChargingBatteryBroadcast, in testGetBatteryInfo_doNotShowChargingMethod_hasRemainingTime() local
123 BatteryInfo info = BatteryInfo.getBatteryInfoOld(mContext, mChargingBatteryBroadcast, in testGetBatteryInfo_doNotShowChargingMethod_noRemainingTime() local
133 BatteryInfo info = BatteryInfo.getBatteryInfoOld(mContext, mChargingBatteryBroadcast, in testGetBatteryInfo_pluggedInUsingShortString_usesCorrectData() local
145 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mDisChargingBatteryBroadcast, in testGetBatteryInfo_basedOnUsageTrueMoreThanFifteenMinutes_usesCorrectString() local
165 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mDisChargingBatteryBroadcast, in testGetBatteryInfo_basedOnUsageTrueLessThanSevenMinutes_usesCorrectString() local
185 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mDisChargingBatteryBroadcast, in getBatteryInfo_MoreThanOneDay_suggestionLabelIsCorrectString() local
198 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mDisChargingBatteryBroadcast, in testGetBatteryInfo_basedOnUsageTrueBetweenSevenAndFifteenMinutes_usesCorrectString() local
213 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mDisChargingBatteryBroadcast, in testGetBatteryInfo_basedOnUsageFalse_usesDefaultString() local
230 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mChargingBatteryBroadcast, in testGetBatteryInfo_charging_usesChargeTime() local
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/
DInputMethodUtilTest.java132 InputMethodInfo info = createMockInputMethodInfoWithSubtypes( in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList() local
165 InputMethodInfo info = createMockInputMethodInfoWithSubtypes(mPackageManager, in getPackageIcon_hasApplicationIcon() local
173 InputMethodInfo info = createMockInputMethodInfoWithSubtypes(mPackageManager, in getPackageIcon_noApplicationIcon() local
183 InputMethodInfo info = createMockInputMethodInfoWithSubtypes(mPackageManager, in getPackageLabel() local
191 InputMethodInfo info = createMockInputMethodInfoWithSubtypes(mPackageManager, in getSummaryString() local
199 InputMethodInfo info = createMockInputMethodInfo(mPackageManager, DUMMY_PACKAGE_NAME); in isInputMethodEnabled_isDisabled_returnsFalse() local
208 InputMethodInfo info = createMockInputMethodInfo(mPackageManager, DUMMY_PACKAGE_NAME); in isInputMethodEnabled_isEnabled_returnsTrue() local
217 InputMethodInfo info = createMockInputMethodInfo(mPackageManager, DUMMY_PACKAGE_NAME); in enableInputMethod_alreadyEnabled_remainsUnchanged() local
220 InputMethodUtil.enableInputMethod(mContext.getContentResolver(), info); in enableInputMethod_alreadyEnabled_remainsUnchanged() local
230 InputMethodInfo info = createMockInputMethodInfo(mPackageManager, DUMMY_PACKAGE_NAME); in enableInputMethod_noEnabledInputMethods_addsIME() local
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/
DAppLinkStatePreferenceControllerTest.java94 ApplicationInfo info = new ApplicationInfo(); in refreshUi_isBrowserApp_isDisabled() local
114 ApplicationInfo info = new ApplicationInfo(); in refreshUi_isNotBrowserApp_noDomainUrls_isDisabled() local
135 ApplicationInfo info = new ApplicationInfo(); in refreshUi_isNotBrowserApp_hasDomainUrls_isEnabled() local
156 ApplicationInfo info = new ApplicationInfo(); in refreshUi_isNotBrowserApp_hasDomainUrls_defaultState_entrySetToAsk() local
178 ApplicationInfo info = new ApplicationInfo(); in refreshUi_isNotBrowserApp_hasDomainUrls_askState_entrySetToAsk() local
202 ApplicationInfo info = new ApplicationInfo(); in refreshUi_isNotBrowserApp_hasDomainUrls_alwaysState_entrySetToAlways() local
226 ApplicationInfo info = new ApplicationInfo(); in refreshUi_isNotBrowserApp_hasDomainUrls_neverState_entrySetToNever() local
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/manageapplications/
DManageApplicationsUnitTest.java49 final ApplicationInfo info = new ApplicationInfo(); in getCompositeFilter_filtersVolumeForAudio() local
65 final ApplicationInfo info = new ApplicationInfo(); in getCompositeFilter_filtersVolumeForVideo() local
81 final ApplicationInfo info = new ApplicationInfo(); in getCompositeFilter_filtersVolumeForGames() local
113 final ApplicationInfo info = new ApplicationInfo(); in getCompositeFilter_worksWithInstantApps() local
130 final ApplicationInfo info = new ApplicationInfo(); in getCompositeFilter_worksForLegacyPrivateSettings() local
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java91 protected boolean isInstantApp(ApplicationInfo info) { in isInstantApp()
106 PackageInfo info = mPackageManager.getPackageInfo(packageName, in updateIconsForPkg() local
123 final ItemInfoWithIcon info) { in updateIconInBackground()
170 public synchronized void getTitleAndIcon(ItemInfoWithIcon info, in getTitleAndIcon()
180 public synchronized void getTitleAndIcon(ItemInfoWithIcon info, boolean useLowResIcon) { in getTitleAndIcon()
194 public synchronized String getTitleNoCache(ComponentWithLabel info) { in getTitleNoCache()
224 protected void applyCacheEntry(CacheEntry entry, ItemInfoWithIcon info) { in applyCacheEntry()
230 public Drawable getFullResIcon(LauncherActivityInfo info) { in getFullResIcon()
234 public Drawable getFullResIcon(LauncherActivityInfo info, boolean flattenDrawable) { in getFullResIcon()
255 void reapplyItemInfo(ItemInfoWithIcon info); in reapplyItemInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DCachedStorageValuesHelperTest.java100 final PrivateStorageInfo info = mCachedValuesHelper.getCachedPrivateStorageInfo(); in getCachedPrivateStorageInfo_cachedValuesAreLoaded() local
167 final PrivateStorageInfo info = mCachedValuesHelper.getCachedPrivateStorageInfo(); in getCachedPrivateStorageInfo_nullIfDataIsStale() local
220 final PrivateStorageInfo info = mCachedValuesHelper.getCachedPrivateStorageInfo(); in getCachedPrivateStorageInfo_nullIfWrongUser() local
253 final PrivateStorageInfo info = mCachedValuesHelper.getCachedPrivateStorageInfo(); in getCachedPrivateStorageInfo_nullIfEmpty() local
278 final PrivateStorageInfo info = new PrivateStorageInfo(1000L, 6000L); in cacheResult_succeeds() local
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DAccessibilityTest.java59 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in test_announceSelected() local
66 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testNullItemDetails_NoActionClick() local
84 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in test_routesAccessibilityClicks() local
93 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in test_routesAccessibilityLongClicks() local
/packages/apps/Launcher3/src/com/android/launcher3/
DAppInfo.java67 public AppInfo(Context context, LauncherActivityInfo info, UserHandle user) { in AppInfo()
71 public AppInfo(LauncherActivityInfo info, UserHandle user, boolean quietModeEnabled) { in AppInfo()
83 public AppInfo(AppInfo info) { in AppInfo() method in AppInfo
105 public static Intent makeLaunchIntent(LauncherActivityInfo info) { in makeLaunchIntent()
117 ItemInfoWithIcon info, LauncherActivityInfo lai) { in updateRuntimeFlagsForActivityTarget()
DInstallShortcutReceiver.java104 private static void addToQueue(Context context, PendingInstallShortcutInfo info) { in addToQueue()
131 PendingInstallShortcutInfo info = decode(encoded, context); in flushQueueInBackground() local
193 PendingInstallShortcutInfo info = createPendingInfo(context, data); in onReceive() local
229 PendingInstallShortcutInfo info = new PendingInstallShortcutInfo( in createPendingInfo() local
240 PendingInstallShortcutInfo info = createPendingInfo(context, data); in fromShortcutIntent() local
244 public static void queueShortcut(ShortcutInfo info, Context context) { in queueShortcut()
248 public static void queueWidget(AppWidgetProviderInfo info, int widgetId, Context context) { in queueWidget()
278 private static void queuePendingShortcutInfo(PendingInstallShortcutInfo info, Context context) { in queuePendingShortcutInfo()
307 ActivityInfo info = pm.getActivityInfo(intent.getComponent(), 0); in ensureValidName() local
347 public PendingInstallShortcutInfo(LauncherActivityInfo info, Context context) { in PendingInstallShortcutInfo()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.java149 final DataUsageController.DataUsageInfo info = createTestDataUsageInfo(now); in testSummaryUpdate_onePlan_basic() local
174 final DataUsageController.DataUsageInfo info = createTestDataUsageInfo(now); in testSummaryUpdate_noPlan_basic() local
199 final DataUsageController.DataUsageInfo info = createTestDataUsageInfo(now); in testSummaryUpdate_noCarrier_basic() local
227 final DataUsageController.DataUsageInfo info = createTestDataUsageInfo(now); in testSummaryUpdate_noPlanData_basic() local
253 final DataUsageController.DataUsageInfo info = createTestDataUsageInfo(now); in testSummaryUpdate_noLimitNoWarning() local
270 final DataUsageController.DataUsageInfo info = createTestDataUsageInfo(now); in testSummaryUpdate_warningOnly() local
291 final DataUsageController.DataUsageInfo info = createTestDataUsageInfo(now); in testSummaryUpdate_limitOnly() local
312 final DataUsageController.DataUsageInfo info = createTestDataUsageInfo(now); in testSummaryUpdate_limitAndWarning() local
335 final DataUsageController.DataUsageInfo info = createTestDataUsageInfo(now); in testSummaryUpdate_noSim_shouldSetWifiMode() local
429 DataUsageController.DataUsageInfo info = new DataUsageController.DataUsageInfo(); in createTestDataUsageInfo() local
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DBindWidgetTest.java108 LauncherAppWidgetProviderInfo info = TestViewHelpers.findWidgetProvider(this, true); in testBindNormalWidget_withConfig() local
117 LauncherAppWidgetProviderInfo info = TestViewHelpers.findWidgetProvider(this, false); in testBindNormalWidget_withoutConfig() local
126 LauncherAppWidgetProviderInfo info = TestViewHelpers.findWidgetProvider(this, false); in testUnboundWidget_removed() local
145 LauncherAppWidgetProviderInfo info = TestViewHelpers.findWidgetProvider(this, false); in testPendingWidget_autoRestored() local
158 LauncherAppWidgetProviderInfo info = TestViewHelpers.findWidgetProvider(this, true); in testPendingWidget_withConfigScreen() local
276 private void verifyWidgetPresent(LauncherAppWidgetProviderInfo info) { in verifyWidgetPresent()
292 LauncherAppWidgetProviderInfo info, boolean bindWidget) { in createWidgetInfo()
/packages/services/Telephony/src/com/android/phone/settings/
DCallForwardInfoUtil.java77 public static void setCallForwardingOption(Phone phone, CallForwardInfo info, Message message) { in setCallForwardingOption()
96 CallForwardInfo info = null; in getCallForwardInfo() local
125 private static boolean isServiceClassVoice(CallForwardInfo info) { in isServiceClassVoice()
129 private static boolean hasForwardingNumber(CallForwardInfo info) { in hasForwardingNumber()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/
DProviderEligibilityChecker.java33 public static boolean isEligible(Context context, String id, ResolveInfo info) { in isEligible()
38 private static boolean isSystemApp(String id, ResolveInfo info) { in isSystemApp()
50 private static boolean isEnabledInMetadata(Context context, String id, ResolveInfo info) { in isEnabledInMetadata()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultLiveWallpaperInfoFactory.java28 public WallpaperInfo getLiveWallpaperInfo(android.app.WallpaperInfo info) { in getLiveWallpaperInfo()
33 public WallpaperInfo getLiveWallpaperInfo(android.app.WallpaperInfo info, in getLiveWallpaperInfo()
DLiveWallpaperInfoFactory.java25 WallpaperInfo getLiveWallpaperInfo(android.app.WallpaperInfo info); in getLiveWallpaperInfo()
27 WallpaperInfo getLiveWallpaperInfo(android.app.WallpaperInfo info, boolean shouldShowTitle); in getLiveWallpaperInfo()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DMdnsDiscovery.java84 private static DiscoveredPrinter toNetworkPrinter(NsdServiceInfo info) { in toNetworkPrinter()
123 private static String getStringAttribute(NsdServiceInfo info, String key) { in getStringAttribute()
196 public void onServiceFound(final NsdServiceInfo info) { in onServiceFound()
202 public void onServiceLost(final NsdServiceInfo info) { in onServiceLost()
223 Resolver(NsdServiceInfo info) { in Resolver()
228 public void onResolveFailed(final NsdServiceInfo info, final int errorCode) { in onResolveFailed()
233 public void onServiceResolved(final NsdServiceInfo info) { in onServiceResolved()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallerInfoLookupHelper.java47 void onCallerInfoQueryComplete(Uri handle, @Nullable CallerInfo info); in onCallerInfoQueryComplete()
48 void onContactPhotoQueryComplete(Uri handle, CallerInfo info); in onContactPhotoQueryComplete()
134 CallerInfoQueryInfo info = mQueryEntries.get(handle); in startLookup() local
155 CallerInfoQueryInfo info = new CallerInfoQueryInfo(); in startLookup() local
190 CallerInfoQueryInfo info = mQueryEntries.get(handle); in makeCallerInfoQueryListener() local
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoaderTest.java83 UserInfo info = new UserInfo(); in setUp() local
115 ApplicationInfo info = in testLegacyGamesAreFiltered() local
138 UserInfo info = new UserInfo(); in testMultipleUsers() local
178 ApplicationInfo info = new ApplicationInfo(); in testRemovedPackageDoesNotCrash() local
192 UserInfo info = new UserInfo(); in testPackageIsNotDoubleCounted() local
234 ApplicationInfo info = new ApplicationInfo(); in addPackage() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageInfoController.java28 public void updateDataLimit(DataUsageInfo info, NetworkPolicy policy) { in updateDataLimit()
45 public long getSummaryLimit(DataUsageInfo info) { in getSummaryLimit()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageInfoController.java28 public void updateDataLimit(DataUsageInfo info, NetworkPolicy policy) { in updateDataLimit()
45 public long getSummaryLimit(DataUsageInfo info) { in getSummaryLimit()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageAsyncLoaderTest.java83 UserInfo info = new UserInfo(); in setUp() local
123 ApplicationInfo info = in testLegacyGamesAreFiltered() local
146 UserInfo info = new UserInfo(); in testMultipleUsers() local
185 ApplicationInfo info = new ApplicationInfo(); in testRemovedPackageDoesNotCrash() local
199 UserInfo info = new UserInfo(); in testPackageIsNotDoubleCounted() local
243 ApplicationInfo info = new ApplicationInfo(); in addPackage() local
/packages/modules/Cronet/tests/apitest/src/org/chromium/net/test/
DCronetApiTest.java95 UrlRequest request, UrlResponseInfo info, String newLocationUrl) { in onRedirectReceived()
100 public void onResponseStarted(UrlRequest request, UrlResponseInfo info) { in onResponseStarted()
106 UrlRequest request, UrlResponseInfo info, ByteBuffer byteBuffer) { in onReadCompleted()
113 public void onSucceeded(UrlRequest request, UrlResponseInfo info) { in onSucceeded()
120 public void onFailed(UrlRequest request, UrlResponseInfo info, CronetException error) { in onFailed()

12345678910>>...32