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/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsService.java61 final int[] ids = intent.hasExtra(EXTRA_DEVICE_IDS) ? in onStartCommand() local
66 return updateForegroundState(ids, notifications) ? START_STICKY : START_NOT_STICKY; in onStartCommand()
76 @Nullable int[] ids, @Nullable Notification[] notifications) { in updateForegroundState()
78 final int size = ids != null ? ids.length : 0; in updateForegroundState()
80 Preconditions.checkArgument(ids != null); in updateForegroundState()
82 Preconditions.checkArgument(ids.length == notifications.length); in updateForegroundState()
89 startForeground(ids[i], notifications[i]); in updateForegroundState()
93 mNotificationManager.notify(ids[i], notifications[i]); in updateForegroundState()
95 openedNotification.add(ids[i]); in updateForegroundState()
DServiceIntentSender.java64 final int[] ids = new int[records.length]; in sendUpdateNotificationIntent() local
67 ids[i] = records[i].deviceId; in sendUpdateNotificationIntent()
70 intent.putExtra(MtpDocumentsService.EXTRA_DEVICE_IDS, ids); in sendUpdateNotificationIntent()
/frameworks/base/core/java/android/service/autofill/
DSaveInfo.java307 private AutofillId[] assertValid(AutofillId[] ids) { in assertValid() argument
308 Preconditions.checkArgument(ids != null && ids.length > 0, in assertValid()
309 "must have at least one id: " + Arrays.toString(ids)); in assertValid()
310 for (int i = 0; i < ids.length; i++) { in assertValid()
311 final AutofillId id = ids[i]; in assertValid()
313 "cannot have null id: " + Arrays.toString(ids)); in assertValid()
315 return ids; in assertValid()
342 public @NonNull Builder setOptionalIds(@NonNull AutofillId[] ids) { in setOptionalIds() argument
345 mOptionalIds = assertValid(ids); in setOptionalIds()
DFillContext.java116 @NonNull public ViewNode[] findViewNodesByAutofillIds(@NonNull AutofillId[] ids) { in findViewNodesByAutofillIds() argument
118 final ViewNode[] foundNodes = new AssistStructure.ViewNode[ids.length]; in findViewNodesByAutofillIds()
121 final SparseIntArray missingNodeIndexes = new SparseIntArray(ids.length); in findViewNodesByAutofillIds()
123 for (int i = 0; i < ids.length; i++) { in findViewNodesByAutofillIds()
125 int lookupTableIndex = mViewNodeLookupTable.indexOfKey(ids[i]); in findViewNodesByAutofillIds()
147 final AutofillId id = ids[index]; in findViewNodesByAutofillIds()
153 mViewNodeLookupTable = new ArrayMap<>(ids.length); in findViewNodesByAutofillIds()
174 mViewNodeLookupTable.put(ids[missingNodeIndexes.keyAt(i)], null); in findViewNodesByAutofillIds()
DFillResponse.java176 public @NonNull Builder setAuthentication(@NonNull AutofillId[] ids, in setAuthentication() argument
179 if (ids == null || ids.length == 0) { in setAuthentication()
188 mAuthenticationIds = ids; in setAuthentication()
200 public Builder setIgnoredIds(AutofillId...ids) { in setIgnoredIds() argument
201 mIgnoredIds = ids; in setIgnoredIds()
DDataset.java335 final ArrayList<AutofillId> ids = parcel.readTypedArrayList(null);
339 final int idCount = (ids != null) ? ids.size() : 0;
342 final AutofillId id = ids.get(i);
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutLauncher.java111 @NonNull String packageName, @NonNull List<String> ids) { in pinShortcuts() argument
120 final int idSize = ids.size(); in pinShortcuts()
132 final String id = ids.get(i); in pinShortcuts()
224 final ArraySet<String> ids = mPinnedShortcuts.valueAt(i); in saveToXml() local
225 final int idSize = ids.size(); in saveToXml()
227 ShortcutService.writeTagValue(out, TAG_PIN, ids.valueAt(j)); in saveToXml()
251 ArraySet<String> ids = null; in loadFromXml() local
272 ids = new ArraySet<>(); in loadFromXml()
274 PackageWithUser.of(packageUserId, packageName), ids); in loadFromXml() local
282 if (ids == null) { in loadFromXml()
[all …]
/frameworks/base/tests/net/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java93 List<Integer> ids = new ArrayList<>(types.size()); in testNotificationsShownAndCleared() local
95 ids.add(NETWORK_ID_BASE + i); in testNotificationsShownAndCleared()
97 Collections.shuffle(ids); in testNotificationsShownAndCleared()
100 for (int i = 0; i < ids.size(); i++) { in testNotificationsShownAndCleared()
101 mManager.showNotification(ids.get(i), types.get(i), mWifiNai, mCellNai, null, false); in testNotificationsShownAndCleared()
104 List<Integer> idsToClear = new ArrayList<>(ids); in testNotificationsShownAndCleared()
106 for (int i = 0; i < ids.size(); i++) { in testNotificationsShownAndCleared()
110 for (int i = 0; i < ids.size(); i++) { in testNotificationsShownAndCleared()
111 final int id = ids.get(i); in testNotificationsShownAndCleared()
/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.java848 public Query setFilterById(long... ids) { in setFilterById() argument
849 mIds = ids; in setFilterById()
1055 public int markRowDeleted(long... ids) {
1056 if (ids == null || ids.length == 0) {
1060 return mResolver.delete(mBaseUri, getWhereClauseForIds(ids), getWhereArgsForIds(ids));
1071 public int remove(long... ids) {
1072 return markRowDeleted(ids);
1165 public void restartDownload(long... ids) {
1166 Cursor cursor = query(new Query().setFilterById(ids));
1185 mResolver.update(mBaseUri, values, getWhereClauseForIds(ids), getWhereArgsForIds(ids));
[all …]
/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/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/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/native/services/vr/performanced/
Dtask.cpp30 void ParseUidStatusField(const std::string& value, std::array<int, 4>& ids) { in ParseUidStatusField() argument
33 ids[0] = std::strtol(start, const_cast<char**>(&start), 10); in ParseUidStatusField()
34 ids[1] = std::strtol(start, const_cast<char**>(&start), 10); in ParseUidStatusField()
35 ids[2] = std::strtol(start, const_cast<char**>(&start), 10); in ParseUidStatusField()
36 ids[3] = std::strtol(start, const_cast<char**>(&start), 10); in ParseUidStatusField()
/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/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/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/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/core/java/android/hardware/input/
DInputManager.java313 final int[] ids = new int[count]; in getInputDeviceIds() local
315 ids[i] = mInputDevices.keyAt(i); in getInputDeviceIds()
317 return ids; in getInputDeviceIds()
930 final int[] ids; in populateInputDevicesLocked() local
932 ids = mIm.getInputDeviceIds(); in populateInputDevicesLocked()
938 for (int i = 0; i < ids.length; i++) { in populateInputDevicesLocked()
939 mInputDevices.put(ids[i], null); in populateInputDevicesLocked()

12345