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

123456

/frameworks/base/core/java/android/service/autofill/
H A DAutofillServiceHelper.java27 static AutofillId[] assertValid(@Nullable AutofillId[] ids) { argument
28 Preconditions.checkArgument(ids != null && ids.length > 0, "must have at least one id");
30 for (int i = 0; i < ids.length; ++i) {
31 if (ids[i] == null) {
32 throw new IllegalArgumentException("ids[" + i + "] must not be null");
35 return ids;
H A DFillContext.java38 * It contains a snapshot of the UI state, the view ids that were returned by
108 * Finds {@link ViewNode ViewNodes} that have the requested ids.
110 * @param ids The ids of the node to find.
112 * @return The nodes indexed in the same way as the ids.
116 @NonNull public ViewNode[] findViewNodesByAutofillIds(@NonNull AutofillId[] ids) { argument
118 final ViewNode[] foundNodes = new AssistStructure.ViewNode[ids.length];
121 final SparseIntArray missingNodeIndexes = new SparseIntArray(ids.length);
123 for (int i = 0; i < ids.length; i++) {
125 int lookupTableIndex = mViewNodeLookupTable.indexOfKey(ids[
[all...]
H A DBatchUpdates.java178 final int[] ids = new int[size];
182 ids[i] = pair.first;
185 dest.writeIntArray(ids);
198 final int[] ids = parcel.createIntArray();
199 if (ids != null) {
202 final int size = ids.length;
204 builder.transformChild(ids[i], values[i]);
H A DCharSequenceTransformation.java190 final AutofillId[] ids = new AutofillId[size];
196 ids[i] = entry.getKey();
203 parcel.writeParcelableArray(ids, flags);
212 final AutofillId[] ids = parcel.readParcelableArray(null, AutofillId.class);
220 new CharSequenceTransformation.Builder(ids[0], regexs[0], substs[0]);
222 final int size = ids.length;
224 builder.addField(ids[i], regexs[i], substs[i]);
H A DCustomDescription.java317 final int[] ids = new int[size];
321 ids[i] = pair.first;
324 dest.writeIntArray(ids);
354 final int[] ids = parcel.createIntArray();
355 if (ids != null) {
358 final int size = ids.length;
360 builder.addChild(ids[i], values[i]);
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetDebugMessageLog.java1 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
10 int[] ids,
19 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
25 java.nio.IntBuffer ids,
30 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
38 int[] ids,
43 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
49 java.nio.IntBuffer ids,
3 glGetDebugMessageLog( int count, int bufSize, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset, int[] lengths, int lengthsOffset, byte[] messageLog, int messageLogOffset) argument
21 glGetDebugMessageLog( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths, java.nio.ByteBuffer messageLog) argument
32 glGetDebugMessageLog( int count, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset) argument
45 glGetDebugMessageLog( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities) argument
H A DglGetDebugMessageLogKHR.java1 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
10 int[] ids,
19 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
25 java.nio.IntBuffer ids,
30 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
38 int[] ids,
43 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
49 java.nio.IntBuffer ids,
3 glGetDebugMessageLogKHR( int count, int bufSize, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset, int[] lengths, int lengthsOffset, byte[] messageLog, int messageLogOffset) argument
21 glGetDebugMessageLogKHR( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths, java.nio.ByteBuffer messageLog) argument
32 glGetDebugMessageLogKHR( int count, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset) argument
45 glGetDebugMessageLogKHR( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities) argument
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/
H A DSelectionProbe.java79 public void assertSelection(int... ids) { argument
80 assertSelected(ids);
81 assertEquals(ids.length, mMgr.getSelection().size());
83 mSelectionListener.assertSelectionSize(ids.length);
86 public void assertSelected(int... ids) { argument
88 for (int id : ids) {
96 public void assertNotSelected(int... ids) { argument
98 for (int id : ids) {
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpDocumentsService.java61 final int[] ids = intent.hasExtra(EXTRA_DEVICE_IDS) ?
66 return updateForegroundState(ids, notifications) ? START_STICKY : START_NOT_STICKY;
76 @Nullable int[] ids, @Nullable Notification[] notifications) {
78 final int size = ids != null ? ids.length : 0;
80 Preconditions.checkArgument(ids != null);
82 Preconditions.checkArgument(ids.length == notifications.length);
89 startForeground(ids[i], notifications[i]);
93 mNotificationManager.notify(ids[i], notifications[i]);
95 openedNotification.add(ids[
75 updateForegroundState( @ullable int[] ids, @Nullable Notification[] notifications) argument
[all...]
H A DServiceIntentSender.java64 final int[] ids = new int[records.length];
67 ids[i] = records[i].deviceId;
70 intent.putExtra(MtpDocumentsService.EXTRA_DEVICE_IDS, ids);
/frameworks/wilhelm/tests/sandbox/
H A Dsrcsink.c63 SLInterfaceID ids[1] = {SL_IID_BUFFERQUEUE}; local
67 &audioSnk, 1, ids, req);
74 &audioSnk, 1, ids, req);
86 &audioSnk, 1, ids, req);
98 &audioSnk, 1, ids, req);
111 &audioSnk, 1, ids, req);
116 &audioSnk, 1, ids, req);
124 &audioSnk, 1, ids, req);
129 &audioSnk, 1, ids, req);
137 &audioSnk, 1, ids, re
[all...]
H A Durimime.c78 SLInterfaceID ids[1]; local
80 ids[0] = SL_IID_BUFFERQUEUE;
84 &audioSnk, numInterfaces, ids, req);
88 ids[0] = SL_IID_ANDROIDSIMPLEBUFFERQUEUE;
90 &audioSnk, numInterfaces, ids, req);
/frameworks/support/room/compiler/src/test/data/daoWriter/input/
H A DComplexDao.java48 @Query("SELECT * FROM user where uid IN (:ids)")
49 abstract public List<User> loadAllByIds(int... ids); argument
54 @Query("SELECT ageColumn FROM user where uid IN(:ids)")
55 abstract public int[] getAllAges(int... ids); argument
57 @Query("SELECT ageColumn FROM user where uid IN(:ids)")
58 abstract public List<Integer> getAllAgesAsList(List<Integer> ids); argument
63 @Query("SELECT * FROM user where uid IN (:ids)")
64 abstract public LiveData<List<User>> loadUsersByIdsLive(int... ids); argument
/frameworks/rs/
H A DrsApiElement.cpp35 extern "C" void rsaElementGetSubElements(RsContext con, RsElement elem, uintptr_t *ids, argument
42 ids[i] = (uintptr_t)e->getField(i);
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
H A DTestUtil.java32 public static User[] createUsersArray(int... ids) { argument
33 User[] result = new User[ids.length];
34 for (int i = 0; i < ids.length; i++) {
35 result[i] = createUser(ids[i]);
40 public static List<User> createUsersList(int... ids) { argument
42 for (int id : ids) {
/frameworks/av/media/libmediaplayerservice/tests/
H A DDrmSessionManager_test.cpp87 static void GetSessionId(const uint8_t* ids, size_t num, Vector<uint8_t>* sessionId) { argument
89 sessionId->push_back(ids[i]);
205 const uint8_t ids[] = {123}; local
207 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId);
234 const uint8_t ids[] = {1, 3, 5}; local
236 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId);
/frameworks/av/services/mediadrm/tests/
H A DDrmSessionManager_test.cpp83 static void GetSessionId(const uint8_t* ids, size_t num, Vector<uint8_t>* sessionId) { argument
85 sessionId->push_back(ids[i]);
201 const uint8_t ids[] = {123}; local
203 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId);
230 const uint8_t ids[] = {1, 3, 5}; local
232 GetSessionId(ids, ARRAY_SIZE(ids), &sessionId);
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/
H A DPKeyTestDatabase.java53 @Query("select data from IntAutoIncPKeyEntity WHERE pKey IN(:ids)")
54 List<String> loadDataById(long... ids); argument
71 @Query("select data from IntegerAutoIncPKeyEntity WHERE pKey IN(:ids)")
72 List<String> loadDataById(long... ids); argument
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutLauncher.java123 @NonNull String packageName, @NonNull List<String> ids, boolean forPinRequest) {
132 final int idSize = ids.size();
148 final String id = ids.get(i);
246 final ArraySet<String> ids = mPinnedShortcuts.valueAt(i);
247 final int idSize = ids.size();
249 ShortcutService.writeTagValue(out, TAG_PIN, ids.valueAt(j));
273 ArraySet<String> ids = null;
294 ids = new ArraySet<>();
296 PackageWithUser.of(packageUserId, packageName), ids);
304 if (ids
122 pinShortcuts(@serIdInt int packageUserId, @NonNull String packageName, @NonNull List<String> ids, boolean forPinRequest) argument
[all...]
/frameworks/native/services/vr/performanced/
H A Dtask.cpp30 void ParseUidStatusField(const std::string& value, std::array<int, 4>& ids) { argument
33 ids[0] = std::strtol(start, const_cast<char**>(&start), 10);
34 ids[1] = std::strtol(start, const_cast<char**>(&start), 10);
35 ids[2] = std::strtol(start, const_cast<char**>(&start), 10);
36 ids[3] = std::strtol(start, const_cast<char**>(&start), 10);
/frameworks/base/core/java/android/app/
H A DDownloadManager.java317 * provides an array of download ids corresponding to the download notification that was
829 public Query setFilterById(long... ids) { argument
830 mIds = ids;
1032 * @param ids the IDs of the downloads to be marked 'deleted'
1036 public int markRowDeleted(long... ids) { argument
1037 if (ids == null || ids.length == 0) {
1039 throw new IllegalArgumentException("input param 'ids' can't be null");
1041 return mResolver.delete(mBaseUri, getWhereClauseForIds(ids), getWhereArgsForIds(ids));
1052 remove(long... ids) argument
1146 restartDownload(long... ids) argument
1175 forceDownload(long... ids) argument
1442 getWhereClauseForIds(long[] ids) argument
1459 getWhereArgsForIds(long[] ids) argument
1468 getWhereArgsForIds(long[] ids, String[] args) argument
[all...]
/frameworks/base/tests/net/java/com/android/server/connectivity/
H A DNetworkNotificationManagerTest.java104 List<Integer> ids = new ArrayList<>(types.size());
106 ids.add(NETWORK_ID_BASE + i);
108 Collections.shuffle(ids);
111 for (int i = 0; i < ids.size(); i++) {
112 mManager.showNotification(ids.get(i), types.get(i), mWifiNai, mCellNai, null, false);
115 List<Integer> idsToClear = new ArrayList<>(ids);
117 for (int i = 0; i < ids.size(); i++) {
121 for (int i = 0; i < ids.size(); i++) {
122 final int id = ids.get(i);
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java166 private CharSequence applyStyles(String str, int[] style, StyleIDs ids) { argument
178 if (type == ids.boldId) {
182 } else if (type == ids.italicId) {
186 } else if (type == ids.underlineId) {
190 } else if (type == ids.ttId) {
194 } else if (type == ids.bigId) {
198 } else if (type == ids.smallId) {
202 } else if (type == ids.subId) {
206 } else if (type == ids.supId) {
210 } else if (type == ids
[all...]
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/model/
H A DWorkSpecDao.java67 * @param ids The identifiers of desired {@link WorkSpec}s
70 @Query("SELECT * FROM workspec WHERE id IN (:ids)")
71 WorkSpec[] getWorkSpecs(List<String> ids); argument
84 * @return All WorkSpec ids in the database.
93 * @param ids The IDs for the {@link WorkSpec}s to update
96 @Query("UPDATE workspec SET state=:state WHERE id IN (:ids)")
97 int setState(State state, String... ids); argument
158 * @param ids The identifier of the {@link WorkSpec}s
162 @Query("SELECT id, state, output FROM workspec WHERE id IN (:ids)")
163 List<WorkSpec.WorkStatusPojo> getWorkStatusPojoForIds(List<String> ids); argument
174 getWorkStatusPojoLiveDataForIds(List<String> ids) argument
[all...]
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/dao/
H A DUserDao.java65 @Query("select * from user where mId IN(:ids)")
66 public abstract User[] loadByIds(int... ids); argument
144 @Query("select mId from user where mId IN (:ids)")
145 public abstract Cursor findUsersAsCursor(int... ids); argument
153 @Query("select * from user where mId IN (:ids)")
154 public abstract Maybe<List<User>> maybeUsersByIds(int... ids); argument
159 @Query("select * from user where mId IN (:ids)")
160 public abstract Single<List<User>> singleUsersByIds(int... ids); argument
212 @Query("DELETE FROM User WHERE mId IN (:ids) AND mAge == :age")
213 public abstract int deleteByAgeAndIds(int age, List<Integer> ids); argument
216 updateByAgeAndIds(float weight, int age, List<Integer> ids) argument
[all...]

Completed in 392 milliseconds

123456