/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/apex/appsearch/framework/java/external/android/app/appsearch/ |
D | RemoveByDocumentIdRequest.java | 38 RemoveByDocumentIdRequest(String namespace, Set<String> ids) { in RemoveByDocumentIdRequest() argument 40 mIds = ids; in RemoveByDocumentIdRequest() 68 public Builder addIds(@NonNull String... ids) { in addIds() argument 69 Objects.requireNonNull(ids); in addIds() 71 return addIds(Arrays.asList(ids)); in addIds() 76 public Builder addIds(@NonNull Collection<String> ids) { in addIds() argument 77 Objects.requireNonNull(ids); in addIds() 79 mIds.addAll(ids); in addIds()
|
D | GetByDocumentIdRequest.java | 52 @NonNull Set<String> ids, in GetByDocumentIdRequest() argument 55 mIds = Objects.requireNonNull(ids); in GetByDocumentIdRequest() 117 public Builder addIds(@NonNull String... ids) { in addIds() argument 118 Objects.requireNonNull(ids); in addIds() 120 return addIds(Arrays.asList(ids)); in addIds() 125 public Builder addIds(@NonNull Collection<String> ids) { in addIds() argument 126 Objects.requireNonNull(ids); in addIds() 128 mIds.addAll(ids); in addIds()
|
/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 | 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 | FillContext.java | 97 @NonNull public ViewNode[] findViewNodesByAutofillIds(@NonNull AutofillId[] ids) { in findViewNodesByAutofillIds() argument 99 final ViewNode[] foundNodes = new AssistStructure.ViewNode[ids.length]; in findViewNodesByAutofillIds() 102 final SparseIntArray missingNodeIndexes = new SparseIntArray(ids.length); in findViewNodesByAutofillIds() 104 for (int i = 0; i < ids.length; i++) { in findViewNodesByAutofillIds() 106 int lookupTableIndex = mViewNodeLookupTable.indexOfKey(ids[i]); in findViewNodesByAutofillIds() 128 final AutofillId id = ids[index]; in findViewNodesByAutofillIds() 134 mViewNodeLookupTable = new ArrayMap<>(ids.length); in findViewNodesByAutofillIds() 155 mViewNodeLookupTable.put(ids[missingNodeIndexes.keyAt(i)], null); in findViewNodesByAutofillIds()
|
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 | FillResponse.java | 310 public Builder setAuthentication(@NonNull AutofillId[] ids, in setAuthentication() argument 324 mAuthenticationIds = assertValid(ids); in setAuthentication() 369 public Builder setAuthentication(@NonNull AutofillId[] ids, in setAuthentication() argument 372 return setAuthentication(ids, authentication, presentation, inlinePresentation, null); in setAuthentication() 384 public Builder setAuthentication(@SuppressLint("ArrayReturn") @NonNull AutofillId[] ids, in setAuthentication() argument 402 mAuthenticationIds = assertValid(ids); in setAuthentication() 415 public Builder setIgnoredIds(AutofillId...ids) { in setIgnoredIds() argument 417 mIgnoredIds = ids; in setIgnoredIds() 499 public Builder setFieldClassificationIds(@NonNull AutofillId... ids) { in setFieldClassificationIds() argument 502 Preconditions.checkArrayElementsNotNull(ids, "ids"); in setFieldClassificationIds() [all …]
|
/frameworks/base/apex/appsearch/testing/java/com/android/server/appsearch/testing/external/ |
D | AppSearchTestUtils.java | 46 AppSearchSessionShim session, String namespace, String... ids) throws Exception { in doGet() argument 50 new GetByDocumentIdRequest.Builder(namespace).addIds(ids).build())); in doGet() 51 assertThat(result.getSuccesses()).hasSize(ids.length); in doGet() 53 List<GenericDocument> list = new ArrayList<>(ids.length); in doGet() 54 for (String id : ids) { in doGet() 64 Set<String> ids = request.getIds(); in doGet() local 65 assertThat(result.getSuccesses()).hasSize(ids.size()); in doGet() 67 List<GenericDocument> list = new ArrayList<>(ids.size()); in doGet() 68 for (String id : ids) { in doGet()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayIdGeneratorTest.cpp | 32 std::vector<std::optional<Id>> ids; in testGenerateId() local 33 std::generate_n(std::back_inserter(ids), 10, [&] { return generator.generateId(); }); in testGenerateId() 36 for (auto it = ids.begin(); it != ids.end(); ++it) { in testGenerateId() 39 for (auto dup = it + 1; dup != ids.end(); ++dup) { in testGenerateId()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | Helper.java | 98 final ArrayList<AutofillId> ids = dataset.getFieldIds(); in getFields() local 100 final int size = ids == null ? 0 : ids.size(); in getFields() 103 fields.put(ids.get(i), values.get(i)); in getFields() 223 final ArrayList<AutofillId> ids = new ArrayList<>(); in getAutofillIds() local 227 addAutofillableIds(node.getRootViewNode(), ids, autofillableOnly); in getAutofillIds() local 229 return ids; in getAutofillIds() 233 @NonNull ArrayList<AutofillId> ids, boolean autofillableOnly) { in addAutofillableIds() argument 235 ids.add(node.getAutofillId()); in addAutofillableIds() 240 addAutofillableIds(child, ids, autofillableOnly); in addAutofillableIds() 257 final AutofillId[] ids = sanitizerValues[i]; in createSanitizers() local [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | StatusBarStateControllerImplTest.kt | 54 val ids = logs.map(UiEventLoggerFake.FakeUiEvent::eventId) in testChangeState_logged() constant 55 assertEquals(StatusBarStateEvent.STATUS_BAR_STATE_FULLSCREEN_USER_SWITCHER.id, ids[0]) in testChangeState_logged() 56 assertEquals(StatusBarStateEvent.STATUS_BAR_STATE_KEYGUARD.id, ids[1]) in testChangeState_logged() 57 assertEquals(StatusBarStateEvent.STATUS_BAR_STATE_SHADE.id, ids[2]) in testChangeState_logged() 58 assertEquals(StatusBarStateEvent.STATUS_BAR_STATE_SHADE_LOCKED.id, ids[3]) in testChangeState_logged()
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
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
|
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
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraFlashlight.cpp | 127 std::vector<std::string> ids = mProviderManager->getCameraDeviceIds(); in findFlashUnits() local 128 int numberOfCameras = static_cast<int>(ids.size()); in findFlashUnits() 132 cameraIds[i] = String8(ids[i].c_str()); in findFlashUnits() 219 std::vector<std::string> ids = mProviderManager->getCameraDeviceIds(); in prepareDeviceOpen() local 220 int numCameras = static_cast<int>(ids.size()); in prepareDeviceOpen() 222 String8 id8(ids[i].c_str()); in prepareDeviceOpen() 265 std::vector<std::string> ids = mProviderManager->getCameraDeviceIds(); in deviceClosed() local 266 int numCameras = static_cast<int>(ids.size()); in deviceClosed() 268 String8 id8(ids[i].c_str()); in deviceClosed()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutLauncher.java | 131 @NonNull String packageName, @NonNull List<String> ids, boolean forPinRequest) { in pinShortcuts() argument 140 final int idSize = ids.size(); in pinShortcuts() 156 final String id = ids.get(i); in pinShortcuts() 254 final ArraySet<String> ids = mPinnedShortcuts.valueAt(i); in saveToXml() local 255 final int idSize = ids.size(); in saveToXml() 257 ShortcutService.writeTagValue(out, TAG_PIN, ids.valueAt(j)); in saveToXml() 325 ArraySet<String> ids = null; in loadFromXml() local 346 ids = new ArraySet<>(); in loadFromXml() 348 PackageWithUser.of(packageUserId, packageName), ids); in loadFromXml() local 356 if (ids == null) { in loadFromXml() [all …]
|
/frameworks/base/core/java/android/app/ |
D | DownloadManager.java | 891 public Query setFilterById(long... ids) { in setFilterById() argument 892 mIds = ids; in setFilterById() 1093 final long[] ids = new long[idToMime.size()]; 1096 ids[i] = idToMime.keyAt(i); 1099 callExtras.putLongArray(android.provider.Downloads.EXTRA_IDS, ids); 1133 public int markRowDeleted(long... ids) { in markRowDeleted() argument 1134 if (ids == null || ids.length == 0) { in markRowDeleted() 1138 return mResolver.delete(mBaseUri, getWhereClauseForIds(ids), getWhereArgsForIds(ids)); in markRowDeleted() 1149 public int remove(long... ids) { in remove() argument 1150 return markRowDeleted(ids); in remove() [all …]
|
/frameworks/base/media/jni/tuner/ |
D | TunerClient.cpp | 64 vector<FrontendId> ids; in getFrontendIds() local 70 ids.clear(); in getFrontendIds() 71 return ids; in getFrontendIds() 74 ids.push_back(static_cast<FrontendId>(id)); in getFrontendIds() 76 return ids; in getFrontendIds() 83 ids = frontendIds; in getFrontendIds() 85 if (res != Result::SUCCESS || ids.size() == 0) { in getFrontendIds() 87 ids.clear(); in getFrontendIds() 88 return ids; in getFrontendIds() 90 return ids; in getFrontendIds() [all …]
|
/frameworks/native/libs/gui/include/gui/ |
D | ITransactionCompletedListener.h | 162 TransactionStats(const std::vector<CallbackId>& ids) : callbackIds(ids) {} in TransactionStats() argument 163 TransactionStats(const std::unordered_set<CallbackId, CallbackIdHash>& ids) in TransactionStats() argument 164 : callbackIds(ids.begin(), ids.end()) {} in TransactionStats() 165 TransactionStats(const std::vector<CallbackId>& ids, nsecs_t latch, const sp<Fence>& present, in TransactionStats() argument 167 : callbackIds(ids), latchTime(latch), presentFence(present), surfaceStats(surfaces) {} in TransactionStats() 215 ListenerCallbacks(const sp<IBinder>& listener, const std::vector<CallbackId>& ids) in ListenerCallbacks() argument 216 : transactionCompletedListener(listener), callbackIds(ids) {} in ListenerCallbacks()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_vibrator_VibratorManagerService.cpp | 118 jintArray ids = env->NewIntArray(vibratorIds.size()); in nativeGetVibratorIds() local 119 env->SetIntArrayRegion(ids, 0, vibratorIds.size(), reinterpret_cast<jint*>(vibratorIds.data())); in nativeGetVibratorIds() 120 return ids; in nativeGetVibratorIds() 132 std::vector<int32_t> ids(size); in nativePrepareSynced() local 133 env->GetIntArrayRegion(vibratorIds, 0, size, reinterpret_cast<jint*>(ids.data())); in nativePrepareSynced() 134 return service->hal()->prepareSynced(ids).isOk() ? JNI_TRUE : JNI_FALSE; in nativePrepareSynced()
|
/frameworks/native/services/vibratorservice/ |
D | VibratorManagerHalWrapper.cpp | 130 std::vector<int32_t> ids; in getVibratorIds() local 131 auto result = getHal()->getVibratorIds(&ids); in getVibratorIds() 132 auto ret = HalResult<std::vector<int32_t>>::fromStatus(result, ids); in getVibratorIds() 136 for (auto& id : ids) { in getVibratorIds() 159 HalResult<void> AidlManagerHalWrapper::prepareSynced(const std::vector<int32_t>& ids) { in prepareSynced() argument 160 auto ret = HalResult<void>::fromStatus(getHal()->prepareSynced(ids)); in prepareSynced() 166 for (auto& id : ids) { in prepareSynced()
|
/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/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/base/core/java/android/content/res/ |
D | StringBlock.java | 228 private CharSequence applyStyles(String str, int[] style, StyleIDs ids) { in applyStyles() argument 240 if (type == ids.boldId) { in applyStyles() 244 } else if (type == ids.italicId) { in applyStyles() 248 } else if (type == ids.underlineId) { in applyStyles() 252 } else if (type == ids.ttId) { in applyStyles() 256 } else if (type == ids.bigId) { in applyStyles() 260 } else if (type == ids.smallId) { in applyStyles() 264 } else if (type == ids.subId) { in applyStyles() 268 } else if (type == ids.supId) { in applyStyles() 272 } else if (type == ids.strikeId) { in applyStyles() [all …]
|