Home
last modified time | relevance | path

Searched refs:newState (Results 1 – 15 of 15) 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()
DBleConnectionPriorityServerService.java255 public void onConnectionStateChange(BluetoothDevice device, int status, int newState) {
257 Log.d(TAG, "onConnectionStateChange: newState=" + newState);
260 if (newState == BluetoothProfile.STATE_CONNECTED) {
DBleConnectionPriorityClientService.java330 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {
333 if (newState == BluetoothProfile.STATE_CONNECTED) {
358 } else if (newState == BluetoothProfile.STATE_DISCONNECTED) {
DBleEncryptedServerService.java303 public void onConnectionStateChange(BluetoothDevice device, int status, int newState) {
305 Log.d(TAG, "onConnectionStateChange: newState=" + newState);
308 if (newState == BluetoothProfile.STATE_CONNECTED) {
DBleEncryptedClientService.java301 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {
302 … if (DEBUG) Log.d(TAG, "onConnectionStateChange: status = " + status + ", newState = " + newState);
304 if (newState == BluetoothProfile.STATE_CONNECTED) {
DBleClientService.java908 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {
909 … if (DEBUG) Log.d(TAG, "onConnectionStateChange: status= " + status + ", newState= " + newState);
911 if (newState == BluetoothProfile.STATE_CONNECTED) {
912 mBleState = newState;
937 mBleState = newState;
943 showMessage("Failed to connect: " + status + " , newState = " + newState);
DBleServerService.java852 public void onConnectionStateChange(BluetoothDevice device, int status, int newState) {
854 Log.d(TAG, "onConnectionStateChange: newState=" + newState);
858 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/hostsidetests/backup/FullBackupOnly/src/
DFullBackupOnlyBackupAgent.java51 ParcelFileDescriptor newState) throws IOException { in onBackup() argument
65 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore() argument
96 FileOutputStream outstream = new FileOutputStream(newState.getFileDescriptor()); in onRestore()
/cts/tests/backup/app/src/android/backup/app/
DFullBackupBackupAgent.java43 ParcelFileDescriptor newState) throws IOException { in onBackup() argument
49 ParcelFileDescriptor newState) throws IOException { in onRestore() argument
DKeyValueBackupAgent.java44 ParcelFileDescriptor newState) throws IOException { in onBackup() argument
63 ParcelFileDescriptor newState) throws IOException { in onRestore() argument
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DTestActivity.java148 private void setSoftInputState(int newState) { in setSoftInputState() argument
153 | newState; in setSoftInputState()
/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.java270 public void onCallStateChanged(Call call, int newState) { in setupCallbacks()
271 Log.i(TAG, "onCallStateChanged, Call: " + call + ", New State: " + newState); in setupCallbacks()
/cts/tests/tests/net/src/android/net/wifi/cts/
DWifiManagerTest.java110 int newState = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE,
113 if (newState == WifiManager.WIFI_STATE_ENABLED) {
117 } else if (newState == WifiManager.WIFI_STATE_DISABLED) {