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

1 2

  /frameworks/base/core/java/android/bluetooth/
IBluetoothCallback.aidl 27 void onBluetoothStateChange(int prevState, int newState);
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
IBluetooth.aidl 75 void sendConnectionStateChange(in BluetoothDevice device, int profile, int state, int prevState);
BluetoothHealth.java 440 BluetoothDevice device, int prevState, int newState,
442 mCallback.onHealthChannelStateChange(config, device, prevState, newState, fd,
  /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 63 IRTSegmentState prevState;
64 prevState.all = cookie;
71 assert(segmentState.parts.numHoles >= prevState.parts.numHoles);
80 int numHoles = segmentState.parts.numHoles - prevState.parts.numHoles;
88 assert(slot >= table_ + prevState.parts.topIndex);
215 IRTSegmentState prevState;
216 prevState.all = cookie;
218 u4 bottomIndex = prevState.parts.topIndex;
222 assert(segmentState.parts.numHoles >= prevState.parts.numHoles);
266 int numHoles = segmentState.parts.numHoles - prevState.parts.numHoles
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowVideoView.java 29 private int prevState;
150 return prevState;
157 prevState = currentState;
  /frameworks/base/services/java/com/android/server/location/
GeofenceState.java 70 int prevState = mState;
75 if (prevState != STATE_INSIDE) {
80 if (prevState == STATE_INSIDE) {
  /frameworks/av/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;
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
AdapterProperties.java 291 void sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) {
293 !validateProfileConnectionState(prevState)) {
299 + "prevState " + prevState + " state " + state);
304 updateProfileConnectionState(profile, state, prevState);
306 if (updateCountersAndCheckForConnectionStateChange(state, prevState)) {
314 convertToAdapterState(prevState));
319 + prevState + " -> " + state);
347 private boolean updateCountersAndCheckForConnectionStateChange(int state, int prevState) {
348 switch (prevState) {
    [all...]
ProfileService.java 202 int profileId, int newState, int prevState) {
205 svc.onProfileConnectionStateChanged(device, profileId, newState, prevState);
AdapterService.java 151 public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) {
157 b.putInt("prevState", prevState);
162 private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) {
172 binder.sendConnectionStateChange(device, profileId, newState,prevState);
192 Integer prevState = mProfileServicesState.get(serviceName);
193 if (prevState != null && prevState != state) {
323 void updateAdapterState(int prevState, int newState){
329 mCallbacks.getBroadcastItem(i).onBluetoothStateChange(prevState,newState)
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pan/
PanService.java 415 int prevState;
419 prevState = BluetoothProfile.STATE_DISCONNECTED;
421 prevState = panDevice.mState;
424 Log.d(TAG, "handlePanDeviceStateChange preState: " + prevState + " state: " + state);
425 if (prevState == state) return;
447 state + ", prevState = " + prevState);
453 (prevState == BluetoothProfile.STATE_CONNECTED ||
454 prevState == BluetoothProfile.STATE_DISCONNECTING)) {
475 prevState + "->" + state)
    [all...]
  /development/samples/BluetoothHDP/src/com/example/bluetooth/health/
BluetoothHDPService.java 238 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd,
241 Log.d(TAG, String.format("prevState\t%d ----------> newState\t%d",
242 prevState, newState));
243 if (prevState == BluetoothHealth.STATE_CHANNEL_DISCONNECTED &&
252 } else if (prevState == BluetoothHealth.STATE_CHANNEL_CONNECTING &&
  /packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
A2dpStateMachine.java 676 // This method does not check for error conditon (newState == prevState)
677 private void broadcastConnectionState(BluetoothDevice device, int newState, int prevState) {
684 prevState,
690 private void broadcastAudioState(BluetoothDevice device, int state, int prevState) {
693 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
698 log("A2DP Playing state : device: " + device + " State:" + prevState + "->" + state);
734 private void onConnectionStateChanged(BluetoothDevice device, int prevState, int state) {
736 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
741 log("Connection state " + device + ": " + prevState + "->" + state);
742 mService.notifyProfileConnectionStateChanged(device, BluetoothProfile.A2DP, state, prevState);
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/hid/
HidService.java 175 int prevState = (prevStateInteger == null) ?
178 convertHalState(halState)+", prevState:"+prevState);
180 prevState == BluetoothInputDevice.STATE_DISCONNECTED &&
562 // This method does not check for error conditon (newState == prevState)
565 int prevState = (prevStateInteger == null) ? BluetoothInputDevice.STATE_DISCONNECTED :
567 if (prevState == newState) {
576 log("Connection state " + device + ": " + prevState + "->" + newState);
578 newState, prevState);
580 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
    [all...]
  /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);
  /frameworks/base/services/java/com/android/server/
BluetoothManagerService.java 142 public void onBluetoothStateChange(int prevState, int newState) throws RemoteException {
143 Message msg = mHandler.obtainMessage(MESSAGE_BLUETOOTH_STATE_CHANGE,prevState,newState);
    [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/hfp/
HeadsetStateMachine.java     [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapService.java 668 int prevState = mState;
671 intent.putExtra(BluetoothPbap.PBAP_PREVIOUS_STATE, prevState);
678 mState, prevState);
  /packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
HealthService.java 589 BluetoothDevice device, int state, int prevState, ParcelFileDescriptor fd, int id) {
592 log("Health Device Callback: " + device + " State Change: " + prevState + "->" +
612 callback.onHealthChannelStateChange(config, device, prevState, state, dupedFd, id);
    [all...]

Completed in 762 milliseconds

1 2