/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | ActiveDeviceManager.java | 185 int profile, BluetoothDevice device, int fromState, int toState) { in profileConnectionStateChanged() argument 189 mHandler.post(() -> handleA2dpConnected(device)); in profileConnectionStateChanged() 192 mHandler.post(() -> handleHfpConnected(device)); in profileConnectionStateChanged() 195 mHandler.post(() -> handleLeAudioConnected(device)); in profileConnectionStateChanged() 198 mHandler.post(() -> handleHearingAidConnected(device)); in profileConnectionStateChanged() 201 mHandler.post(() -> handleHapConnected(device)); in profileConnectionStateChanged() 207 mHandler.post(() -> handleA2dpDisconnected(device)); in profileConnectionStateChanged() 210 mHandler.post(() -> handleHfpDisconnected(device)); in profileConnectionStateChanged() 213 mHandler.post(() -> handleLeAudioDisconnected(device)); in profileConnectionStateChanged() 216 mHandler.post(() -> handleHearingAidDisconnected(device)); in profileConnectionStateChanged() [all …]
|
D | PhonePolicy.java | 130 int profile, BluetoothDevice device, int fromState, int toState) { in profileConnectionStateChanged() argument 138 mHandler.post(() -> processProfileStateChanged(profile, device, fromState, toState)); in profileConnectionStateChanged() 147 public void profileActiveDeviceChanged(int profile, BluetoothDevice device) { in profileActiveDeviceChanged() argument 148 mHandler.post(() -> processActiveDeviceChanged(device, profile)); in profileActiveDeviceChanged() 151 public void handleAclConnected(BluetoothDevice device) { in handleAclConnected() argument 152 mHandler.post(() -> processDeviceConnected(device)); in handleAclConnected() 160 boolean isLeAudioOnlyGroup(BluetoothDevice device) { in isLeAudioOnlyGroup() argument 161 String log = "isLeAudioOnlyGroup(" + device + "): "; in isLeAudioOnlyGroup() 175 int groupId = csipSetCoordinatorService.getGroupId(device, BluetoothUuid.CAP); in isLeAudioOnlyGroup() 212 boolean isLeAudioOnlyDevice(BluetoothDevice device, ParcelUuid[] uuids) { in isLeAudioOnlyDevice() argument [all …]
|
D | SilenceDeviceManager.java | 76 public void profileActiveDeviceChanged(int profile, BluetoothDevice device) { in profileActiveDeviceChanged() argument 79 mHandler.obtainMessage(MSG_A2DP_ACTIVE_DEVICE_CHANGED, device).sendToTarget(); in profileActiveDeviceChanged() 82 mHandler.obtainMessage(MSG_HFP_ACTIVE_DEVICE_CHANGED, device).sendToTarget(); in profileActiveDeviceChanged() 96 public void a2dpConnectionStateChanged(BluetoothDevice device, int fromState, int toState) { in a2dpConnectionStateChanged() argument 97 mHandler.obtainMessage(MSG_A2DP_CONNECTION_STATE_CHANGED, fromState, toState, device) in a2dpConnectionStateChanged() 108 public void hfpConnectionStateChanged(BluetoothDevice device, int fromState, int toState) { in hfpConnectionStateChanged() argument 109 mHandler.obtainMessage(MSG_HFP_CONNECTION_STATE_CHANGED, fromState, toState, device) in hfpConnectionStateChanged() 125 BluetoothDevice device = (BluetoothDevice) msg.obj; in handleMessage() local 127 handleSilenceDeviceStateChanged(device, state); in handleMessage() 132 BluetoothDevice device = (BluetoothDevice) msg.obj; in handleMessage() local [all …]
|
/packages/modules/Bluetooth/system/bta/has/ |
D | has_client.cc | 174 auto device = in Connect() local 176 if (device == devices_.end()) { in Connect() 181 device->is_connecting_actively = true; in Connect() 182 if (!device->IsConnected()) { in Connect() 204 auto device = std::find_if(devices_.begin(), devices_.end(), HasDevice::MatchAddress(addr)); in Connect() local 205 if (device == devices_.end()) { in Connect() 210 device->is_connecting_actively = true; in Connect() 211 if (!device->IsConnected()) { in Connect() 224 auto device = in AddFromStorage() local 226 if (device == devices_.end()) { in AddFromStorage() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/ |
D | HidHostService.java | 154 for (BluetoothDevice device : mInputDevices.keySet()) { in cleanup() 156 updateConnectionState(device, BluetoothDevice.TRANSPORT_LE, STATE_DISCONNECTED); in cleanup() 157 updateConnectionState(device, BluetoothDevice.TRANSPORT_BREDR, STATE_DISCONNECTED); in cleanup() 165 private byte[] getByteAddress(BluetoothDevice device, int transport) { in getByteAddress() argument 166 final ParcelUuid[] uuids = mAdapterService.getRemoteUuids(device); in getByteAddress() 170 return Utils.getByteAddress(device); in getByteAddress() 173 return Utils.getByteBrEdrAddress(mAdapterService, device); in getByteAddress() 179 return Utils.getByteBrEdrAddress(mAdapterService, device); in getByteAddress() 182 return Utils.getByteAddress(device); in getByteAddress() 187 private byte[] getByteAddress(BluetoothDevice device) { in getByteAddress() argument [all …]
|
/packages/modules/AdServices/adservices/apk/tests/util/java/com/android/adservices/ui/util/ |
D | SettingsTestUtil.java | 53 public static void settingsRemoveMainToggleAndMeasurementEntryTestUtil(UiDevice device) { in settingsRemoveMainToggleAndMeasurementEntryTestUtil() argument 54 ApkTestUtil.launchSettingView(device, LAUNCH_TIMEOUT_MS); in settingsRemoveMainToggleAndMeasurementEntryTestUtil() 57 UiObject2 appButton = ApkTestUtil.scrollTo(device, R.string.settingsUI_apps_ga_title); in settingsRemoveMainToggleAndMeasurementEntryTestUtil() 60 UiObject2 topicsButton = ApkTestUtil.scrollTo(device, R.string.settingsUI_topics_ga_title); in settingsRemoveMainToggleAndMeasurementEntryTestUtil() 64 ApkTestUtil.scrollToAndClick(device, R.string.settingsUI_measurement_view_title); in settingsRemoveMainToggleAndMeasurementEntryTestUtil() 68 ApkTestUtil.getElement(device, R.string.settingsUI_measurement_switch_title); in settingsRemoveMainToggleAndMeasurementEntryTestUtil() 71 pressBack(device); in settingsRemoveMainToggleAndMeasurementEntryTestUtil() 76 public static void measurementDialogTestUtil(UiDevice device, AdServicesFlagsSetterRule flags) in measurementDialogTestUtil() argument 79 device.setOrientationNatural(); in measurementDialogTestUtil() 80 ApkTestUtil.launchSettingView(device, LAUNCH_TIMEOUT_MS); in measurementDialogTestUtil() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 219 public boolean connect(BluetoothDevice device) { in connect() argument 220 Log.d(TAG, "connect(): " + device); in connect() 222 if (getConnectionPolicy(device) == CONNECTION_POLICY_FORBIDDEN) { in connect() 223 Log.e(TAG, "Cannot connect to " + device + " : CONNECTION_POLICY_FORBIDDEN"); in connect() 226 if (!Utils.arrayContains(mAdapterService.getRemoteUuids(device), BluetoothUuid.A2DP_SINK)) { in connect() 227 Log.e(TAG, "Cannot connect to " + device + " : Remote does not have A2DP Sink UUID"); in connect() 232 if (!connectionAllowedCheckMaxDevices(device)) { in connect() 241 if (sink.equals(device)) { in connect() 242 Log.w(TAG, "Connecting to device " + device + " : disconnect skipped"); in connect() 248 Log.e(TAG, "Cannot connect to " + device + " : too many connected devices"); in connect() [all …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/ |
D | WifiP2pDeviceTest.java | 93 WifiP2pDevice device = new WifiP2pDevice(); in testCopyConstructorWithDefaultValues() local 94 WifiP2pDevice copy = new WifiP2pDevice(device); in testCopyConstructorWithDefaultValues() 95 compareWifiP2pDevices(device, copy); in testCopyConstructorWithDefaultValues() 103 WifiP2pDevice device = new WifiP2pDevice(); in testCopyConstructorWithUpdatedValues() local 104 device.deviceName = "deviceName"; in testCopyConstructorWithUpdatedValues() 105 device.deviceAddress = "11:22:33:44:55:66"; in testCopyConstructorWithUpdatedValues() 106 device.primaryDeviceType = "primaryDeviceType"; in testCopyConstructorWithUpdatedValues() 107 device.secondaryDeviceType = "secondaryDeviceType"; in testCopyConstructorWithUpdatedValues() 108 device.wpsConfigMethodsSupported = 0x0008; in testCopyConstructorWithUpdatedValues() 109 device.deviceCapability = 1; in testCopyConstructorWithUpdatedValues() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/ |
D | VolumeControlService.java | 228 public boolean connect(BluetoothDevice device) { in connect() argument 229 Log.d(TAG, "connect(): " + device); in connect() 230 if (device == null) { in connect() 234 if (getConnectionPolicy(device) == CONNECTION_POLICY_FORBIDDEN) { in connect() 237 final ParcelUuid[] featureUuids = mAdapterService.getRemoteUuids(device); in connect() 241 "Cannot connect to " + device + " : Remote does not have Volume Control UUID"); in connect() 246 VolumeControlStateMachine smConnect = getOrCreateStateMachine(device); in connect() 248 Log.e(TAG, "Cannot connect to " + device + " : no state machine"); in connect() 256 public boolean disconnect(BluetoothDevice device) { in disconnect() argument 257 Log.d(TAG, "disconnect(): " + device); in disconnect() [all …]
|
D | VolumeControlNativeInterface.java | 46 private static byte[] getByteAddress(BluetoothDevice device) { in getByteAddress() argument 47 if (device == null) { in getByteAddress() 50 return Utils.getBytesFromAddress(device.getAddress()); in getByteAddress() 53 boolean connectVolumeControl(BluetoothDevice device) { in connectVolumeControl() argument 54 return connectVolumeControlNative(getByteAddress(device)); in connectVolumeControl() 57 boolean disconnectVolumeControl(BluetoothDevice device) { in disconnectVolumeControl() argument 58 return disconnectVolumeControlNative(getByteAddress(device)); in disconnectVolumeControl() 61 void setVolume(BluetoothDevice device, int volume) { in setVolume() argument 62 setVolumeNative(getByteAddress(device), volume); in setVolume() 69 void mute(BluetoothDevice device) { in mute() argument [all …]
|
D | VolumeControlServiceBinder.java | 114 public int getConnectionState(BluetoothDevice device, AttributionSource source) { in getConnectionState() argument 115 requireNonNull(device); in getConnectionState() 121 return service.getConnectionState(device); in getConnectionState() 126 BluetoothDevice device, int connectionPolicy, AttributionSource source) { in setConnectionPolicy() argument 127 requireNonNull(device); in setConnectionPolicy() 135 return service.setConnectionPolicy(device, connectionPolicy); in setConnectionPolicy() 139 public int getConnectionPolicy(BluetoothDevice device, AttributionSource source) { in getConnectionPolicy() argument 140 requireNonNull(device); in getConnectionPolicy() 148 return service.getConnectionPolicy(device); in getConnectionPolicy() 152 public boolean isVolumeOffsetAvailable(BluetoothDevice device, AttributionSource source) { in isVolumeOffsetAvailable() argument [all …]
|
/packages/modules/Bluetooth/system/bta/vc/ |
D | vc.cc | 145 auto device = volume_control_devices_.FindByAddress(address); in Connect() local 146 if (!device) { in Connect() 154 device->connecting_actively = true; in Connect() 156 if (device->IsConnected()) { in Connect() 158 device->connection_id); in Connect() 160 if (device->IsReady()) { in Connect() 161 callbacks_->OnConnectionState(ConnectionState::CONNECTED, device->address); in Connect() 163 OnGattConnected(GATT_SUCCESS, device->connection_id, gatt_if_, device->address, in Connect() 192 VolumeControlDevice* device = volume_control_devices_.FindByAddress(address); in OnGattConnected() local 193 if (!device) { in OnGattConnected() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientService.java | 305 public boolean connect(BluetoothDevice device) { in connect() argument 306 Log.d(TAG, "connect " + device); in connect() 307 if (getConnectionPolicy(device) == CONNECTION_POLICY_FORBIDDEN) { in connect() 311 + device.getAddress() in connect() 315 HeadsetClientStateMachine sm = getStateMachine(device, true); in connect() 317 Log.e(TAG, "Cannot allocate SM for device " + device); in connect() 321 sm.sendMessage(HeadsetClientStateMachine.CONNECT, device); in connect() 331 public boolean disconnect(BluetoothDevice device) { in disconnect() argument 332 HeadsetClientStateMachine sm = getStateMachine(device); in disconnect() 334 Log.e(TAG, "SM does not exist for device " + device); in disconnect() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | BluetoothConnectionRetryManagerTest.java | 120 private void sendBondStateChanged(BluetoothDevice device, int newState) { in sendBondStateChanged() argument 123 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendBondStateChanged() 128 private void sendConnectionStateChanged(BluetoothDevice device, int newState) { in sendConnectionStateChanged() argument 131 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendConnectionStateChanged() 136 private void sendSuccessfulConnection(BluetoothDevice device) { in sendSuccessfulConnection() argument 139 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendSuccessfulConnection() 145 private void sendFailedConnectionMethod1(BluetoothDevice device) { in sendFailedConnectionMethod1() argument 148 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendFailedConnectionMethod1() 154 private void sendFailedConnectionMethod2(BluetoothDevice device) { in sendFailedConnectionMethod2() argument 157 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in sendFailedConnectionMethod2() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 199 public boolean connect(BluetoothDevice device) { in connect() argument 200 Log.d(TAG, "connect(): " + device); in connect() 201 if (device == null) { in connect() 205 if (getConnectionPolicy(device) == CONNECTION_POLICY_FORBIDDEN) { in connect() 208 final ParcelUuid[] featureUuids = mAdapterService.getRemoteUuids(device); in connect() 210 Log.e(TAG, "Cannot connect to " + device + " : Remote does not have Hearing Aid UUID"); in connect() 215 mDeviceHiSyncIdMap.getOrDefault(device, BluetoothHearingAid.HI_SYNC_ID_INVALID); in connect() 226 HearingAidStateMachine smConnect = getOrCreateStateMachine(device); in connect() 228 Log.e(TAG, "Cannot connect to " + device + " : no state machine"); in connect() 234 if (device.equals(storedDevice)) { in connect() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceAndStateMachineTest.java | 226 BluetoothDevice device = getTestDevice(0); in testGetHeadsetService() local 227 assertThat(mHeadsetService.getConnectionState(device)).isEqualTo(STATE_DISCONNECTED); in testGetHeadsetService() 228 assertThat(mHeadsetService.getAudioState(device)) in testGetHeadsetService() 238 BluetoothDevice device = getTestDevice(0); in testConnectFromApi() local 241 .getProfileConnectionPolicy(device, BluetoothProfile.HEADSET); in testConnectFromApi() 242 mBondedDevices.add(device); in testConnectFromApi() 243 assertThat(mHeadsetService.connect(device)).isTrue(); in testConnectFromApi() 247 device, in testConnectFromApi() 253 verifyConnectionStateIntent(device, STATE_CONNECTING, STATE_DISCONNECTED); in testConnectFromApi() 254 verify(mNativeInterface).connectHfp(device); in testConnectFromApi() [all …]
|
/packages/services/Mtp/src/com/android/mtp/ |
D | MtpManager.java | 95 final MtpDevice device = new MtpDevice(rawDevice); in openDevice() local 101 if (!device.open(connection)) { in openDevice() 108 device.getStorageIds(), in openDevice() 111 mDevices.put(deviceId, device); in openDevice() 125 for (UsbDevice device : mManager.getDeviceList().values()) { in getDevices() 126 if (!isMtpDevice(device)) { in getDevices() 129 devices.add(createDeviceRecord(device)); in getDevices() 135 final MtpDevice device = getDevice(deviceId); in getObjectInfo() local 136 synchronized (device) { in getObjectInfo() 138 device.getObjectInfo(objectHandle), in getObjectInfo() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/ |
D | HapClientService.java | 211 public void handleBondStateChanged(BluetoothDevice device, int fromState, int toState) { in handleBondStateChanged() argument 212 mHandler.post(() -> bondStateChanged(device, toState)); in handleBondStateChanged() 216 void bondStateChanged(BluetoothDevice device, int bondState) { in bondStateChanged() argument 217 Log.d(TAG, "Bond state changed for device: " + device + " state: " + bondState); in bondStateChanged() 224 mDeviceCurrentPresetMap.remove(device); in bondStateChanged() 225 mDeviceFeaturesMap.remove(device); in bondStateChanged() 226 mPresetsMap.remove(device); in bondStateChanged() 229 HapClientStateMachine sm = mStateMachines.get(device); in bondStateChanged() 235 disconnect(device); in bondStateChanged() 238 removeStateMachine(device); in bondStateChanged() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerService.java | 116 BluetoothDevice device, AvrcpCoverArtManager.DownloadEvent event) { in onImageDownloadComplete() argument 120 + device in onImageDownloadComplete() 125 AvrcpControllerStateMachine stateMachine = getStateMachine(device); in onImageDownloadComplete() 127 Log.e(TAG, "No state machine found for device " + device); in onImageDownloadComplete() 128 mCoverArtManager.removeImage(device, event.uuid()); in onImageDownloadComplete() 213 boolean setActiveDevice(BluetoothDevice device) { in setActiveDevice() argument 214 Log.d(TAG, "setActiveDevice(device=" + device + ")"); in setActiveDevice() 217 Log.w(TAG, "setActiveDevice(device=" + device + "): A2DP Sink not available"); in setActiveDevice() 222 if ((device == null && currentActiveDevice == null) in setActiveDevice() 223 || (device != null && device.equals(currentActiveDevice))) { in setActiveDevice() [all …]
|
D | AvrcpControllerNativeInterface.java | 123 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in onConnectionStateChanged() local 129 + (" device=" + device)); in onConnectionStateChanged() 132 remoteControlConnected, browsingConnected, device); in onConnectionStateChanged() 138 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in getRcPsm() local 139 Log.d(TAG, "getRcPsm: device=" + device + " psm=" + psm); in getRcPsm() 141 mAvrcpController.getRcPsm(device, psm); in getRcPsm() 146 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in handlePlayerAppSetting() local 147 Log.d(TAG, "handlePlayerAppSetting: device=" + device + " rspLen=" + rspLen); in handlePlayerAppSetting() 149 mAvrcpController.handlePlayerAppSetting(device, playerAttribRsp, rspLen); in handlePlayerAppSetting() 154 BluetoothDevice device = BluetoothAdapter.getDefaultAdapter().getRemoteDevice(address); in onPlayerAppSettingChanged() local [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/ |
D | BatteryService.java | 137 public boolean connect(BluetoothDevice device) { in connect() argument 138 Log.d(TAG, "connect(): " + device); in connect() 139 if (device == null) { in connect() 144 if (getConnectionPolicy(device) == CONNECTION_POLICY_FORBIDDEN) { in connect() 145 Log.w(TAG, "Cannot connect to " + device + " : policy forbidden"); in connect() 148 final ParcelUuid[] featureUuids = mAdapterService.getRemoteUuids(device); in connect() 150 Log.e(TAG, "Cannot connect to " + device + " : Remote does not have Battery UUID"); in connect() 155 BatteryStateMachine sm = getOrCreateStateMachine(device); in connect() 157 Log.e(TAG, "Cannot connect to " + device + " : no state machine"); in connect() 170 public boolean connectIfPossible(BluetoothDevice device) { in connectIfPossible() argument [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/ |
D | TbsGatt.java | 140 BluetoothDevice device, int opcode, byte[] args); in onCallControlPointRequest() argument 148 public abstract boolean isInbandRingtoneEnabled(BluetoothDevice device); in isInbandRingtoneEnabled() argument 326 private void removeUuidFromMetadata(ParcelUuid charUuid, BluetoothDevice device) { in removeUuidFromMetadata() argument 328 byte[] gtbs_cccd = mAdapterService.getMetadata(device, METADATA_GTBS_CCCD); in removeUuidFromMetadata() 344 device, in removeUuidFromMetadata() 351 private void addUuidToMetadata(ParcelUuid charUuid, BluetoothDevice device) { in addUuidToMetadata() argument 353 byte[] gtbs_cccd = mAdapterService.getMetadata(device, METADATA_GTBS_CCCD); in addUuidToMetadata() 369 device, in addUuidToMetadata() 377 void setCcc(BluetoothDevice device, UUID charUuid, byte[] value) { in setCcc() argument 378 HashMap<UUID, Short> characteristicCcc = mCccDescriptorValues.get(device); in setCcc() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 129 public synchronized boolean connect(BluetoothDevice device) { in connect() argument 130 if (device == null) { in connect() 133 Log.d(TAG, "connect(device= " + device + "): devices=" + mMapInstanceMap.keySet()); in connect() 134 if (getConnectionPolicy(device) == CONNECTION_POLICY_FORBIDDEN) { in connect() 138 + device.getAddress() in connect() 142 MceStateMachine mapStateMachine = mMapInstanceMap.get(device); in connect() 146 addDeviceToMapAndConnect(device); in connect() 153 addDeviceToMapAndConnect(device); in connect() 160 + device); in connect() 167 int state = getConnectionState(device); in connect() [all …]
|
/packages/modules/Bluetooth/system/bta/csis/ |
D | csis_client.cc | 198 auto device = FindDeviceByAddress(address); in AssignCsisGroup() local 199 if (device == nullptr) { in AssignCsisGroup() 202 device = FindDeviceByAddress(address); in AssignCsisGroup() 205 if (!csis_group->IsDeviceInTheGroup(device)) { in AssignCsisGroup() 206 csis_group->AddDevice(device); in AssignCsisGroup() 231 auto device = FindDeviceByAddress(address); in OnGroupMemberRemovedCb() local 232 if (device) { in OnGroupMemberRemovedCb() 233 RemoveCsisDevice(device, group_id); in OnGroupMemberRemovedCb() 239 auto device = FindDeviceByAddress(address); in OnGroupAddFromStorageCb() local 240 if (device == nullptr) { in OnGroupAddFromStorageCb() [all …]
|
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/host/src/util/ |
D | HostSideTestUtil.java | 22 import com.android.tradefed.device.DeviceNotAvailableException; 23 import com.android.tradefed.device.ITestDevice; 50 public static void clearData(ITestDevice device) throws Exception { in clearData() argument 51 triggerTestInTestApp(device, DAILY_LOG_TESTS_ACTIVITY, "deleteAllStagedRemoteData"); in clearData() 54 increaseDeviceTimeByDays(device, 10); in clearData() 55 triggerDailyJob(device); in clearData() 59 public static void triggerTestInTestApp(ITestDevice device, String className, String testName) in triggerTestInTestApp() argument 63 DeviceUtils.runDeviceTests(device, TEST_APP_PKG_NAME, className, testName); in triggerTestInTestApp() 68 public static void increaseDeviceTimeByDays(ITestDevice device, int numberOfDays) in increaseDeviceTimeByDays() argument 70 Instant deviceDate = Instant.ofEpochMilli(device.getDeviceDate()); in increaseDeviceTimeByDays() [all …]
|