/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadService.java | 553 DownloadInfo info = new DownloadInfo( in insertDownload() local 581 Log.v(Constants.TAG, "ID : " + info.id); in insertDownload() 582 Log.v(Constants.TAG, "URI : " + ((info.uri != null) ? "yes" : "no")); in insertDownload() 583 Log.v(Constants.TAG, "NO_INTEG: " + info.noIntegrity); in insertDownload() 584 Log.v(Constants.TAG, "HINT : " + info.hint); in insertDownload() 585 Log.v(Constants.TAG, "FILENAME: " + info.filename); in insertDownload() 586 Log.v(Constants.TAG, "MIMETYPE: " + info.mimetype); in insertDownload() 587 Log.v(Constants.TAG, "DESTINAT: " + info.destination); in insertDownload() 588 Log.v(Constants.TAG, "VISIBILI: " + info.visibility); in insertDownload() 589 Log.v(Constants.TAG, "CONTROL : " + info.control); in insertDownload() [all …]
|
/packages/apps/Email/tests/src/com/android/email/mail/ |
D | StoreTests.java | 35 Store.StoreInfo info = Store.StoreInfo.getStoreInfo(storeUri, getContext()); in testStoreLookupPOP() local 37 assertNotNull("storeInfo null", info); in testStoreLookupPOP() 38 assertNotNull("scheme null", info.mScheme); in testStoreLookupPOP() 39 assertNotNull("classname null", info.mClassName); in testStoreLookupPOP() 40 assertFalse(info.mPushSupported); in testStoreLookupPOP() 41 assertEquals(Email.VISIBLE_LIMIT_DEFAULT, info.mVisibleLimitDefault); in testStoreLookupPOP() 42 assertEquals(Email.VISIBLE_LIMIT_INCREMENT, info.mVisibleLimitIncrement); in testStoreLookupPOP() 53 Store.StoreInfo info = Store.StoreInfo.getStoreInfo(storeUri, getContext()); in testStoreLookupIMAP() local 55 assertNotNull("storeInfo null", info); in testStoreLookupIMAP() 56 assertNotNull("scheme null", info.mScheme); in testStoreLookupIMAP() [all …]
|
/packages/apps/Launcher/src/com/android/launcher/ |
D | LauncherModel.java | 187 for (ResolveInfo info : matches) { in addPackage() 189 adapter.add(makeAndCacheApplicationInfo(packageManager, cache, info, launcher)); in addPackage() 221 for (ApplicationInfo info : toRemove) { in removePackage() 223 adapter.remove(info); in removePackage() 224 cache.remove(info.intent.getComponent()); in removePackage() 250 final ResolveInfo info = matches.get(i); in updatePackage() local 252 info.activityInfo.applicationInfo.packageName, info.activityInfo.name); in updatePackage() 254 updateAndCacheApplicationInfo(packageManager, info, applicationInfo, launcher); in updatePackage() 268 private void updateAndCacheApplicationInfo(PackageManager packageManager, ResolveInfo info, in updateAndCacheApplicationInfo() argument 271 updateApplicationInfoTitleAndIcon(packageManager, info, applicationInfo, context); in updateAndCacheApplicationInfo() [all …]
|
D | ApplicationInfo.java | 67 public ApplicationInfo(ApplicationInfo info) { in ApplicationInfo() argument 68 super(info); in ApplicationInfo() 69 title = info.title.toString(); in ApplicationInfo() 70 intent = new Intent(info.intent); in ApplicationInfo() 71 if (info.iconResource != null) { in ApplicationInfo() 73 iconResource.packageName = info.iconResource.packageName; in ApplicationInfo() 74 iconResource.resourceName = info.iconResource.resourceName; in ApplicationInfo() 76 icon = info.icon; in ApplicationInfo() 77 filtered = info.filtered; in ApplicationInfo() 78 customIcon = info.customIcon; in ApplicationInfo()
|
D | ItemInfo.java | 87 ItemInfo(ItemInfo info) { in ItemInfo() argument 88 id = info.id; in ItemInfo() 89 cellX = info.cellX; in ItemInfo() 90 cellY = info.cellY; in ItemInfo() 91 spanX = info.spanX; in ItemInfo() 92 spanY = info.spanY; in ItemInfo() 93 screen = info.screen; in ItemInfo() 94 itemType = info.itemType; in ItemInfo() 95 container = info.container; in ItemInfo()
|
D | ApplicationsAdapter.java | 41 final ApplicationInfo info = getItem(position); in getView() local 47 if (!info.filtered) { in getView() 48 info.icon = Utilities.createIconThumbnail(info.icon, getContext()); in getView() 49 info.filtered = true; in getView() 53 textView.setCompoundDrawablesWithIntrinsicBounds(null, info.icon, null, null); in getView() 54 textView.setText(info.title); in getView()
|
D | Launcher.java | 582 View createShortcut(ApplicationInfo info) { in createShortcut() argument 584 (ViewGroup) mWorkspace.getChildAt(mWorkspace.getCurrentScreen()), info); in createShortcut() 596 View createShortcut(int layoutResId, ViewGroup parent, ApplicationInfo info) { in createShortcut() argument 599 if (!info.filtered) { in createShortcut() 600 info.icon = Utilities.createIconThumbnail(info.icon, this); in createShortcut() 601 info.filtered = true; in createShortcut() 604 favorite.setCompoundDrawablesWithIntrinsicBounds(null, info.icon, null, null); in createShortcut() 605 favorite.setText(info.title); in createShortcut() 606 favorite.setTag(info); in createShortcut() 623 final ApplicationInfo info = infoFromApplicationIntent(context, data); in completeAddApplication() [all …]
|
D | Workspace.java | 911 void addApplicationShortcut(ApplicationInfo info, CellLayout.CellInfo cellInfo) { in addApplicationShortcut() argument 912 addApplicationShortcut(info, cellInfo, false); in addApplicationShortcut() 915 void addApplicationShortcut(ApplicationInfo info, CellLayout.CellInfo cellInfo, in addApplicationShortcut() argument 921 onDropExternal(result[0], result[1], info, layout, insertAtFirst); in addApplicationShortcut() 941 final ItemInfo info = (ItemInfo)cell.getTag(); in onDrop() local 943 LauncherModel.moveItemInDatabase(mLauncher, info, in onDrop() 970 ItemInfo info = (ItemInfo) dragInfo; in onDropExternal() local 974 switch (info.itemType) { in onDropExternal() 977 if (info.container == NO_ID) { in onDropExternal() 979 info = new ApplicationInfo((ApplicationInfo) info); in onDropExternal() [all …]
|
D | DragController.java | 41 void onDragStart(View v, DragSource source, Object info, int dragAction); in onDragStart() argument 68 void startDrag(View v, DragSource source, Object info, int dragAction); in startDrag() argument
|
D | UserFolder.java | 68 void bind(FolderInfo info) { in bind() argument 69 super.bind(info); in bind() 70 setContentAdapter(new ApplicationsAdapter(mContext, ((UserFolderInfo) info).contents)); in bind()
|
/packages/apps/Settings/src/com/android/settings/battery_history/ |
D | BatteryHistory.java | 153 public abstract void getInfo(StringBuilder info); in getInfo() argument 251 public void getInfo(StringBuilder info) { in getInfo() argument 252 info.append(getString(R.string.battery_history_cpu_usage, mProcess)); in getInfo() 253 info.append("\n\n"); in getInfo() 254 info.append(getString(R.string.battery_history_user_time)); in getInfo() 255 formatTime(mUsage[0] * 10, info); in getInfo() 256 info.append('\n'); in getInfo() 257 info.append(getString(R.string.battery_history_system_time)); in getInfo() 258 formatTime((mUsage[1] - mUsage[0]) * 10, info); in getInfo() 259 info.append('\n'); in getInfo() [all …]
|
/packages/apps/IM/src/com/android/im/service/ |
D | StatusBarNotifier.java | 113 NotificationInfo info = mNotificationInfos.get(providerId); in dismissNotifications() local 114 if (info != null) { in dismissNotifications() 115 mNotificationManager.cancel(info.computeNotificationId()); in dismissNotifications() 122 NotificationInfo info; in dismissChatNotification() local 125 info = mNotificationInfos.get(providerId); in dismissChatNotification() 126 if (info == null) { in dismissChatNotification() 129 removed = info.removeItem(username); in dismissChatNotification() 133 if (info.getMessage() == null) { in dismissChatNotification() 135 mNotificationManager.cancel(info.computeNotificationId()); in dismissChatNotification() 139 " mTitle=" + info.getTitle() + in dismissChatNotification() [all …]
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
D | AccountSetupAccountTypeUnitTests.java | 81 Store.StoreInfo info = new Store.StoreInfo(); in testStoreTypeLimits() local 82 info.mAccountInstanceLimit = -1; in testStoreTypeLimits() 83 info.mScheme = "scheme1"; in testStoreTypeLimits() 84 assertTrue("no limit", activity.checkAccountInstanceLimit(info)); in testStoreTypeLimits() 87 info.mAccountInstanceLimit = 3; in testStoreTypeLimits() 88 assertTrue("limit, but not reached", activity.checkAccountInstanceLimit(info)); in testStoreTypeLimits() 91 info.mAccountInstanceLimit = 2; in testStoreTypeLimits() 92 assertFalse("limit, reached", activity.checkAccountInstanceLimit(info)); in testStoreTypeLimits()
|
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
D | BookmarkPicker.java | 218 ResolveInfo info = resolveList.get(i); in fillAdapterList() local 226 map.put(KEY_TITLE, getResolveInfoTitle(info)); in fillAdapterList() 227 map.put(KEY_RESOLVE_INFO, info); in fillAdapterList() 233 private String getResolveInfoTitle(ResolveInfo info) { in getResolveInfoTitle() argument 234 CharSequence label = info.loadLabel(getPackageManager()); in getResolveInfoTitle() 235 if (label == null) label = info.activityInfo.name; in getResolveInfoTitle() 243 ResolveInfo info = mResolveList.get(position); in onListItemClick() 249 Intent intent = getIntentForResolveInfo(info, Intent.ACTION_MAIN); in onListItemClick() 251 finish(intent, getResolveInfoTitle(info)); in onListItemClick() 257 startShortcutActivity(info); in onListItemClick() [all …]
|
/packages/apps/IM/src/com/android/im/imps/ |
D | ImpsLog.java | 74 public static void log(String info) { in log() argument 76 Log.d(TAG, /* DateFormat.format("kk:mm:ss ", new Date()) + */ info); in log() 84 public static void logError(String info, Throwable t) { in logError() argument 85 Log.e(TAG, /* DateFormat.format("kk:mm:ss ", new Date()) + */ info, t); in logError() 88 public static void logError(String info) { in logError() argument 89 Log.e(TAG, /* DateFormat.format("kk:mm:ss ", new Date()) + */ info); in logError()
|
D | ImpsTransactionManager.java | 103 int code, String info) { in notifyErrorResponse() argument 109 tx.notifyError(new ImErrorInfo(code, info)); in notifyErrorResponse() 111 ImpsLog.log("Ignoring possible server transaction error " + code + info); in notifyErrorResponse()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | RecentCallsListActivity.java | 314 ContactInfo info = mContactInfo.get(ciq.number); in queryContactInfo() local 315 if (info != null && info != ContactInfo.EMPTY) { in queryContactInfo() 329 info = new ContactInfo(); in queryContactInfo() 330 info.personId = phonesCursor.getLong(PERSON_ID_COLUMN_INDEX); in queryContactInfo() 331 info.name = phonesCursor.getString(NAME_COLUMN_INDEX); in queryContactInfo() 332 info.type = phonesCursor.getInt(PHONE_TYPE_COLUMN_INDEX); in queryContactInfo() 333 info.label = phonesCursor.getString(LABEL_COLUMN_INDEX); in queryContactInfo() 334 info.number = phonesCursor.getString(MATCHED_NUMBER_COLUMN_INDEX); in queryContactInfo() 338 info.formattedNumber = null; in queryContactInfo() 340 mContactInfo.put(ciq.number, info); in queryContactInfo() [all …]
|
/packages/apps/Phone/src/com/android/phone/ |
D | CallCard.java | 487 CallerInfo info = PhoneUtils.getCallerInfo(getContext(), null /* conn */); in displayMainCallStatus() local 488 updateDisplayForPerson(info, Connection.PRESENTATION_ALLOWED, false, call); in displayMainCallStatus() 510 CallerInfo info = null; in displayMainCallStatus() local 512 info = ((PhoneUtils.CallerInfoToken) o).currentInfo; in displayMainCallStatus() 514 info = (CallerInfo) o; in displayMainCallStatus() 517 if (info != null) { in displayMainCallStatus() 518 if (updatedNumber != null && !updatedNumber.equals(info.phoneNumber)) { in displayMainCallStatus() 523 if (updatedCnapName != null && !updatedCnapName.equals(info.cnapName)) { in displayMainCallStatus() 533 PhoneUtils.CallerInfoToken info = in displayMainCallStatus() local 535 updateDisplayForPerson(info.currentInfo, presentation, !info.isFinal, call); in displayMainCallStatus() [all …]
|
D | BluetoothHeadsetService.java | 136 BluetoothAudioGateway.IncomingConnectionInfo info = 149 ") connection from " + info.mAddress + " on channel " + info.mRfcommChan); 153 priority = mBinder.getPriority(info.mAddress); 158 mBluetooth.disconnectRemoteDeviceAcl(info.mAddress); 164 mHeadsetAddress = info.mAddress; 166 info.mSocketFd, info.mRfcommChan, mConnectedStatusHandler); 173 if (!info.mAddress.equals(mHeadsetAddress)) { 176 ", disconnecting " + info.mAddress); 177 mBluetooth.disconnectRemoteDeviceAcl(info.mAddress); 184 Log.i(TAG, "Incoming and outgoing connections to " + info.mAddress + [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | AppWidgetPickActivity.java | 172 AppWidgetProviderInfo info = appWidgets.get(i); in putAppWidgetItems() local 174 CharSequence label = info.label; in putAppWidgetItems() 177 if (info.icon != 0) { in putAppWidgetItems() 178 icon = mPackageManager.getDrawable(info.provider.getPackageName(), info.icon, null); in putAppWidgetItems() 180 Log.w(TAG, "Can't load icon drawable 0x" + Integer.toHexString(info.icon) in putAppWidgetItems() 181 + " for provider: " + info.provider); in putAppWidgetItems() 187 item.packageName = info.provider.getPackageName(); in putAppWidgetItems() 188 item.className = info.provider.getClassName(); in putAppWidgetItems()
|
D | ManageApplications.java | 265 ApplicationInfo info; 356 info = mPm.getApplicationInfo(pkgName, 0); 568 for (ApplicationInfo info : newList) { in updateAppList() 569 String pkgName = info.packageName; in updateAppList() 953 ApplicationInfo info = appList.get(i); in initMapFromList() local 954 AppInfo aInfo = mCache.getEntry(info.packageName); in initMapFromList() 956 aInfo = new AppInfo(info.packageName, i, in initMapFromList() 957 info.packageName, -1, mComputingSizeStr); in initMapFromList() 958 if (localLOGV) Log.i(TAG, "Creating entry pkg:"+info.packageName+" to map"); in initMapFromList() 1074 ApplicationInfo info = mAppLocalList.get(i); in adjustIndex() local [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | ImageGrid.java | 176 AdapterView.AdapterContextMenuInfo info = in onCreateContextMenu() local 179 if (info.position > 0 || maxed) { in onCreateContextMenu() 182 int position = info.position; in onCreateContextMenu() 194 AdapterView.AdapterContextMenuInfo info = in getContextMenuPosition() local 196 int pos = info.position; in getContextMenuPosition()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | AgendaByDayAdapter.java | 173 MultipleDayInfo info = iter.next(); in calculateDays() local 176 if (info.mEndDay < currentDay) { in calculateDays() 187 rowInfo.add(new RowInfo(TYPE_MEETING, info.mPosition)); in calculateDays() 227 MultipleDayInfo info = iter.next(); in calculateDays() local 230 if (info.mEndDay < currentDay) { in calculateDays() 241 rowInfo.add(new RowInfo(TYPE_MEETING, info.mPosition)); in calculateDays()
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
D | ApplicationsProvider.java | 431 for (ResolveInfo info : manager.queryIntentActivities(mainIntent, 0)) { in updateApplicationsList() 432 String title = info.loadLabel(manager).toString(); in updateApplicationsList() 434 title = info.activityInfo.name; in updateApplicationsList() 438 if (info.activityInfo.getIconResource() != 0) { in updateApplicationsList() 442 .authority(info.activityInfo.applicationInfo.packageName) in updateApplicationsList() 443 .encodedPath(String.valueOf(info.activityInfo.getIconResource())) in updateApplicationsList() 452 inserter.bind(packageCol, info.activityInfo.applicationInfo.packageName); in updateApplicationsList() 453 inserter.bind(classCol, info.activityInfo.name); in updateApplicationsList()
|
/packages/providers/ImProvider/src/com/android/providers/im/ |
D | LandingPage.java | 202 for (ResolveInfo info : plugins) { in loadPlugins() 203 if (Log.isLoggable(TAG, Log.DEBUG)) log("loadPlugins: found plugin " + info); in loadPlugins() 205 ServiceInfo serviceInfo = info.serviceInfo; in loadPlugins() 207 Log.e(TAG, "Ignore bad IM frontdoor plugin: " + info); in loadPlugins() 257 Log.e(TAG, "Ignore bad IM frontdoor plugin: " + info + ". No providers found"); in loadPlugins() 500 AdapterView.AdapterContextMenuInfo info; in onCreateContextMenu() local 502 info = (AdapterView.AdapterContextMenuInfo) menuInfo; in onCreateContextMenu() 508 Cursor providerCursor = (Cursor) getListAdapter().getItem(info.position); in onCreateContextMenu() 544 AdapterView.AdapterContextMenuInfo info; in onContextItemSelected() local 546 info = (AdapterView.AdapterContextMenuInfo) item.getMenuInfo(); in onContextItemSelected() [all …]
|