/cts/tools/vm-tests-tf/build/src/util/build/ |
D | BuildCTSHostSources.java | 155 HostState newState = new HostState(fileName); in openCTSHostFileFor() local 157 newState.append(getWarningMessage()); in openCTSHostFileFor() 158 newState.append("package " + modPackage + ";\n"); in openCTSHostFileFor() 159 newState.append("import java.io.IOException;\n" + in openCTSHostFileFor() 167 newState.append("public class " + sourceName + " extends DeviceTestCase implements " + in openCTSHostFileFor() 170 newState.append("\n" + in openCTSHostFileFor() 177 return newState; in openCTSHostFileFor()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BluetoothToggleActivity.java | 126 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()
|
D | BleCocClientService.java | 378 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { 380 Log.d(TAG, "onConnectionStateChange: status=" + status + ", newState=" + newState); 383 if (newState == BluetoothProfile.STATE_CONNECTED) { 384 mBleState = newState; 413 mBleState = newState; 419 showMessage("Failed to connect: " + status + " , newState = " + newState);
|
D | BleCocServerService.java | 440 public void onConnectionStateChange(BluetoothDevice device, int status, int newState) { 442 Log.d(TAG, "onConnectionStateChange: newState=" + newState); 446 if (newState == BluetoothProfile.STATE_CONNECTED) { 553 private void processChatStateChange(int newState) { in processChatStateChange() argument 556 Log.d(TAG, "processChatStateChange: newState=" + newState); in processChatStateChange() 558 switch (newState) { in processChatStateChange()
|
D | BleConnectionPriorityServerService.java | 255 public void onConnectionStateChange(BluetoothDevice device, int status, int newState) { 257 Log.d(TAG, "onConnectionStateChange: newState=" + newState); 260 if (newState == BluetoothProfile.STATE_CONNECTED) {
|
D | BleConnectionPriorityClientService.java | 330 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { 333 if (newState == BluetoothProfile.STATE_CONNECTED) { 358 } else if (newState == BluetoothProfile.STATE_DISCONNECTED) {
|
D | BleEncryptedClientService.java | 301 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) { 312 } else if (newState == BluetoothProfile.STATE_DISCONNECTED) {
|
D | BleEncryptedServerService.java | 303 public void onConnectionStateChange(BluetoothDevice device, int status, int newState) { 305 Log.d(TAG, "onConnectionStateChange: newState=" + newState); 308 if (newState == BluetoothProfile.STATE_CONNECTED) {
|
D | BleClientService.java | 908 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);
|
D | BleServerService.java | 852 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/ |
D | BackupAgentTest.java | 39 ParcelFileDescriptor newState) throws IOException { in onBackup() argument 44 ParcelFileDescriptor newState) throws IOException { in onRestore() argument
|
/cts/hostsidetests/backup/FullBackupOnly/src/ |
D | FullBackupOnlyBackupAgent.java | 51 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/ |
D | FullBackupBackupAgent.java | 43 ParcelFileDescriptor newState) throws IOException { in onBackup() argument 49 ParcelFileDescriptor newState) throws IOException { in onRestore() argument
|
D | KeyValueBackupAgent.java | 44 ParcelFileDescriptor newState) throws IOException { in onBackup() argument 63 ParcelFileDescriptor newState) throws IOException { in onRestore() argument
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | TestActivity.java | 114 private void setSoftInputState(int newState) { in setSoftInputState() argument 119 | newState; in setSoftInputState()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | TestActivity.java | 149 private void setSoftInputState(int newState) { in setSoftInputState() argument 154 | newState; in setSoftInputState()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarBluetoothTest.java | 83 int newState = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1); in onReceive() local 85 Log.d(TAG, "Bluetooth adapter state changed: " + newState); in onReceive() 94 if (mDesiredState == newState) { in onReceive() 96 } else if (newState == BluetoothAdapter.STATE_OFF) { in onReceive()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | HearingAidProfileTest.java | 275 int newState = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1); in onReceive() local 276 Log.d(TAG, "Previous state: " + previousState + " New state: " + newState); in onReceive() 278 if (newState == BluetoothAdapter.STATE_ON) { in onReceive() 285 } else if (newState == BluetoothAdapter.STATE_OFF) { in onReceive()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | RemoteConferenceTest.java | 214 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()
|
D | BaseTelecomTestWithMockServices.java | 296 public void onCallStateChanged(Call call, int newState) { in setupCallbacks() 297 Log.i(TAG, "onCallStateChanged, Call: " + call + ", New State: " + newState); in setupCallbacks()
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | WifiManagerTest.java | 124 int newState = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, 127 if (newState == WifiManager.WIFI_STATE_ENABLED) { 131 } else if (newState == WifiManager.WIFI_STATE_DISABLED) {
|