/cts/apps/CameraITS/tests/scene1/ |
D | test_ae_precapture_trigger.py | 63 state = cap['metadata']['android.control.aeState'] 64 print "AE state after auto request:", state 65 assert(state in [SEARCHING, CONVERGED]) 70 state = cap['metadata']['android.control.aeState'] 71 print "AE state after auto request with precapture trigger:", state 72 assert(state in [SEARCHING, CONVERGED, PRECAPTURE]) 78 state = caps[-1]['metadata']['android.control.aeState'] 79 print "AE state after auto request:", state 80 if state == CONVERGED: 82 assert(state == CONVERGED)
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecTunneledPlayer.java | 276 CodecState state; in addTrack() local 278 state = new CodecState((MediaTimeProvider)this, mVideoExtractor, in addTrack() 280 mVideoCodecStates.put(Integer.valueOf(trackIndex), state); in addTrack() local 282 state = new CodecState((MediaTimeProvider)this, mAudioExtractor, in addTrack() 284 mAudioCodecStates.put(Integer.valueOf(trackIndex), state); in addTrack() local 288 mAudioTrackState = state; in addTrack() 311 for (CodecState state : mVideoCodecStates.values()) { in start() 312 state.start(); in start() 315 for (CodecState state : mAudioCodecStates.values()) { in start() 316 state.start(); in start() [all …]
|
D | MediaCodecCencPlayer.java | 304 CodecState state; in addTrack() local 306 state = new CodecState((MediaTimeProvider)this, mVideoExtractor, in addTrack() 309 mVideoCodecStates.put(Integer.valueOf(trackIndex), state); in addTrack() local 311 state = new CodecState((MediaTimeProvider)this, mAudioExtractor, in addTrack() 314 mAudioCodecStates.put(Integer.valueOf(trackIndex), state); in addTrack() local 318 mAudioTrackState = state; in addTrack() 358 for (CodecState state : mVideoCodecStates.values()) { in start() 359 state.start(); in start() 362 for (CodecState state : mAudioCodecStates.values()) { in start() 363 state.start(); in start() [all …]
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | MetaKeyKeyListenerTest.java | 115 long state = MetaKeyKeyListener.adjustMetaAfterKeypress(MetaKeyKeyListener.META_SHIFT_ON); in testAdjustMetaAfterKeypress2() local 116 assertEquals(MetaKeyKeyListener.META_SHIFT_ON, state); in testAdjustMetaAfterKeypress2() 118 state = MetaKeyKeyListener.adjustMetaAfterKeypress(MetaKeyKeyListener.META_ALT_ON); in testAdjustMetaAfterKeypress2() 119 assertEquals(MetaKeyKeyListener.META_ALT_ON, state); in testAdjustMetaAfterKeypress2() 121 state = MetaKeyKeyListener.adjustMetaAfterKeypress(MetaKeyKeyListener.META_SYM_ON); in testAdjustMetaAfterKeypress2() 122 assertEquals(MetaKeyKeyListener.META_SYM_ON, state); in testAdjustMetaAfterKeypress2() 124 state = MetaKeyKeyListener.adjustMetaAfterKeypress(0); in testAdjustMetaAfterKeypress2() 125 assertEquals(0, state); in testAdjustMetaAfterKeypress2() 230 long state = MetaKeyKeyListener.resetLockedMeta(MetaKeyKeyListener.META_CAP_LOCKED); in testResetLockedMeta2() local 231 assertEquals(0, state); in testResetLockedMeta2() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/ |
D | WidgetCtsProvider.java | 119 int state = sStateMap.get(widgetId); in gotoNextTest() local 122 state = state == STATE_COMPLETE ? state : state + 1; in gotoNextTest() 123 foundNextTest = shouldPerformTest(state); in gotoNextTest() 124 } while (state < STATE_COMPLETE && !foundNextTest); in gotoNextTest() 125 sStateMap.put(widgetId, state); in gotoNextTest() 128 private boolean shouldPerformTest(int state) { in shouldPerformTest() argument 129 if (state == STATE_VERIFY_SIZE_CALLBACK in shouldPerformTest() 132 } else if (state == STATE_VERIFY_RESIZE in shouldPerformTest() 135 } else if (state == STATE_VERIFY_COLLECTIONS in shouldPerformTest() 138 } else if (state == STATE_VERIFY_HOME_OR_KEYGUARD_CALLBACK in shouldPerformTest() [all …]
|
/cts/suite/cts/deviceTests/browserbench/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/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | BluetoothTest.java | 148 int state = mAdapter.getState(); in disable() local 149 switch (state) { in disable() 154 if (state != BluetoothAdapter.STATE_ON || turnOff) { in disable() 155 assertEquals(BluetoothAdapter.STATE_TURNING_OFF, state); in disable() 182 int state = mAdapter.getState(); in enable() local 183 switch (state) { in enable() 188 if (state != BluetoothAdapter.STATE_OFF || turnOn) { in enable() 189 assertEquals(BluetoothAdapter.STATE_TURNING_ON, state); in enable()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ListeningPortsTest.java | 189 if (isPortListening(entry.state, isTcp) in assertNoAccessibleListeningPorts() 227 private static boolean isPortListening(String state, boolean isTcp) { in isPortListening() argument 230 return listeningState.equals(state); in isPortListening() 242 private final String state; field in ListeningPortsTest.ParsedProcEntry 245 private ParsedProcEntry(InetAddress addr, int port, String state, int uid) { in ParsedProcEntry() argument 248 this.state = state; in ParsedProcEntry() 283 String state = fields[3]; in parse() local 288 retval.add(new ParsedProcEntry(localIp, localPort, state, uid)); in parse()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | MockConnection.java | 129 public void onCallAudioStateChanged(CallAudioState state) { in onCallAudioStateChanged() argument 130 super.onCallAudioStateChanged(state); in onCallAudioStateChanged() 131 mCallAudioState = state; in onCallAudioStateChanged() 133 mRemoteConnection.setCallAudioState(state); in onCallAudioStateChanged() 138 public void onStateChanged(int state) { in onStateChanged() argument 139 super.onStateChanged(state); in onStateChanged() 140 mState = state; in onStateChanged()
|
D | BaseTelecomTestWithMockServices.java | 546 final CallAudioState state = incallService.getCallAudioState(); in assertMuteState() 547 return state == null ? null : state.isMuted(); in assertMuteState() 565 final CallAudioState state = connection.getCallAudioState(); in assertMuteState() 566 return state == null ? null : state.isMuted(); in assertMuteState() 584 final CallAudioState state = incallService.getCallAudioState(); in assertAudioRoute() 585 return state == null ? null : state.getRoute(); in assertAudioRoute() 603 final CallAudioState state = ((Connection) connection).getCallAudioState(); in assertAudioRoute() 604 return state == null ? null : state.getRoute(); in assertAudioRoute() 612 void assertConnectionState(final Connection connection, final int state) { in assertConnectionState() argument 617 return state; in assertConnectionState() [all …]
|
D | BaseRemoteTelecomTest.java | 185 void assertRemoteConnectionState(final RemoteConnection connection, final int state) { in assertRemoteConnectionState() argument 190 return state; in assertRemoteConnectionState() 199 "Remote Connection should be in state " + state in assertRemoteConnectionState() 203 void assertRemoteConferenceState(final RemoteConference conference, final int state) { in assertRemoteConferenceState() argument 208 return state; in assertRemoteConferenceState() 217 "Remote Conference should be in state " + state in assertRemoteConferenceState()
|
/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()
|
/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/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/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
D | Preconditions.java | 119 public static boolean checkState(String message, boolean state) { in checkState() argument 120 if (!state) { in checkState() 124 return state; in checkState()
|
/cts/tests/app/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()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | CompoundButtonTest.java | 239 int[] state = compoundButton.onCreateDrawableState(0); in testOnCreateDrawableState() local 240 assertEquals(0, state[state.length - 1]); in testOnCreateDrawableState() 245 assertEquals(state[0], checkedState[0]); in testOnCreateDrawableState() 251 state = compoundButton.onCreateDrawableState(0); in testOnCreateDrawableState() 252 assertEquals(0, state[state.length - 1]); in testOnCreateDrawableState() 305 Parcelable state; in testAccessInstanceState() local 310 state = compoundButton.onSaveInstanceState(); in testAccessInstanceState() 311 assertNotNull(state); in testAccessInstanceState() 316 compoundButton.onRestoreInstanceState(state); in testAccessInstanceState()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
D | LocationModeOffTestActivity.java | 41 protected void testAdvance(int state) { in testAdvance() argument 42 switch (state) { in testAdvance()
|
D | LocationModeDeviceOnlyTestActivity.java | 42 protected void testAdvance(int state) { in testAdvance() argument 43 switch (state) { in testAdvance()
|
D | LocationModeHighAccuracyTestActivity.java | 42 protected void testAdvance(int state) { in testAdvance() argument 43 switch (state) { in testAdvance()
|
D | LocationModeBatterySavingTestActivity.java | 42 protected void testAdvance(int state) { in testAdvance() argument 43 switch (state) { in testAdvance()
|
/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/libaudiojni/ |
D | appendix-b-1-1-buffer-queue.cpp | 87 SLBufferQueueState state; in TestPlayMusicBufferQueue() local 223 res = (*bufferQueueItf)->GetState(bufferQueueItf, &state); in TestPlayMusicBufferQueue() 226 while (state.count) { in TestPlayMusicBufferQueue() 228 (*bufferQueueItf)->GetState(bufferQueueItf, &state); in TestPlayMusicBufferQueue()
|