Home
last modified time | relevance | path

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

12345678

/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()
/frameworks/base/core/java/android/service/autofill/
DAutofillServiceHelper.java27 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()
DFillResponse.java359 public Builder setAuthentication(@NonNull AutofillId[] ids, in setAuthentication() argument
373 mAuthenticationIds = assertValid(ids); in setAuthentication()
422 public Builder setAuthentication(@NonNull AutofillId[] ids, in setAuthentication() argument
425 return setAuthentication(ids, authentication, presentation, inlinePresentation, null); in setAuthentication()
442 public Builder setAuthentication(@SuppressLint("ArrayReturn") @NonNull AutofillId[] ids, in setAuthentication() argument
448 return setAuthentication(ids, authentication, presentation, in setAuthentication()
520 public Builder setAuthentication(@SuppressLint("ArrayReturn") @NonNull AutofillId[] ids, in setAuthentication() argument
526 return setAuthentication(ids, authentication, null, null, null, null); in setAuthentication()
528 return setAuthentication(ids, authentication, in setAuthentication()
540 private Builder setAuthentication(@SuppressLint("ArrayReturn") @NonNull AutofillId[] ids, in setAuthentication() argument
[all …]
DBatchUpdates.java179 final int[] ids = new int[size]; in writeToParcel() local
183 ids[i] = pair.first; in writeToParcel()
186 dest.writeIntArray(ids); in writeToParcel()
199 final int[] ids = parcel.createIntArray();
200 if (ids != null) {
203 final int size = ids.length;
205 builder.transformChild(ids[i], values[i]);
DFillContext.java97 @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()
DCharSequenceTransformation.java194 final AutofillId[] ids = new AutofillId[size]; in writeToParcel() local
200 ids[i] = entry.getKey(); in writeToParcel()
207 parcel.writeParcelableArray(ids, flags); in writeToParcel()
216 final AutofillId[] ids = parcel.readParcelableArray(null, AutofillId.class);
224 new CharSequenceTransformation.Builder(ids[0], regexs[0], substs[0]);
226 final int size = ids.length;
228 builder.addField(ids[i], regexs[i], substs[i]);
DCustomDescription.java394 final int[] ids = new int[size]; in writeToParcel() local
398 ids[i] = pair.first; in writeToParcel()
401 dest.writeIntArray(ids); in writeToParcel()
423 final int[] ids = new int[size]; in writeToParcel() local
426 ids[i] = mActions.keyAt(i); in writeToParcel()
429 dest.writeIntArray(ids); in writeToParcel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DOverflowMenuAdapterTest.kt33 val ids = listOf(27L, 73L) in <lambda>() constant
39 labels.zip(ids).map { OverflowMenuAdapter.MenuItem(it.first, it.second) } in <lambda>()
44 ids.forEachIndexed { index, id -> assertThat(adapter.getItemId(index)).isEqualTo(id) } in <lambda>()
49 val ids = listOf(27L, 73L) in <lambda>() constant
55 labels.zip(ids).map { OverflowMenuAdapter.MenuItem(it.first, it.second) } in <lambda>()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayIdGeneratorTest.cpp32 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/
DHelper.java98 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/native/opengl/tools/glgen/stubs/gles11/
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
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
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutLauncher.java131 @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/
DDownloadManager.java891 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/av/services/camera/libcameraservice/
DCameraFlashlight.cpp178 std::vector<std::string> ids = mProviderManager->getCameraDeviceIds(); in findFlashUnits() local
179 int numberOfCameras = static_cast<int>(ids.size()); in findFlashUnits()
183 cameraIds[i] = String8(ids[i].c_str()); in findFlashUnits()
270 std::vector<std::string> ids = mProviderManager->getCameraDeviceIds(); in prepareDeviceOpen() local
271 int numCameras = static_cast<int>(ids.size()); in prepareDeviceOpen()
273 String8 id8(ids[i].c_str()); in prepareDeviceOpen()
316 std::vector<std::string> ids = mProviderManager->getCameraDeviceIds(); in deviceClosed() local
317 int numCameras = static_cast<int>(ids.size()); in deviceClosed()
319 String8 id8(ids[i].c_str()); in deviceClosed()
/frameworks/native/libs/gui/include/gui/
DITransactionCompletedListener.h163 TransactionStats(const std::vector<CallbackId>& ids) : callbackIds(ids) {} in TransactionStats() argument
164 TransactionStats(const std::unordered_set<CallbackId, CallbackIdHash>& ids) in TransactionStats() argument
165 : callbackIds(ids.begin(), ids.end()) {} in TransactionStats()
166 TransactionStats(const std::vector<CallbackId>& ids, nsecs_t latch, const sp<Fence>& present, in TransactionStats() argument
168 : callbackIds(ids), latchTime(latch), presentFence(present), surfaceStats(surfaces) {} in TransactionStats()
216 ListenerCallbacks(const sp<IBinder>& listener, const std::vector<CallbackId>& ids) in ListenerCallbacks() argument
217 : transactionCompletedListener(listener), callbackIds(ids) {} in ListenerCallbacks()
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorManagerService.cpp118 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/
DVibratorManagerHalWrapper.cpp130 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/
DEffectDescriptor.cpp191 void EffectDescriptorCollection::moveEffects(const std::vector<int>& ids, in moveEffects() argument
195 __func__, ids.size(), ids.size() ? ids[0] : 0, dstOutput); in moveEffects()
198 if (std::find(begin(ids), end(ids), effect->mId) != end(ids)) { in moveEffects()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DBiometricTestExtensions.kt84 ids: List<Int> = listOf(0) in fingerprintSensorPropertiesInternal()
98 return ids.map { id -> in fingerprintSensorPropertiesInternal()
112 ids: List<Int> = listOf(1) in faceSensorPropertiesInternal()
126 return ids.map { id -> in faceSensorPropertiesInternal()
/frameworks/base/core/java/android/util/
DDisplayUtils.java45 final String[] ids = res.getStringArray(R.array.config_displayUniqueIdArray); in getDisplayUniqueIdConfigIndex() local
46 final int size = ids.length; in getDisplayUniqueIdConfigIndex()
48 if (displayUniqueId.equals(ids[i])) { in getDisplayUniqueIdConfigIndex()
/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/core/java/android/content/res/
DStringBlock.java229 private CharSequence applyStyles(String str, int[] style, StyleIDs ids) { in applyStyles() argument
241 if (type == ids.boldId) { in applyStyles()
248 } else if (type == ids.italicId) { in applyStyles()
252 } else if (type == ids.underlineId) { in applyStyles()
256 } else if (type == ids.ttId) { in applyStyles()
260 } else if (type == ids.bigId) { in applyStyles()
264 } else if (type == ids.smallId) { in applyStyles()
268 } else if (type == ids.subId) { in applyStyles()
272 } else if (type == ids.supId) { in applyStyles()
276 } else if (type == ids.strikeId) { in applyStyles()
[all …]
/frameworks/av/services/tuner/
DTunerService.cpp128 ::ndk::ScopedAStatus TunerService::getFrontendIds(vector<int32_t>* ids) { in getFrontendIds() argument
134 return mTuner->getFrontendIds(ids); in getFrontendIds()
322 vector<int32_t> ids; in getTRMFrontendInfos() local
323 auto status = mTuner->getFrontendIds(&ids); in getTRMFrontendInfos()
328 for (int i = 0; i < ids.size(); i++) { in getTRMFrontendInfos()
330 auto res = mTuner->getFrontendInfo(ids[i], &frontendInfo); in getTRMFrontendInfos()
335 .handle = TunerHelper::getResourceHandleFromId((int)ids[i], FRONTEND), in getTRMFrontendInfos()

12345678