/frameworks/wilhelm/tests/sandbox/ |
D | srcsink.c | 63 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 …]
|
D | urimime.c | 78 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()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpDocumentsService.java | 61 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()
|
D | ServiceIntentSender.java | 64 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/ |
D | AutofillServiceHelper.java | 27 static AutofillId[] assertValid(@Nullable AutofillId[] ids) { in assertValid() argument 28 Preconditions.checkArgument(ids != null && ids.length > 0, "must have at least one id"); in assertValid() 30 for (int i = 0; i < ids.length; ++i) { in assertValid() 31 if (ids[i] == null) { in assertValid() 35 return ids; in assertValid()
|
D | FillContext.java | 129 @NonNull public ViewNode[] findViewNodesByAutofillIds(@NonNull AutofillId[] ids) { in findViewNodesByAutofillIds() argument 131 final ViewNode[] foundNodes = new AssistStructure.ViewNode[ids.length]; in findViewNodesByAutofillIds() 134 final SparseIntArray missingNodeIndexes = new SparseIntArray(ids.length); in findViewNodesByAutofillIds() 136 for (int i = 0; i < ids.length; i++) { in findViewNodesByAutofillIds() 138 int lookupTableIndex = mViewNodeLookupTable.indexOfKey(ids[i]); in findViewNodesByAutofillIds() 160 final AutofillId id = ids[index]; in findViewNodesByAutofillIds() 166 mViewNodeLookupTable = new ArrayMap<>(ids.length); in findViewNodesByAutofillIds() 187 mViewNodeLookupTable.put(ids[missingNodeIndexes.keyAt(i)], null); in findViewNodesByAutofillIds()
|
D | BatchUpdates.java | 178 final int[] ids = new int[size]; in writeToParcel() local 182 ids[i] = pair.first; in writeToParcel() 185 dest.writeIntArray(ids); in writeToParcel() 198 final int[] ids = parcel.createIntArray(); 199 if (ids != null) { 202 final int size = ids.length; 204 builder.transformChild(ids[i], values[i]);
|
D | CharSequenceTransformation.java | 193 final AutofillId[] ids = new AutofillId[size]; in writeToParcel() local 199 ids[i] = entry.getKey(); in writeToParcel() 206 parcel.writeParcelableArray(ids, flags); in writeToParcel() 215 final AutofillId[] ids = parcel.readParcelableArray(null, AutofillId.class); 223 new CharSequenceTransformation.Builder(ids[0], regexs[0], substs[0]); 225 final int size = ids.length; 227 builder.addField(ids[i], regexs[i], substs[i]);
|
D | CustomDescription.java | 393 final int[] ids = new int[size]; in writeToParcel() local 397 ids[i] = pair.first; in writeToParcel() 400 dest.writeIntArray(ids); in writeToParcel() 422 final int[] ids = new int[size]; in writeToParcel() local 425 ids[i] = mActions.keyAt(i); in writeToParcel() 428 dest.writeIntArray(ids); in writeToParcel()
|
D | FillResponse.java | 276 public Builder setAuthentication(@NonNull AutofillId[] ids, in setAuthentication() argument 290 mAuthenticationIds = assertValid(ids); in setAuthentication() 303 public Builder setIgnoredIds(AutofillId...ids) { in setIgnoredIds() argument 305 mIgnoredIds = ids; in setIgnoredIds() 387 public Builder setFieldClassificationIds(@NonNull AutofillId... ids) { in setFieldClassificationIds() argument 390 Preconditions.checkArrayElementsNotNull(ids, "ids"); in setFieldClassificationIds() 391 Preconditions.checkArgumentInRange(ids.length, 1, in setFieldClassificationIds() 393 mFieldClassificationIds = ids; in setFieldClassificationIds()
|
/frameworks/native/services/bufferhub/tests/ |
D | BufferHubIdGenerator_test.cpp | 28 int ids[kTestSize]; in TEST_F() local 30 ids[i] = mIdGenerator->getId(); in TEST_F() 31 EXPECT_GE(ids[i], 0); in TEST_F() 33 EXPECT_GT(ids[i], ids[i - 1]); in TEST_F() 38 mIdGenerator->freeId(ids[i]); in TEST_F()
|
/frameworks/native/libs/gui/include/gui/ |
D | ITransactionCompletedListener.h | 57 TransactionStats(const std::vector<CallbackId>& ids) : callbackIds(ids) {} in TransactionStats() argument 58 TransactionStats(const std::unordered_set<CallbackId>& ids) in TransactionStats() argument 59 : callbackIds(ids.begin(), ids.end()) {} in TransactionStats() 60 TransactionStats(const std::vector<CallbackId>& ids, nsecs_t latch, const sp<Fence>& present, in TransactionStats() argument 62 : callbackIds(ids), latchTime(latch), presentFence(present), surfaceStats(surfaces) {} in TransactionStats() 106 const std::vector<CallbackId>& ids) in ListenerCallbacks() argument 107 : transactionCompletedListener(listener), callbackIds(ids) {} in ListenerCallbacks()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutLauncher.java | 123 @NonNull String packageName, @NonNull List<String> ids, boolean forPinRequest) { in pinShortcuts() argument 132 final int idSize = ids.size(); in pinShortcuts() 148 final String id = ids.get(i); in pinShortcuts() 246 final ArraySet<String> ids = mPinnedShortcuts.valueAt(i); in saveToXml() local 247 final int idSize = ids.size(); in saveToXml() 249 ShortcutService.writeTagValue(out, TAG_PIN, ids.valueAt(j)); in saveToXml() 273 ArraySet<String> ids = null; in loadFromXml() local 294 ids = new ArraySet<>(); in loadFromXml() 296 PackageWithUser.of(packageUserId, packageName), ids); in loadFromXml() local 304 if (ids == null) { in loadFromXml() [all …]
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | Helper.java | 94 final ArrayList<AutofillId> ids = dataset.getFieldIds(); in getFields() local 96 final int size = ids == null ? 0 : ids.size(); in getFields() 99 fields.put(ids.get(i), values.get(i)); in getFields() 216 final ArrayList<AutofillId> ids = new ArrayList<>(); in getAutofillIds() local 220 addAutofillableIds(node.getRootViewNode(), ids, autofillableOnly); in getAutofillIds() local 222 return ids; in getAutofillIds() 226 @NonNull ArrayList<AutofillId> ids, boolean autofillableOnly) { in addAutofillableIds() argument 228 ids.add(node.getAutofillId()); in addAutofillableIds() 233 addAutofillableIds(child, ids, autofillableOnly); in addAutofillableIds()
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
D | glGetDebugMessageLogKHR.java | 10 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
|
D | glGetDebugMessageLog.java | 10 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
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 884 public Query setFilterById(long... ids) { in setFilterById() argument 885 mIds = ids; in setFilterById() 1095 public int markRowDeleted(long... ids) { 1096 if (ids == null || ids.length == 0) { 1100 return mResolver.delete(mBaseUri, getWhereClauseForIds(ids), getWhereArgsForIds(ids)); 1111 public int remove(long... ids) { 1112 return markRowDeleted(ids); 1211 public void restartDownload(long... ids) { 1212 Cursor cursor = query(new Query().setFilterById(ids)); 1231 mResolver.update(mBaseUri, values, getWhereClauseForIds(ids), getWhereArgsForIds(ids)); [all …]
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ContentCaptureEvent.java | 159 public ContentCaptureEvent setAutofillIds(@NonNull ArrayList<AutofillId> ids) { in setAutofillIds() argument 160 mIds = Preconditions.checkNotNull(ids); in setAutofillIds() 323 final List<AutofillId> ids = event.getIds(); in mergeEvent() local 325 if (ids != null) { in mergeEvent() 329 for (int i = 0; i < ids.size(); i++) { in mergeEvent() 330 addAutofillId(ids.get(i)); in mergeEvent() 443 final ArrayList<AutofillId> ids = parcel.createTypedArrayList(AutofillId.CREATOR); 444 if (ids != null) { 445 event.setAutofillIds(ids);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | EffectDescriptor.cpp | 192 void EffectDescriptorCollection::moveEffects(const std::vector<int>& ids, in moveEffects() argument 196 __func__, ids.size(), ids.size() ? ids[0] : 0, dstOutput); in moveEffects() 199 if (std::find(begin(ids), end(ids), effect->mId) != end(ids)) { in moveEffects()
|
/frameworks/base/core/java/android/content/res/ |
D | StringBlock.java | 204 private CharSequence applyStyles(String str, int[] style, StyleIDs ids) { in applyStyles() argument 216 if (type == ids.boldId) { in applyStyles() 220 } else if (type == ids.italicId) { in applyStyles() 224 } else if (type == ids.underlineId) { in applyStyles() 228 } else if (type == ids.ttId) { in applyStyles() 232 } else if (type == ids.bigId) { in applyStyles() 236 } else if (type == ids.smallId) { in applyStyles() 240 } else if (type == ids.subId) { in applyStyles() 244 } else if (type == ids.supId) { in applyStyles() 248 } else if (type == ids.strikeId) { in applyStyles() [all …]
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | NetworkNotificationManagerTest.java | 146 List<Integer> ids = new ArrayList<>(types.size()); in testNotificationsShownAndCleared() local 148 ids.add(NETWORK_ID_BASE + i); in testNotificationsShownAndCleared() 150 Collections.shuffle(ids); in testNotificationsShownAndCleared() 153 for (int i = 0; i < ids.size(); i++) { in testNotificationsShownAndCleared() 154 mManager.showNotification(ids.get(i), types.get(i), mWifiNai, mCellNai, null, false); in testNotificationsShownAndCleared() 157 List<Integer> idsToClear = new ArrayList<>(ids); in testNotificationsShownAndCleared() 159 for (int i = 0; i < ids.size(); i++) { in testNotificationsShownAndCleared() 163 for (int i = 0; i < ids.size(); i++) { in testNotificationsShownAndCleared() 164 final int id = ids.get(i); in testNotificationsShownAndCleared()
|
/frameworks/native/services/vr/performanced/ |
D | task.cpp | 30 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/av/services/camera/libcameraservice/ |
D | CameraFlashlight.cpp | 128 std::vector<std::string> ids = mProviderManager->getCameraDeviceIds(); in findFlashUnits() local 129 int numberOfCameras = static_cast<int>(ids.size()); in findFlashUnits() 133 cameraIds[i] = String8(ids[i].c_str()); in findFlashUnits() 220 std::vector<std::string> ids = mProviderManager->getCameraDeviceIds(); in prepareDeviceOpen() local 221 int numCameras = static_cast<int>(ids.size()); in prepareDeviceOpen() 223 String8 id8(ids[i].c_str()); in prepareDeviceOpen() 266 std::vector<std::string> ids = mProviderManager->getCameraDeviceIds(); in deviceClosed() local 267 int numCameras = static_cast<int>(ids.size()); in deviceClosed() 269 String8 id8(ids[i].c_str()); in deviceClosed()
|
/frameworks/base/opengl/java/android/opengl/ |
D | GLES31Ext.java | 269 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
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CachingTest.cpp | 66 std::vector<client_cache_t> ids; in TEST_F() local 73 ids.push_back(id); in TEST_F() 80 uint32_t slot = mHwcSlotGenerator.getHwcCacheSlot(ids[i]); in TEST_F()
|