HomeSort by relevance Sort by last modified time
    Searched refs:prevState (Results 1 - 22 of 22) sorted by null

  /frameworks/base/core/java/android/bluetooth/
BluetoothHealthCallback.java 55 * @param prevState The previous state of the channel
62 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd,
65 "prevState:" + prevState + "newState:" + newState + "ParcelFd:" + fd +
IBluetoothHealthCallback.aidl 30 in BluetoothDevice device, int prevState, int newState, in
BluetoothHealth.java 405 BluetoothDevice device, int prevState, int newState,
407 mCallback.onHealthChannelStateChange(config, device, prevState, newState, fd,
IBluetooth.aidl 125 void sendConnectionStateChange(in BluetoothDevice device, int profile, int state, int prevState);
  /cts/tests/tests/permission/src/android/permission/cts/
NoAudioPermissionTest.java 71 boolean prevState = mAudioManager.isSpeakerphoneOn();
72 mAudioManager.setSpeakerphoneOn(!prevState);
73 assertEquals(prevState, mAudioManager.isSpeakerphoneOn());
76 prevState = mAudioManager.isBluetoothScoOn();
77 mAudioManager.setBluetoothScoOn(!prevState);
78 assertEquals(prevState, mAudioManager.isBluetoothScoOn());
  /dalvik/vm/
IndirectRefTable.cpp 88 IRTSegmentState prevState;
89 prevState.all = cookie;
96 assert(segmentState.parts.numHoles >= prevState.parts.numHoles);
135 int numHoles = segmentState.parts.numHoles - prevState.parts.numHoles;
142 assert(pScan >= table_ + prevState.parts.topIndex);
230 IRTSegmentState prevState;
231 prevState.all = cookie;
233 int bottomIndex = prevState.parts.topIndex;
237 assert(segmentState.parts.numHoles >= prevState.parts.numHoles);
272 int numHoles = segmentState.parts.numHoles - prevState.parts.numHoles
    [all...]
  /frameworks/base/core/java/android/server/
BluetoothInputProfileHandler.java 168 int prevState;
170 prevState = BluetoothInputDevice.STATE_DISCONNECTED;
172 prevState = mInputDevices.get(device);
174 if (prevState == state) return;
189 intent.putExtra(BluetoothInputDevice.EXTRA_PREVIOUS_STATE, prevState);
194 debugLog("InputDevice state : device: " + device + " State:" + prevState + "->" + state);
196 prevState);
BluetoothHealthProfileHandler.java 147 int prevState = chan.mState;
149 callHealthChannelCallback(chan.mConfig, chan.mDevice, prevState, state, null,
219 int prevState = BluetoothHealth.STATE_CHANNEL_DISCONNECTED;
221 callHealthChannelCallback(config, device, prevState, state, null, chan.mId);
279 int prevState = chan.mState;
281 callHealthChannelCallback(config, device, prevState, chan.mState,
286 prevState = chan.mState;
288 callHealthChannelCallback(config, device, prevState, chan.mState,
438 int state, prevState = BluetoothHealth.STATE_CHANNEL_DISCONNECTED;
473 prevState = channel.mState
    [all...]
BluetoothPanProfileHandler.java 256 int prevState;
261 prevState = BluetoothPan.STATE_DISCONNECTED;
263 prevState = panDevice.mState;
266 if (prevState == state) return;
283 (prevState == BluetoothPan.STATE_CONNECTED ||
284 prevState == BluetoothPan.STATE_DISCONNECTING)) {
301 intent.putExtra(BluetoothPan.EXTRA_PREVIOUS_STATE, prevState);
306 debugLog("Pan Device state : device: " + device + " State:" + prevState + "->" + state);
308 prevState);
BluetoothA2dpService.java 493 int prevState = mAudioDevices.get(device);
494 handleSinkStateChange(device, prevState, state);
500 private void handleSinkStateChange(BluetoothDevice device, int prevState, int state) {
501 if (state != prevState) {
519 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
524 if (DBG) log("A2DP state : device: " + device + " State:" + prevState + "->" + state);
527 prevState);
531 private void handleSinkPlayingStateChange(BluetoothDevice device, int state, int prevState) {
534 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
539 if (DBG) log("A2DP Playing state : device: " + device + " State:" + prevState + "->" + state)
    [all...]
BluetoothService.java     [all...]
  /frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
ph_disp.h 115 Word16 prevState;
ph_disp.cpp 177 state->prevState = 0;
221 state->prevState = 0;
405 prevState, prevCbGain, and onset fields
521 if ((sub(impNr, add(state->prevState, 1)) > 0) && (state->onset == 0))
543 state->prevState = impNr;
775 if ((impNr > ((state->prevState) + 1)) && (state->onset == 0))
798 state->prevState = impNr;
  /external/icu4c/layout/
ThaiShaping.cpp 228 le_uint8 ThaiShaping::getNextState(LEUnicode ch, le_uint8 prevState, le_int32 inputIndex, le_uint8 glyphSet, LEUnicode errorChar,
234 transition = getTransition(prevState, charClass);
239 le_bool ThaiShaping::isLegalHere(LEUnicode ch, le_uint8 prevState)
242 StateTransition transition = getTransition(prevState, charClass);
ThaiShaping.h 88 static le_bool isLegalHere(LEUnicode ch, le_uint8 prevState);
  /packages/apps/Phone/src/com/android/phone/
BluetoothHeadsetService.java 465 int prevState = mRemoteHeadsets.get(device).mState;
466 if (state != prevState) {
468 " Headset state" + prevState + " -> " + state);
469 if (prevState == BluetoothProfile.STATE_CONNECTED) {
474 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
492 state, prevState);
    [all...]
BluetoothHandsfree.java     [all...]
  /external/quake/quake/src/WinQuake/
net_ser.cpp 86 byte prevState;
114 p->prevState = STATE_READY;
143 p->prevState = p->currState;
152 if (p->prevState == STATE_ABORT)
159 if (p->prevState != STATE_EOM)
216 p->currState = p->prevState;
219 p->prevState = p->currState;
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapService.java 630 int prevState = mState;
633 intent.putExtra(BluetoothPbap.PBAP_PREVIOUS_STATE, prevState);
639 mState, prevState);
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
VoiceDialerActivity.java 465 int prevState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, -1);
476 } else if (prevState == BluetoothHeadset.STATE_AUDIO_CONNECTED) {
    [all...]
  /frameworks/base/services/java/com/android/server/am/
ActivityStack.java     [all...]
  /prebuilt/sdk/14/
android.jar 

Completed in 1212 milliseconds