/packages/apps/Calendar/src/com/android/calendar/ |
H A D | AsyncQueryService.java | 57 * Data class which holds into info of the queued operation 171 OperationInfo info = new OperationInfo(); 172 info.op = Operation.EVENT_ARG_QUERY; 173 info.resolver = mContext.getContentResolver(); 175 info.handler = mHandler; 176 info.token = token; 177 info.cookie = cookie; 178 info.uri = uri; 179 info.projection = projection; 180 info [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppBatch.java | 103 * @param info, BluetoothOppShareInfo 105 public BluetoothOppBatch(Context context, BluetoothOppShareInfo info) { argument 109 mTimestamp = info.mTimestamp; 110 mDirection = info.mDirection; 111 mDestination = adapter.getRemoteDevice(info.mDestination); 113 mShares.add(info); 115 if (V) Log.v(TAG, "New Batch created for info " + info.mId); 125 public void addShare(BluetoothOppShareInfo info) { argument 126 mShares.add(info); 138 deleteShare(BluetoothOppShareInfo info) argument 181 hasShare(BluetoothOppShareInfo info) argument [all...] |
H A D | BluetoothOppService.java | 555 BluetoothOppShareInfo info = new BluetoothOppShareInfo( 573 Log.v(TAG, "ID : " + info.mId); 574 // Log.v(TAG, "URI : " + ((info.mUri != null) ? "yes" : "no")); 575 Log.v(TAG, "URI : " + info.mUri); 576 Log.v(TAG, "HINT : " + info.mHint); 577 Log.v(TAG, "FILENAME: " + info.mFilename); 578 Log.v(TAG, "MIMETYPE: " + info.mMimetype); 579 Log.v(TAG, "DIRECTION: " + info.mDirection); 580 Log.v(TAG, "DESTINAT: " + info.mDestination); 581 Log.v(TAG, "VISIBILI: " + info 960 MediaScannerNotifier(Context context, BluetoothOppShareInfo info, Handler handler) argument [all...] |
H A D | BluetoothOppUtility.java | 70 BluetoothOppTransferInfo info = new BluetoothOppTransferInfo(); 74 info.mID = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID)); 75 info.mStatus = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.STATUS)); 76 info.mDirection = cursor.getInt(cursor 78 info.mTotalBytes = cursor.getInt(cursor 80 info.mCurrentBytes = cursor.getInt(cursor 82 info.mTimeStamp = cursor.getLong(cursor 84 info.mDestAddr = cursor.getString(cursor 87 info.mFileName = cursor.getString(cursor 89 if (info [all...] |
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
H A D | ActionMultiMap.java | 27 public void put(String mimeType, Action info) { argument 28 put(mimeType, info, false); 35 public void put(String mimeType, Action info, boolean front) { argument 36 // Put the info first 45 collectList.add(0, info); 47 collectList.add(info);
|
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
H A D | ContactInfoHelper.java | 44 * If the number does not match any contact, returns a contact info containing only the number 53 final ContactInfo info; 55 // Determine the contact info. 67 info = sipInfo; 76 info = phoneInfo; 80 if (info == null) { 84 // If we did not find a matching contact, generate an empty contact info for the number. 85 if (info == ContactInfo.EMPTY) { 91 updatedInfo = info; 107 final ContactInfo info; [all...] |
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/ |
H A D | EasOutboxServiceTests.java | 35 OriginalMessageInfo info = new OriginalMessageInfo("1339085683659694034", "Mail:^f", null); 36 String cmd = svc.generateSmartSendCmd(true, info); 39 info = new OriginalMessageInfo("14:&3", "6", null); 40 cmd = svc.generateSmartSendCmd(false, info); 43 info = new OriginalMessageInfo("1339085683659694034", "Mail:^f", "3232323AAA"); 44 cmd = svc.generateSmartSendCmd(false, info);
|
/packages/apps/Exchange/tests/src/com/android/exchange/ |
H A D | EasOutboxServiceTests.java | 35 OriginalMessageInfo info = new OriginalMessageInfo("1339085683659694034", "Mail:^f", null); 36 String cmd = svc.generateSmartSendCmd(true, info); 39 info = new OriginalMessageInfo("14:&3", "6", null); 40 cmd = svc.generateSmartSendCmd(false, info); 43 info = new OriginalMessageInfo("1339085683659694034", "Mail:^f", "3232323AAA"); 44 cmd = svc.generateSmartSendCmd(false, info);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | ApplicationInfo.java | 65 public ApplicationInfo(PackageManager pm, ResolveInfo info, IconCache iconCache, argument 67 final String packageName = info.activityInfo.applicationInfo.packageName; 69 this.componentName = new ComponentName(packageName, info.activityInfo.name); 88 iconCache.getTitleAndIcon(this, info, labelCache); 91 public ApplicationInfo(ApplicationInfo info) { argument 92 super(info); 93 componentName = info.componentName; 94 title = info.title.toString(); 95 intent = new Intent(info.intent); 96 flags = info [all...] |
H A D | ShortcutInfo.java | 64 public ShortcutInfo(ShortcutInfo info) { argument 65 super(info); 66 title = info.title.toString(); 67 intent = new Intent(info.intent); 68 if (info.iconResource != null) { 70 iconResource.packageName = info.iconResource.packageName; 71 iconResource.resourceName = info.iconResource.resourceName; 73 mIcon = info.mIcon; // TODO: should make a copy here. maybe we don't need this ctor at all 74 customIcon = info.customIcon; 78 public ShortcutInfo(ApplicationInfo info) { argument [all...] |
H A D | PagedViewIconCache.java | 43 public Key(ApplicationInfo info) { argument 44 mComponentName = info.componentName; 47 public Key(ResolveInfo info) { argument 48 final ComponentInfo ci = info.activityInfo != null ? info.activityInfo : 49 info.serviceInfo; 53 public Key(AppWidgetProviderInfo info) { argument 54 mComponentName = info.provider; 100 for (ApplicationInfo info : keys) { 101 keysSet.add(new Key(info)); [all...] |
H A D | AllAppsList.java | 62 public void add(ApplicationInfo info) { argument 63 if (findActivity(data, info.componentName)) { 66 data.add(info); 67 added.add(info); 93 for (ResolveInfo info : matches) { 94 add(new ApplicationInfo(context.getPackageManager(), info, mIconCache, null)); 105 ApplicationInfo info = data.get(i); 106 final ComponentName component = info.intent.getComponent(); 108 removed.add(info); 140 final ResolveInfo info [all...] |
H A D | ItemInfo.java | 108 ItemInfo(ItemInfo info) { argument 109 id = info.id; 110 cellX = info.cellX; 111 cellY = info.cellY; 112 spanX = info.spanX; 113 spanY = info.spanY; 114 screen = info.screen; 115 itemType = info.itemType; 116 container = info.container;
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | AppPicker.java | 72 if (app.info != null) intent.setAction(app.info.packageName); 78 ApplicationInfo info; field in class:AppPicker.MyApplicationInfo 102 MyApplicationInfo info = new MyApplicationInfo(); 103 info.info = ai; 104 info.label = info.info.loadLabel(getPackageManager()).toString(); 105 mPackageInfoList.add(info); [all...] |
H A D | WallpaperTypeSettings.java | 49 for (ResolveInfo info : rList) { 53 info.activityInfo.packageName, info.activityInfo.name)); 55 CharSequence label = info.loadLabel(pm); 56 if (label == null) label = info.activityInfo.packageName;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadHandler.java | 42 synchronized void enqueueDownload(DownloadInfo info) { argument 43 if (!mDownloadsQueue.containsKey(info.mId)) { 45 Log.i(TAG, "enqueued download. id: " + info.mId + ", uri: " + info.mUri); 47 mDownloadsQueue.put(info.mId, info); 57 DownloadInfo info = mDownloadsQueue.get(id); 58 info.startDownloadThread(); 92 for (DownloadInfo info : mDownloadsInProgress.values()) { 93 Log.i(TAG, "** progress: " + info [all...] |
H A D | DownloadService.java | 72 * The Service's view of the list of downloads, mapping download IDs to the corresponding info 322 DownloadInfo info = mDownloads.get(id); 323 if (info != null) { 324 updateDownload(reader, info, now); 326 info = insertDownloadLocked(reader, now); 329 if (info.shouldScanFile() && !scanFile(info, true, false)) { 333 if (info.hasCompletionNotification()) { 336 long next = info.nextAction(now); 354 for (DownloadInfo info 453 updateDownload(DownloadInfo.Reader reader, DownloadInfo info, long now) argument 499 scanFile(DownloadInfo info, final boolean updateDatabase, final boolean deleteFile) argument [all...] |
H A D | DownloadInfo.java | 58 DownloadInfo info = new DownloadInfo(context, systemFacade); 59 updateFromDatabase(info); 60 readRequestHeaders(info); 61 return info; 64 public void updateFromDatabase(DownloadInfo info) { argument 65 info.mId = getLong(Downloads.Impl._ID); 66 info.mUri = getString(Downloads.Impl.COLUMN_URI); 67 info.mNoIntegrity = getInt(Downloads.Impl.COLUMN_NO_INTEGRITY) == 1; 68 info.mHint = getString(Downloads.Impl.COLUMN_FILE_NAME_HINT); 69 info 105 readRequestHeaders(DownloadInfo info) argument 130 addHeader(DownloadInfo info, String header, String value) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | AlbumSetDataLoader.java | 266 UpdateInfo info = new UpdateInfo(); 267 info.version = mSourceVersion; 268 info.index = index; 269 info.size = mSize; 270 return info; 277 public UpdateContent(UpdateInfo info) { argument 278 mUpdateInfo = info; 286 UpdateInfo info = mUpdateInfo; 287 mSourceVersion = info.version; 288 if (mSize != info [all...] |
H A D | AlbumDataLoader.java | 258 UpdateInfo info = new UpdateInfo(); 260 info.version = mSourceVersion; 261 info.size = mSize; 266 info.reloadStart = i; 267 info.reloadCount = Math.min(MAX_LOAD_COUNT, n - i); 268 return info; 271 return mSourceVersion == mVersion ? null : info; 279 public UpdateContent(UpdateInfo info) { argument 280 mUpdateInfo = info; 285 UpdateInfo info [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | SplitAggregateView.java | 163 RawContactInfo info = rawContactInfos.get(rawContactId); 164 if (info == null) { 165 info = new RawContactInfo(rawContactId); 166 rawContactInfos.put(rawContactId, info); 167 info.accountType = cursor.getString(SplitQuery.ACCOUNT_TYPE); 168 info.dataSet = cursor.getString(SplitQuery.DATA_SET); 173 loadStructuredName(cursor, info); 175 loadPhoneNumber(cursor, info); 177 loadEmail(cursor, info); 179 loadNickname(cursor, info); 191 loadStructuredName(Cursor cursor, RawContactInfo info) argument 195 loadNickname(Cursor cursor, RawContactInfo info) argument 201 loadEmail(Cursor cursor, RawContactInfo info) argument 207 loadPhoneNumber(Cursor cursor, RawContactInfo info) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
H A D | AgendaWindowAdapter.java | 378 DayAdapterInfo info = getAdapterInfoByPosition(position); 379 if (info != null) { 380 return info.dayAdapter.getItemViewType(position - info.offset); 389 DayAdapterInfo info = getAdapterInfoByPosition(position); 390 if (info != null) { 391 return info.dayAdapter.isEnabled(position - info.offset); 404 DayAdapterInfo info = getAdapterInfoByPosition(position); 405 if (info ! [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | NetworkStateHandler.java | 50 NetworkInfo info = cm.getActiveNetworkInfo(); 51 if (info != null) { 52 mIsNetworkUp = info.isAvailable(); 67 NetworkInfo info = intent.getParcelableExtra( 69 String typeName = info.getTypeName(); 70 String subtypeName = info.getSubtypeName();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
H A D | AccessibilityEntityProvider.java | 141 * The implementer is responsible for obtaining an accessibility node info 143 * the node info before returning it. 153 AccessibilityNodeInfoCompat info = null; 160 info = AccessibilityNodeInfoCompat.obtain(mKeyboardView); 161 ViewCompat.onInitializeAccessibilityNodeInfo(mKeyboardView, info); 168 info.addChild(mKeyboardView, childVirtualViewId); 189 info = AccessibilityNodeInfoCompat.obtain(); 190 info.setPackageName(mKeyboardView.getContext().getPackageName()); 191 info.setClassName(key.getClass().getName()); 192 info [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | EditEventActivity.java | 95 EventInfo info = new EventInfo(); 116 info.endTime = new Time(); 118 info.endTime.timezone = Time.TIMEZONE_UTC; 120 info.endTime.set(end); 123 info.startTime = new Time(); 125 info.startTime.timezone = Time.TIMEZONE_UTC; 127 info.startTime.set(begin); 129 info.id = eventId; 132 info.extraLong = CalendarController.EXTRA_CREATE_ALL_DAY; 134 info [all...] |