HomeSort by relevance Sort by last modified time
    Searched refs:prevState (Results 1 - 25 of 31) 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 74 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());
  /frameworks/base/services/java/com/android/server/location/
GeofenceState.java 66 int prevState = mState;
71 if (prevState != STATE_INSIDE) {
76 if (prevState == STATE_INSIDE) {
  /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...]
  /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 290 void sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) {
292 !validateProfileConnectionState(prevState)) {
298 + "prevState " + prevState + " state " + state);
303 updateProfileConnectionState(profile, state, prevState);
305 if (updateCountersAndCheckForConnectionStateChange(state, prevState)) {
313 convertToAdapterState(prevState));
318 + prevState + " -> " + state);
346 private boolean updateCountersAndCheckForConnectionStateChange(int state, int prevState) {
347 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...]
  /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/pan/
PanService.java 364 int prevState;
368 prevState = BluetoothProfile.STATE_DISCONNECTED;
370 prevState = panDevice.mState;
373 Log.d(TAG, "handlePanDeviceStateChange preState: " + prevState + " state: " + state);
374 if (prevState == state) return;
408 (prevState == BluetoothProfile.STATE_CONNECTED ||
409 prevState == BluetoothProfile.STATE_DISCONNECTING)) {
437 prevState + "->" + state);
438 notifyProfileConnectionStateChanged(device, BluetoothProfile.PAN, state, prevState);
441 intent.putExtra(BluetoothPan.EXTRA_PREVIOUS_STATE, prevState);
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
A2dpStateMachine.java 677 // This method does not check for error conditon (newState == prevState)
678 private void broadcastConnectionState(BluetoothDevice device, int newState, int prevState) {
685 prevState,
691 private void broadcastAudioState(BluetoothDevice device, int state, int prevState) {
694 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
699 log("A2DP Playing state : device: " + device + " State:" + prevState + "->" + state);
739 private void onConnectionStateChanged(BluetoothDevice device, int prevState, int state) {
741 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
746 log("Connection state " + device + ": " + prevState + "->" + state);
747 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 116 public void onBluetoothStateChange(int prevState, int newState) throws RemoteException {
117 Message msg = mHandler.obtainMessage(MESSAGE_BLUETOOTH_STATE_CHANGE,prevState,newState);
748 int prevState = msg.arg1;
750 if (DBG) Log.d(TAG, "MESSAGE_BLUETOOTH_STATE_CHANGE: prevState = " + prevState + ", newState=" + newState);
752 bluetoothStateChangeHandler(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 649 int prevState = mState;
652 intent.putExtra(BluetoothPbap.PBAP_PREVIOUS_STATE, prevState);
659 mState, prevState);
  /packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
HealthService.java 578 BluetoothDevice device, int state, int prevState, ParcelFileDescriptor fd, int id) {
581 log("Health Device Callback: " + device + " State Change: " + prevState + "->" +
601 callback.onHealthChannelStateChange(config, device, prevState, state, dupedFd, id);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
ConfigurationChooser.java     [all...]

Completed in 612 milliseconds

1 2