Searched refs:ids (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/core/java/android/app/
H A DDownloadManager.java590 public Query setFilterById(long... ids) { argument
591 mIds = ids;
760 * @param ids the IDs of the downloads to be marked 'deleted'
764 public int markRowDeleted(long... ids) { argument
765 if (ids == null || ids.length == 0) {
767 throw new IllegalArgumentException("input param 'ids' can't be null");
771 return mResolver.update(mBaseUri, values, getWhereClauseForIds(ids),
772 getWhereArgsForIds(ids));
780 * @param ids th
783 remove(long... ids) argument
821 restartDownload(long... ids) argument
853 getWhereClauseForIds(long[] ids) argument
870 getWhereArgsForIds(long[] ids) argument
[all...]
H A DActivity.java860 final int[] ids = b.getIntArray(SAVED_DIALOG_IDS_KEY);
861 final int numDialogs = ids.length;
864 final Integer dialogId = ids[i];
1107 int[] ids = new int[mManagedDialogs.size()];
1109 // save each dialog's bundle, gather the ids
1112 ids[i] = key;
1120 dialogState.putIntArray(SAVED_DIALOG_IDS_KEY, ids);
2466 * for you, you should override this method and handle any ids that are
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java135 private CharSequence applyStyles(String str, int[] style, StyleIDs ids) { argument
147 if (type == ids.boldId) {
151 } else if (type == ids.italicId) {
155 } else if (type == ids.underlineId) {
159 } else if (type == ids.ttId) {
163 } else if (type == ids.bigId) {
167 } else if (type == ids.smallId) {
171 } else if (type == ids.subId) {
175 } else if (type == ids.supId) {
179 } else if (type == ids
[all...]
/frameworks/base/media/libmediaplayerservice/
H A DStagefrightPlayer.h57 const media::Metadata::Filter& ids, Parcel *records);
H A DStagefrightPlayer.cpp164 const media::Metadata::Filter& ids, Parcel *records) {
163 getMetadata( const media::Metadata::Filter& ids, Parcel *records) argument
H A DMediaPlayerService.cpp936 media::Metadata::Filter ids; local
944 ids = mMetadataUpdated;
952 status = player->getMetadata(ids, reply);
/frameworks/base/include/media/
H A DPVPlayer.h61 const SortedVector<media::Metadata::Type>& ids,
H A DMediaPlayerInterface.h138 // @param ids SortedList of metadata ID to be fetch. If empty, all
142 virtual status_t getMetadata(const media::Metadata::Filter& ids, argument
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
H A DSoundPoolTest.java267 int ids[] = new int[5];
269 ids[i] = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME,
271 if (DEBUG) Log.d(LOG_TAG, "Start note " + ids[i]);
272 if (ids[i] == 0) {
288 mSoundPool.stop(ids[i]);
/frameworks/base/graphics/java/android/renderscript/
H A DElement.java225 int[] ids = new int[mElements.length];
228 ids[ct] = mElements[ct].mID;
230 mID = rs.nElementCreate2(ids, mElementNames);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerIntegrationTest.java498 Set<Long> ids = mReceiver.getDownloadIds();
499 assertEquals(1, ids.size());
500 Iterator<Long> it = ids.iterator();
/frameworks/base/core/java/android/widget/
H A DListView.java3621 * Returns the set of checked items ids. The result is only valid if the
3641 final long[] ids = new long[count];
3647 ids[checkedCount++] = adapter.getItemId(states.keyAt(i));
3654 return ids;
3657 System.arraycopy(ids, 0, result, 0, checkedCount);
3666 * Returns the set of checked items ids. The result is only valid if the
3680 final long[] ids = new long[count];
3683 ids[i] = idStates.keyAt(i);
3686 return ids;
/frameworks/base/core/java/android/view/
H A DViewDebug.java883 final String[] ids = parameter.split("@");
884 final String className = ids[0];
885 final int hashCode = (int) Long.parseLong(ids[1], 16);
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java832 String[] ids = getSecureContainerList();
834 reply.writeStringArray(ids);
/frameworks/base/libs/ui/tests/
H A DInputReader_test.cpp955 Vector<int32_t> ids; local
956 mReader->getInputDeviceIds(ids);
958 ASSERT_EQ(size_t(2), ids.size());
959 ASSERT_EQ(1, ids[0]);
960 ASSERT_EQ(2, ids[1]);
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp272 jint *ids = _env->GetIntArrayElements(_ids, NULL); local
281 jint id = (jint)rsElementCreate2(con, fieldCount, (RsElement *)ids, nameArray, sizeArray);
286 _env->ReleaseIntArrayElements(_ids, ids, JNI_ABORT);
/frameworks/base/tools/aapt/
H A DXMLNode.cpp1008 uint32_t* ids = (uint32_t*)(idsHeader+1);
1010 *ids++ = htodl(resids[i]);

Completed in 468 milliseconds