/frameworks/base/core/java/android/bluetooth/ |
IBluetoothCallback.aidl | 27 void onBluetoothStateChange(int prevState, int newState);
|
BluetoothHealthCallback.java | 57 * @param prevState The previous state of the channel 65 BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, 68 "prevState:" + prevState + "newState:" + newState + "ParcelFd:" + fd +
|
IBluetoothHealthCallback.aidl | 30 in BluetoothDevice device, int prevState, int newState, in
|
IBluetooth.aidl | 88 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());
|
/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/v1/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) {
|
/art/runtime/ |
indirect_reference_table.cc | 122 IRTSegmentState prevState; 123 prevState.all = cookie; 129 DCHECK_GE(segment_state_.parts.numHoles, prevState.parts.numHoles); 141 int numHoles = segment_state_.parts.numHoles - prevState.parts.numHoles; 150 DCHECK_GE(pScan, table_ + prevState.parts.topIndex); 190 IRTSegmentState prevState; 191 prevState.all = cookie; 193 int bottomIndex = prevState.parts.topIndex; 196 DCHECK_GE(segment_state_.parts.numHoles, prevState.parts.numHoles); 235 int numHoles = segment_state_.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/pan/ |
PanService.java | 389 int prevState; 394 prevState = BluetoothProfile.STATE_DISCONNECTED; 398 prevState = panDevice.mState; 409 if (prevState == BluetoothProfile.STATE_DISCONNECTED && state == BluetoothProfile.STATE_DISCONNECTING) { 410 Log.d(TAG, "Ignoring state change from " + prevState + " to " + state); 414 Log.d(TAG, "handlePanDeviceStateChange preState: " + prevState + " state: " + state); 415 if (prevState == state) return; 447 state + ", prevState = " + prevState); 451 (prevState == BluetoothProfile.STATE_CONNECTED | [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
AdapterProperties.java | 324 void sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) { 326 !validateProfileConnectionState(prevState)) { 332 + "prevState " + prevState + " state " + state); 337 updateProfileConnectionState(profile, state, prevState); 339 if (updateCountersAndCheckForConnectionStateChange(state, prevState)) { 347 convertToAdapterState(prevState)); 352 + prevState + " -> " + state); 380 private boolean updateCountersAndCheckForConnectionStateChange(int state, int prevState) { 381 switch (prevState) { [all...] |
ProfileService.java | 232 int profileId, int newState, int prevState) { 235 adapterService.onProfileConnectionStateChanged(device, profileId, newState, prevState);
|
/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 | 712 // This method does not check for error conditon (newState == prevState) 713 private void broadcastConnectionState(BluetoothDevice device, int newState, int prevState) { 721 prevState, 727 private void broadcastAudioState(BluetoothDevice device, int state, int prevState) { [all...] |
/frameworks/base/services/core/java/com/android/server/ |
BluetoothManagerService.java | 169 public void onBluetoothStateChange(int prevState, int newState) throws RemoteException { 170 Message msg = mHandler.obtainMessage(MESSAGE_BLUETOOTH_STATE_CHANGE,prevState,newState); [all...] |
/external/llvm/utils/TableGen/ |
DFAPacketizerEmitter.cpp | 224 unsigned prevState, unsigned origState, 369 unsigned prevState, unsigned origState, 392 if (combo && ((~prevState & combo) != combo)) { 393 DEBUG(dbgs() << "\tSkipped Add 0x" << utohexstr(prevState) 402 unsigned ResultingResourceState = prevState | resourceMask | combo; 405 dbgs() << "0x" << utohexstr(prevState) 419 // We compute resource OR prevState (originally started as origState). 426 if (ResultingResourceState != prevState) { 443 if (ResultingResourceState != 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/Launcher3/src/com/android/launcher3/ |
FastBitmapDrawable.java | 176 State prevState = mState; 188 mPropertyAnimator.setDuration(getDurationForStateChange(prevState, newState)); 189 mPropertyAnimator.setStartDelay(getStartDelayForStateChange(prevState, newState));
|
BubbleTextView.java | 566 FastBitmapDrawable.State prevState = FastBitmapDrawable.State.NORMAL; 568 prevState = ((FastBitmapDrawable) mIcon).getCurrentState(); 592 ((FastBitmapDrawable) mIcon).setState(prevState); 637 FastBitmapDrawable.State prevState = d.getCurrentState(); 642 .setStartDelay(getStartDelayForStateChange(prevState, focusState)) 643 .setDuration(d.getDurationForStateChange(prevState, focusState))
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
A2dpSinkStateMachine.java | 734 // This method does not check for error conditon (newState == prevState) 735 private void broadcastConnectionState(BluetoothDevice device, int newState, int prevState) { 740 prevState, [all...] |
/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...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
PbapPCEClient.java | 269 private void onConnectionStateChanged(BluetoothDevice device, int prevState, int state) { 271 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState); 276 Log.d(TAG,"Connection state " + device + ": " + prevState + "->" + state);
|