/cts/tests/tests/text/src/android/text/method/cts/ |
D | MetaKeyKeyListenerTest.java | 116 long state = MetaKeyKeyListener.adjustMetaAfterKeypress(MetaKeyKeyListener.META_SHIFT_ON); in testAdjustMetaAfterKeypress2() local 117 assertEquals(MetaKeyKeyListener.META_SHIFT_ON, state); in testAdjustMetaAfterKeypress2() 119 state = MetaKeyKeyListener.adjustMetaAfterKeypress(MetaKeyKeyListener.META_ALT_ON); in testAdjustMetaAfterKeypress2() 120 assertEquals(MetaKeyKeyListener.META_ALT_ON, state); in testAdjustMetaAfterKeypress2() 122 state = MetaKeyKeyListener.adjustMetaAfterKeypress(MetaKeyKeyListener.META_SYM_ON); in testAdjustMetaAfterKeypress2() 123 assertEquals(MetaKeyKeyListener.META_SYM_ON, state); in testAdjustMetaAfterKeypress2() 125 state = MetaKeyKeyListener.adjustMetaAfterKeypress(0); in testAdjustMetaAfterKeypress2() 126 assertEquals(0, state); in testAdjustMetaAfterKeypress2() 231 long state = MetaKeyKeyListener.resetLockedMeta(MetaKeyKeyListener.META_CAP_LOCKED); in testResetLockedMeta2() local 232 assertEquals(0, state); in testResetLockedMeta2() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextView_SaveStateTest.java | 32 TextView.SavedState state = TextView.SavedState.CREATOR.createFromParcel(source); in testToString() local 34 assertNotNull(state.toString()); in testToString() 37 state = TextView.SavedState.CREATOR.createFromParcel(source); in testToString() 39 assertNotNull(state.toString()); in testToString() 44 TextView.SavedState state = TextView.SavedState.CREATOR.createFromParcel(source); in testWriteToParcel() local 45 assertNotNull(state); in testWriteToParcel()
|
D | CompoundButtonTest.java | 230 int[] state = compoundButton.onCreateDrawableState(0); in testOnCreateDrawableState() local 231 assertEquals(0, state[state.length - 1]); in testOnCreateDrawableState() 236 assertEquals(state[0], checkedState[0]); in testOnCreateDrawableState() 242 state = compoundButton.onCreateDrawableState(0); in testOnCreateDrawableState() 243 assertEquals(0, state[state.length - 1]); in testOnCreateDrawableState() 296 Parcelable state; in testAccessInstanceState() local 301 state = compoundButton.onSaveInstanceState(); in testAccessInstanceState() 302 assertNotNull(state); in testAccessInstanceState() 307 compoundButton.onRestoreInstanceState(state); in testAccessInstanceState()
|
D | DatePickerTest.java | 181 protected void onRestoreInstanceState(Parcelable state) { in onRestoreInstanceState() argument 183 super.onRestoreInstanceState(state); in onRestoreInstanceState()
|
/cts/suite/pts/hostTests/browser/browserlauncher/assets/octane/ |
D | richards.js | 267 this.state = STATE_SUSPENDED; 269 this.state = STATE_SUSPENDED_RUNNABLE; 298 this.state = STATE_RUNNING; 302 this.state = this.state & STATE_NOT_HELD; 306 this.state = this.state | STATE_HELD; 310 return (this.state & STATE_HELD) != 0 || (this.state == STATE_SUSPENDED); 314 this.state = this.state | STATE_SUSPENDED; 318 this.state = this.state | STATE_RUNNABLE; 326 if (this.state == STATE_SUSPENDED_RUNNABLE) { 330 this.state = STATE_RUNNING; [all …]
|
D | gbemu.js | 159 var state = { variable 173 var stateStr = JSON.stringify(state); 5512 var state = returnedFrom.slice(0); 5513 this.ROM = this.toTypedArray(state[index++], "uint8"); 5515 this.inBootstrap = state[index++]; 5516 this.registerA = state[index++]; 5517 this.FZero = state[index++]; 5518 this.FSubtract = state[index++]; 5519 this.FHalfCarry = state[index++]; 5520 this.FCarry = state[index++]; [all …]
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ListeningPortsTest.java | 187 if (isPortListening(entry.state, isTcp) in assertNoAccessibleListeningPorts() 215 private static boolean isPortListening(String state, boolean isTcp) { in isPortListening() argument 218 return listeningState.equals(state); in isPortListening() 230 private final String state; field in ListeningPortsTest.ParsedProcEntry 233 private ParsedProcEntry(InetAddress addr, int port, String state, int uid) { in ParsedProcEntry() argument 236 this.state = state; in ParsedProcEntry() 271 String state = fields[3]; in parse() local 276 retval.add(new ParsedProcEntry(localIp, localPort, state, uid)); in parse()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BasicAdapterTest.java | 238 int state = adapter.getState(); in disable() local 239 switch (state) { in disable() 244 if (state != BluetoothAdapter.STATE_ON || turnOff) { in disable() 245 assertEquals(BluetoothAdapter.STATE_TURNING_OFF, state); in disable() 271 int state = adapter.getState(); in enable() local 272 switch (state) { in enable() 277 if (state != BluetoothAdapter.STATE_OFF || turnOn) { in enable() 278 assertEquals(BluetoothAdapter.STATE_TURNING_ON, state); in enable()
|
/cts/tools/dasm/src/java_cup/runtime/ |
D | symbol.java | 24 public symbol(int sym_num, int state) in symbol() argument 27 parse_state = state; in symbol()
|
D | lr_parser.java | 387 protected final short get_action(int state, int sym) in get_action() argument 391 short[] row = action_tab[state]; in get_action() 442 protected final short get_reduce(int state, int sym) in get_reduce() argument 445 short[] row = reduce_tab[state]; in get_reduce()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_BaseSavedStateTest.java | 26 BaseSavedState state = new BaseSavedState(Parcel.obtain()); in testConstructors() local 28 new BaseSavedState(state); in testConstructors()
|
/cts/tests/src/android/app/cts/ |
D | TestedActivity.java | 34 protected void onRestoreInstanceState(Bundle state) { in onRestoreInstanceState() argument 35 super.onRestoreInstanceState(state); in onRestoreInstanceState()
|
D | MockTabActivity.java | 66 protected void onRestoreInstanceState(Bundle state) { in onRestoreInstanceState() argument 67 super.onRestoreInstanceState(state); in onRestoreInstanceState()
|
D | TestedScreen.java | 57 protected void onRestoreInstanceState(Bundle state) { in onRestoreInstanceState() argument 58 super.onRestoreInstanceState(state); in onRestoreInstanceState()
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 124 public int state = -1; field in StorageManagerTest.ObbObserver 128 public void onObbStateChange(String path, int state) { in onObbStateChange() argument 129 Log.d(TAG, "Received message. path=" + path + ", state=" + state); in onObbStateChange() 132 this.state = state; in onObbStateChange() 145 return state; in getState()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 67 State state = ni.getState(); in testGetNetworkInfo() local 68 assertTrue(State.UNKNOWN.ordinal() >= state.ordinal() in testGetNetworkInfo() 69 && state.ordinal() >= State.CONNECTING.ordinal()); in testGetNetworkInfo() 76 State state = ni.getState(); in testGetNetworkInfo() local 77 assertTrue(State.UNKNOWN.ordinal() >= state.ordinal() in testGetNetworkInfo() 78 && state.ordinal() >= State.CONNECTING.ordinal()); in testGetNetworkInfo()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | ContentObserverTest.java | 161 protected void setSelfChangeState(boolean state) { in setSelfChangeState() argument 162 mSelfChange = state; in setSelfChangeState() 207 protected void setSelfChangeState(boolean state) { in setSelfChangeState() argument 208 mSelfChange = state; in setSelfChangeState()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioRecord_BufferSizeTest.java | 87 private void checkRecordingState(final int state) { in checkRecordingState() argument 91 return mAudioRecord.getRecordingState() == state; in checkRecordingState()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ColorStateListTest.java | 35 final int[][] state = new int[][] { { 0 }, { 0 } }; in testColorStateList() local 37 ColorStateList c = new ColorStateList(state, colors); in testColorStateList()
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | CustomPreference.java | 134 protected void onRestoreInstanceState(Parcelable state) { in onRestoreInstanceState() argument 136 super.onRestoreInstanceState(state); in onRestoreInstanceState()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | InsetDrawableTest.java | 244 int[] state = new int[] {1, 2, 3}; in testOnStateChange() local 245 assertFalse(insetDrawable.onStateChange(state)); in testOnStateChange() 325 protected boolean onStateChange(int[] state) { in onStateChange() argument 326 return super.onStateChange(state); in onStateChange()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BluetoothChatService.java | 99 private synchronized void setState(int state) { in setState() argument 100 if (D) Log.d(TAG, "setState() " + mState + " -> " + state); in setState() 101 mState = state; in setState() 104 mHandler.obtainMessage(MESSAGE_STATE_CHANGE, state, -1).sendToTarget(); in setState()
|
D | ConnectionAccessClientActivity.java | 139 int state = msg.arg1; in handleStateChange() local 140 switch (state) { in handleStateChange()
|
D | ConnectionAccessServerActivity.java | 139 int state = msg.arg1; in handleStateChange() local 140 switch (state) { in handleStateChange()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
D | P2pTestListActivity.java | 170 int state = intent.getIntExtra(WifiP2pManager.EXTRA_WIFI_STATE, -1); in onReceive() local 171 if ((state == WifiP2pManager.WIFI_P2P_STATE_ENABLED)) { in onReceive()
|