Home
last modified time | relevance | path

Searched refs:ids (Results 1 – 25 of 106) sorted by relevance

12345

/frameworks/wilhelm/tests/sandbox/
Dsrcsink.c63 SLInterfaceID ids[1] = {SL_IID_BUFFERQUEUE}; in main() local
67 &audioSnk, 1, ids, req); in main()
74 &audioSnk, 1, ids, req); in main()
86 &audioSnk, 1, ids, req); in main()
98 &audioSnk, 1, ids, req); in main()
111 &audioSnk, 1, ids, req); in main()
116 &audioSnk, 1, ids, req); in main()
124 &audioSnk, 1, ids, req); in main()
129 &audioSnk, 1, ids, req); in main()
137 &audioSnk, 1, ids, req); in main()
[all …]
Durimime.c78 SLInterfaceID ids[1]; in main() local
80 ids[0] = SL_IID_BUFFERQUEUE; in main()
84 &audioSnk, numInterfaces, ids, req); in main()
88 ids[0] = SL_IID_ANDROIDSIMPLEBUFFERQUEUE; in main()
90 &audioSnk, numInterfaces, ids, req); in main()
Dconfigbq.c129 SLInterfaceID ids[1]; in main() local
131 ids[0] = SL_IID_BUFFERQUEUE; in main()
135 &audioSnk, numInterfaces, ids, req); in main()
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
DMultiSelectManager_SelectionTest.java33 private String[] ids = new String[]{ field in MultiSelectManager_SelectionTest
42 selection.add(ids[0]); in setUp()
43 selection.add(ids[1]); in setUp()
44 selection.add(ids[2]); in setUp()
50 assertContains(ids[0]); in testAdd()
51 assertContains(ids[1]); in testAdd()
52 assertContains(ids[2]); in testAdd()
56 selection.remove(ids[0]); in testRemove()
57 selection.remove(ids[2]); in testRemove()
59 assertContains(ids[1]); in testRemove()
[all …]
DModelTest.java173 String[] ids = model.getModelIds(); in testGetItem() local
174 assertEquals(ITEM_COUNT, ids.length); in testGetItem()
176 Cursor c = model.getItem(ids[i]); in testGetItem()
300 String[] ids = model.getModelIds(); in testSort_time() local
303 assertEquals(ITEM_COUNT + DL_COUNT, ids.length); in testSort_time()
307 assertTrue(currentDownloads.contains(ids[i])); in testSort_time()
324 String[] ids = model.getModelIds(); in positionToSelection() local
328 s.add(ids[p]); in positionToSelection()
DModelBackedDocumentsAdapterTest.java71 String[] ids = mModel.getModelIds(); in testHide_ItemCount() local
72 mAdapter.hide(ids[0], ids[1]); in testHide_ItemCount()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
DModel.java214 …private static void binarySort(String[] sortKey, boolean[] isDirs, int[] positions, String[] ids) { in binarySort() argument
220 final String pivotId = ids[start]; in binarySort()
254 ids[left + 2] = ids[left + 1]; in binarySort()
259 ids[left + 1] = ids[left]; in binarySort()
265 System.arraycopy(ids, left, ids, left + 1, n); in binarySort()
271 ids[left] = pivotId; in binarySort()
287 long[] sortKey, boolean[] isDirs, int[] positions, String[] ids) { in binarySort() argument
293 final String pivotId = ids[start]; in binarySort()
321 compare = pivotId.compareTo(ids[mid]); in binarySort()
337 ids[left + 2] = ids[left + 1]; in binarySort()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutLauncher.java100 @NonNull String packageName, @NonNull List<String> ids) { in pinShortcuts() argument
106 final int idSize = ids.size(); in pinShortcuts()
118 final String id = ids.get(i); in pinShortcuts()
171 final ArraySet<String> ids = mPinnedShortcuts.valueAt(i); in saveToXml() local
172 final int idSize = ids.size(); in saveToXml()
174 ShortcutService.writeTagValue(out, TAG_PIN, ids.valueAt(j)); in saveToXml()
198 ArraySet<String> ids = null; in loadFromXml() local
219 ids = new ArraySet<>(); in loadFromXml()
221 PackageWithUser.of(packageUserId, packageName), ids); in loadFromXml() local
229 if (ids == null) { in loadFromXml()
[all …]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglGetDebugMessageLog.java10 int[] ids, in glGetDebugMessageLog() argument
25 java.nio.IntBuffer ids, in glGetDebugMessageLog() argument
38 int[] ids, in glGetDebugMessageLog() argument
49 java.nio.IntBuffer ids, in glGetDebugMessageLog() argument
DglGetDebugMessageLogKHR.java10 int[] ids, in glGetDebugMessageLogKHR() argument
25 java.nio.IntBuffer ids, in glGetDebugMessageLogKHR() argument
38 int[] ids, in glGetDebugMessageLogKHR() argument
49 java.nio.IntBuffer ids, in glGetDebugMessageLogKHR() argument
/frameworks/base/core/java/android/app/
DDownloadManager.java843 public Query setFilterById(long... ids) { in setFilterById() argument
844 mIds = ids; in setFilterById()
1028 public int markRowDeleted(long... ids) {
1029 if (ids == null || ids.length == 0) {
1033 return mResolver.delete(mBaseUri, getWhereClauseForIds(ids), getWhereArgsForIds(ids));
1044 public int remove(long... ids) {
1045 return markRowDeleted(ids);
1138 public void restartDownload(long... ids) {
1139 Cursor cursor = query(new Query().setFilterById(ids));
1158 mResolver.update(mBaseUri, values, getWhereClauseForIds(ids), getWhereArgsForIds(ids));
[all …]
/frameworks/av/media/libmediaplayerservice/tests/
DDrmSessionManager_test.cpp87 static void GetSessionId(const uint8_t* ids, size_t num, Vector<uint8_t>* sessionId) { in GetSessionId() argument
89 sessionId->push_back(ids[i]); in GetSessionId()
205 const uint8_t ids[] = {123}; in TEST_F() local
207 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId); in TEST_F()
234 const uint8_t ids[] = {1, 3, 5}; in TEST_F() local
236 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId); in TEST_F()
/frameworks/av/services/mediadrm/tests/
DDrmSessionManager_test.cpp83 static void GetSessionId(const uint8_t* ids, size_t num, Vector<uint8_t>* sessionId) { in GetSessionId() argument
85 sessionId->push_back(ids[i]); in GetSessionId()
201 const uint8_t ids[] = {123}; in TEST_F() local
203 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId); in TEST_F()
230 const uint8_t ids[] = {1, 3, 5}; in TEST_F() local
232 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId); in TEST_F()
/frameworks/base/core/java/android/content/res/
DStringBlock.java166 private CharSequence applyStyles(String str, int[] style, StyleIDs ids) { in applyStyles() argument
178 if (type == ids.boldId) { in applyStyles()
182 } else if (type == ids.italicId) { in applyStyles()
186 } else if (type == ids.underlineId) { in applyStyles()
190 } else if (type == ids.ttId) { in applyStyles()
194 } else if (type == ids.bigId) { in applyStyles()
198 } else if (type == ids.smallId) { in applyStyles()
202 } else if (type == ids.subId) { in applyStyles()
206 } else if (type == ids.supId) { in applyStyles()
210 } else if (type == ids.strikeId) { in applyStyles()
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLES31Ext.java269 int[] ids, in glDebugMessageControlKHR() argument
281 java.nio.IntBuffer ids, in glDebugMessageControlKHR() argument
312 int[] ids, in glGetDebugMessageLogKHR() argument
327 java.nio.IntBuffer ids, in glGetDebugMessageLogKHR() argument
340 int[] ids, in glGetDebugMessageLogKHR() argument
351 java.nio.IntBuffer ids, in glGetDebugMessageLogKHR() argument
DGLES32.java274 int[] ids, in glDebugMessageControl() argument
286 java.nio.IntBuffer ids, in glDebugMessageControl() argument
318 int[] ids, in glGetDebugMessageLog() argument
333 java.nio.IntBuffer ids, in glGetDebugMessageLog() argument
346 int[] ids, in glGetDebugMessageLog() argument
357 java.nio.IntBuffer ids, in glGetDebugMessageLog() argument
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
DSoundPoolTest.java275 int ids[] = new int[5]; in TestPauseResume() local
277 ids[i] = mSoundPool.play(mSounds[0], DEFAULT_VOLUME, DEFAULT_VOLUME, in TestPauseResume()
279 if (DEBUG) Log.d(LOG_TAG, "Start note " + ids[i]); in TestPauseResume()
280 if (ids[i] == 0) { in TestPauseResume()
298 if (DEBUG) Log.d(LOG_TAG, "Stop note " + ids[i]); in TestPauseResume()
299 mSoundPool.stop(ids[i]); in TestPauseResume()
/frameworks/rs/
DrsApiElement.cpp35 extern "C" void rsaElementGetSubElements(RsContext con, RsElement elem, uintptr_t *ids, in rsaElementGetSubElements() argument
42 ids[i] = (uintptr_t)e->getField(i); in rsaElementGetSubElements()
/frameworks/base/rs/java/android/renderscript/
DFileA3D.java183 int[] ids = new int[numFileEntries]; in initEntries() local
186 mRS.nFileA3DGetIndexEntries(getID(mRS), numFileEntries, ids, names); in initEntries() local
189 … mFileEntries[i] = new IndexEntry(mRS, i, getID(mRS), names[i], EntryType.toEntryType(ids[i])); in initEntries()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneData.java265 String[] ids = resources.getStringArray(R.array.timezone_rename_ids); in populateDisplayNameOverrides() local
268 int length = ids.length; in populateDisplayNameOverrides()
269 if (ids.length != labels.length) { in populateDisplayNameOverrides()
270 Log.e(TAG, "timezone_rename_ids len=" + ids.length + " timezone_rename_labels len=" in populateDisplayNameOverrides()
272 length = Math.min(ids.length, labels.length); in populateDisplayNameOverrides()
276 TimeZoneInfo tzi = mTimeZonesById.get(ids[i]); in populateDisplayNameOverrides()
/frameworks/base/docs/html-intl/intl/ja/preview/
Dguide.jd14 <li><a href="#ids">自動バックアップと端末識別子</a></li>
39 <li><a href="#ids">自動バックアップと端末識別子</a></li>
184 <h2 id="ids">アプリの自動バックアップと端末固有識別子</h2>
/frameworks/base/docs/html-intl/intl/zh-cn/preview/
Dguide.jd14 <li><a href="#ids">自动备份和设备标识符</a></li>
39 <li><a href="#ids">自动备份和设备标识符</a></li>
184 <h2 id="ids">自动备份应用和设备特定的标识符</h2>
/frameworks/base/docs/html-intl/intl/ko/preview/
Dguide.jd14 <li><a href="#ids">자동 백업 및 기기 식별자</a></li>
39 <li><a href="#ids">자동 백업 및 기기 식별자</a></li>
184 <h2 id="ids">앱용 자동 백업 및 기기별 식별자</h2>
/frameworks/base/core/java/android/hardware/input/
DInputManager.java310 final int[] ids = new int[count]; in getInputDeviceIds() local
312 ids[i] = mInputDevices.keyAt(i); in getInputDeviceIds()
314 return ids; in getInputDeviceIds()
908 final int[] ids; in populateInputDevicesLocked() local
910 ids = mIm.getInputDeviceIds(); in populateInputDevicesLocked()
916 for (int i = 0; i < ids.length; i++) { in populateInputDevicesLocked()
917 mInputDevices.put(ids[i], null); in populateInputDevicesLocked()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDatabase.java275 final String[] ids = new String[cursor.getCount()]; in getStorageDocumentIds() local
277 ids[i] = cursor.getString(0); in getStorageDocumentIds()
279 return ids; in getStorageDocumentIds()
659 final Set<String> ids = new HashSet<>(); in cleanDatabase() local
663 if (ids.contains(documentId)) { in cleanDatabase()
666 ids.add(documentId); in cleanDatabase()
680 Document.COLUMN_DOCUMENT_ID + " NOT IN " + getIdList(ids), null); in cleanDatabase()
918 private static String getIdList(Set<String> ids) { in getIdList() argument
920 for (final String id : ids) { in getIdList()

12345