/packages/apps/Calendar/src/com/android/calendar/ |
D | AsyncQueryService.java | 171 OperationInfo info = new OperationInfo(); in startQuery() local 172 info.op = Operation.EVENT_ARG_QUERY; in startQuery() 173 info.resolver = mContext.getContentResolver(); in startQuery() 175 info.handler = mHandler; in startQuery() 176 info.token = token; in startQuery() 177 info.cookie = cookie; in startQuery() 178 info.uri = uri; in startQuery() 179 info.projection = projection; in startQuery() 180 info.selection = selection; in startQuery() 181 info.selectionArgs = selectionArgs; in startQuery() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppBatch.java | 105 public BluetoothOppBatch(Context context, BluetoothOppShareInfo info) { in BluetoothOppBatch() argument 109 mTimestamp = info.mTimestamp; in BluetoothOppBatch() 110 mDirection = info.mDirection; in BluetoothOppBatch() 111 mDestination = adapter.getRemoteDevice(info.mDestination); in BluetoothOppBatch() 113 mShares.add(info); in BluetoothOppBatch() 115 if (V) Log.v(TAG, "New Batch created for info " + info.mId); in BluetoothOppBatch() 125 public void addShare(BluetoothOppShareInfo info) { in addShare() argument 126 mShares.add(info); in addShare() 128 mListener.onShareAdded(info.mId); in addShare() 138 public void deleteShare(BluetoothOppShareInfo info) { in deleteShare() argument [all …]
|
D | BluetoothOppService.java | 555 BluetoothOppShareInfo info = new BluetoothOppShareInfo( in insertShare() local 573 Log.v(TAG, "ID : " + info.mId); in insertShare() 575 Log.v(TAG, "URI : " + info.mUri); in insertShare() 576 Log.v(TAG, "HINT : " + info.mHint); in insertShare() 577 Log.v(TAG, "FILENAME: " + info.mFilename); in insertShare() 578 Log.v(TAG, "MIMETYPE: " + info.mMimetype); in insertShare() 579 Log.v(TAG, "DIRECTION: " + info.mDirection); in insertShare() 580 Log.v(TAG, "DESTINAT: " + info.mDestination); in insertShare() 581 Log.v(TAG, "VISIBILI: " + info.mVisibility); in insertShare() 582 Log.v(TAG, "CONFIRM : " + info.mConfirm); in insertShare() [all …]
|
D | BluetoothOppUtility.java | 70 BluetoothOppTransferInfo info = new BluetoothOppTransferInfo(); in queryRecord() local 74 info.mID = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID)); in queryRecord() 75 info.mStatus = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.STATUS)); in queryRecord() 76 info.mDirection = cursor.getInt(cursor in queryRecord() 78 info.mTotalBytes = cursor.getInt(cursor in queryRecord() 80 info.mCurrentBytes = cursor.getInt(cursor in queryRecord() 82 info.mTimeStamp = cursor.getLong(cursor in queryRecord() 84 info.mDestAddr = cursor.getString(cursor in queryRecord() 87 info.mFileName = cursor.getString(cursor in queryRecord() 89 if (info.mFileName == null) { in queryRecord() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
D | ContactInfoHelper.java | 53 final ContactInfo info; in lookupNumber() local 67 info = sipInfo; in lookupNumber() 76 info = phoneInfo; in lookupNumber() 80 if (info == null) { in lookupNumber() 85 if (info == ContactInfo.EMPTY) { in lookupNumber() 91 updatedInfo = info; in lookupNumber() 107 final ContactInfo info; in lookupContactFromUri() local 115 info = new ContactInfo(); in lookupContactFromUri() 118 info.lookupUri = Contacts.getLookupUri(contactId, lookupKey); in lookupContactFromUri() 119 info.name = phonesCursor.getString(PhoneQuery.NAME); in lookupContactFromUri() [all …]
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadService.java | 321 DownloadInfo info = mDownloads.get(id); in run() local 322 if (info != null) { in run() 323 updateDownload(reader, info, now); in run() 325 info = insertDownloadLocked(reader, now); in run() 328 if (info.shouldScanFile() && !scanFile(info, true, false)) { in run() 332 if (info.hasCompletionNotification()) { in run() 335 long next = info.nextAction(now); in run() 353 for (DownloadInfo info : mDownloads.values()) { in run() 354 if (info.mDeleted && TextUtils.isEmpty(info.mMediaProviderUri)) { in run() 370 for (DownloadInfo info : mDownloads.values()) { in run() [all …]
|
D | DownloadInfo.java | 58 DownloadInfo info = new DownloadInfo(context, systemFacade); in newDownloadInfo() local 59 updateFromDatabase(info); in newDownloadInfo() 60 readRequestHeaders(info); in newDownloadInfo() 61 return info; in newDownloadInfo() 64 public void updateFromDatabase(DownloadInfo info) { in updateFromDatabase() argument 65 info.mId = getLong(Downloads.Impl._ID); in updateFromDatabase() 66 info.mUri = getString(Downloads.Impl.COLUMN_URI); in updateFromDatabase() 67 info.mNoIntegrity = getInt(Downloads.Impl.COLUMN_NO_INTEGRITY) == 1; in updateFromDatabase() 68 info.mHint = getString(Downloads.Impl.COLUMN_FILE_NAME_HINT); in updateFromDatabase() 69 info.mFileName = getString(Downloads.Impl._DATA); in updateFromDatabase() [all …]
|
D | DownloadNotifier.java | 94 for (DownloadInfo info : downloads) { in updateWithLocked() 95 final String tag = buildNotificationTag(info); in updateWithLocked() 97 clustered.put(tag, info); in updateWithLocked() 137 final DownloadInfo info = cluster.iterator().next(); in updateWithLocked() local 139 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, info.mId); in updateWithLocked() 142 if (Downloads.Impl.isStatusError(info.mStatus)) { in updateWithLocked() 145 if (info.mDestination != Downloads.Impl.DESTINATION_SYSTEMCACHE_PARTITION) { in updateWithLocked() 171 for (DownloadInfo info : cluster) { in updateWithLocked() 172 if (info.mTotalBytes != -1) { in updateWithLocked() 173 current += info.mCurrentBytes; in updateWithLocked() [all …]
|
D | DownloadHandler.java | 51 public synchronized void enqueueDownload(DownloadInfo info) { in enqueueDownload() argument 52 if (!mDownloadsQueue.containsKey(info.mId)) { in enqueueDownload() 54 Log.i(TAG, "enqueued download. id: " + info.mId + ", uri: " + info.mUri); in enqueueDownload() 56 mDownloadsQueue.put(info.mId, info); in enqueueDownload() 66 DownloadInfo info = mDownloadsQueue.get(id); in startDownloadThreadLocked() local 67 info.startDownloadThread(); in startDownloadThreadLocked() 110 for (DownloadInfo info : mDownloadsInProgress.values()) { in waitUntilDownloadsTerminate() 111 Log.i(TAG, "** progress: " + info.mId + ", " + info.mUri); in waitUntilDownloadsTerminate() 113 for (DownloadInfo info : mDownloadsQueue.values()) { in waitUntilDownloadsTerminate() 114 Log.i(TAG, "** in Q: " + info.mId + ", " + info.mUri); in waitUntilDownloadsTerminate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumSetDataLoader.java | 266 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 …]
|
D | AlbumDataLoader.java | 258 UpdateInfo info = new UpdateInfo(); in call() local 260 info.version = mSourceVersion; in call() 261 info.size = mSize; in call() 266 info.reloadStart = i; in call() 267 info.reloadCount = Math.min(MAX_LOAD_COUNT, n - i); in call() 268 return info; in call() 271 return mSourceVersion == mVersion ? null : info; in call() 279 public UpdateContent(UpdateInfo info) { in UpdateContent() argument 280 mUpdateInfo = info; in UpdateContent() 285 UpdateInfo info = mUpdateInfo; in call() local [all …]
|
D | PhotoDataAdapter.java | 952 UpdateInfo info = new UpdateInfo(); in call() local 953 info.version = mSourceVersion; in call() 954 info.reloadContent = needContentReload(); in call() 955 info.target = mItemPath; in call() 956 info.indexHint = mCurrentIndex; in call() 957 info.contentStart = mContentStart; in call() 958 info.contentEnd = mContentEnd; in call() 959 info.size = mSize; in call() 960 return info; in call() 973 UpdateInfo info = mUpdateInfo; in call() local [all …]
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaWindowAdapter.java | 378 DayAdapterInfo info = getAdapterInfoByPosition(position); in getItemViewType() local 379 if (info != null) { in getItemViewType() 380 return info.dayAdapter.getItemViewType(position - info.offset); in getItemViewType() 389 DayAdapterInfo info = getAdapterInfoByPosition(position); in isEnabled() local 390 if (info != null) { in isEnabled() 391 return info.dayAdapter.isEnabled(position - info.offset); in isEnabled() 404 DayAdapterInfo info = getAdapterInfoByPosition(position); in getItem() local 405 if (info != null) { in getItem() 406 return info.dayAdapter.getItem(position - info.offset); in getItem() 421 DayAdapterInfo info = getAdapterInfoByPosition(position); in getItemId() local [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | AppPicker.java | 72 if (app.info != null) intent.setAction(app.info.packageName); in onListItemClick() 78 ApplicationInfo info; field in AppPicker.MyApplicationInfo 102 MyApplicationInfo info = new MyApplicationInfo(); in AppListAdapter() local 103 info.info = ai; in AppListAdapter() 104 info.label = info.info.loadLabel(getPackageManager()).toString(); in AppListAdapter() 105 mPackageInfoList.add(info); in AppListAdapter() 108 MyApplicationInfo info = new MyApplicationInfo(); in AppListAdapter() local 109 info.label = context.getText(R.string.no_application); in AppListAdapter() 110 mPackageInfoList.add(0, info); in AppListAdapter() 120 MyApplicationInfo info = getItem(position); in getView() local [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | AllAppsList.java | 62 public void add(ApplicationInfo info) { in add() argument 63 if (findActivity(data, info.componentName)) { in add() 66 data.add(info); in add() 67 added.add(info); in add() 93 for (ResolveInfo info : matches) { in addPackage() 94 add(new ApplicationInfo(context.getPackageManager(), info, mIconCache, null)); in addPackage() 105 ApplicationInfo info = data.get(i); in removePackage() local 106 final ComponentName component = info.intent.getComponent(); in removePackage() 108 removed.add(info); in removePackage() 140 final ResolveInfo info = matches.get(i); in updatePackage() local [all …]
|
D | ShortcutInfo.java | 64 public ShortcutInfo(ShortcutInfo info) { in ShortcutInfo() argument 65 super(info); in ShortcutInfo() 66 title = info.title.toString(); in ShortcutInfo() 67 intent = new Intent(info.intent); in ShortcutInfo() 68 if (info.iconResource != null) { in ShortcutInfo() 70 iconResource.packageName = info.iconResource.packageName; in ShortcutInfo() 71 iconResource.resourceName = info.iconResource.resourceName; in ShortcutInfo() 73 mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all in ShortcutInfo() 74 customIcon = info.customIcon; in ShortcutInfo() 78 public ShortcutInfo(ApplicationInfo info) { in ShortcutInfo() argument [all …]
|
D | ApplicationInfo.java | 65 public ApplicationInfo(PackageManager pm, ResolveInfo info, IconCache iconCache, in ApplicationInfo() argument 67 final String packageName = info.activityInfo.applicationInfo.packageName; in ApplicationInfo() 69 this.componentName = new ComponentName(packageName, info.activityInfo.name); in ApplicationInfo() 88 iconCache.getTitleAndIcon(this, info, labelCache); in ApplicationInfo() 91 public ApplicationInfo(ApplicationInfo info) { in ApplicationInfo() argument 92 super(info); in ApplicationInfo() 93 componentName = info.componentName; in ApplicationInfo() 94 title = info.title.toString(); in ApplicationInfo() 95 intent = new Intent(info.intent); in ApplicationInfo() 96 flags = info.flags; in ApplicationInfo() [all …]
|
D | PagedViewIconCache.java | 43 public Key(ApplicationInfo info) { in Key() argument 44 mComponentName = info.componentName; in Key() 47 public Key(ResolveInfo info) { in Key() argument 48 final ComponentInfo ci = info.activityInfo != null ? info.activityInfo : in Key() 49 info.serviceInfo; in Key() 53 public Key(AppWidgetProviderInfo info) { in Key() argument 54 mComponentName = info.provider; in Key() 100 for (ApplicationInfo info : keys) { in retainAllApps() 101 keysSet.add(new Key(info)); in retainAllApps() 108 for (ResolveInfo info : keys) { in retainAllShortcuts() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | SplitAggregateView.java | 163 RawContactInfo info = rawContactInfos.get(rawContactId); in loadData() local 164 if (info == null) { in loadData() 165 info = new RawContactInfo(rawContactId); in loadData() 166 rawContactInfos.put(rawContactId, info); in loadData() 167 info.accountType = cursor.getString(SplitQuery.ACCOUNT_TYPE); in loadData() 168 info.dataSet = cursor.getString(SplitQuery.DATA_SET); in loadData() 173 loadStructuredName(cursor, info); in loadData() 175 loadPhoneNumber(cursor, info); in loadData() 177 loadEmail(cursor, info); in loadData() 179 loadNickname(cursor, info); in loadData() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactDirectoryManager.java | 280 for (DirectoryInfo info : directories) { in scanAllPackages() 281 if (DEBUG) Log.d(TAG, " directory=" + info); in scanAllPackages() 284 deleteWhereArgs.add(info.packageName); in scanAllPackages() 285 deleteWhereArgs.add(info.authority); in scanAllPackages() 286 deleteWhereArgs.add(info.accountName); in scanAllPackages() 287 deleteWhereArgs.add(info.accountType); in scanAllPackages() 388 for (DirectoryInfo info: directories) { in updateDirectoriesForPackage() 389 sb.append(info.id).append(","); in updateDirectoriesForPackage() 424 DirectoryInfo info = new DirectoryInfo(); in queryDirectoriesForAuthority() local 425 info.packageName = provider.packageName; in queryDirectoriesForAuthority() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | AccessibilityEntityProvider.java | 153 AccessibilityNodeInfoCompat info = null; in createAccessibilityNodeInfo() local 160 info = AccessibilityNodeInfoCompat.obtain(mKeyboardView); in createAccessibilityNodeInfo() 161 ViewCompat.onInitializeAccessibilityNodeInfo(mKeyboardView, info); in createAccessibilityNodeInfo() 168 info.addChild(mKeyboardView, childVirtualViewId); in createAccessibilityNodeInfo() 189 info = AccessibilityNodeInfoCompat.obtain(); in createAccessibilityNodeInfo() 190 info.setPackageName(mKeyboardView.getContext().getPackageName()); in createAccessibilityNodeInfo() 191 info.setClassName(key.getClass().getName()); in createAccessibilityNodeInfo() 192 info.setContentDescription(keyDescription); in createAccessibilityNodeInfo() 193 info.setBoundsInParent(boundsInParent); in createAccessibilityNodeInfo() 194 info.setBoundsInScreen(boundsInScreen); in createAccessibilityNodeInfo() [all …]
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ApplicationsState.java | 56 public boolean filterApp(ApplicationInfo info); in filterApp() argument 108 ApplicationInfo info; field in ApplicationsState.AppEntry 118 AppEntry(Context context, ApplicationInfo info, long id) { in AppEntry() argument 119 apkFile = new File(info.sourceDir); in AppEntry() 121 this.info = info; in AppEntry() 131 this.label = info.packageName; in ensureLabel() 134 CharSequence label = info.loadLabel(context.getPackageManager()); in ensureLabel() 135 this.label = label != null ? label.toString() : info.packageName; in ensureLabel() 143 this.icon = this.info.loadIcon(pm); in ensureIconLocked() 155 this.icon = this.info.loadIcon(pm); in ensureIconLocked() [all …]
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperListAdapter.java | 77 LiveWallpaperInfo info = new LiveWallpaperInfo(); in generatePlaceholderViews() local 78 list.add(info); in generatePlaceholderViews() 116 if (holder.title != null && wallpaperInfo.info != null) { in getView() 117 holder.title.setText(wallpaperInfo.info.loadLabel(mPackageManager)); in getView() 129 public WallpaperInfo info; field in LiveWallpaperListAdapter.LiveWallpaperInfo 176 WallpaperInfo info = null; in doInBackground() local 178 info = new WallpaperInfo(mContext, resolveInfo); in doInBackground() 189 wallpaper.intent.setClassName(info.getPackageName(), info.getServiceName()); in doInBackground() 190 wallpaper.info = info; in doInBackground() 192 Drawable thumb = info.loadThumbnail(packageManager); in doInBackground() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/ |
D | CallLogAdapterTest.java | 59 ContactInfo info = new ContactInfo(); in setUp() 60 info.number = number; in setUp() 61 info.formattedNumber = number; in setUp() 62 return info; in setUp() 148 ContactInfo info = createContactInfo(); in testBindView_MismatchBetwenCallLogAndMemoryCache_EnqueueRequest() local 149 info.name = "new name"; in testBindView_MismatchBetwenCallLogAndMemoryCache_EnqueueRequest() 150 mAdapter.injectContactInfoForTest(TEST_NUMBER, TEST_COUNTRY_ISO, info); in testBindView_MismatchBetwenCallLogAndMemoryCache_EnqueueRequest() 165 ContactInfo info = new ContactInfo(); in createContactInfo() local 166 info.number = TEST_NUMBER; in createContactInfo() 167 info.name = TEST_NAME; in createContactInfo() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventActivity.java | 95 EventInfo info = new EventInfo(); in getEventInfoFromIntent() local 116 info.endTime = new Time(); in getEventInfoFromIntent() 118 info.endTime.timezone = Time.TIMEZONE_UTC; in getEventInfoFromIntent() 120 info.endTime.set(end); in getEventInfoFromIntent() 123 info.startTime = new Time(); in getEventInfoFromIntent() 125 info.startTime.timezone = Time.TIMEZONE_UTC; in getEventInfoFromIntent() 127 info.startTime.set(begin); in getEventInfoFromIntent() 129 info.id = eventId; in getEventInfoFromIntent() 132 info.extraLong = CalendarController.EXTRA_CREATE_ALL_DAY; in getEventInfoFromIntent() 134 info.extraLong = 0; in getEventInfoFromIntent() [all …]
|