/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 | 438 BluetoothDevice device, int prevState, int newState, 440 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...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
StatusTracker.cpp | 171 ComponentState prevState = getDeviceStateLocked(); 172 if (prevState != mDeviceState) { 174 mStateTransitions.add(prevState); 189 if (newState != prevState) { 192 prevState = newState; 200 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/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 | 79 IRTSegmentState prevState; 80 prevState.all = cookie; 88 DCHECK_GE(segment_state_.parts.numHoles, prevState.parts.numHoles); 125 int numHoles = segment_state_.parts.numHoles - prevState.parts.numHoles; 132 DCHECK_GE(pScan, table_ + prevState.parts.topIndex); 219 IRTSegmentState prevState; 220 prevState.all = cookie; 222 int bottomIndex = prevState.parts.topIndex; 226 DCHECK_GE(segment_state_.parts.numHoles, prevState.parts.numHoles); 266 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/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 | 204 int profileId, int newState, int prevState) { 207 svc.onProfileConnectionStateChanged(device, profileId, newState, prevState);
|
AdapterService.java | 153 public void onProfileConnectionStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) { 159 b.putInt("prevState", prevState); 164 private void processProfileStateChanged(BluetoothDevice device, int profileId, int newState, int prevState) { 174 binder.sendConnectionStateChange(device, profileId, newState,prevState); 194 Integer prevState = mProfileServicesState.get(serviceName); 195 if (prevState != null && prevState != state) { 325 void updateAdapterState(int prevState, int newState){ 331 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 | 678 // This method does not check for error conditon (newState == prevState) 679 private void broadcastConnectionState(BluetoothDevice device, int newState, int prevState) { 686 prevState, 692 private void broadcastAudioState(BluetoothDevice device, int state, int prevState) { 695 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState); 700 log("A2DP Playing state : device: " + device + " State:" + prevState + "->" + state); 736 private void onConnectionStateChanged(BluetoothDevice device, int prevState, int state) { 738 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState); 743 log("Connection state " + device + ": " + prevState + "->" + state); 744 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 | 140 public void onBluetoothStateChange(int prevState, int newState) throws RemoteException { 141 Message msg = mHandler.obtainMessage(MESSAGE_BLUETOOTH_STATE_CHANGE,prevState,newState); [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
HeadsetStateMachine.java | [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapService.java | 519 int prevState = mState; 522 intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState); 529 mState, prevState);
|