summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* Why are we updating current.xml? Platform packages can use @hidden internal ↵Koushik Dutta2012-02-251-1906/+2
| | | | | | classes. It seems because the build erroneously says to run make update-api, people are updating the API every time they add a new method or class. I am reverting current.xml to stock Android, because we should NOT be extending the public API that Android provides. Extending the public API and adding new internal classes are different things. Regardless, people are NOT using the CM SDK, so no is using these new "APIs" anyways. This will cause build breaks in the new Jenkins setup (hell, it was broken already, which is why I discovered this). We need to fix this. Change-Id: Ie18bcb883cd16debbd00d31e9ea5597a3817c523
* Wide screen camera profile for 16/9e devices (480x854)Quarx2k2011-08-111-0/+11
| | | | | | from CyanogenDefy team Change-Id: I39b7d3f95495e9e8ecb48533478e24bd2f660da9
* Merge branch 'gingerbread' of ↵Steve Kondik2011-07-261-0/+22
| | | | | | | | | | | | | | git://android.git.kernel.org/platform/frameworks/base into upstream-2.3.5 Conflicts: core/java/android/content/pm/IPackageManager.aidl core/java/android/server/BluetoothService.java packages/SystemUI/src/com/android/systemui/statusbar/StatusBarPolicy.java services/java/com/android/server/PackageManagerService.java telephony/java/com/android/internal/telephony/gsm/GSMPhone.java wifi/java/android/net/wifi/WifiStateTracker.java Change-Id: I254bd490297376ae8070fffcb07d4fe15afe3a8d
* update the current.xml to fix build errorLonger.Chan2011-05-231-1/+25
| | | | Change-Id: Ia966b1346ecc654fcb23331adce70db0c4f93276
* add album artist support -- MediaStore and MediaScanner bitsPaul Crovella2011-05-061-0/+239
| | | | | | ..and updating current.xml Change-Id: Ie646ce553a3d37d2fa5d67084a568cf5394cd0a4
* wimax: Remove CM WiMAX support in favor of Google'sSteve Kondik2011-05-031-99/+0
| | | | Change-Id: I73ad5433b1357eb12300d1470fa22c432b468341
* Cleaned up public API for Notification Profilesmartinlong19782011-03-311-634/+4
| | | | | | | Removed all of the configuration stuff. That should be limited to the Settings app only. Just left enough exposed to enumerate and switch profiles - stuff that should be in the public API. Change-Id: I1f3918ccb99a883c7254a4ae83d8aa3cc7792f1c
* current api: updated for notification profile's localizationladios2011-03-111-15/+183
| | | | Change-Id: If36b0fc0831193d8cb6b758482e933a15c99dffb
* Added notification profile support.repo sync2011-03-021-1/+768
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds finer-grained support for notification tones, and groups settings into profiles, which can be easily switched. API support is also added, allowing configuration, and profile switching from another program (e.g. Tasker, Locale). A profile represents a particular set of settings, and could be for example "Silent", "Office", or "Night". Each profile contains the settings for a definable set of application groups. An application group represents a group of applications to which the settings should apply. For example "SMS" might contain "Messaging" and "Handcent". The applications in an application group are globally defined. The notification settings for an application group are per-profile. For each profile/application group you can define behaviour for lights/vibrate and sound. Either you can suppress, override, or leave unchanged (ie system, or app default). Example: Work : SMS vibrate. Ringer vibrate. Email no alert. Gmail vibrate. Night: SMS silent. Ringer on. Email silent. Gmail silent. There is still a lot of work to be done here. A lot of code tidy up, javadocs, standards etc. Might be suitable for nightlies. This has been on dumb Nokias for years, I'm surprised a single smartphone doesn't have it yet. Change-Id: I9662651dd597392dfe915f8cd81d66064f00bb76
* Merge branch 'gingerbread' of ↵Steve Kondik2011-02-283-15/+422984
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://android.git.kernel.org/platform/frameworks/base into 233-merge Conflicts: api/current.xml core/java/android/content/pm/PackageParser.java core/java/android/net/ConnectivityManager.java core/java/android/widget/TextView.java core/java/com/android/internal/os/BatteryStatsImpl.java core/res/res/drawable-mdpi/btn_check_off.png core/res/res/drawable-mdpi/btn_check_off_disable.png core/res/res/drawable-mdpi/btn_check_off_disable_focused.png core/res/res/drawable-mdpi/btn_check_off_pressed.png core/res/res/drawable-mdpi/btn_check_off_selected.png core/res/res/drawable-mdpi/btn_check_on.png core/res/res/drawable-mdpi/btn_check_on_disable.png core/res/res/drawable-mdpi/btn_check_on_disable_focused.png core/res/res/drawable-mdpi/btn_check_on_pressed.png core/res/res/drawable-mdpi/btn_check_on_selected.png core/res/res/values-ca/strings.xml core/res/res/values-de/strings.xml core/res/res/values/config.xml include/media/AudioSystem.h include/media/mediarecorder.h media/java/android/media/MediaRecorder.java media/libmedia/AudioSystem.cpp media/libstagefright/StagefrightMediaScanner.cpp media/libstagefright/rtsp/ARTSPConnection.cpp media/libstagefright/rtsp/ASessionDescription.cpp media/libstagefright/rtsp/MyHandler.h policy/src/com/android/internal/policy/impl/KeyguardUpdateMonitor.java policy/src/com/android/internal/policy/impl/LockScreen.java policy/src/com/android/internal/policy/impl/PhoneWindowManager.java policy/src/com/android/internal/policy/impl/RecentApplicationsDialog.java services/audioflinger/AudioPolicyManagerBase.cpp services/java/com/android/server/PackageManagerService.java services/java/com/android/server/am/ActivityManagerService.java test-runner/src/android/test/mock/MockPackageManager.java voip/java/android/net/sip/SipProfile.java voip/java/com/android/server/sip/SipService.java wifi/java/android/net/wifi/WifiStateTracker.java Change-Id: Ia65d02a66c6206b5f4ed95c3a64e3f28a03e7329
| * Final final final Gingerbread MR API changes.Nick Pelly2011-02-012-120/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is it. I promise. ACTION_TECHNOLOGY_DISCOVERED -> ACTION_TECH_DISCOVERED This was missed in our technology->tech rename. Hide TagTechnology.reconnect() This is used to reset any per-connection state in a tag, by reconnecting to it. The first problem is that it belongs on Tag, not TagTechnology. The second problem is that it may become redundant once we add Tag.rediscover() which will also reconnect to the tag, and will also return a new Tag with newly created technologies enumerated. And the third and most significant problem is that you can already achieve the same result by just calling close() followed by connect(). Hide Tag.createMockTag() This API cannot be used reliably. First it requires using int[] for the technology list, but those int constants are now hidden. Second it requires knowledge of the extras parcel used to fill technology specific data - also not public. Introduce TagTechnology.isConnected() Every child class already impelmented this, and given that connect() and close() are defined on the interface, then isConnected() should be there too. Modify Ndef.getType to return a string (not int) Allows more flexibility in adding new NDEF types. Current public strings are org.nfcforum.ndef.type1 org.nfcforum.ndef.type2 org.nfcforum.ndef.type3 org.nfcforum.ndef.type4 com.nxp.ndef.mifareclassic Add NdefFormatable.formatReadOnly() This allows you to make the tag read-only at the same time as performing format and write. It is important because we currently don't have any public API to re-enumerate a tag technology list after making a tag NDEF compatible, so you can't perform the format as a seperate step without physically removing the tag from field and returning it. Modify Readonly -> ReadOnly Make Tag class final Change-Id: Icf306aeb37b936ca3007e4868e99b6baceac4aff
| * Commit the final API for level 10.Jeff Hamilton2011-01-311-0/+2128
| | | | | | | | Change-Id: I56140f79ff599c1a9d03c0f53d700df402234bf1
| * API: Make close() throw an IOException.Nick Pelly2011-01-271-0/+6
| | | | | | | | | | | | | | | | | | | | IOException on close() can be useful to indicate that in-progress transactions were canceled. I also audited all of our tech classes to make sure every function that needs to throw IOException does so. Change-Id: Iaa9c43d79d59ff85772d5c3e4b4d57a6fa8df4cf
| * Clean up MifareUltralight API.Nick Pelly2011-01-271-10/+21
| | | | | | | | | | | | | | | | o Some javadoc updates o writeBlock -> writePages (Block means something else in NFC Forum). o validate page offset Change-Id: Icae54db3397d57aaa451caaa86d56e8ba82507f2
| * Fix the build, proper current.xml.Jeff Hamilton2011-01-251-1/+1
| | | | | | | | Change-Id: I9b02206042c74fd5c329fe2b70ed2b6b91d41382
| * Use classnames instead of ints for NFC techs.Jeff Hamilton2011-01-251-14/+5
| | | | | | | | | | | | | | | | This makes the system more flexible and allows adding new technology types without having to update the API. Change-Id: Iaee6b633965e501a70e8afc3f1d54d9d94a4d05a
| * Add operands to mifare classic increment, decrement.Nick Pelly2011-01-231-0/+4
| | | | | | | | Change-Id: Ib35f615142bda48a5e33888a09ebae2880624788
| * Make MifareClassic methods more consistent.Nick Pelly2011-01-231-81/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove method overloading for combinations of sector+block addressing. Instead provide methods that more closly match the raw commands, and more efficient helpers to convert between blocks and sectors. o fix off-by-one bug in getBlockCountInSector() o add BLOCK_SIZE o remove DESFIRE not operating in classic emulation (SAK 0x20) o hide isEmulated(), there is no use case, and the info is available elsewhere o getTotalBlockCount() -> getBlockCount() o getBlockCount(int) -> getBlockCountInSector(int) o introduce blockToSector() and sectorToBlock() o remove authenticateBlock() make it really clear that authentication is per sector, and reduce function explosion. blockToSector() allows you to use authenticateSector... o explicit authenticateSectorWithKeyA() / authenticateSectorWithKeyB() get rid of magic boolean o remove all (int sector, int block) parameters always address by absolute block. this makes the API crystal clear, and helps reduce function explosion o validation of all sector and block indices o dont & 0xff when converting to byte - its redundant o Remove TYPE_OTHER. Mifare Classic types are well-known and stable. Change-Id: I3c9f8254ff307f31b388b3d7592c862d5de6afa5
| * API changes for NFC.Jeff Hamilton2011-01-211-137/+129
| | | | | | | | | | Bug: 3366009 Change-Id: Ia28e03e1501421906b640b78d4c9a59a20e9c668
| * Fix issue #3373438: Update GBMR versionsDianne Hackborn2011-01-201-0/+11
| | | | | | | | Change-Id: Ic4b4f1b0534fd2fbd6322eae01a4cb9d5a67cc6f
| * Change signature of MifareClassic.authenticate*() to throw IOException.Nick Pelly2011-01-181-8/+39
| | | | | | | | | | | | Update API for this and the previous commit. Change-Id: I19275a5d00081bd0f00afea59a2b673344a32954
| * Implement IsoDep timeout handling (API).Martijn Coenen2011-01-181-0/+13
| | | | | | | | | | | | Added a method for setting the timeout on IsoDep transactions. Change-Id: Ie627e7a826556e46295fefe69b9be83ebf911d93
| * Merge "Javadoc updates for NFC." into gingerbreadJeff Hamilton2011-01-181-201/+82
| |\
| | * Javadoc updates for NFC.Jeff Hamilton2011-01-181-201/+82
| | | | | | | | | | | | Change-Id: Ibd91829979576297599fbcc9eb8054924af1d527
| * | Merge "New APIs for NDEF Push Protocol." into gingerbreadJeff Hamilton2011-01-181-1/+29
| |\ \ | | |/
| | * New APIs for NDEF Push Protocol.Jeff Hamilton2011-01-171-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | The NPP is only usable by the foregorund activity to prevent dispatching confusion on the far end. Change-Id: I08475a52083fd7f81b79b7fe2faf4e126121a809
| * | Remove API that snuck into MockPackageManagerKenny Root2011-01-173-45/+0
| | | | | | | | | | | | | | | | | | | | | | | | We didn't release the get/setPackageObbPath API, but it snuck into MockPackageManager. However, it is not usable as a developer anyway. Removing it so it doesn't stay in the API forever. Change-Id: Ia569754691dc3a9f2672c1f25e4e08d780db6028
| * | Revert "Add the {get,set}PackageObbPaths calls to API"Kenny Root2011-01-171-56/+0
| |/ | | | | | | | | | | | | | | | | | | This reverts commit 6c4d904851772313930f800ac7c323cf90c709bb. Going with a different tactic that doesn't dump stuff on PackageManagerService. Bug: 3214719 Change-Id: I0bbeccf3c21d264deda4256eb53713d2c98284f4
| * Merge "Squash commits of the following patches, cherry-picked from other ↵James Dong2011-01-141-0/+379
| |\ | | | | | | | | | branch - do not merge." into gingerbread
| | * Squash commits of the following patches, cherry-picked from other branch - ↵James Dong2011-01-121-0/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do not merge. o Prepare for publishing MediaMetadataRetriever as public API step one: o replaced captureFrame with getFrameAtTime o removed getMode o Replace MediaMetadataRetriever.captureFrame() with MediaMetadataRetriever.getFrameAtTime() as part of the preparation for publishing MediaMetadataRetriever as public Java API o Remove captureFrame from MediaMetadataRetriever.java class It has been replaced by getFrameAtTime() method o Replace extractAlbumArt() with getEmbeddedPicture() in MediaMetadataRetriever.java o Publish MediaMetadataRetriever.java as public API o Removed setMode() methods and related mode constants o Removed some of the unused the metadata keys o Updated the javadoc o part of a multi-project change. bug - 3309041 Change-Id: I2efb6e8b8d52897186b016cb4efda6862f5584c4
| * | Merge "Do Not Merge: Expose insecure rfcomm Bluetooth API." into gingerbreadJaikumar Ganesh2011-01-141-0/+32
| |\ \
| | * | Do Not Merge: Expose insecure rfcomm Bluetooth API.Jaikumar Ganesh2011-01-141-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This complements the secure rfcomm API. The link key is unauthenticated and is subject to MITM attacks. The link key may be encrypted depending on the type of Bluetooth device. This helps apps which don't need the extra security or have their own security layer built on top of the rfcomm link. Bug: 3352266 Change-Id: I633fd0372e5e23288d6fec950dd1abc2896031f1
| * | | Add dispatching overrides for foreground apps.Jeff Hamilton2011-01-131-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Apps can register to override the default dispatching but only when they're in the foreground. Change-Id: I8e9a9254d3f79f097fb3c8c677d806043574ba4d
| * | | Merge "Do not merge." into gingerbreadWei-Ta Chen2011-01-131-1/+151
| |\ \ \ | | |_|/ | |/| |
| | * | Do not merge.Wei-Ta Chen2011-01-111-1/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport changes related to BitmapRegionDecoder from HoneyComb to Gingerbread. Bug: 3309014 //////////////////////////////////////////////////// This is a combination of 7 commits. Revert "Do not merge." This reverts commit f7681f84918c27f6a626681ce37ed2a236c44e82. Change-Id: I46fd710600b1649773eaea2d9abc2b21a592f9a6 Fix a initialization bug in BitmapRegionDecoder. Change-Id: I6c1151fd34970a84d4de52d664d9a5dc464892c5 Fix segfault when tring to throw IOException. Change-Id: I530cc4409ba4ca17cec933afad077c5f60ba554f Fix 3122139, where previewing an attachment for the second time will fail. Use AutoFDSeek to mark and restore the position before we read data from the descriptor. Change-Id: I3d4f012dce486e19b113bc90a98b94031cfa8195 Add inPreferQualityOverSpeed into BitmapFactory.Options. The new field allows a developer to use a more accurate by slightly slower IDCT method in JPEG decode. This in turns improves the quality of the reconstructed image. The field by default is not set and thus does not affect existing applications. Bug: 3238925 Change-Id: I93d55b7226e47a43e639325cd1a677694d6f2ee4 Unhide inPreferQualityOverSpeed in BitmapFactory.Options. The new field allows a developer to use a more accurate by slightly slower IDCT method in JPEG decode. This in turns improves the quality of the reconstructed image. The field by default is not set and thus does not affect existing applications. Bug: 3238925 Related changes: https://android-git.corp.google.com/g/#change,83291 and https://android-git.corp.google.com/g/#change,83294 Change-Id: I969f5c413f9b2179454aeb90e18ae8222ee583b4 Correct the API comments. BitmapRegionDecoder supports PNG as well.
| * | | Merge "Add the {get,set}PackageObbPaths calls to API" into gingerbreadKenny Root2011-01-121-0/+56
| |\ \ \ | | |/ / | |/| |
| | * | Add the {get,set}PackageObbPaths calls to APIKenny Root2011-01-091-0/+56
| | |/ | | | | | | | | | | | | | | | | | | Add getPackageObbPaths() and setPackageObbPaths() to the public API. Bug: 3214719 Change-Id: Icb9f2f92f8c59bb3d31317f609854e81abbd1449
| * | Update API current.xml to unbreak build.Nick Pelly2011-01-101-11/+11
| | | | | | | | | | | | Change-Id: I151ee987fdae73fdf8f339dbb64f8fd27a0436b6
| * | Change Tag.getTechnology(NfcAdapter, int) to NfcAdapter.getTechnology(Tag, int)Nick Pelly2011-01-101-15/+15
| |/ | | | | | | | | | | The later feels less clumsy. Change-Id: I50f29aef23d2993dcfd25f4c4f2cb0d77bdc0610
| * Make the new NFC APIs public.Jeff Hamilton2011-01-061-0/+1433
| | | | | | | | Change-Id: Ia0acd9759d67683eaf1dc199dc2cc55e16a98e77
| * Expose AMRNB/WB and AAC encoder and related file output formats - do not mergeJames Dong2010-12-221-1/+45
| | | | | | | | | | | | bug - 3305667 Change-Id: I8f137af7f87cb010f75cae1777b9ec6b6af8214f
| * Unhide RecognizerResultsIntent. This API wasMike LeBeau2010-12-201-1/+87
| | | | | | | | | | | | | | | | | | | | | | reviewed for Froyo, but we didn't want to make it public then because it wasn't until our first Market release of Voice Search that the APIs would be in use by our app. http://b/3135351 Change-Id: I49053717cac08e3976c22e3a105139b6755aadb8
| * Work on issue #3255640: Need to bump GB to API 10 version name "2.4"Dianne Hackborn2010-12-141-0/+418795
| | | | | | | | | | | | New API definition for API level 10. Change-Id: I1d78374ca5a17d568dc6f6b1ae8fb456f4d4aa88
| * Make getSystemService(NFC_SERVICE) the NFC entry point.Nick Pelly2010-12-101-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | This gives NFC service a handle to the application context. Deprecate NfcAdapter.getDefaultAdapter(), it does not provide a context. Using this method will print a warning, and will later throw an exception if a method that requires a context is called. No 2.3 API's will fail, but new API's that do require a context might fail. Also add helper NfcAdapter.getDefaultAdapter(Context). Change-Id: I9a6378de4ef4b61ad922f8d53e64e2a1a1d5d60c
* | wimax: Add framework support for WiMAXshinzul2011-02-221-0/+99
| | | | | | | | | | | | | | | | * Add support for proprietary WiMAX implementations * Uses reflection to avoid any coupling with open-source portions * Enable with BOARD_USES_SQN_WIMAX Change-Id: I3429daf979754fbda4db4a6f1e6dca29873d6475
* | Camera: Adding frameworks support for Touch AF/AEC feature.Apurva Rajguru2011-02-051-1/+68
| | | | | | | | Change-Id: I5bd64d29d249979738d023aed3ce48b0889d76c5
* | Camera: Adding framework support for Touch AEC.Apurva Rajguru2011-02-051-0/+83
| | | | | | | | Change-Id: I11ba827e6b8d680b01a0869afa2c049501b21b71
* | Camera: Add support to set the frame rate modesMohan Kandra2011-02-051-0/+35
| | | | | | | | | | | | | | Add support to change the frame rate modes between auto and fixed. Change-Id: I38577bae7dda99b0f82ee9af29f3557157e17bb6
* | media: Add support to set camera parametersSteve Kondik2011-01-301-0/+15
| | | | | | | | | | | | Based on a series of patches from CodeAurora. Change-Id: I9e07ee81eb4c8db7de8f688e0ba90ea816b06430
* | Update APISteve Kondik2011-01-291-0/+116
| | | | | | | | Change-Id: If3274739cb657d39c46d12523dde07f40132b609