/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/core/java/android/bluetooth/ |
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 +
|
IBluetoothCallback.aidl | 27 void onBluetoothStateChange(int prevState, int newState);
|
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);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowVideoView.java | 29 private int prevState; 150 return prevState; 157 prevState = currentState;
|
/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/qemu/distrib/sdl-1.2.15/src/joystick/mint/ |
SDL_sysjoystick.c | 210 Uint32 prevstate; member in struct:__anon13333 488 Uint32 curstate,prevstate; local 494 prevstate = atarijoysticks[numjoystick].prevstate; 513 if (curstate != prevstate) { 530 if ((curstate & IKBD_JOY_FIRE) && !(prevstate & IKBD_JOY_FIRE)) { 533 if (!(curstate & IKBD_JOY_FIRE) && (prevstate & IKBD_JOY_FIRE)) { 537 atarijoysticks[numjoystick].prevstate = curstate; 584 if (curstate!=prevstate) { 606 if ((curstate & button) && !(prevstate & button)) [all...] |
/frameworks/base/services/java/com/android/server/location/ |
GeofenceState.java | 70 int prevState = mState; 75 if (prevState != STATE_INSIDE) { 80 if (prevState == STATE_INSIDE) {
|
/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...] |
/external/chromium-trace/trace-viewer/src/importer/linux_perf/ |
sched_parser.js | 51 var prevState = event[4]; 58 prevState, ts, nextPid, nextComm, nextPrio);
|
/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...] |
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...] |
ProfileService.java | 202 int profileId, int newState, int prevState) { 205 svc.onProfileConnectionStateChanged(device, profileId, newState, prevState);
|
/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);
|
/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...] |
/external/llvm/lib/Target/X86/ |
X86VZeroUpper.cpp | 86 static unsigned computeState(unsigned PrevState, unsigned CurState) { 87 if (PrevState == ST_INIT) 90 if (PrevState == ST_DIRTY || CurState == ST_DIRTY) 93 if (PrevState == ST_CLEAN && CurState == ST_CLEAN)
|
/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...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
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;
|
/external/libnfc-nxp/src/ |
phFriNfc_MifareULMap.c | 711 NdefMap->PrevState = PH_FRINFC_NDEFMAP_MFUL_STATE_READ; [all...] |