Home
last modified time | relevance | path

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

12345678910>>...45

/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageInfoControllerTest.java24 private DataUsageInfo info; field in DataUsageInfoControllerTest
29 info = new DataUsageInfo(); in setUp()
34 info.warningLevel = POSITIVE_SMALL; in testLowUsageLowWarning_LimitUsed()
35 info.limitLevel = POSITIVE_LARGE; in testLowUsageLowWarning_LimitUsed()
36 info.usageLevel = POSITIVE_SMALL; in testLowUsageLowWarning_LimitUsed()
37 assertThat(mInfoController.getSummaryLimit(info)).isEqualTo(info.limitLevel); in testLowUsageLowWarning_LimitUsed()
42 info.warningLevel = POSITIVE_LARGE; in testLowUsageEqualWarning_LimitUsed()
43 info.limitLevel = POSITIVE_LARGE; in testLowUsageEqualWarning_LimitUsed()
44 info.usageLevel = POSITIVE_SMALL; in testLowUsageEqualWarning_LimitUsed()
45 assertThat(mInfoController.getSummaryLimit(info)).isEqualTo(info.limitLevel); in testLowUsageEqualWarning_LimitUsed()
[all …]
DDataUsageSummaryPreferenceControllerTest.java149 final DataUsageController.DataUsageInfo info = createTestDataUsageInfo(now); in testSummaryUpdate_onePlan_basic() local
153 when(mDataUsageController.getDataUsageInfo(any())).thenReturn(info); in testSummaryUpdate_onePlan_basic()
155 mController.setCarrierValues(CARRIER_NAME, now - UPDATE_BACKOFF_MS, info.cycleEnd, intent); in testSummaryUpdate_onePlan_basic()
164 verify(mSummaryPreference).setUsageInfo(info.cycleEnd, now - UPDATE_BACKOFF_MS, in testSummaryUpdate_onePlan_basic()
174 final DataUsageController.DataUsageInfo info = createTestDataUsageInfo(now); in testSummaryUpdate_noPlan_basic() local
178 when(mDataUsageController.getDataUsageInfo(any())).thenReturn(info); in testSummaryUpdate_noPlan_basic()
180 mController.setCarrierValues(CARRIER_NAME, now - UPDATE_BACKOFF_MS, info.cycleEnd, intent); in testSummaryUpdate_noPlan_basic()
189 verify(mSummaryPreference).setUsageInfo(info.cycleEnd, now - UPDATE_BACKOFF_MS, in testSummaryUpdate_noPlan_basic()
199 final DataUsageController.DataUsageInfo info = createTestDataUsageInfo(now); in testSummaryUpdate_noCarrier_basic() local
201 when(mDataUsageController.getDataUsageInfo(any())).thenReturn(info); in testSummaryUpdate_noCarrier_basic()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java73 public ItemInfo info; field in LauncherAccessibilityDelegate.DragInfo
110 public void onInitializeAccessibilityNodeInfo(View host, AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo() argument
111 super.onInitializeAccessibilityNodeInfo(host, info); in onInitializeAccessibilityNodeInfo()
112 addSupportedActions(host, info, false); in onInitializeAccessibilityNodeInfo()
115 public void addSupportedActions(View host, AccessibilityNodeInfo info, boolean fromKeyboard) { in addSupportedActions() argument
122 info.addAction(mActions.get(NotificationListener.getInstanceIfConnected() != null in addSupportedActions()
128 info.addAction(mActions.get(target.getAccessibilityAction())); in addSupportedActions()
134 info.addAction(mActions.get(MOVE)); in addSupportedActions()
137 info.addAction(mActions.get(MOVE_TO_WORKSPACE)); in addSupportedActions()
140 info.addAction(mActions.get(RESIZE)); in addSupportedActions()
[all …]
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/netlink/
DTcpInfoTest.java179 final Map<TcpInfo.Field, Number> info = new LinkedHashMap<>(); in makeShortTestTcpInfoHash() local
180 info.put(TcpInfo.Field.STATE, (byte) 0x01); in makeShortTestTcpInfoHash()
181 info.put(TcpInfo.Field.CASTATE, (byte) 0x00); in makeShortTestTcpInfoHash()
182 info.put(TcpInfo.Field.RETRANSMITS, (byte) 0x00); in makeShortTestTcpInfoHash()
183 info.put(TcpInfo.Field.PROBES, (byte) 0x00); in makeShortTestTcpInfoHash()
184 info.put(TcpInfo.Field.BACKOFF, (byte) 0x00); in makeShortTestTcpInfoHash()
185 info.put(TcpInfo.Field.OPTIONS, (byte) 0x07); in makeShortTestTcpInfoHash()
186 info.put(TcpInfo.Field.WSCALE, (byte) 0x88); in makeShortTestTcpInfoHash()
187 info.put(TcpInfo.Field.DELIVERY_RATE_APP_LIMITED, (byte) 0x00); in makeShortTestTcpInfoHash()
189 return info; in makeShortTestTcpInfoHash()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/
DVendorServiceInfoTest.java63 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME); in testServiceNameWithDefaults() local
64 assertThat(info.getIntent().getComponent()) in testServiceNameWithDefaults()
66 assertThat(info.shouldBeBound()).isFalse(); in testServiceNameWithDefaults()
67 assertThat(info.shouldBeStartedInForeground()).isFalse(); in testServiceNameWithDefaults()
68 assertThat(info.isSystemUserService()).isTrue(); in testServiceNameWithDefaults()
69 assertThat(info.isForegroundUserService()).isTrue(); in testServiceNameWithDefaults()
70 assertThat(info.shouldStartOnUnlock()).isTrue(); in testServiceNameWithDefaults()
75 VendorServiceInfo info = VendorServiceInfo.parse(SERVICE_NAME + "#bind=start"); in startService() local
76 assertThat(info.shouldBeBound()).isFalse(); in startService()
77 assertThat(info.shouldBeStartedInForeground()).isFalse(); in startService()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DDataUsageSummaryPreferenceControllerTest.java82 SubscriptionInfo info = mock(SubscriptionInfo.class); in setUp() local
83 when(info.getSubscriptionId()).thenReturn(1); in setUp()
84 ShadowSubscriptionManager.setDefaultDataSubscriptionInfo(info); in setUp()
120 DataUsageController.DataUsageInfo info = new DataUsageController.DataUsageInfo(); in refreshUi_hasUsage_titleSet() local
121 info.usageLevel = 10000; in refreshUi_hasUsage_titleSet()
122 when(mDataUsageController.getDataUsageInfo(mNetworkTemplate)).thenReturn(info); in refreshUi_hasUsage_titleSet()
127 String usedValueString = Formatter.formatBytes(mContext.getResources(), info.usageLevel, in refreshUi_hasUsage_titleSet()
134 DataUsageController.DataUsageInfo info = new DataUsageController.DataUsageInfo(); in refreshUi_noLimits_doesntSetDataLimitText() local
135 info.usageLevel = 10000; in refreshUi_noLimits_doesntSetDataLimitText()
136 info.limitLevel = -1; in refreshUi_noLimits_doesntSetDataLimitText()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DLoaderCursor.java149 final WorkspaceItemInfo info = new WorkspaceItemInfo(); in loadSimpleWorkspaceItem() local
151 info.user = user; in loadSimpleWorkspaceItem()
152 info.itemType = itemType; in loadSimpleWorkspaceItem()
153 info.title = getTitle(); in loadSimpleWorkspaceItem()
155 if (!loadIcon(info)) { in loadSimpleWorkspaceItem()
156 info.applyFrom(mIconCache.getDefaultIcon(info.user)); in loadSimpleWorkspaceItem()
161 return info; in loadSimpleWorkspaceItem()
167 protected boolean loadIcon(WorkspaceItemInfo info) { in loadIcon() argument
169 return loadIcon(info, li); in loadIcon()
176 protected boolean loadIcon(WorkspaceItemInfo info, LauncherIcons li) { in loadIcon() argument
[all …]
DAllAppsList.java99 public void add(AppInfo info, LauncherActivityInfo activityInfo) { in add() argument
100 if (!mAppFilter.shouldShowApp(info.componentName)) { in add()
103 if (findAppInfo(info.componentName, info.user) != null) { in add()
106 mIconCache.getTitleAndIcon(info, activityInfo, true /* useLowResIcon */); in add()
107 info.sectionName = mIndex.computeSectionName(info.title); in add()
109 data.add(info); in add()
119 PromiseAppInfo info = new PromiseAppInfo(installInfo); in addPromiseApp() local
120 mIconCache.getTitleAndIcon(info, info.usingLowResIcon()); in addPromiseApp()
121 info.sectionName = mIndex.computeSectionName(info.title); in addPromiseApp()
123 data.add(info); in addPromiseApp()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DShortcutUtil.java29 public static boolean supportsShortcuts(ItemInfo info) { in supportsShortcuts() argument
30 return isActive(info) && (isApp(info) || isPinnedShortcut(info)); in supportsShortcuts()
36 public static boolean supportsDeepShortcuts(ItemInfo info) { in supportsDeepShortcuts() argument
37 return isActive(info) && isApp(info); in supportsDeepShortcuts()
43 public static String getShortcutIdIfPinnedShortcut(ItemInfo info) { in getShortcutIdIfPinnedShortcut() argument
44 return isActive(info) && isPinnedShortcut(info) in getShortcutIdIfPinnedShortcut()
45 ? ShortcutKey.fromItemInfo(info).getId() : null; in getShortcutIdIfPinnedShortcut()
51 public static String[] getPersonKeysIfPinnedShortcut(ItemInfo info) { in getPersonKeysIfPinnedShortcut() argument
52 return isActive(info) && isPinnedShortcut(info) in getPersonKeysIfPinnedShortcut()
53 ? ((WorkspaceItemInfo) info).getPersonKeys() : Utilities.EMPTY_STRING_ARRAY; in getPersonKeysIfPinnedShortcut()
[all …]
DItemInfoMatcher.java36 boolean matches(ItemInfo info, ComponentName cn); in matches() argument
45 WorkspaceItemInfo info = (WorkspaceItemInfo) i; in filterItemInfos() local
46 ComponentName cn = info.getTargetComponent(); in filterItemInfos()
47 if (cn != null && matches(info, cn)) { in filterItemInfos()
48 filtered.add(info); in filterItemInfos()
51 FolderInfo info = (FolderInfo) i; in filterItemInfos() local
52 for (WorkspaceItemInfo s : info.contents) { in filterItemInfos()
59 LauncherAppWidgetInfo info = (LauncherAppWidgetInfo) i; in filterItemInfos() local
60 ComponentName cn = info.providerName; in filterItemInfos()
61 if (cn != null && matches(info, cn)) { in filterItemInfos()
[all …]
DPackageManagerHelper.java77 ApplicationInfo info = mLauncherApps.getApplicationInfo( in isAppOnSdcard() local
79 return info != null && (info.flags & ApplicationInfo.FLAG_EXTERNAL_STORAGE) != 0; in isAppOnSdcard()
87 ApplicationInfo info = mLauncherApps.getApplicationInfo(packageName, 0, user); in isAppSuspended() local
88 return info != null && isAppSuspended(info); in isAppSuspended()
105 public static boolean isAppSuspended(ApplicationInfo info) { in isAppSuspended() argument
106 return (info.flags & ApplicationInfo.FLAG_SUSPENDED) != 0; in isAppSuspended()
187 public void startDetailsActivityForInfo(ItemInfo info, Rect sourceBounds, Bundle opts) { in startDetailsActivityForInfo() argument
188 if (info instanceof PromiseAppInfo) { in startDetailsActivityForInfo()
189 PromiseAppInfo promiseAppInfo = (PromiseAppInfo) info; in startDetailsActivityForInfo()
194 if (info instanceof AppInfo) { in startDetailsActivityForInfo()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DInstallShortcutReceiver.java104 private static void addToQueue(Context context, PendingInstallShortcutInfo info) { in addToQueue() argument
105 String encoded = info.encodeToString(); in addToQueue()
131 PendingInstallShortcutInfo info = decode(encoded, context); in flushQueueInBackground() local
132 if (info == null) { in flushQueueInBackground()
136 String pkg = getIntentPackage(info.launchIntent); in flushQueueInBackground()
138 && !launcherApps.isPackageEnabledForProfile(pkg, info.user) in flushQueueInBackground()
139 && !info.isActivity) { in flushQueueInBackground()
141 Log.d(TAG, "Ignoring shortcut for absent package: " + info.launchIntent); in flushQueueInBackground()
147 installQueue.add(info.getItemInfo()); in flushQueueInBackground()
193 PendingInstallShortcutInfo info = createPendingInfo(context, data); in onReceive() local
[all …]
DBubbleTextView.java238 public void applyFromWorkspaceItem(WorkspaceItemInfo info) { in applyFromWorkspaceItem() argument
239 applyFromWorkspaceItem(info, false); in applyFromWorkspaceItem()
254 public void applyFromWorkspaceItem(WorkspaceItemInfo info, boolean promiseStateChanged) { in applyFromWorkspaceItem() argument
255 applyIconAndLabel(info); in applyFromWorkspaceItem()
256 setTag(info); in applyFromWorkspaceItem()
257 if (promiseStateChanged || (info.hasPromiseIconUi())) { in applyFromWorkspaceItem()
261 applyDotState(info, false /* animate */); in applyFromWorkspaceItem()
264 public void applyFromApplicationInfo(AppInfo info) { in applyFromApplicationInfo() argument
265 applyIconAndLabel(info); in applyFromApplicationInfo()
268 super.setTag(info); in applyFromApplicationInfo()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryInfoTest.java104 BatteryInfo info = BatteryInfo.getBatteryInfoOld(mContext, in testGetBatteryInfo_hasStatusLabel() local
108 assertThat(info.statusLabel).isEqualTo(STATUS_NOT_CHARGING); in testGetBatteryInfo_hasStatusLabel()
114 BatteryInfo info = BatteryInfo.getBatteryInfoOld(mContext, mChargingBatteryBroadcast, in testGetBatteryInfo_doNotShowChargingMethod_hasRemainingTime() local
117 assertThat(info.chargeLabel.toString()).isEqualTo(STATUS_CHARGING_TIME); in testGetBatteryInfo_doNotShowChargingMethod_hasRemainingTime()
123 BatteryInfo info = BatteryInfo.getBatteryInfoOld(mContext, mChargingBatteryBroadcast, in testGetBatteryInfo_doNotShowChargingMethod_noRemainingTime() local
126 assertThat(info.chargeLabel.toString()).isEqualTo(STATUS_CHARGING_NO_TIME); in testGetBatteryInfo_doNotShowChargingMethod_noRemainingTime()
133 BatteryInfo info = BatteryInfo.getBatteryInfoOld(mContext, mChargingBatteryBroadcast, in testGetBatteryInfo_pluggedInUsingShortString_usesCorrectData() local
136 assertThat(info.discharging).isEqualTo(false); in testGetBatteryInfo_pluggedInUsingShortString_usesCorrectData()
137 assertThat(info.chargeLabel.toString()).isEqualTo("50% - 1 min until fully charged"); in testGetBatteryInfo_pluggedInUsingShortString_usesCorrectData()
145 BatteryInfo info = BatteryInfo.getBatteryInfo(mContext, mDisChargingBatteryBroadcast, in testGetBatteryInfo_basedOnUsageTrueMoreThanFifteenMinutes_usesCorrectString() 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
95 info.packageName = TEST_PACKAGE_NAME; in refreshUi_isBrowserApp_isDisabled()
96 info.uid = TEST_PACKAGE_ID; in refreshUi_isBrowserApp_isDisabled()
97 info.sourceDir = TEST_PATH; in refreshUi_isBrowserApp_isDisabled()
98 ApplicationsState.AppEntry entry = new ApplicationsState.AppEntry(mContext, info, in refreshUi_isBrowserApp_isDisabled()
114 ApplicationInfo info = new ApplicationInfo(); in refreshUi_isNotBrowserApp_noDomainUrls_isDisabled() local
115 info.packageName = TEST_PACKAGE_NAME; in refreshUi_isNotBrowserApp_noDomainUrls_isDisabled()
116 info.uid = TEST_PACKAGE_ID; in refreshUi_isNotBrowserApp_noDomainUrls_isDisabled()
117 info.sourceDir = TEST_PATH; in refreshUi_isNotBrowserApp_noDomainUrls_isDisabled()
118 info.privateFlags = 0; in refreshUi_isNotBrowserApp_noDomainUrls_isDisabled()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadInfo.java65 public void updateFromDatabase(DownloadInfo info) { in updateFromDatabase() argument
66 info.mId = getLong(Downloads.Impl._ID); in updateFromDatabase()
67 info.mUri = getString(Downloads.Impl.COLUMN_URI); in updateFromDatabase()
68 info.mNoIntegrity = getInt(Downloads.Impl.COLUMN_NO_INTEGRITY) == 1; in updateFromDatabase()
69 info.mHint = getString(Downloads.Impl.COLUMN_FILE_NAME_HINT); in updateFromDatabase()
70 info.mFileName = getString(Downloads.Impl._DATA); in updateFromDatabase()
71 info.mMimeType = Intent.normalizeMimeType(getString(Downloads.Impl.COLUMN_MIME_TYPE)); in updateFromDatabase()
72 info.mDestination = getInt(Downloads.Impl.COLUMN_DESTINATION); in updateFromDatabase()
73 info.mVisibility = getInt(Downloads.Impl.COLUMN_VISIBILITY); in updateFromDatabase()
74 info.mStatus = getInt(Downloads.Impl.COLUMN_STATUS); in updateFromDatabase()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppService.java270 for (BluetoothOppShareInfo info : mShares) { in dump()
271 String dir = info.mDirection == BluetoothShare.DIRECTION_OUTBOUND ? " -> " : " <- "; in dump()
273 Date date = new Date(info.mTimestamp); in dump()
274 println(sb, " " + format.format(date) + dir + info.mCurrentBytes + "/" in dump()
275 + info.mTotalBytes); in dump()
723 BluetoothOppShareInfo info = new BluetoothOppShareInfo( in insertShare() local
741 Log.v(TAG, "ID : " + info.mId); in insertShare()
743 Log.v(TAG, "URI : " + info.mUri); in insertShare()
744 Log.v(TAG, "HINT : " + info.mHint); in insertShare()
745 Log.v(TAG, "FILENAME: " + info.mFilename); in insertShare()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java91 protected boolean isInstantApp(ApplicationInfo info) { in isInstantApp() argument
92 return mInstantAppResolver.isInstantApp(info); in isInstantApp()
106 PackageInfo info = mPackageManager.getPackageInfo(packageName, in updateIconsForPkg() local
110 addIconToDBAndMemCache(app, mLauncherActivityInfoCachingLogic, info, userSerial, in updateIconsForPkg()
123 final ItemInfoWithIcon info) { in updateIconInBackground() argument
133 if (info instanceof AppInfo || info instanceof WorkspaceItemInfo) { in updateIconInBackground()
134 getTitleAndIcon(info, false); in updateIconInBackground()
135 } else if (info instanceof PackageItemInfo) { in updateIconInBackground()
136 getTitleAndIconForApp((PackageItemInfo) info, false); in updateIconInBackground()
139 caller.reapplyItemInfo(info); in updateIconInBackground()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/
DInputMethodUtilTest.java100 InputMethodInfo info = createMockInputMethodInfo( in setUp()
102 when(info.getId()).thenReturn(result); in setUp()
103 when(info.isDefault(mContext)).thenReturn(result.equals( in setUp()
105 return info; in setUp()
111 InputMethodInfo info = createMockInputMethodInfo( in setUp()
113 when(info.getId()).thenReturn(result); in setUp()
114 when(info.isDefault(mContext)).thenReturn(true); in setUp()
115 return info; in setUp()
132 InputMethodInfo info = createMockInputMethodInfoWithSubtypes( in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList() local
135 .thenReturn(Collections.singletonList(info)); in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetDataLoader.java266 UpdateInfo info = new UpdateInfo(); in call()
267 info.version = mSourceVersion; in call()
268 info.index = index; in call()
269 info.size = mSize; in call()
270 return info; in call()
277 public UpdateContent(UpdateInfo info) { in UpdateContent() argument
278 mUpdateInfo = info; in UpdateContent()
286 UpdateInfo info = mUpdateInfo; in call()
287 mSourceVersion = info.version; in call()
288 if (mSize != info.size) { in call()
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfo.java173 CallerInfo info = new CallerInfo(); in getCallerInfo() local
174 info.cachedPhoto = null; in getCallerInfo()
175 info.contactExists = false; in getCallerInfo()
176 info.contactRefUri = contactRef; in getCallerInfo()
177 info.isCachedPhotoCurrent = false; in getCallerInfo()
178 info.name = null; in getCallerInfo()
179 info.needUpdate = false; in getCallerInfo()
180 info.numberLabel = null; in getCallerInfo()
181 info.numberType = 0; in getCallerInfo()
182 info.phoneLabel = null; in getCallerInfo()
[all …]
DCallerInfoUtils.java56 CallerInfo info = buildCallerInfo(context, call); in getCallerInfoForCall() local
60 if (info.numberPresentation == TelecomManager.PRESENTATION_ALLOWED) { in getCallerInfoForCall()
68 CallerInfoAsyncQuery.startQuery(QUERY_TOKEN, context, info, listener, cookie); in getCallerInfoForCall()
76 return info; in getCallerInfoForCall()
80 CallerInfo info = new CallerInfo(); in buildCallerInfo() local
84 info.cnapName = call.getCnapName(); in buildCallerInfo()
85 info.name = info.cnapName; in buildCallerInfo()
86 info.numberPresentation = call.getNumberPresentation(); in buildCallerInfo()
87 info.namePresentation = call.getCnapNamePresentation(); in buildCallerInfo()
88 info.callSubject = call.getCallSubject(); in buildCallerInfo()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/manageapplications/
DManageApplicationsUnitTest.java49 final ApplicationInfo info = new ApplicationInfo(); in getCompositeFilter_filtersVolumeForAudio() local
50 info.volumeUuid = "uuid"; in getCompositeFilter_filtersVolumeForAudio()
51 info.category = ApplicationInfo.CATEGORY_AUDIO; in getCompositeFilter_filtersVolumeForAudio()
53 appEntry.info = info; in getCompositeFilter_filtersVolumeForAudio()
65 final ApplicationInfo info = new ApplicationInfo(); in getCompositeFilter_filtersVolumeForVideo() local
66 info.volumeUuid = "uuid"; in getCompositeFilter_filtersVolumeForVideo()
67 info.category = ApplicationInfo.CATEGORY_VIDEO; in getCompositeFilter_filtersVolumeForVideo()
69 appEntry.info = info; in getCompositeFilter_filtersVolumeForVideo()
81 final ApplicationInfo info = new ApplicationInfo(); in getCompositeFilter_filtersVolumeForGames() local
82 info.volumeUuid = "uuid"; in getCompositeFilter_filtersVolumeForGames()
[all …]
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DContactInfoHelper.java169 ContactInfo info = new ContactInfo(); in getContactInfo() local
170 info.lookupUri = UriUtils.parseUriOrNull(c.getString(CallLogQuery.CACHED_LOOKUP_URI)); in getContactInfo()
171 info.name = c.getString(CallLogQuery.CACHED_NAME); in getContactInfo()
172 info.type = c.getInt(CallLogQuery.CACHED_NUMBER_TYPE); in getContactInfo()
173 info.label = c.getString(CallLogQuery.CACHED_NUMBER_LABEL); in getContactInfo()
176 info.number = in getContactInfo()
179 info.normalizedNumber = c.getString(CallLogQuery.CACHED_NORMALIZED_NUMBER); in getContactInfo()
180 info.photoId = c.getLong(CallLogQuery.CACHED_PHOTO_ID); in getContactInfo()
181 info.photoUri = in getContactInfo()
184 info.formattedNumber = c.getString(CallLogQuery.CACHED_FORMATTED_NUMBER); in getContactInfo()
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DNumbersAdapter.java67 ContactInfo info = contactInfoHelper.lookupNumber(number, countryIso); in updateView() local
68 if (info == null) { in updateView()
69 info = new ContactInfo(); in updateView()
70 info.number = number; in updateView()
72 final CharSequence locationOrType = getNumberTypeOrLocation(info, countryIso); in updateView()
73 final String displayNumber = getDisplayNumber(info); in updateView()
78 if (!TextUtils.isEmpty(info.name)) { in updateView()
79 nameForDefaultImage = info.name; in updateView()
80 callerName.setText(info.name); in updateView()
92 loadContactPhoto(info, nameForDefaultImage, quickContactBadge); in updateView()
[all …]

12345678910>>...45