/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/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterVignetteRepresentation.java | 78 mParamVignette.setValue(rep.mParamVignette.getValue()); in useParametersFrom() 79 mParamExposure.setValue(rep.mParamExposure.getValue()); in useParametersFrom() 80 mParamSaturation.setValue(rep.mParamSaturation.getValue()); in useParametersFrom() 81 mParamContrast.setValue(rep.mParamContrast.getValue()); in useParametersFrom() 82 mParamFalloff.setValue(rep.mParamFalloff.getValue()); in useParametersFrom() 85 public int getValue(int mode) { in getValue() method in FilterVignetteRepresentation 86 return mAllParam[mode].getValue(); in getValue() 170 if (mAllParam[i].getValue() != rep.mAllParam[i].getValue()) in equals() 198 writer.value(mParamVignette.getValue()); in serializeRepresentation() 199 writer.value(mParamExposure.getValue()); in serializeRepresentation() [all …]
|
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()
|
D | FilterChanSatRepresentation.java | 115 if (rep.getValue(i) != getValue(i)) in equals() 123 public int getValue(int mode) { in getValue() method in FilterChanSatRepresentation 124 return mAllParam[mode].getValue(); in getValue() 148 return getValue(mParameterMode); in getCurrentParameter() 171 writer.value(getValue(MODE_MASTER)); in serializeRepresentation() 172 writer.value(getValue(MODE_RED)); in serializeRepresentation() 173 writer.value(getValue(MODE_YELLOW)); in serializeRepresentation() 174 writer.value(getValue(MODE_GREEN)); in serializeRepresentation() 175 writer.value(getValue(MODE_CYAN)); in serializeRepresentation() 176 writer.value(getValue(MODE_BLUE)); in serializeRepresentation() [all …]
|
/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 | 173 mIntentArgument.getValue()); in testStateTransition_DisconnectedToConnecting_Connect() 190 mIntentArgument.getValue()); in testStateTransition_DisconnectedToConnecting_StackConnected() 207 mIntentArgument.getValue()); in testStateTransition_DisconnectedToConnecting_StackConnecting() 241 mIntentArgument.getValue()); in testStateTransition_ConnectingToDisconnected_StackDisconnected() 259 mIntentArgument.getValue()); in testStateTransition_ConnectingToDisconnected_Timeout() 302 mIntentArgument.getValue()); in testStateTransition_ConnectingToConnected_StackSlcConnected() 324 mIntentArgument.getValue()); in testStateTransition_DisconnectingToDisconnected_StackDisconnected() 343 mIntentArgument.getValue()); in testStateTransition_DisconnectingToDisconnected_Timeout() 365 mIntentArgument.getValue()); in testStateTransition_DisconnectingToConnected_StackSlcCconnected() 384 mIntentArgument.getValue()); in testStateTransition_ConnectedToDisconnecting_Disconnect() [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/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/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/ |
D | MediaPlayerWrapperTest.java | 199 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testControllerUpdate() 224 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testNoQueueMediaUpdates() 233 MediaData data = mMediaUpdateData.getValue(); in testNoQueueMediaUpdates() 251 data = mMediaUpdateData.getValue(); in testNoQueueMediaUpdates() 286 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testDataOnUpdateNoQueue() 301 MediaData data = mMediaUpdateData.getValue(); in testDataOnUpdateNoQueue() 330 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testNullMetadata() 341 MediaData data = mMediaUpdateData.getValue(); in testNullMetadata() 359 MediaController.Callback controllerCallbacks = mControllerCbs.getValue(); in testNullQueue() 366 MediaData data = mMediaUpdateData.getValue(); in testNullQueue() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/ |
D | KeyboardManagementPreferenceControllerTest.java | 308 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_positive_noOtherPreferenceAdded() 332 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_positive_preferenceChecked() 355 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_positive_preferenceEnabled() 377 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled() 400 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_negative_noOtherPreferenceAdded() 424 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_negative_preferenceEnabled() 446 ConfirmationDialogFragment dialogFragment = dialogCaptor.getValue(); in performClick_toggleTrue_showSecurityDialog_negative_inputMethodDisabled() 470 ConfirmationDialogFragment dialogFragment = securityDialogCaptor.getValue(); in performClick_toggleTrue_directBootWarningShown() 496 ConfirmationDialogFragment dialogFragment = securityDialogCaptor.getValue(); in performClick_toggleTrue_showDirectBootDialog_positive_noOtherPreferenceAdded() 504 dialogFragment = bootDialogCaptor.getValue(); in performClick_toggleTrue_showDirectBootDialog_positive_noOtherPreferenceAdded() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallerInfoLookupHelperTest.java | 133 queryListenerCaptor.getValue().onQueryComplete( in testSimpleLookup() 134 0, logSessionCaptor.getValue(), mCallerInfo1); in testSimpleLookup() 144 imageListenerCaptor.getValue().onImageLoadComplete(0, mDrawable1, mBitmap, in testSimpleLookup() 145 logSessionCaptor.getValue()); in testSimpleLookup() 173 queryListenerCaptor.getValue().onQueryComplete( in testLookupWithTwoListeners() 174 0, logSessionCaptor.getValue(), mCallerInfo1); in testLookupWithTwoListeners() 184 imageListenerCaptor.getValue().onImageLoadComplete(0, mDrawable1, mBitmap, in testLookupWithTwoListeners() 185 logSessionCaptor.getValue()); in testLookupWithTwoListeners() 213 queryListenerCaptor.getValue().onQueryComplete( in testListenerAddedAfterCallerInfoBeforePhoto() 214 0, logSessionCaptor.getValue(), mCallerInfo1); in testListenerAddedAfterCallerInfoBeforePhoto() [all …]
|
D | CallAudioManagerTest.java | 121 assertMessageArgEquality(correctArgs, captor.getValue()); in testUnmuteOfSecondIncomingCall() 124 assertMessageArgEquality(correctArgs, captor.getValue()); in testUnmuteOfSecondIncomingCall() 183 assertMessageArgEquality(correctArgs, captor.getValue()); 186 assertMessageArgEquality(correctArgs, captor.getValue()); 220 assertMessageArgEquality(correctArgs, captor.getValue()); 221 assertMessageArgEquality(correctArgs, captor.getValue()); 255 assertMessageArgEquality(expectedArgs, captor.getValue()); 261 assertMessageArgEquality(expectedArgs, captor.getValue()); 270 assertMessageArgEquality(expectedArgs, captor.getValue()); 300 ), captor.getValue()); [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() 284 mIntentArgument.getValue().getAction()); in testResetBatteryLevel_testAclStateChangeCallback() [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/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/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/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/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/ |
D | PlaybackViewModelTest.java | 102 assertThat(mCapturedCallback.getValue()).isNotNull(); in testGetMetadata() 103 mCapturedCallback.getValue().onMetadataChanged(mMediaMetadata); in testGetMetadata() 117 assertThat(mCapturedCallback.getValue()).isNotNull(); in testGetPlaybackState() 118 mCapturedCallback.getValue().onMetadataChanged(mMediaMetadata); in testGetPlaybackState() 119 mCapturedCallback.getValue().onPlaybackStateChanged(mPlaybackState); in testGetPlaybackState() 135 mCapturedCallback.getValue().onQueueChanged(queue); in testGetSanitizedQueue() 151 mCapturedCallback.getValue().onQueueChanged( in testGetHasQueue_null() 155 mCapturedCallback.getValue().onQueueChanged(null); in testGetHasQueue_null() 166 mCapturedCallback.getValue().onQueueChanged( in testGetHasQueue_empty() 170 mCapturedCallback.getValue().onQueueChanged(queue); in testGetHasQueue_empty() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/ |
D | VmsClientManagerTest.java | 145 mHalClientConnected = onClientConnectedCaptor.getValue(); in setUp() 146 mHalClientDisconnected = onClientDisconnectedCaptor.getValue(); in setUp() 170 IntentFilter userEventFilter = userFilterCaptor.getValue(); in testInit() 421 ServiceConnection connection = mConnectionCaptor.getValue(); in testUnregisterConnectionListener() 450 ServiceConnection connection = mConnectionCaptor.getValue(); in bindSystemClient() 467 ServiceConnection connection = mConnectionCaptor.getValue(); in bindUserClient() 486 ServiceConnection connection = mConnectionCaptor.getValue(); in testOnSystemServiceDisconnected() 503 ServiceConnection connection = mConnectionCaptor.getValue(); in testOnSystemServiceDisconnected_ServiceNotConnected() 519 ServiceConnection connection = mConnectionCaptor.getValue(); in testOnUserServiceDisconnected() 536 ServiceConnection connection = mConnectionCaptor.getValue(); in testOnUserServiceDisconnected_ServiceNotConnected() [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 …]
|