HomeSort by relevance Sort by last modified time
    Searched refs:prevState (Results 1 - 25 of 42) 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 83 void sendConnectionStateChange(in BluetoothDevice device, int profile, int state, int prevState);
BluetoothHealth.java 437 BluetoothDevice device, int prevState, int newState,
439 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());
  /art/runtime/
indirect_reference_table.cc 88 IRTSegmentState prevState;
89 prevState.all = cookie;
95 DCHECK_GE(segment_state_.parts.numHoles, prevState.parts.numHoles);
107 int numHoles = segment_state_.parts.numHoles - prevState.parts.numHoles;
116 DCHECK_GE(pScan, table_ + prevState.parts.topIndex);
154 IRTSegmentState prevState;
155 prevState.all = cookie;
157 int bottomIndex = prevState.parts.topIndex;
160 DCHECK_GE(segment_state_.parts.numHoles, prevState.parts.numHoles);
189 int numHoles = segment_state_.parts.numHoles - prevState.parts.numHoles
    [all...]
  /frameworks/av/services/camera/libcameraservice/device3/
StatusTracker.cpp 168 ComponentState prevState = getDeviceStateLocked();
169 if (prevState != mDeviceState) {
171 mStateTransitions.add(prevState);
186 if (newState != prevState) {
189 prevState = newState;
197 mDeviceState = prevState;
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowVideoView.java 29 private int prevState;
150 return prevState;
157 prevState = currentState;
  /frameworks/base/services/core/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/pan/
PanService.java 390 int prevState;
394 prevState = BluetoothProfile.STATE_DISCONNECTED;
396 prevState = panDevice.mState;
405 if (prevState == BluetoothProfile.STATE_DISCONNECTED && state == BluetoothProfile.STATE_DISCONNECTING) {
406 Log.d(TAG, "Ignoring state change from " + prevState + " to " + state);
410 Log.d(TAG, "handlePanDeviceStateChange preState: " + prevState + " state: " + state);
411 if (prevState == state) return;
433 state + ", prevState = " + prevState);
437 (prevState == BluetoothProfile.STATE_CONNECTED |
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
AdapterProperties.java 340 void sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) {
342 !validateProfileConnectionState(prevState)) {
348 + "prevState " + prevState + " state " + state);
353 updateProfileConnectionState(profile, state, prevState);
355 if (updateCountersAndCheckForConnectionStateChange(state, prevState)) {
363 convertToAdapterState(prevState));
368 + prevState + " -> " + state);
396 private boolean updateCountersAndCheckForConnectionStateChange(int state, int prevState) {
397 switch (prevState) {
    [all...]
ProfileService.java 227 int profileId, int newState, int prevState) {
229 mAdapterService.onProfileConnectionStateChanged(device, profileId, newState, prevState);
AdapterService.java 192 public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) {
198 b.putInt("prevState", prevState);
246 private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) {
256 binder.sendConnectionStateChange(device, profileId, newState,prevState);
288 Integer prevState = mProfileServicesState.get(serviceName);
289 if (prevState != null && prevState != state) {
422 void updateAdapterState(int prevState, int newState){
428 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/a2dp/
A2dpSinkStateMachine.java 680 // This method does not check for error conditon (newState == prevState)
681 private void broadcastConnectionState(BluetoothDevice device, int newState, int prevState) {
689 prevState,
695 private void broadcastAudioState(BluetoothDevice device, int state, int prevState) {
698 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
703 log("A2DP Playing state : device: " + device + " State:" + prevState + "->" + state);
    [all...]
A2dpStateMachine.java 674 // This method does not check for error conditon (newState == prevState)
675 private void broadcastConnectionState(BluetoothDevice device, int newState, int prevState) {
683 prevState,
689 private void broadcastAudioState(BluetoothDevice device, int state, int prevState) {
692 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
697 log("A2DP Playing state : device: " + device + " State:" + prevState + "->" + state);
733 private void onConnectionStateChanged(BluetoothDevice device, int prevState, int state) {
735 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
740 log("Connection state " + device + ": " + prevState + "->" + state);
741 mService.notifyProfileConnectionStateChanged(device, BluetoothProfile.A2DP, state, prevState);
    [all...]
  /external/icu/icu4c/source/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/Bluetooth/src/com/android/bluetooth/hid/
HidService.java 176 int prevState = (prevStateInteger == null) ?
179 convertHalState(halState)+", prevState:"+prevState);
181 prevState == BluetoothInputDevice.STATE_DISCONNECTED &&
596 // This method does not check for error conditon (newState == prevState)
599 int prevState = (prevStateInteger == null) ? BluetoothInputDevice.STATE_DISCONNECTED :
601 if (prevState == newState) {
610 log("Connection state " + device + ": " + prevState + "->" + newState);
612 newState, prevState);
614 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState);
    [all...]
  /frameworks/base/services/core/java/com/android/server/
BluetoothManagerService.java 164 public void onBluetoothStateChange(int prevState, int newState) throws RemoteException {
165 Message msg = mHandler.obtainMessage(MESSAGE_BLUETOOTH_STATE_CHANGE,prevState,newState);
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapService.java 751 int prevState = mState;
754 intent.putExtra(BluetoothPbap.PBAP_PREVIOUS_STATE, prevState);
761 mState, prevState);
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ConversationViewFragment.java 738 final ConversationViewState prevState = mViewState;
739 mViewState = new ConversationViewState(prevState);
763 msg.alwaysShowImages || prevState.getShouldShowImages(msg);
766 final Integer savedExpanded = prevState.getExpansionState(msg);
787 mViewState.setShouldShowImages(msg, prevState.getShouldShowImages(msg));
    [all...]

Completed in 716 milliseconds

1 2