| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This is a copy of the hidden SearchManager.getSuggestions(),
which I plan to remove. It doesn't depend on any hidden APIs
and is purely a helper method.
Change-Id: I7915cdf327cca9f701e56bcedbf3f5388acf3a66
|
|
|
|
|
|
|
| |
Allows sub-classes to specify a max number of batch operations, and
makes this data accessible as a public method.
Change-Id: I3d1cb7b996b23e45b479613b0af4f01a8a641f04
|
|
|
|
|
|
|
| |
This is useful if the columns for a table are already declared in
a String[].
Change-Id: I0140081f149a6354984bf3eb1cb3763f5edf369b
|
|\
| |
| |
| |
| | |
* commit 'f7da24b37a0c94e9bfb5e317548999d418fb12ae':
Make static fields of DUSU$DUF package-private
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
DataUsageStatUpdater$DataUsageFeedback
This makes a little more sense since they are accessed outside of the
class that they are defined in.
In addition, this fixes errors created by proguard when building with
OpenJDK.
Change-Id: I2c2c514e83fbf789cca59a8ff11df9fd0ac7ffda
|
|/
|
|
| |
Change-Id: Ida7831c961dd4a132e6c5bb3fffacceca2f41d44
|
|
|
|
| |
Change-Id: Iadf4bfbc86efdb04ba2917d9def65061e3cc3a23
|
|
|
|
|
| |
Bug: 5047678
Change-Id: I748525684b82f16d7a799b035ad2cfed22fa02d9
|
|
|
|
|
| |
Bug: 5148810
Change-Id: I1b4d5d6280fb94e8cd514e3379aecee888eba479
|
|
|
|
| |
Change-Id: Iffea9735b906466077ce03a97ab49b614917dbf3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The test changes:
- Adds many, many test cases against a MediaPlayerProxy, checking that
it behaves to the contract of a MediaPlayer.
- Adds the RealMediaPlayer class to check a real MediaPlayer.
- Adds the VariableSpeed class, to check a VariableSpeed instance
against the same contract as the MediaPlayer.
- Adds an Android.mk for the unit tests.
- Adds also an AndroidManifest.xml for the unit tests.
- Adds some test asset media files (3gpp file and mp3 file).
Required for the test changes:
- Adds a DynamicProxy class to adapt a MediaPlayer as a
MediaPlayerProxy class, i.e. to test the implementation of
MediaPlayerProxy, required to avoid writing an adapter.
- Adds a couple of listeners, OnErrorListener and
OnCompletionListener, that can be waited for synchronously in unit
tests.
Improvements as a result of the tests:
- During the testing, fixes the case where we weren't throwing
IllegalStateException if asked for the duration on released player.
- Refactored the create engine, create and realize output mix, create
and realize audio player, get play interfaces and callbacks, all
separated into their own static methods.
- This allows me to create the audio player during the main while loop
actually after the decoding has begun rather than before starting.
This work is a precursor to using the decoder's report on sample rate
and channels as the input to these methods.
- slSampleRate and slOutputChannels no longer computed in the
constructor, but computed when needed in the construction and
realization of the audio player.
Other changes:
- Remove some overly verbose logs on getDuration() and
getCurrentPosition().
- Adding the decoder interface to the callback.
- Extract metadata from decoder method now takes the metadata
interface, so this will be usable from the decoder callack in a follow
up.
- Temporarily stop getting the metadata out of the decoder, I'm going
to be doing it on the decoding callback instead.
- Renames the comment in AndroidManifest.xml to describe the
correct invocation to run the common tests.
Bug: 5048252
Bug: 5048257
Change-Id: Icdc18b19ef89c9924f73128b70aa4696b4e727c5
|
|
|
|
|
| |
Bug: 5047405
Change-Id: I479778c36b2e6706dd0d171bfbe9123cc45c0217
|
|
|
|
|
|
|
|
| |
Decode punycode and put in Unicode scripts also into the Regex matcher,
this will match internationalized characters in TopLevelDomains.
issue: 4384739
Change-Id: Ic1aac6e05509f00ef3a2c19a06cacda6e9cd8b42
|
|
|
|
|
|
|
|
|
|
| |
- This has methods for closing objects iff they are not-null, in
exactly the same way as Closeables, but for objects that don't
implement the Closeable interface.
- Specifically at the moment this involves Cursor and
AssetFileDescriptor objects.
Change-Id: I92e8719e6deab7652f940d129594cdee3c8f3061
|
|
|
|
|
|
|
| |
For unbundled apps which don't build against ICS yet,
but need to support this feature.
Change-Id: I3aca93d007ae05e2c59dc8e0613e761ec52ecdea
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Should be after:
- Ibce363d336cb3e3a1fca10bddbd912ec96e4b059
- I2a22be56822226e3ea6b6f2ef23bb77816d0345a
Bug: 3510087
Change-Id: I7e4f4fa01a237fa82521c5f57c258ee599933d60
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It allows each app to conveniently send data usage feedback
to ContactsProvider, which includes
TIMES_CONTACTED/LAST_TIME_CONTACTED existing before ICS and
DataUsageFeedback stuff introduced in ICS.
This library checks API version and update relevant data
appropriately, so each application doesn't need to take care
of details of API (and possible API change in ICS)
TODO:
- need test for this.
Must be after I602c0b83afca674904946f59bbdfc4dca07d46e4
Bug: 4371572
Change-Id: Id84ef81392c48d8c59eb89e0407eec0c592f3b31
|
|\
| |
| |
| |
| | |
* commit '86018e0266578b120b9ad4133a6f189d2a3eac47':
Preventive fix in setNotificationsEnabled
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This code
setNotificationsEnabled(false);
...
notifyDataChanged();
...
setNotificationsEnabled(false);
should not notify that a change happended.
Change-Id: Ia639530dcc2a34c24a7edbe2d2ba3530d22cacb9
|
|\|
| |
| |
| |
| | |
* commit '10c28c7f31687ff57476d0a7381461fef71cc5cb':
Don't change the visibility of overridden methods.
|
| |
| |
| |
| |
| |
| |
| |
| | |
ArrowKeyMovementMethod defines up, down, left, and right
to be protected, so StyledTextArrowKeyMethod shouldn't
change them to be private.
Change-Id: I0e58b9d2ee042b5c7985b664bab299ff618f8116
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
I shouldnt have renamed length -> mlength. This reverts that mistake.
Change-Id: I92eff11b395933912d4010a3e9b996f7b47cf756
|
|/
|
|
| |
Change-Id: I54d3d6e7fb3df41196dc2a9b647fd5d23b83d43a
|
|\
| |
| |
| |
| | |
* commit '046a9e0835f0922e9388001b157daa504356a4cf':
add "transaction_event" eventlog tag
|
| |
| |
| |
| |
| | |
Bug: 3171309
Change-Id: I55a3cc5c35281796352379ab548249b19f4156ea
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit '66189d6156b4aa76f25bb1465d9e0e6f39668b9e'
* commit '66189d6156b4aa76f25bb1465d9e0e6f39668b9e':
Only call VoiceSearch if there are IME logging actions
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
LatinIME/VoiceInput will set a boolean value if there
are actions which need to be logged. This value will
be checked before sending the intent to VS. This way applications
which use IME can call this function without worrying about
sending "empty" logging intents.
Change-Id: If02971c1cada70aaac954a8a4dcf94794677fab9
|
| |
| |
| |
| | |
Change-Id: I9584926a41d002d4e4153fcf241e98cecd74278c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Moving from packages/apps/Contacts
adb shell am instrument -e class com.android.common.widget.GroupingListAdapterTests -w com.android.common.tests/android.test.InstrumentationTestRunner
com.android.common.widget.GroupingListAdapterTests:.............
Test results for InstrumentationTestRunner=.............
Time: 0.03
OK (13 tests)
Change-Id: Ia58fe362afdc5c64e3740c89049be29f5b329a5b
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit 'b4f5e0e5755938f2be9a2f1a1a6609b018c530ad'
* commit 'b4f5e0e5755938f2be9a2f1a1a6609b018c530ad':
Fixed the Rfc822Validator
|
| |
| |
| |
| |
| |
| |
| |
| | |
Make sure that the validator doesn't consider an email address
that has a domain that has more than one adjacent '.' characters valid
Bug: 3048703
Change-Id: I1c227f393738850d89b6da52693d806c231f3136
|
| |
| |
| |
| | |
Change-Id: I5029a9fb49862d87a32dcf87772a4e746887d0fa
|
| |
| |
| |
| | |
This reverts commit 112087b9bd4a239df4359c144b11512c56be896d.
|
| |
| |
| |
| | |
Change-Id: I6e9bdcca682f11038332b6c0065af78a67cc5d42
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit '575e19825099eb83d1d452ffce93314aa66432ed'
* commit '575e19825099eb83d1d452ffce93314aa66432ed':
Use SharedPreferences$Editor.apply() when possible, else use commit()
|
| |
| |
| |
| | |
Change-Id: I48b18015214c90dd071b74bd807eb4346c0179c2
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
gingerbread. The gingerbread branch didn't exist when davidi made that
change, but it was intended for anything after Froyo. Without this,
the android-common.jar in the gingerbread branch was incompatible with
the new voice search.
Change-Id: Ia1d2221cf63d506ccb739da6c811bc8790225949
|
| |
| |
| |
| |
| |
| |
| |
| | |
The "Searching..." UI is only shown if the results
take longer than MESSAGE_SEARCH_PENDING_DELAY to
arrive.
Change-Id: I05a5cdd05c0a35ec728fe3e79e0032ac68371ebf
|
| |
| |
| |
| |
| |
| |
| | |
Directories will need handle the "limit=" query
parameter as well.
Change-Id: I71486b187aa05cabc3194bd5a50fcbdd13e9284b
|
| |
| |
| |
| |
| |
| | |
Also, reducing the number of change notifications
Change-Id: If075fee9a96dc8191c264fc34162969afe4027b6
|
|\ \
| | |
| | |
| | |
| | |
| | | |
* changes:
New LoggingEvent Extra for NBEST selections in Voice IME
New LoggingEvent Extra for NBEST selections in Voice IME
|
| | |
| | |
| | |
| | | |
Change-Id: I78f3d743d417a688342feb167e50a4e5114bc0b0
|
| | |
| | |
| | |
| | | |
Change-Id: I5fc858986c90b1153218bf6c6e187e5324e92a36
|
| | |
| | |
| | |
| | | |
Change-Id: I4c7c55e6a362d4ae0d4896dfc5a5820f7c6a36ce
|
|/ /
| |
| |
| | |
Change-Id: I3545805e2e31eb645c54394545f625b35a6e366f
|
| |
| |
| |
| |
| |
| |
| |
| | |
The class has been used in contacts for a while,
now it will be shared with Gmail, Email and Calendar
for the purposes of integration with Directory API.
Change-Id: I86258dfff426e246d7791b737af574c47b935c7f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Move from core/java/com/android/internal/widget/EditStyledText.java
- Package name was changed to com.android.ex.editstyledtext
-- New naming rule com.android.ex.<package>.<class>
- Deleted all internal APIs
- COnfirmend that the framework was built completely
Change-Id: I371dd034356cde5a7502fbf5cfed090acb0978c4
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit '915260ea53a7363038cf65d851e2e2d616429868'
* commit '915260ea53a7363038cf65d851e2e2d616429868':
Add RESULT_CLICKED logging event to LoggingEvents.
|