/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/ |
D | TelecomActivityViewModelTest.java | 77 assertThat(mTelecomActivityViewModel.getErrorMessage().getValue()).isEqualTo( in testDialerAppState_defaultBluetoothAdapterIsNull_bluetoothError() 79 assertThat(mTelecomActivityViewModel.getDialerAppState().getValue()).isEqualTo( in testDialerAppState_defaultBluetoothAdapterIsNull_bluetoothError() 91 assertThat(mBluetoothStateLiveData.getValue()).isEqualTo( in testDialerAppState_bluetoothNotEnabled_bluetoothError() 93 assertThat(mTelecomActivityViewModel.getErrorMessage().getValue()).isEqualTo( in testDialerAppState_bluetoothNotEnabled_bluetoothError() 95 assertThat(mTelecomActivityViewModel.getDialerAppState().getValue()).isEqualTo( in testDialerAppState_bluetoothNotEnabled_bluetoothError() 108 assertThat(mBluetoothStateLiveData.getValue()).isEqualTo( in testDialerAppState_noPairedDevices_bluetoothError() 111 assertThat(mPairedListLiveData.getValue().isEmpty()).isTrue(); in testDialerAppState_noPairedDevices_bluetoothError() 112 assertThat(mTelecomActivityViewModel.getErrorMessage().getValue()).isEqualTo( in testDialerAppState_noPairedDevices_bluetoothError() 114 assertThat(mTelecomActivityViewModel.getDialerAppState().getValue()).isEqualTo( in testDialerAppState_noPairedDevices_bluetoothError() 130 assertThat(mBluetoothStateLiveData.getValue()).isEqualTo( in testDialerAppState_hfpNoConnected_bluetoothError() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioManagerTest.java | 137 assertMessageArgEquality(correctArgs, captor.getValue()); in testUnmuteOfSecondIncomingCall() 140 assertMessageArgEquality(correctArgs, captor.getValue()); in testUnmuteOfSecondIncomingCall() 199 assertMessageArgEquality(correctArgs, captor.getValue()); 202 assertMessageArgEquality(correctArgs, captor.getValue()); 236 assertMessageArgEquality(correctArgs, captor.getValue()); 237 assertMessageArgEquality(correctArgs, captor.getValue()); 271 assertMessageArgEquality(expectedArgs, captor.getValue()); 277 assertMessageArgEquality(expectedArgs, captor.getValue()); 286 assertMessageArgEquality(expectedArgs, captor.getValue()); 327 assertMessageArgEquality(expectedArgs, captor.getValue()); [all …]
|
D | CallerInfoLookupHelperTest.java | 140 queryListenerCaptor.getValue().onQueryComplete( in testSimpleLookup() 141 0, logSessionCaptor.getValue(), mCallerInfo1); in testSimpleLookup() 151 imageListenerCaptor.getValue().onImageLoadComplete(0, mDrawable1, mBitmap, in testSimpleLookup() 152 logSessionCaptor.getValue()); in testSimpleLookup() 180 queryListenerCaptor.getValue().onQueryComplete( in testLookupWithTwoListeners() 181 0, logSessionCaptor.getValue(), mCallerInfo1); in testLookupWithTwoListeners() 191 imageListenerCaptor.getValue().onImageLoadComplete(0, mDrawable1, mBitmap, in testLookupWithTwoListeners() 192 logSessionCaptor.getValue()); in testLookupWithTwoListeners() 220 queryListenerCaptor.getValue().onQueryComplete( in testListenerAddedAfterCallerInfoBeforePhoto() 221 0, logSessionCaptor.getValue(), mCallerInfo1); in testListenerAddedAfterCallerInfoBeforePhoto() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterColorBorderRepresentation.java | 109 if (border.mParamColor.getValue() == mParamColor.getValue() in equals() 110 && border.mParamRadius.getValue() == mParamRadius.getValue() in equals() 111 && border.mParamSize.getValue() == mParamSize.getValue()) { in equals() 136 return mParamColor.getValue(); in getColor() 144 return mParamSize.getValue(); in getBorderSize() 152 return mParamRadius.getValue(); in getBorderRadius() 177 writer.value(mParamSize.getValue()); in serializeRepresentation() 179 writer.value(mParamRadius.getValue()); in serializeRepresentation() 181 writer.value(mParamColor.getValue()); in serializeRepresentation()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | DialogDetailsView.java | 141 double[] latlng = (double[]) detail.getValue(); in setDetails() 148 context, (Long) detail.getValue()); in setDetails() 152 value = "1".equals(detail.getValue()) in setDetails() 159 (MediaDetails.FlashState) detail.getValue(); in setDetails() 170 value = (String) detail.getValue(); in setDetails() 188 if (detail.getValue().toString().equalsIgnoreCase("0")) { in setDetails() 192 value = toLocalInteger(detail.getValue()); in setDetails() 197 if (detail.getValue().toString().equalsIgnoreCase("0")) { in setDetails() 201 value = toLocalInteger(detail.getValue()); in setDetails() 211 value = "\n" + detail.getValue().toString(); in setDetails() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachineTest.java | 177 mIntentArgument.getValue()); in testStateTransition_DisconnectedToConnecting_Connect() 194 mIntentArgument.getValue()); in testStateTransition_DisconnectedToConnecting_StackConnected() 211 mIntentArgument.getValue()); in testStateTransition_DisconnectedToConnecting_StackConnecting() 245 mIntentArgument.getValue()); in testStateTransition_ConnectingToDisconnected_StackDisconnected() 263 mIntentArgument.getValue()); in testStateTransition_ConnectingToDisconnected_Timeout() 306 mIntentArgument.getValue()); in testStateTransition_ConnectingToConnected_StackSlcConnected() 328 mIntentArgument.getValue()); in testStateTransition_DisconnectingToDisconnected_StackDisconnected() 347 mIntentArgument.getValue()); in testStateTransition_DisconnectingToDisconnected_Timeout() 369 mIntentArgument.getValue()); in testStateTransition_DisconnectingToConnected_StackSlcCconnected() 388 mIntentArgument.getValue()); in testStateTransition_ConnectedToDisconnecting_Disconnect() [all …]
|
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
D | RcsFeatureControllerTest.java | 96 mConnectorListener.getValue().connectionReady(mFeatureManager); in testRcsFeatureManagerConnectDisconnect() 103 mConnectorListener.getValue().connectionUnavailable(); in testRcsFeatureManagerConnectDisconnect() 113 mConnectorListener.getValue().connectionReady(mFeatureManager); in testFeatureManagerConnectedAddRemoveFeature() 130 mConnectorListener.getValue().connectionReady(mFeatureManager); in testFeatureManagerConnectedRegister() 162 mConnectorListener.getValue().connectionReady(mFeatureManager); in testFeatureManagerConnectedHelper() 166 assertNotNull(captor.getValue()); in testFeatureManagerConnectedHelper() 168 captor.getValue().onDeregistered(REASON_DISCONNECTED); in testFeatureManagerConnectedHelper() 175 captor.getValue().onRegistering(ImsRegistrationImplBase.REGISTRATION_TECH_LTE); in testFeatureManagerConnectedHelper() 183 captor.getValue().onRegistered(ImsRegistrationImplBase.REGISTRATION_TECH_LTE); in testFeatureManagerConnectedHelper() 196 mConnectorListener.getValue().connectionUnavailable(); in testFeatureManagerDisconnectedAddFeature() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | DetailsDialog.java | 98 context, (Long) detail.getValue()); 102 value = "1".equals(detail.getValue()) 109 (MediaDetails.FlashState) detail.getValue(); 120 value = (String) detail.getValue(); 138 if (detail.getValue().toString().equalsIgnoreCase("0")) { 142 value = toLocalInteger(detail.getValue()); 147 if (detail.getValue().toString().equalsIgnoreCase("0")) { 151 value = toLocalInteger(detail.getValue()); 161 value = "\n" + detail.getValue().toString(); 162 path = detail.getValue().toString(); [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/ |
D | SensorsTestFragment.java | 262 value == null ? mNaString : (float) value.getValue())); in refreshSensorInfoText() 267 value == null ? mNaString : (float) value.getValue())); in refreshSensorInfoText() 272 value == null ? mNaString : (float) value.getValue())); in refreshSensorInfoText() 284 (int) value.getValue())); in refreshSensorInfoText() 290 value.getValue())); in refreshSensorInfoText() 295 value == null ? mNaString : (int) value.getValue())); in refreshSensorInfoText() 300 value == null ? mNaString : value.getValue())); in refreshSensorInfoText() 305 temperature = String.valueOf((float) value.getValue()); in refreshSensorInfoText() 312 Long[] wheelTickData = (Long[]) value.getValue(); in refreshSensorInfoText() 336 value.getValue())); in refreshSensorInfoText() [all …]
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/ |
D | InCallViewModelTest.java | 129 List<Call> viewModelCallList = mInCallViewModel.getOngoingCallList().getValue(); in testGetCallList() 135 Call incomingCall = mInCallViewModel.getIncomingCall().getValue(); in testGetIncomingCall() 141 assertThat(mInCallViewModel.getPrimaryCall().getValue()).isEqualTo(mMockDialingCall); in testGetPrimaryCall() 146 assertThat(mInCallViewModel.getPrimaryCallState().getValue()).isEqualTo(Call.STATE_DIALING); in testGetPrimaryCallState() 151 CallDetail callDetail = mInCallViewModel.getPrimaryCallDetail().getValue(); in testGetPrimaryCallDetail() 160 Pair<Integer, Long> pair = mInCallViewModel.getCallStateAndConnectTime().getValue(); in testGetCallStateAndConnectTime() 167 assertThat(mInCallViewModel.getAudioRoute().getValue()) in testGetAudioRoute() 182 List<Call> viewModelCallList = mInCallViewModel.getOngoingCallList().getValue(); in testOnTelecomCallAdded_updateCallList() 184 assertThat(mInCallViewModel.getIncomingCall().getValue()).isEqualTo(null); in testOnTelecomCallAdded_updateCallList() 185 assertThat(mInCallViewModel.getPrimaryCall().getValue()).isEqualTo(mockDialingCall); in testOnTelecomCallAdded_updateCallList() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/ |
D | BrowserPlayerWrapperTest.java | 77 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testWrap() 90 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testConnect_Successful() 104 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testConnect_Suspended() 121 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testConnect_Failed() 138 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testEmptyRoot() 153 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testDisconnect() 164 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testGetRootId() 176 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testPlayItem() 194 MediaController.Callback controllerCb = mControllerCb.getValue(); in testPlayItem() 213 MediaBrowser.ConnectionCallback browserConnCb = mBrowserConnCb.getValue(); in testPlayItem_Timeout() [all …]
|
D | MediaPlayerWrapperTest.java | 201 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testControllerUpdate() 226 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testNoQueueMediaUpdates() 235 MediaData data = mMediaUpdateData.getValue(); in testNoQueueMediaUpdates() 253 data = mMediaUpdateData.getValue(); in testNoQueueMediaUpdates() 288 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testDataOnUpdateNoQueue() 303 MediaData data = mMediaUpdateData.getValue(); in testDataOnUpdateNoQueue() 332 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testNullMetadata() 343 MediaData data = mMediaUpdateData.getValue(); in testNullMetadata() 361 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testNullQueue() 368 MediaData data = mMediaUpdateData.getValue(); in testNullQueue() [all …]
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipEditor.java | 134 String getValue() { in getValue() method in SipEditor.PreferenceKey 138 return ((ListPreference) preference).getValue(); in getValue() 145 String oldValue = getValue(); in setValue() 150 getValue()); in setValue() 365 port = Integer.parseInt(PreferenceKey.Port.getValue()); in validateAndSetResult() 424 return PreferenceKey.Username.getValue() + "@" in getProfileName() 425 + PreferenceKey.DomainAddress.getValue(); in getProfileName() 430 PreferenceKey.Username.getValue(), in createSipProfile() 431 PreferenceKey.DomainAddress.getValue()) in createSipProfile() 433 .setPassword(PreferenceKey.Password.getValue()) in createSipProfile() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/ |
D | SimSelectNotificationTest.java | 153 assertThat(nc.getValue().getId()).isEqualTo(ENABLE_MMS_NOTIFICATION_CHANNEL); in onReceiveEnableMms_notificationShouldSend() 154 assertThat(nc.getValue().getName()).isEqualTo(mFakeNotificationChannelTitle); in onReceiveEnableMms_notificationShouldSend() 155 assertThat(nc.getValue().getImportance()).isEqualTo(IMPORTANCE_HIGH); in onReceiveEnableMms_notificationShouldSend() 161 assertThat(notification.getValue().extras.getCharSequence(Notification.EXTRA_TITLE)) in onReceiveEnableMms_notificationShouldSend() 163 assertThat(notification.getValue().extras.getCharSequence(Notification.EXTRA_BIG_TEXT)) in onReceiveEnableMms_notificationShouldSend() 165 assertThat(notification.getValue().contentIntent).isNotNull(); in onReceiveEnableMms_notificationShouldSend() 213 assertThat(nc.getValue().getId()).isEqualTo(SIM_WARNING_NOTIFICATION_CHANNEL); in onReceivePrimarySubListChange_DualCdmaWarning_notificationShouldSend() 214 assertThat(nc.getValue().getName()).isEqualTo(mFakeDualCdmaWarningChannelTitle); in onReceivePrimarySubListChange_DualCdmaWarning_notificationShouldSend() 215 assertThat(nc.getValue().getImportance()).isEqualTo(IMPORTANCE_HIGH); in onReceivePrimarySubListChange_DualCdmaWarning_notificationShouldSend() 221 assertThat(notification.getValue().extras.getCharSequence(Notification.EXTRA_TITLE)) in onReceivePrimarySubListChange_DualCdmaWarning_notificationShouldSend() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/ |
D | KeyboardManagementPreferenceControllerTest.java | 319 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_positive_noOtherPreferenceAdded() 343 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_positive_preferenceChecked() 366 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_positive_preferenceEnabled() 388 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled() 411 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_negative_noOtherPreferenceAdded() 435 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_negative_preferenceEnabled() 457 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_negative_inputMethodDisabled() 481 ConfirmationDialogFragment dialogFragment = securityDialogCaptor.getValue(); in performClick_toggleTrue_directBootWarningShown() 507 ConfirmationDialogFragment dialogFragment = securityDialogCaptor.getValue(); in performClick_toggleTrue_showDirectBootDialog_positive_noOtherPreferenceAdded() 515 dialogFragment = bootDialogCaptor.getValue(); in performClick_toggleTrue_showDirectBootDialog_positive_noOtherPreferenceAdded() [all …]
|
/packages/apps/Dialer/java/com/android/voicemail/impl/ |
D | OmtpVvmCarrierConfigHelper.java | 192 return (String) getValue(KEY_VVM_TYPE_STRING); in getVvmType() 204 return (String) getValue(key); in getString() 259 return (boolean) getValue(KEY_VVM_CELLULAR_DATA_REQUIRED_BOOL, false); in isCellularDataRequired() 264 return (boolean) getValue(KEY_VVM_PREFETCH_BOOL, true); in isPrefetchEnabled() 269 return (int) getValue(KEY_VVM_PORT_NUMBER_INT, 0); in getApplicationPort() 275 return (String) getValue(KEY_VVM_DESTINATION_NUMBER_STRING); in getDestinationNumber() 281 return (int) getValue(KEY_VVM_SSL_PORT_NUMBER_INT, 0); in getSslPort() 329 String prefix = (String) getValue(KEY_VVM_CLIENT_PREFIX_STRING); in getClientPrefix() 348 return (boolean) getValue(KEY_VVM_LEGACY_MODE_ENABLED_BOOL, false); in isLegacyModeEnabled() 472 private Object getValue(String key) { in getValue() method in OmtpVvmCarrierConfigHelper [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | RemoteDevicesTest.java | 88 Assert.assertEquals(AdapterService.BLUETOOTH_PERM, mStringArgument.getValue()); in testUpdateBatteryLevel_normalSequence() 104 Assert.assertEquals(AdapterService.BLUETOOTH_PERM, mStringArgument.getValue()); in testUpdateBatteryLevel_normalSequence() 171 Assert.assertEquals(AdapterService.BLUETOOTH_PERM, mStringArgument.getValue()); in testResetBatteryLevel_testResetAfterUpdate() 186 Assert.assertEquals(AdapterService.BLUETOOTH_PERM, mStringArgument.getValue()); in testResetBatteryLevel_testResetAfterUpdate() 201 Assert.assertEquals(AdapterService.BLUETOOTH_PERM, mStringArgument.getValue()); in testResetBatteryLevel_testResetAfterUpdate() 217 Assert.assertEquals(AdapterService.BLUETOOTH_PERM, mStringArgument.getValue()); in testResetBatteryLevelOnHeadsetStateChange() 234 Assert.assertEquals(AdapterService.BLUETOOTH_PERM, mStringArgument.getValue()); in testResetBatteryLevelOnHeadsetStateChange() 245 Assert.assertEquals(AdapterService.BLUETOOTH_PERM, mStringArgument.getValue()); in testResetBatteryLevelOnHeadsetStateChange() 261 Assert.assertEquals(AdapterService.BLUETOOTH_PERM, mStringArgument.getValue()); in testResetBatteryLevel_testAclStateChangeCallback() 282 mIntentArgument.getValue().getAction()); in testResetBatteryLevel_testAclStateChangeCallback() [all …]
|
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/ |
D | PlaybackViewModelTest.java | 99 assertThat(mCapturedCallback.getValue()).isNotNull(); in testGetMetadata() 100 mCapturedCallback.getValue().onMetadataChanged(mMediaMetadata); in testGetMetadata() 114 assertThat(mCapturedCallback.getValue()).isNotNull(); in testGetPlaybackState() 115 mCapturedCallback.getValue().onMetadataChanged(mMediaMetadata); in testGetPlaybackState() 116 mCapturedCallback.getValue().onPlaybackStateChanged(mPlaybackState); in testGetPlaybackState() 132 mCapturedCallback.getValue().onQueueChanged(queue); in testGetSanitizedQueue() 148 mCapturedCallback.getValue().onQueueChanged( in testGetHasQueue_null() 152 mCapturedCallback.getValue().onQueueChanged(null); in testGetHasQueue_null() 163 mCapturedCallback.getValue().onQueueChanged( in testGetHasQueue_empty() 167 mCapturedCallback.getValue().onQueueChanged(queue); in testGetHasQueue_empty() [all …]
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | VisualVoicemailPreferences.java | 97 return getValue(key, defValue); in getBoolean() 102 return getValue(key, defValue); in getFloat() 106 return getValue(key, defValue); in getInt() 111 return getValue(key, defValue); in getLong() 115 return getValue(key, defValue); in getString() 120 return getValue(key, null); in getString() 125 return getValue(key, defValue); in getStringSet() 132 private <T> T getValue(String key, T defValue) { in getValue() method in VisualVoicemailPreferences
|
/packages/apps/Dialer/java/com/android/dialer/common/ |
D | PerAccountSharedPreferences.java | 100 return getValue(key, defValue); in getBoolean() 104 return getValue(key, defValue); in getFloat() 108 return getValue(key, defValue); in getInt() 112 return getValue(key, defValue); in getLong() 116 return getValue(key, defValue); in getString() 121 return getValue(key, null); in getString() 125 return getValue(key, defValue); in getStringSet() 132 private <T> T getValue(String key, T defValue) { in getValue() method in PerAccountSharedPreferences
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/ |
D | DocumentLoaderTest.java | 109 assertNotNull(consumer.getValue()); in testLoadsDocument() 110 assertEquals(consumer.getValue().displayName, TEST_DOC_NAME); in testLoadsDocument() 111 assertEquals(consumer.getValue().size, 0); in testLoadsDocument() 129 assertNull(consumer.getValue()); in testInvalidInput() 159 assertEquals(consumer.getValue().intValue(), 4); in testDir_loadNumberOfChildren() 187 assertNotNull(consumer.getValue()); in testLoadMetadata() 188 assertEquals(consumer.getValue().getInt(ExifInterface.TAG_IMAGE_WIDTH), in testLoadMetadata() 190 assertEquals(consumer.getValue().getInt(ExifInterface.TAG_IMAGE_LENGTH), in testLoadMetadata() 204 assertNull(consumer.getValue()); in testLoadMetadata_Unsupported()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
D | CachedLaterTest.java | 46 assertNull(mTrap.getValue()); in testGetLaterAsync() 48 assertEquals("foo", mTrap.getValue()); in testGetLaterAsync() 55 assertEquals("foo", mTrap2.getValue()); in testGetLaterSync() 62 assertEquals("foo", mTrap.getValue()); in testGetLaterWhileCreating() 63 assertEquals("foo", mTrap2.getValue()); in testGetLaterWhileCreating() 72 assertEquals("bar", mTrap2.getValue()); in testGetLaterAfterClear() 89 assertNull(mTrap2.getValue()); in testClear()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 175 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingPriorityAccept() 193 intentArgument2.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingPriorityAccept() 221 intentArgument1.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingTimeout() 233 intentArgument2.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testIncomingTimeout() 265 intentArgument.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testInBandRingtone() 279 intentArgument.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in testInBandRingtone() 294 intentArgument.getValue().getIntExtra(BluetoothHeadsetClient.EXTRA_IN_BAND_RING, in testInBandRingtone() 333 ((BluetoothHeadsetClientCall) intentArgument.getValue().getParcelableExtra( in testInBandRingtone() 343 intentArgument.getValue().getIntExtra(BluetoothHeadsetClient.EXTRA_IN_BAND_RING, in testInBandRingtone() 360 intentArgument.getValue().getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in setUpHfpClientConnection() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/ |
D | HvacTestFragment.java | 97 mTvOutsideTemp.setText(String.valueOf(value.getValue())); 100 mTbDual.setChecked((boolean) value.getValue()); 103 mTbAc.setChecked((boolean) value.getValue()); 106 mTbAuto.setChecked((boolean) value.getValue()); 109 switch ((int) value.getValue()) { 129 Log.e(TAG, "Unknown fan position: " + value.getValue()); 135 mTbMaxAc.setChecked((boolean) value.getValue()); 138 mTbRecirc.setChecked((boolean) value.getValue()); 142 mCurFanSpeed = (int) value.getValue(); 148 mCurDTemp = (float) value.getValue(); [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | AdvertiseManager.java | 130 if (e.getValue().id == advertiserId) { in findAdvertiser() 155 IAdvertisingSetCallback callback = entry.getValue().callback; in onAdvertisingSetStarted() 158 new AdvertiserInfo(advertiserId, entry.getValue().deathRecipient, callback)); in onAdvertisingSetStarted() 161 binder.unlinkToDeath(entry.getValue().deathRecipient, 0); in onAdvertisingSetStarted() 181 IAdvertisingSetCallback callback = entry.getValue().callback; in onAdvertisingEnabled() 224 IAdvertisingSetCallback callback = entry.getValue().callback; in onOwnAddressRead() 309 IAdvertisingSetCallback callback = entry.getValue().callback; in onAdvertisingDataSet() 325 IAdvertisingSetCallback callback = entry.getValue().callback; in onScanResponseDataSet() 343 IAdvertisingSetCallback callback = entry.getValue().callback; in onAdvertisingParametersUpdated() 360 IAdvertisingSetCallback callback = entry.getValue().callback; in onPeriodicAdvertisingParametersUpdated() [all …]
|