Home
last modified time | relevance | path

Searched refs:newState (Results 1 – 10 of 10) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBluetoothToggleActivity.java126 int newState = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1); in onReceive() local
127 Log.i(TAG, "Previous state: " + previousState + " New state: " + newState); in onReceive()
129 if (BluetoothAdapter.STATE_OFF == newState in onReceive()
135 if (BluetoothAdapter.STATE_ON == newState in onReceive()
141 if (BluetoothAdapter.STATE_OFF == newState) { in onReceive()
DBleServerService.java279 public void onConnectionStateChange(BluetoothDevice device, int status, int newState) {
280 if (DEBUG) Log.d(TAG, "onConnectionStateChange: newState=" + newState);
282 if (newState == BluetoothProfile.STATE_CONNECTED) {
DBleClientService.java315 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {
318 if (newState == BluetoothProfile.STATE_CONNECTED) {
/cts/tests/app/src/android/app/backup/cts/
DBackupAgentTest.java39 ParcelFileDescriptor newState) throws IOException { in onBackup() argument
44 ParcelFileDescriptor newState) throws IOException { in onRestore() argument
/cts/tests/backup/app/src/android/backup/app/
DBackupCtsBackupAgent.java37 ParcelFileDescriptor newState) throws IOException { in onBackup() argument
43 ParcelFileDescriptor newState) throws IOException { in onRestore() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsBackupHelper.java52 ParcelFileDescriptor newState) { in performBackup() argument
147 public void writeNewStateDescription(ParcelFileDescriptor newState) { in writeNewStateDescription() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/
DUsbAccessoryTestActivity.java458 private void setState(int newState) { in setState() argument
459 Log.d(TAG, "Transition: " + stateToString(mState) + " -> " + stateToString(newState)); in setState()
460 mState = newState; in setState()
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiManagerTest.java93 int newState = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE,
96 if (newState == WifiManager.WIFI_STATE_ENABLED) {
100 } else if (newState == WifiManager.WIFI_STATE_DISABLED) {
/cts/tests/tests/telecom/src/android/telecom/cts/
DRemoteConferenceTest.java214 public void onStateChanged(RemoteConference conference, int oldState, int newState) { in testRemoteConferenceCallbacks_StateChange()
215 super.onStateChanged(conference, oldState, newState); in testRemoteConferenceCallbacks_StateChange()
216 callbackInvoker.invoke(conference, oldState, newState); in testRemoteConferenceCallbacks_StateChange()
DBaseTelecomTestWithMockServices.java219 public void onCallStateChanged(Call call, int newState) { in setupCallbacks()
220 Log.i(TAG, "onCallStateChanged, Call: " + call + ", New State: " + newState); in setupCallbacks()