Home
last modified time | relevance | path

Searched refs:lastKey (Results 1 – 3 of 3) sorted by relevance

/development/tools/winscope/src/common/
Dobject_utils.ts66 const lastKey = assertDefined(keys.at(-1)); constant
67 if (lastKey.isArrayKey()) {
68 ObjectUtils.initializePropertyArrayIfNeeded(obj, lastKey);
69 (obj as any)[lastKey.key][assertDefined(lastKey.index)] = value;
71 (obj as any)[lastKey.key] = value;
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceRandom.java403 int lastKey = 0; in generateEvents() local
428 lastKey = NAV_KEYS[mRandom.nextInt(NAV_KEYS.length)]; in generateEvents()
430 lastKey = MAJOR_NAV_KEYS[mRandom.nextInt(MAJOR_NAV_KEYS.length)]; in generateEvents()
432 lastKey = SYS_KEYS[mRandom.nextInt(SYS_KEYS.length)]; in generateEvents()
444 lastKey = 1 + mRandom.nextInt(KeyEvent.getMaxKeyCode() - 1); in generateEvents()
447 if (lastKey != KeyEvent.KEYCODE_POWER in generateEvents()
448 && lastKey != KeyEvent.KEYCODE_ENDCALL in generateEvents()
449 && lastKey != KeyEvent.KEYCODE_SLEEP in generateEvents()
450 && lastKey != KeyEvent.KEYCODE_SOFT_SLEEP in generateEvents()
451 && PHYSICAL_KEY_EXISTS[lastKey]) { in generateEvents()
[all …]
/development/tools/winscope/src/trace_collection/
Dproxy_client.ts119 const lastKey = client.store.get('adb.proxyKey'); constant
120 if (lastKey !== undefined) {
121 client.proxyKey = lastKey;