Home
last modified time | relevance | path

Searched refs:getValue (Results 1 – 25 of 1511) sorted by relevance

12345678910>>...61

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DSensitiveContentProtectionManagerServiceNotificationTest.java311 mMediaProjectionCallbackCaptor.getValue().onStart(mediaProjectionInfo); in mediaProjectionOnStart_verifyExemptedRecorderPackage()
321 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_flagDisabled_neverSetBlockScreenCaptureForAppsSessionId()
331 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_setBlockScreenCaptureForAppsSessionId()
340 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_onProjectionStart_setWmBlockedPackages()
349 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_noSensitiveNotifications_noBlockedPackages()
358 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_noNotifications_noBlockedPackages()
368 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_multipleNotifications_setWmBlockedPackages()
378 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_multiplePackages_setWmBlockedPackages()
388 mMediaProjectionCallbackCaptor.getValue().onStart(createMediaProjectionInfo()); in mediaProjectionOnStart_multipleUid_setWmBlockedPackages()
398 mMediaProjectionCallbackCaptor.getValue().onStart(mediaProjectionInfo); in mediaProjectionOnStop_onProjectionEnd_clearWmBlockedPackages()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierActionAgentTest.java110 assertEquals(DATA_CARRIER_ACTION_EVENT, message.getValue().what); in testCarrierActionResetOnAPM()
111 assertEquals(false, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPM()
113 assertEquals(RADIO_CARRIER_ACTION_EVENT, message.getValue().what); in testCarrierActionResetOnAPM()
114 assertEquals(false, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPM()
124 assertEquals(DATA_CARRIER_ACTION_EVENT, message.getValue().what); in testCarrierActionResetOnAPM()
125 assertEquals(true, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPM()
128 assertEquals(RADIO_CARRIER_ACTION_EVENT, message.getValue().what); in testCarrierActionResetOnAPM()
129 assertEquals(true, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPM()
154 assertEquals(DATA_CARRIER_ACTION_EVENT, message.getValue().what); in testCarrierActionResetOnAPNChange()
155 assertEquals(false, ((AsyncResult) message.getValue().obj).result); in testCarrierActionResetOnAPNChange()
[all …]
/frameworks/av/media/libaudioclient/fuzzer/
Daudioflinger_fuzzer.cpp168 T getValue(FuzzedDataProvider *fdp, const T (&arr)[size]) { in getValue() function
173 T getValue(FuzzedDataProvider *fdp, std::vector<T> vec) { in getValue() function
219 audio_format_t format = getValue(&mFdp, kFormats); in invokeAudioTrack()
220 audio_channel_mask_t channelMask = getValue(&mFdp, kChannelMasks); in invokeAudioTrack()
224 audio_output_flags_t flags = getValue(&mFdp, kOutputFlags); in invokeAudioTrack()
225 audio_session_t sessionId = getValue(&mFdp, kSessionId); in invokeAudioTrack()
226 audio_usage_t usage = getValue(&mFdp, kUsages); in invokeAudioTrack()
227 audio_content_type_t contentType = getValue(&mFdp, kContentType); in invokeAudioTrack()
328 audio_format_t format = getValue(&mFdp, kFormats); in invokeAudioRecord()
329 audio_channel_mask_t channelMask = getValue(&mFdp, kChannelMasks); in invokeAudioRecord()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayControllerTest.java216 registrationRunnable.getValue().run(); in start_checksWallpaper()
225 mColorsListener.getValue().onColorsChanged(mainColors, WallpaperManager.FLAG_SYSTEM, in onWallpaperColorsChanged_setsTheme_whenForeground()
234 assertThat(themeOverlays.getValue().get(OVERLAY_CATEGORY_SYSTEM_PALETTE)) in onWallpaperColorsChanged_setsTheme_whenForeground()
236 assertThat(themeOverlays.getValue().get(OVERLAY_CATEGORY_ACCENT_COLOR)) in onWallpaperColorsChanged_setsTheme_whenForeground()
240 mColorsListener.getValue().onColorsChanged(mainColors, WallpaperManager.FLAG_SYSTEM, in onWallpaperColorsChanged_setsTheme_whenForeground()
245 mColorsListener.getValue().onColorsChanged(new WallpaperColors(Color.valueOf(Color.BLACK), in onWallpaperColorsChanged_setsTheme_whenForeground()
253 mBroadcastReceiver.getValue().onReceive(null, intent); in onWallpaperColorsChanged_setsTheme_whenForeground()
254 mColorsListener.getValue().onColorsChanged(new WallpaperColors(Color.valueOf(Color.BLACK), in onWallpaperColorsChanged_setsTheme_whenForeground()
264 mColorsListener.getValue().onColorsChanged(mainColors, WallpaperManager.FLAG_SYSTEM, in onWallpaperColorsChanged_setsTheme_skipWhenBackground()
275 mBroadcastReceiver.getValue().onReceive(null, new Intent(Intent.ACTION_WALLPAPER_CHANGED)); in onWallpaperColorsChanged_setsTheme_skipWhenBackground()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameValues.java31 Object value = super.getValue(); in getCount()
35 return Array.getLength(super.getValue()); in getCount()
49 Object value = super.getValue(); in getValues()
51 return super.getValue(); in getValues()
70 Object value = super.getValue(); in getValueAtIndex()
120 Object curValue = super.getValue(); in setValueAtIndex()
142 Object value = frame.getValue(); in setFrameValueAtIndex()
/frameworks/base/services/tests/servicestests/src/com/android/server/adaptiveauth/
DAdaptiveAuthServiceTest.java150 mLockSettingsStateListenerCaptor.getValue().onAuthenticationSucceeded(PRIMARY_USER_ID); in testReportAuthAttempt_primaryAuthSucceeded()
160 mLockSettingsStateListenerCaptor.getValue().onAuthenticationFailed(PRIMARY_USER_ID); in testReportAuthAttempt_primaryAuthFailed_once()
174 mLockSettingsStateListenerCaptor.getValue().onAuthenticationFailed(PRIMARY_USER_ID); in testReportAuthAttempt_primaryAuthFailed_multiple_deviceCurrentlyLocked()
190 mLockSettingsStateListenerCaptor.getValue().onAuthenticationFailed(PRIMARY_USER_ID); in testReportAuthAttempt_primaryAuthFailed_multiple_deviceCurrentlyNotLocked()
200 mAuthenticationStateListenerCaptor.getValue().onAuthenticationSucceeded( in testReportAuthAttempt_biometricAuthSucceeded()
211 mAuthenticationStateListenerCaptor.getValue().onAuthenticationFailed( in testReportAuthAttempt_biometricAuthFailed_once()
226 mAuthenticationStateListenerCaptor.getValue().onAuthenticationFailed( in testReportAuthAttempt_biometricAuthFailed_multiple_deviceCurrentlyLocked()
243 mAuthenticationStateListenerCaptor.getValue().onAuthenticationFailed( in testReportAuthAttempt_biometricAuthFailed_multiple_deviceCurrentlyNotLocked()
256 mAuthenticationStateListenerCaptor.getValue().onAuthenticationFailed( in testReportAuthAttempt_biometricAuthFailedThenPrimaryAuthSucceeded()
260 mLockSettingsStateListenerCaptor.getValue().onAuthenticationSucceeded(PRIMARY_USER_ID); in testReportAuthAttempt_biometricAuthFailedThenPrimaryAuthSucceeded()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DFakeSettingsHelper.java72 public <T> T getValue(Class<T> clazz) { in getValue() method in FakeSettingsHelper.Setting
73 return getValue(UserHandle.USER_NULL, clazz); in getValue()
76 public <T> T getValue(int userId, Class<T> clazz) { in getValue() method in FakeSettingsHelper.Setting
97 return mLocationEnabledSetting.getValue(userId, Boolean.class); in isLocationEnabled()
117 return mBackgroundThrottleIntervalSetting.getValue(Long.class); in getBackgroundThrottleIntervalMs()
138 return mLocationPackageBlacklistSetting.getValue(userId, Set.class).contains(packageName); in isLocationPackageBlacklisted()
158 return mBackgroundThrottlePackageWhitelistSetting.getValue(Set.class); in getBackgroundThrottlePackageWhitelist()
179 return mGnssMeasurementsFullTrackingSetting.getValue(Boolean.class); in isGnssMeasurementsFullTrackingEnabled()
200 return mAdasPackageAllowlist.getValue(PackageTagsList.class); in getAdasAllowlist()
215 return mIgnoreSettingsAllowlist.getValue(PackageTagsList.class); in getIgnoreSettingsAllowlist()
[all …]
/frameworks/base/tests/utils/testutils/tests/src/android/os/test/
DTestLooperTest.java90 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement()
92 collector.checkThat("2: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement()
94 collector.checkThat("3: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement()
96 collector.checkThat("4: messageC", messageC, equalTo(messageCaptor.getValue().what)); in testNoTimeMovement()
148 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchNoTimeMove()
150 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchNoTimeMove()
177 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce()
179 collector.checkThat("2: messageB", messageB, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce()
181 collector.checkThat("3: messageC", messageC, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeOnce()
211 collector.checkThat("1: messageA", messageA, equalTo(messageCaptor.getValue().what)); in testDelayedDispatchAdvanceTimeTwice()
[all …]
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp265 bool res = llvm::StringSwitch<bool>(arg->getValue()) in TranslateArguments()
282 llvm::StringRef value = arg->getValue(); in TranslateArguments()
286 << ": " << arg->getValue(); in TranslateArguments()
294 llvm::StringRef value = arg->getValue(); in TranslateArguments()
298 << ": " << arg->getValue(); in TranslateArguments()
306 llvm::StringRef value = arg->getValue(); in TranslateArguments()
310 << ": " << arg->getValue(); in TranslateArguments()
326 triple.setTriple(arg->getValue()); in TranslateArguments()
341 ParseEmulation(triple, arg->getValue()); in TranslateArguments()
344 config_.targets().setArch(arg->getValue()); in TranslateArguments()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/
DAppClipsViewModelTest.java84 assertThat(mViewModel.getErrorLiveData().getValue()) in performScreenshot_fails_shouldUpdateErrorWithFailed()
86 assertThat(mViewModel.getResultLiveData().getValue()).isNull(); in performScreenshot_fails_shouldUpdateErrorWithFailed()
97 assertThat(mViewModel.getErrorLiveData().getValue()).isNull(); in performScreenshot_succeeds_shouldUpdateScreenshotWithBitmap()
98 assertThat(mViewModel.getScreenshot().getValue()).isEqualTo(FAKE_BITMAP); in performScreenshot_succeeds_shouldUpdateScreenshotWithBitmap()
110 assertThat(mViewModel.getErrorLiveData().getValue()) in saveScreenshot_throwsError_shouldUpdateErrorWithFailed()
112 assertThat(mViewModel.getResultLiveData().getValue()).isNull(); in saveScreenshot_throwsError_shouldUpdateErrorWithFailed()
124 assertThat(mViewModel.getErrorLiveData().getValue()) in saveScreenshot_failsSilently_shouldUpdateErrorWithFailed()
126 assertThat(mViewModel.getResultLiveData().getValue()).isNull(); in saveScreenshot_failsSilently_shouldUpdateErrorWithFailed()
139 assertThat(mViewModel.getErrorLiveData().getValue()).isNull(); in saveScreenshot_succeeds_shouldUpdateResultWithUri()
140 assertThat(mViewModel.getResultLiveData().getValue()).isEqualTo(FAKE_URI); in saveScreenshot_succeeds_shouldUpdateResultWithUri()
/frameworks/base/core/java/android/content/
DDefaultDataHandler.java100 String uriStr = atts.getValue(URI_STR); in parseRow()
107 atts.getValue(URI_STR) + " parsing failure"); in parseRow()
112 String postfix = atts.getValue(POSTFIX); in parseRow()
165 String key = atts.getValue(0); in startElement()
166 String value = atts.getValue(1); in startElement()
176 Uri u = Uri.parse(atts.getValue(URI_STR)); in startElement()
179 atts.getValue(URI_STR) + " parsing failure"); in startElement()
185 selectionArgs[i] = atts.getValue(i+2); in startElement()
187 mContentResolver.delete(u, atts.getValue(1), selectionArgs); in startElement()
189 mContentResolver.delete(u, atts.getValue(1), null); in startElement()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccPkcs15.java322 String ruleString = tlvRule.getValue(); in parseOdf()
326 tlvPath.parse(tlvAsnPath.getValue(), true); in parseOdf()
327 return tlvPath.getValue(); in parseOdf()
346 String ruleString = dodfTag.getValue(); in parseDodf()
364 ruleString = oidDoTag.getValue(); in parseDodf()
368 ruleString = oidDo.getValue(); in parseDodf()
373 String oid = oidTag.getValue(); in parseDodf()
380 tlvPath.parse(tlvAsnPath.getValue(), true); in parseDodf()
381 return tlvPath.getValue(); in parseDodf()
400 String ruleString = acmfTag.getValue(); in parseAcmf()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCSVWriterFilter.java75 float sharpness = ((Float)sharpnessValue.getValue()).floatValue(); in onProcess()
79 float overExposure = ((Float)overExposureValue.getValue()).floatValue(); in onProcess()
83 float underExposure = ((Float)underExposureValue.getValue()).floatValue(); in onProcess()
87 float colorfulness = ((Float)colorfulnessValue.getValue()).floatValue(); in onProcess()
91 float contrast = ((Float)contrastValue.getValue()).floatValue(); in onProcess()
95 float brightness = ((Float)brightnessValue.getValue()).floatValue(); in onProcess()
99 float[] motionValues = (float[]) motionValuesFrameValue.getValue(); in onProcess()
105 String imageFileName = ((String)imageFileNameFrameValue.getValue()); in onProcess()
109 String csvFilePath = ((String)csvFilePathFrameValue.getValue()); in onProcess()
/frameworks/base/core/java/android/app/admin/
DIntegerPolicyValue.java43 return Objects.equals(getValue(), other.getValue()); in equals()
48 return Objects.hash(getValue()); in hashCode()
53 return "IntegerPolicyValue { mValue= " + getValue() + " }"; in toString()
63 dest.writeInt(getValue()); in writeToParcel()
DBooleanPolicyValue.java43 return Objects.equals(getValue(), other.getValue()); in equals()
48 return Objects.hash(getValue()); in hashCode()
53 return "BooleanPolicyValue { mValue= " + getValue() + " }"; in toString()
63 dest.writeBoolean(getValue()); in writeToParcel()
DLongPolicyValue.java43 return Objects.equals(getValue(), other.getValue()); in equals()
48 return Objects.hash(getValue()); in hashCode()
53 return "LongPolicyValue { mValue= " + getValue() + " }"; in toString()
63 dest.writeLong(getValue()); in writeToParcel()
DPackageSetPolicyValue.java60 return Objects.equals(getValue(), other.getValue()); in equals()
65 return Objects.hash(getValue()); in hashCode()
70 return "PackageNameSetPolicyValue { " + getValue() + " }"; in toString()
80 dest.writeInt(getValue().size()); in writeToParcel()
81 for (String entry : getValue()) { in writeToParcel()
DStringPolicyValue.java47 return Objects.equals(getValue(), other.getValue()); in equals()
52 return Objects.hash(getValue()); in hashCode()
62 return "StringPolicyValue { " + getValue() + " }"; in toString()
67 dest.writeString(getValue()); in writeToParcel()
DBundlePolicyValue.java48 return Objects.equals(getValue(), other.getValue()); in equals()
53 return Objects.hash(getValue()); in hashCode()
58 return "BundlePolicyValue { mValue= " + getValue() + " }"; in toString()
68 dest.writeBundle(getValue()); in writeToParcel()
DComponentNamePolicyValue.java48 return Objects.equals(getValue(), other.getValue()); in equals()
53 return Objects.hash(getValue()); in hashCode()
58 return "ComponentNamePolicyValue { mValue= " + getValue() + " }"; in toString()
68 dest.writeParcelable(getValue(), flags); in writeToParcel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DTileLayoutTest.java180 assertTrue(left1.getValue() <= right1.getValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
181 assertTrue(top1.getValue() <= bottom1.getValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
182 assertTrue(left2.getValue() <= right2.getValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
183 assertTrue(top2.getValue() <= bottom2.getValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
187 assertTrue(left1.getValue() > right2.getValue() || right1.getValue() < left2.getValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
190 assertEquals(top1.getValue().intValue(), top2.getValue().intValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
191 assertEquals(bottom1.getValue().intValue(), bottom2.getValue().intValue()); in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
DFloatProperties.kt45 override fun getValue(rect: Rect?): Float { in getValue() method
64 override fun getValue(rect: Rect?): Float { in getValue() method
77 override fun getValue(rect: Rect): Float { in getValue() method
94 override fun getValue(rect: Rect): Float { in getValue() method
117 override fun getValue(rect: RectF?): Float { in getValue() method
136 override fun getValue(rect: RectF?): Float { in getValue() method
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/
DNotificationShadeWindowControllerImplTest.java183 int flag = captor.getValue().privateFlags in testSetDozing_hidesSystemOverlays()
190 flag = captor.getValue().privateFlags in testSetDozing_hidesSystemOverlays()
218 assertThat((mLayoutParameters.getValue().flags & FLAG_SHOW_WALLPAPER) != 0).isTrue(); in attach_visibleWithWallpaper()
229 assertThat((mLayoutParameters.getValue().flags & FLAG_SHOW_WALLPAPER) == 0).isTrue(); in attach_lightScrimHidesWallpaper()
263 assertThat((mLayoutParameters.getValue().flags & FLAG_SHOW_WALLPAPER) != 0).isTrue(); in attach_animatingKeyguardAndSurface_wallpaperVisible()
282 assertThat((mLayoutParameters.getValue().flags & FLAG_NOT_FOCUSABLE) == 0).isTrue(); in setBouncerShowing_isFocusable_whenNeedsInput()
283 assertThat((mLayoutParameters.getValue().flags & FLAG_ALT_FOCUSABLE_IM) == 0).isTrue(); in setBouncerShowing_isFocusable_whenNeedsInput()
293 assertThat((mLayoutParameters.getValue().flags & FLAG_NOT_FOCUSABLE) == 0).isTrue(); in setKeyguardShowing_focusable_notAltFocusable_whenNeedsInput()
294 assertThat((mLayoutParameters.getValue().flags & FLAG_ALT_FOCUSABLE_IM) == 0).isTrue(); in setKeyguardShowing_focusable_notAltFocusable_whenNeedsInput()
306 assertThat((mLayoutParameters.getValue().flags & FLAG_NOT_FOCUSABLE) == 0).isTrue(); in setPanelExpanded_notFocusable_altFocusable_whenPanelIsOpen()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DPackedIntVectorTest.java71 assertEquals(0, p.getValue(at, j)); in testBasic()
73 assertEquals(p.getValue(at, j), i + j); in testBasic()
84 assertEquals(p.getValue(i, j), i * j); in testBasic()
102 assertEquals(p.getValue(i, j), expect); in testBasic()
121 assertEquals(p.getValue(i, j), expect); in testBasic()
134 assertEquals(p.getValue(i, j), i * j); in testBasic()
155 assertEquals(p.getValue(i, j), i * j); in testBasic()
161 assertEquals(p.getValue(i, j), (i + height - p.size()) * j); in testBasic()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DOptPropFactory.java143 return mCondition.getAsBoolean() && getValue() == VALUE_TRUE; in isTrue()
152 return mCondition.getAsBoolean() && getValue() == VALUE_FALSE; in isFalse()
170 if (getValue() == VALUE_FALSE) { in shouldEnableWithOverrideAndProperty()
173 return getValue() == VALUE_TRUE || overrideValue; in shouldEnableWithOverrideAndProperty()
192 return getValue() != VALUE_FALSE && overrideValue; in shouldEnableWithOptInOverrideAndOptOutProperty()
210 return getValue() != VALUE_FALSE && !overrideValue; in shouldEnableWithOptOutOverrideAndProperty()
214 private int getValue() { in getValue() method in OptPropFactory.OptProp

12345678910>>...61