/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | BasicCallTests.java | 78 IdPair ids = startAndMakeActiveOutgoingCall("650-555-1212", 81 mInCallServiceFixtureX.mInCallAdapter.disconnectCall(ids.mCallId); 82 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 83 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 87 mConnectionServiceFixtureA.sendSetDisconnected(ids.mConnectionId, DisconnectCause.LOCAL); 89 mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 91 mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 93 mInCallServiceFixtureX.getCall(ids.mCallId).getConnectTimeMillis()); 95 mInCallServiceFixtureY.getCall(ids.mCallId).getConnectTimeMillis()); 97 mInCallServiceFixtureX.getCall(ids [all...] |
H A D | CallExtrasTest.java | 53 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", 64 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey( 66 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey( 79 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", 85 assertTrue(mInCallServiceFixtureX.getCall(ids.mCallId).getExtras() 88 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getBoolean(EXTRA_KEY_BOOL)); 100 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", 107 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().containsKey(EXTRA_KEY_INT)); 109 mInCallServiceFixtureX.getCall(ids.mCallId).getExtras().getInt(EXTRA_KEY_INT)); 121 IdPair ids [all...] |
H A D | TelecomSystemTest.java | 551 IdPair ids = outgoingCallCreateConnectionComplete(startingNumConnections, startingNumCalls, 554 connectionServiceFixture.sendSetDialing(ids.mConnectionId); 555 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 556 assertEquals(Call.STATE_DIALING, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 558 connectionServiceFixture.sendSetVideoState(ids.mConnectionId); 560 connectionServiceFixture.sendSetActive(ids.mConnectionId); 561 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureX.getCall(ids.mCallId).getState()); 562 assertEquals(Call.STATE_ACTIVE, mInCallServiceFixtureY.getCall(ids.mCallId).getState()); 564 return ids; 916 IdPair ids [all...] |
H A D | VideoCallTests.java | 51 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", 67 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", 81 IdPair ids = startAndMakeActiveOutgoingCall("650-555-1212", 96 IdPair ids = startAndMakeActiveOutgoingCall("650-555-1212", 111 IdPair ids = startAndMakeActiveOutgoingCall("650-555-1212", 125 IdPair ids = startAndMakeActiveIncomingCall("650-555-1212", 138 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), 143 mConnectionServiceFixtureA.sendSetDisconnected(ids.mConnectionId, DisconnectCause.MISSED); 154 IdPair ids = startIncomingPhoneCall("650-555-1212", mPhoneAccountA0.getAccountHandle(), 159 mConnectionServiceFixtureA.sendSetDisconnected(ids [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | TelephonyBackupAgent.java | 1351 // recipientIds will be a space-separated list of ids into the 1369 final String[] ids = spaceSepIds.split(" "); 1370 for (final String id : ids) { 1419 Log.d(TAG, "No MMS addresses found from ids string [" + spaceSepIds + "]");
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
H A D | TelephonyBackupAgentTest.java | 854 * class that implements MmsSms provider for thread ids. 868 Set<Integer> ids = new ArraySet<>(); 873 ids.add(id2Recipient.indexOf(rec)+1); 875 if (!id2Thread.contains(ids)) { 876 id2Thread.add(ids); 878 return id2Thread.indexOf(ids)+1;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadNotifier.java | 408 final long[] ids = new long[cluster.size()]; 411 ids[i] = cursor.getLong(UpdateQuery._ID); 413 return ids;
|
H A D | DownloadReceiver.java | 169 final long[] ids = intent.getLongArrayExtra( 171 sendNotificationClickedIntent(context, ids); 230 private void sendNotificationClickedIntent(Context context, long[] ids) { argument 236 Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, ids[0]); 244 Log.w(TAG, "Missing details for download " + ids[0]); 260 appIntent.putExtra(DownloadManager.EXTRA_NOTIFICATION_CLICK_DOWNLOAD_IDS, ids); 270 appIntent.putExtra(DownloadManager.EXTRA_NOTIFICATION_CLICK_DOWNLOAD_IDS, ids); 272 if (ids.length == 1) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ContactsProvider2.java | 568 // When using this sql, add comma separated raw contacts ids and "))". 2607 * @param ids Should not be empty 2609 private void appendIds(StringBuilder sb, Set<Long> ids) { argument 2610 for (long id : ids) { 9840 final String[] ids = uri.getLastPathSegment().trim().split(","); 9841 final ArrayList<Long> dataIds = new ArrayList<Long>(ids.length); 9843 for (String id : ids) { 9858 for (int i = 0; i < ids.length; i++) { 9862 rawContactIdSelect.append(ids[i]);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/ |
H A D | ContactAggregatorHelper.java | 81 Set<Long> ids = rawContactIds.get(Iterables.getOnlyElement(s)); 82 if (ids != null && !ids.isEmpty()) { 83 mergedSet.addAll(ids); 91 * Given a set of raw contact ids {@code rawContactIdSet} and the connection among them
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactsDatabaseHelperTest.java | 88 final Set<Long> ids = Sets.newHashSet(); 89 ids.add(a1id); 90 ids.add(a2id); 91 ids.add(a3id); 92 ids.add(a4id); 93 ids.add(a5id); 94 assertEquals(5, ids.size()); 212 * Test for cache {@link ContactsDatabaseHelper#mCommonMimeTypeIdsCache} which stores ids for 222 // The ids should be available even after deleting them from the table
|
H A D | ContactsProvider2Test.java | 8986 DatabaseAsserts.ContactIdPair ids = assertContactCreateDelete(); 8987 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, start); 8990 RawContactUtil.delete(mResolver, ids.mRawContactId, true); 8994 DatabaseAsserts.ContactIdPair ids = assertContactCreateDelete(); 8998 String[] record = RawContactUtil.queryByRawContactId(mResolver, ids.mRawContactId, 9004 RawContactUtil.delete(mResolver, ids.mRawContactId, true); 9008 DatabaseAsserts.ContactIdPair ids = assertContactCreateDelete(); 9011 String[] record = RawContactUtil.queryByRawContactId(mResolver, ids.mRawContactId, 9016 RawContactUtil.delete(mResolver, ids.mRawContactId, true); 9024 DatabaseAsserts.ContactIdPair ids 9914 updateDataUsageFeedback(String usageType, long... ids) argument [all...] |
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
H A D | BlockedNumberBackupAgent.java | 102 state.ids.add(dataInputStream.readInt()); 109 SortedSet<Integer> deletedBlockedNumbers = new TreeSet<>(state.ids); 112 if (state.ids.contains(blockedNumber.id)) { 119 state.ids.add(blockedNumber.id); 126 state.ids.remove(id); 193 for (int i : state.ids) { 249 final SortedSet<Integer> ids; field in class:BlockedNumberBackupAgent.BackupState 251 BackupState(int version, SortedSet<Integer> ids) { argument 253 this.ids = ids; [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | DownloadManagerWrapper.java | 54 public void remove(final long... ids) { argument 57 mDownloadManager.remove(ids); 65 Log.e(TAG, "Can't remove files with ID " + ids + " from download manager", e);
|
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 450 IntArray ids = mUnboundTextures; 452 mGLId.glDeleteTextures(null, ids.size(), ids.getInternalArray(), 0); 453 ids.clear();
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
H A D | ContactFragment.java | 537 public ArrayList<Long> ids = new ArrayList<Long>(); field in class:ContactFragment.ViewEntry 617 // Keep track of all the ids that have been collapsed with this one. 618 ids.add(entry.id);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ConversationCheckedSet.java | 203 private void removeAll(Collection<Long> ids) { argument 209 for (Long id : ids) { 343 // At this point batchConversationToCheck contains the conversation ids for the 347 // This set contains the conversation ids that are in the conversation cursor
|
/packages/apps/TV/libs/ |
H A D | exoplayer.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ... |
H A D | exoplayer_v2.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ... |
/packages/apps/TV/src/com/android/tv/data/ |
H A D | ChannelDataManager.java | 749 * {@code columnValue}. The selective rows in the ID list {@code ids} will be updated. 753 final String columnName, final int columnValue, final List<Long> ids) { 760 String selection = Utils.buildSelectionForIds(Channels._ID, ids); 752 updateOneColumnValue( final String columnName, final int columnValue, final List<Long> ids) argument
|
/packages/apps/TV/src/com/android/tv/dvr/ |
H A D | DvrDataManagerImpl.java | 669 HashSet<Long> ids = new HashSet<>(); 673 ids.add(r.getId()); 679 if (ids.contains(r.getSeriesRecordingId())) {
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/ |
H A D | ExoPlayerSampleExtractor.java | 247 List<String> ids = new ArrayList<>(); 249 ids.add(String.format(Locale.ENGLISH, "%s_%x", Long.toHexString(mId), i)); 252 mSampleBuffer.init(ids, mTrackFormats);
|
H A D | FileSampleExtractor.java | 68 List<String> ids = new ArrayList<>(); 72 ids.add(trackFormat.trackId); 77 mSampleBuffer.init(ids, mTrackFormats);
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/ |
H A D | RecordingSampleBuffer.java | 131 public void init(@NonNull List<String> ids, @NonNull List<MediaFormat> mediaFormats) argument 133 mTrackCount = ids.size(); 139 mSampleChunkIoHelper = new SampleChunkIoHelper(ids, mediaFormats, mBufferReason, 146 mBufferManager.registerChunkEvictedListener(ids.get(i), RecordingSampleBuffer.this);
|
H A D | SampleChunkIoHelper.java | 119 * @param ids track names 126 public SampleChunkIoHelper(List<String> ids, List<MediaFormat> mediaFormats, argument 129 mTrackCount = ids.size(); 130 mIds = ids;
|