Home
last modified time | relevance | path

Searched refs:nextId (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/tools/aapt2/tools/
Dfinalize_res.py132 nextId = _lowest_staging_first_id - 0x00010000 variable
136 (resType, '0x{0:0{1}x}'.format(nextId, 8)))
137 nextId -= 0x00010000
/frameworks/native/libs/input/tests/
DIdGenerator_test.cpp34 mGenerator->nextId(); in TEST_P()
40 int32_t id = mGenerator->nextId(); in TEST_P()
DInputPublisherAndConsumer_test.cpp75 int32_t eventId = InputEvent::nextId(); in PublishAndConsumeKeyEvent()
145 int32_t eventId = InputEvent::nextId(); in PublishAndConsumeMotionEvent()
291 int32_t eventId = InputEvent::nextId(); in PublishAndConsumeFocusEvent()
332 int32_t eventId = InputEvent::nextId(); in PublishAndConsumeCaptureEvent()
372 int32_t eventId = InputEvent::nextId(); in PublishAndConsumeDragEvent()
416 int32_t eventId = InputEvent::nextId(); in PublishAndConsumeTouchModeEvent()
504 mPublisher->publishMotionEvent(0, InputEvent::nextId(), 0, 0, 0, INVALID_HMAC, 0, 0, 0, in TEST_F()
521 mPublisher->publishMotionEvent(1, InputEvent::nextId(), 0, 0, 0, INVALID_HMAC, 0, 0, 0, in TEST_F()
543 mPublisher->publishMotionEvent(1, InputEvent::nextId(), 0, 0, 0, INVALID_HMAC, 0, 0, 0, in TEST_F()
DVerifiedInputEvent_test.cpp26 event.initialize(InputEvent::nextId(), 2 /*deviceId*/, AINPUT_SOURCE_GAMEPAD, in getKeyEventWithFlags()
47 event.initialize(InputEvent::nextId(), 0 /*deviceId*/, AINPUT_SOURCE_MOUSE, ADISPLAY_ID_DEFAULT, in getMotionEventWithFlags()
DInputEvent_test.cpp188 const int32_t id = InputEvent::nextId(); in TEST_F()
243 mId = InputEvent::nextId(); in initializeEventWithHistory()
603 event.initialize(InputEvent::nextId(), 0 /*deviceId*/, AINPUT_SOURCE_TOUCHSCREEN, DISPLAY_ID, in TEST_F()
662 event.initialize(InputEvent::nextId(), /* deviceId */ 1, source, in createMotionEvent()
809 event.initialize(InputEvent::nextId(), 0 /*deviceId*/, AINPUT_SOURCE_TOUCHSCREEN, in TEST_F()
831 event.initialize(InputEvent::nextId(), 0 /*deviceId*/, AINPUT_SOURCE_MOUSE, DISPLAY_ID, in TEST_F()
DVelocityTracker_test.cpp182 event.initialize(InputEvent::nextId(), 0 /*deviceId*/, AINPUT_SOURCE_TOUCHSCREEN, in createMotionEventStream()
/frameworks/minikin/libs/minikin/
DLocaleListCache.cpp149 const uint32_t nextId = mLocaleLists.size(); in getIdInternal() local
150 mLocaleListLookupTable.emplace(locales, nextId); in getIdInternal()
153 return nextId; in getIdInternal()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DPlatformKeyManager.java180 int nextId; in regenerate() local
182 nextId = 1; in regenerate()
185 nextId = generationId + 1; in regenerate()
188 generateAndLoadKey(userId, nextId); in regenerate()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceIdRecyclingTest.java92 int nextId = mUserManagerService.getNextAvailableId(); in testUserCreateRecycleIdsAddAllThenRemove() local
93 assertEquals(startFrom, nextId); in testUserCreateRecycleIdsAddAllThenRemove()
/frameworks/base/telecomm/java/android/telecom/Logging/
DSessionManager.java390 Integer nextId = sCodeEntryCounter++; in getNextSessionID() local
391 if (nextId >= SESSION_ID_ROLLOVER_THRESHOLD) { in getNextSessionID()
393 nextId = sCodeEntryCounter++; in getNextSessionID()
395 return getBase64Encoding(nextId); in getNextSessionID()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
DExternalResources.java136 private int nextId = 1; field in ExternalResources.Resources
139 int id = nextId++; in put()
/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp278 std::make_unique<KeyEntry>(mIdGenerator.nextId(), currentTime, memento.deviceId, in synthesizeCancelationEvents()
292 std::make_unique<MotionEntry>(mIdGenerator.nextId(), currentTime, in synthesizeCancelationEvents()
345 std::make_unique<MotionEntry>(mIdGenerator.nextId(), currentTime, in synthesizePointerDownEvents()
DInputDispatcher.cpp1276 std::make_unique<KeyEntry>(mIdGenerator.nextId(), currentTime, entry->deviceId, in synthesizeKeyRepeatLocked()
1333 std::make_unique<FocusEntry>(mIdGenerator.nextId(), now(), windowToken, hasFocus, in enqueueFocusEventLocked()
1705 std::make_unique<DragEntry>(mIdGenerator.nextId(), now(), windowHandle->getToken(), in enqueueDragEventLocked()
3082 ? mIdGenerator.nextId() in enqueueDispatchEntryLocked()
3821 int32_t newId = mIdGenerator.nextId(); in splitMotionEvent()
4993 auto entry = std::make_unique<TouchModeEntry>(mIdGenerator.nextId(), now(), inTouchMode); in setInTouchMode()
6297 auto entry = std::make_unique<PointerCaptureChangedEntry>(mIdGenerator.nextId(), now(), in disablePointerCaptureForcedLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DShadeListBuilderTest.java574 .setId(nextId(PACKAGE_1)) in testFilter_resetsInitalizationTime()
2332 .setId(nextId(packageId)) in addNotif()
2348 .setId(nextId(packageId)) in addGroupSummary()
2367 .setId(nextId(packageId)) in addGroupChildWithTag()
2428 private int nextId(String packageName) { in nextId() method in ShadeListBuilderTest
2429 Integer nextId = mNextIdMap.get(packageName); in nextId() local
2430 if (nextId == null) { in nextId()
2431 nextId = 0; in nextId()
2433 mNextIdMap.put(packageName, nextId + 1); in nextId()
2434 return nextId; in nextId()
/frameworks/native/libs/ui/
DGraphicBuffer.cpp37 static volatile int32_t nextId = 0; in getUniqueId() local
39 id |= static_cast<uint32_t>(android_atomic_inc(&nextId)); in getUniqueId()
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp164 return static_cast<jint>(InputEvent::nextId()); in android_view_KeyEvent_nativeNextId()
Dandroid_view_MotionEvent.cpp359 event->initialize(InputEvent::nextId(), deviceId, source, displayId, INVALID_HMAC, action, 0, in android_view_MotionEvent_nativeInitialize()
/frameworks/native/include/input/
DInput.h337 int32_t nextId() const;
458 static int32_t nextId();
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java1246 final int nextId = getVirtualViewIdAfter(type, value); in onPopulateNodeForVirtualView() local
1247 if (nextId != INVALID_ID) { in onPopulateNodeForVirtualView()
1248 node.setTraversalBefore(RadialTimePickerView.this, nextId); in onPopulateNodeForVirtualView()
DRemoteViews.java5377 public void setAccessibilityTraversalBefore(@IdRes int viewId, @IdRes int nextId) {
5378 setInt(viewId, "setAccessibilityTraversalBefore", nextId);
5387 public void setAccessibilityTraversalAfter(@IdRes int viewId, @IdRes int nextId) {
5388 setInt(viewId, "setAccessibilityTraversalAfter", nextId);
/frameworks/native/libs/input/
DInput.cpp115 int32_t IdGenerator::nextId() const { in nextId() function in android::IdGenerator
254 int32_t InputEvent::nextId() { in nextId() function in android::InputEvent
256 return idGen.nextId(); in nextId()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp92 event.initialize(InputEvent::nextId(), DEVICE_ID, AINPUT_SOURCE_KEYBOARD, ADISPLAY_ID_NONE, in getTestKeyEvent()
562 event.initialize(InputEvent::nextId(), DEVICE_ID, AINPUT_SOURCE_KEYBOARD, ADISPLAY_ID_NONE, in TEST_F()
572 event.initialize(InputEvent::nextId(), DEVICE_ID, AINPUT_SOURCE_KEYBOARD, ADISPLAY_ID_NONE, in TEST_F()
599 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F()
611 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F()
622 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F()
635 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F()
646 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F()
659 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F()
670 event.initialize(InputEvent::nextId(), DEVICE_ID, source, DISPLAY_ID, INVALID_HMAC, in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java5478 int nextId; in getNextAvailableId() local
5480 nextId = scanNextAvailableIdLocked(); in getNextAvailableId()
5481 if (nextId >= 0) { in getNextAvailableId()
5482 return nextId; in getNextAvailableId()
5492 nextId = scanNextAvailableIdLocked(); in getNextAvailableId()
5497 if (nextId < 0) { in getNextAvailableId()
5500 return nextId; in getNextAvailableId()
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp966 return mIdGenerator.nextId(); in getNextId()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1683 int nextId = parser.getAttributeInt(null, XML_ATTR_NEXT_AUTHORITY_ID, 0); in readAccountInfoLocked() local
1684 mNextAuthorityId = Math.max(mNextAuthorityId, nextId); in readAccountInfoLocked()

12