/cts/hostsidetests/backup/KeyValueApp/src/android/cts/backup/keyvaluerestoreapp/ |
D | KeyValueBackupAgent.java | 41 ParcelFileDescriptor newState) throws IOException { in onBackup() argument 44 super.onBackup(oldState, data, newState); in onBackup() 48 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) in onRestore() argument 52 super.onRestore(data, appVersionCode, newState); in onRestore()
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | BuildCTSHostSources.java | 156 HostState newState = new HostState(fileName); in openCTSHostFileFor() local 158 newState.append(getWarningMessage()); in openCTSHostFileFor() 159 newState.append("package " + modPackage + ";\n"); in openCTSHostFileFor() 160 newState.append("import java.io.IOException;\n" + in openCTSHostFileFor() 168 newState.append("public class " + sourceName + " extends DeviceTestCase implements " + in openCTSHostFileFor() 171 newState.append("\n" + in openCTSHostFileFor() 178 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 | BleConnectionPriorityServerService.java | 171 public void onConnectionStateChange(BluetoothDevice device, int status, int newState) { 173 Log.d(TAG, "onConnectionStateChange: newState=" + newState); 176 if (newState == BluetoothProfile.STATE_CONNECTED) {
|
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 | BleCocClientService.java | 377 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { 379 Log.d(TAG, "onConnectionStateChange: status=" + status + ", newState=" + newState); 382 if (newState == BluetoothProfile.STATE_CONNECTED) { 383 mBleState = newState; 412 mBleState = newState; 418 showMessage("Failed to connect: " + status + " , newState = " + newState);
|
D | BleConnectionPriorityClientService.java | 196 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { 199 if (newState == BluetoothProfile.STATE_CONNECTED) { 224 } 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 | 958 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { 959 … if (DEBUG) Log.d(TAG, "onConnectionStateChange: status= " + status + ", newState= " + newState); 961 if (newState == BluetoothProfile.STATE_CONNECTED) { 962 mBleState = newState; 987 mBleState = newState; 993 showMessage("Failed to connect: " + status + " , newState = " + newState);
|
D | BleServerService.java | 890 public void onConnectionStateChange(BluetoothDevice device, int status, int newState) { 892 Log.d(TAG, "onConnectionStateChange: newState=" + newState); 896 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/tests/tests/bluetooth/bluetoothTestUtilLib/src/android/bluetooth/cts/ |
D | BTAdapterUtils.java | 65 int newState = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1); in onReceive() local 66 Log.d(TAG, "Previous state: " + previousState + " New state: " + newState); in onReceive() 68 if (newState == BluetoothAdapter.STATE_ON) { in onReceive() 76 } else if (newState == BluetoothAdapter.STATE_OFF) { in onReceive()
|
/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 | 115 private void setSoftInputState(int newState) { in setSoftInputState() argument 120 | newState; in setSoftInputState()
|
/cts/tests/devicestate/src/android/hardware/devicestate/cts/ |
D | DeviceStateManagerTests.java | 146 int newState = determineNewState(callback.mCurrentState, supportedStates); in testRequestStateSucceedsAsTopApp() local 147 activity.requestDeviceStateChange(newState); in testRequestStateSucceedsAsTopApp() 149 PollingCheck.waitFor(TIMEOUT, () -> callback.mCurrentState == newState); in testRequestStateSucceedsAsTopApp() 151 assertEquals(newState, callback.mCurrentState); in testRequestStateSucceedsAsTopApp()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarBluetoothTest.java | 95 int newState = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, -1); in onReceive() local 97 Log.d(TAG, "Bluetooth adapter state changed: " + newState); in onReceive() 106 if (mDesiredState == newState) { in onReceive() 108 } else if (newState == BluetoothAdapter.STATE_OFF) { in onReceive()
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechConnectionTest.java | 186 int newState = enabled ? COMPONENT_ENABLED_STATE_ENABLED : COMPONENT_ENABLED_STATE_DISABLED; in setServiceEnabledState() local 192 mPackageManager.setComponentEnabledSetting(componentName, newState, DONT_KILL_APP); in setServiceEnabledState()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiManagerTest.java | 210 int newState = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, 213 if (newState == WifiManager.WIFI_STATE_ENABLED) { 217 } else if (newState == WifiManager.WIFI_STATE_DISABLED) { 3046 boolean newState = !currState; in testScanAlwaysAvailable() 3047 mWifiManager.setScanAlwaysAvailable(newState); in testScanAlwaysAvailable() 3051 () -> mWifiManager.isScanAlwaysAvailable() == newState); in testScanAlwaysAvailable() 3052 assertEquals(newState, mWifiManager.isScanAlwaysAvailable()); in testScanAlwaysAvailable() 3073 boolean newState = !currState; in testScanThrottleEnabled() 3074 mWifiManager.setScanThrottleEnabled(newState); in testScanThrottleEnabled() 3078 () -> mWifiManager.isScanThrottleEnabled() == newState); in testScanThrottleEnabled() [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | RemoteConferenceTest.java | 230 public void onStateChanged(RemoteConference conference, int oldState, int newState) { in testRemoteConferenceCallbacks_StateChange() 231 super.onStateChanged(conference, oldState, newState); in testRemoteConferenceCallbacks_StateChange() 232 callbackInvoker.invoke(conference, oldState, newState); in testRemoteConferenceCallbacks_StateChange()
|
D | BaseTelecomTestWithMockServices.java | 489 public void onCallStateChanged(Call call, int newState) { in setupCallbacks() 490 Log.i(TAG, "onCallStateChanged, Call: " + call + ", New State: " + newState); in setupCallbacks()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/ |
D | wifi-current.txt | 433 field @Deprecated public static final String EXTRA_NEW_STATE = "newState";
|