/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/ |
D | ShadowAlertDialogCompat.java | 52 final Object alertController = ReflectionHelpers.getField(mRealAlertDialog, "mAlert"); in getMessage() 53 return ReflectionHelpers.getField(alertController, "mMessage"); in getMessage() 57 final Object alertController = ReflectionHelpers.getField(mRealAlertDialog, "mAlert"); in getTitle() 58 return ReflectionHelpers.getField(alertController, "mTitle"); in getTitle() 62 final Object alertController = ReflectionHelpers.getField(mRealAlertDialog, "mAlert"); in getView() 63 return ReflectionHelpers.getField(alertController, "mView"); in getView()
|
/packages/modules/StatsD/statsd/src/ |
D | FieldValue.h | 92 Field(const Field& from) : mTag(from.getTag()), mField(from.getField()) { in Field() 131 inline int32_t getField() const { in getField() function 168 return mTag == that.getTag() && mField == that.getField(); 172 return mTag != that.getTag() || mField != that.getField(); 180 if (mField != that.getField()) { 181 return mField < that.getField(); 256 return ((mMatcher.getField() & kClearAllPositionMatcherMask) == in isEqualWithoutPositionBits() 257 (that.getMatcher().getField() & kClearAllPositionMatcherMask)); in isEqualWithoutPositionBits()
|
D | HashableDimensionKey.cpp | 117 hash = android::JenkinsHashMix(hash, android::hash_type((int)fieldValue.mField.getField())); in hashDimension() 179 value.mField.getField() & matcher.mMask); in filterValues() 199 ->mField.setField(value.mField.getField() & matcher.mMask); in filterValues() 223 output->mutableValue(num_matches)->mField.setField(value.mField.getField() & mask); in filterPrimaryKey() 254 links.conditionFields[i].mMatcher.getField()); in getDimensionForCondition() 275 statePrimaryKey->mutableValue(i)->mField.setField(link.stateFields[i].mMatcher.getField()); in getDimensionForState() 376 output += StringPrintf("(%d)%#x->%s ", value.mField.getTag(), value.mField.getField(), in toString()
|
D | metadata_util.cpp | 60 metadataField->set_field(fieldValue.mField.getField()); in writeMetricDimensionKeyToMetadataDimensionKey() 68 metadataField->set_field(fieldValue.mField.getField()); in writeMetricDimensionKeyToMetadataDimensionKey()
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEvent_test.cpp | 40 Field getField(int32_t tag, const vector<int32_t>& pos, int32_t depth, in getField() function 225 Field expectedField = getField(100, {1, 1, 1}, 0, {false, false, false}); in TEST_P() 231 expectedField = getField(100, {2, 1, 1}, 0, {false, false, false}); in TEST_P() 237 expectedField = getField(100, {3, 1, 1}, 0, {false, false, false}); in TEST_P() 243 expectedField = getField(100, {4, 1, 1}, 0, {true, false, false}); in TEST_P() 326 Field expectedField = getField(100, {1, 1, 1}, 0, {false, false, false}); in TEST_P() 332 expectedField = getField(100, {2, 1, 1}, 0, {true, false, false}); in TEST_P() 363 Field expectedField = getField(100, {1, 1, 1}, 0, {true, false, false}); in TEST_P() 392 Field expectedField = getField(100, {1, 1, 1}, 0, {true, false, false}); in TEST_P() 453 Field expectedField = getField(100, {1, 1, 1}, 2, {true, false, false}); in TEST_P() [all …]
|
D | FieldValue_test.cpp | 90 EXPECT_EQ((int32_t)0x02010001, matcher12.mMatcher.getField()); in TEST() 111 EXPECT_EQ((int32_t)0x02010001, matcher12.mMatcher.getField()); in TEST() 142 EXPECT_EQ((int32_t)0x02010101, output.getValues()[0].mField.getField()); in TEST() 144 EXPECT_EQ((int32_t)0x02010102, output.getValues()[1].mField.getField()); in TEST() 147 EXPECT_EQ((int32_t)0x02010201, output.getValues()[2].mField.getField()); in TEST() 149 EXPECT_EQ((int32_t)0x02010202, output.getValues()[3].mField.getField()); in TEST() 152 EXPECT_EQ((int32_t)0x02010301, output.getValues()[4].mField.getField()); in TEST() 154 EXPECT_EQ((int32_t)0x02010302, output.getValues()[5].mField.getField()); in TEST() 157 EXPECT_EQ((int32_t)0x00020000, output.getValues()[6].mField.getField()); in TEST() 187 EXPECT_EQ((int32_t)0x02010101, output.getValues()[0].mField.getField()); in TEST() [all …]
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/ |
D | AtomFieldAccessor.java | 40 @NonNull Function<T, F> getField) { in AtomFieldAccessor() argument 43 mGetField = getField; in AtomFieldAccessor() 74 F getField(@NonNull T atomData) { in getField() method in AtomFieldAccessor
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | CallFeaturesSettingTest.java | 74 getField("mPhone").set(mActivity, mMockPhone); in onResume_fdnIsAvailable_shouldShowFdnMenu() 89 getField("mPhone").set(mActivity, mMockPhone); in onResume_iccCardIsNull_shouldNotShowFdnMenu() 105 getField("mPhone").set(mActivity, mMockPhone); in onResume_fdnIsNotAvailable_shouldNotShowFdnMenu() 113 private Field getField(String fieldName) throws NoSuchFieldException { in getField() method in CallFeaturesSettingTest
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | NotificationCompatUtils.java | 38 CompatUtils.getField(Notification.class, "VISIBILITY_SECRET"); 43 CompatUtils.getField(Notification.class, "CATEGORY_RECOMMENDATION"); 48 CompatUtils.getField(Notification.class, "PRIORITY_LOW");
|
D | EditorInfoCompatUtils.java | 27 private static final Field FIELD_IME_FLAG_FORCE_ASCII = CompatUtils.getField( 31 private static final Field FIELD_HINT_LOCALES = CompatUtils.getField(
|
D | CompatUtils.java | 55 public static Field getField(final Class<?> targetClass, final String name) { in getField() method in CompatUtils 60 return targetClass.getField(name); in getField()
|
D | SettingsSecureCompatUtils.java | 24 private static final Field FIELD_ACCESSIBILITY_SPEAK_PASSWORD = CompatUtils.getField(
|
D | IntentCompatUtils.java | 26 CompatUtils.getField(Intent.class, "ACTION_USER_INITIALIZE"));
|
D | SuggestionsInfoCompatUtils.java | 27 CompatUtils.getField(SuggestionsInfo.class, "RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS");
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | DevelopmentSwitchBarControllerTest.java | 82 ReflectionHelpers.getField(mSwitchBar, "mSwitchChangeListeners"); in runThroughLifecycle_v2_isMonkeyRun_shouldNotRegisterListener() 97 ReflectionHelpers.getField(mSwitchBar, "mSwitchChangeListeners"); in runThroughLifecycle_isNotMonkeyRun_shouldRegisterAndRemoveListener() 113 ReflectionHelpers.getField(mSwitchBar, "mSwitchChangeListeners"); in runThroughLifecycle_v2_isNotMonkeyRun_shouldRegisterAndRemoveListener()
|
D | WirelessDebuggingEnablerTest.java | 99 ReflectionHelpers.getField(mWirelessDebuggingEnabler, "mSettingsObserver"); in adbWifiEnabled_switchBarShouldBeChecked() 119 ReflectionHelpers.getField(mWirelessDebuggingEnabler, "mSettingsObserver"); in adbWifiEnabled_switchBarShouldNotBeChecked()
|
/packages/modules/StatsD/framework/test/unittests/src/android/os/ |
D | StatsDimensionsValueTest.java | 65 assertThat(sdv.getField()).isEqualTo(tupleField); in testConversionFromStructuredParcel() 71 assertThat(sdvChildren.get(i).getField()).isEqualTo(i + 1); in testConversionFromStructuredParcel() 118 assertThat(sdv.getField()).isEqualTo(tupleField); in testNullTupleArray()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/ |
D | ApiHelper.java | 66 member = getField(api); in resolve() 77 member = getField(fixed); in resolve() 206 private static Field getField(String fullyQualifiedFieldName) { in getField() method in ApiHelper
|
/packages/modules/StatsD/statsd/src/logd/ |
D | LogEvent.cpp | 622 if (value.mField.getField() == field) { in GetLong() 644 if (value.mField.getField() == field) { in GetInt() 664 if (value.mField.getField() == field) { in GetString() 684 if (value.mField.getField() == field) { in GetBool() 706 if (value.mField.getField() == field) { in GetFloat() 726 if (value.mField.getField() == field) { in GetStorage() 764 result += StringPrintf("%#x", value.mField.getField()) + "->" + value.mValue.toString(); in ToString()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/firmwareversion/ |
D | FirmwareVersionDetailPreferenceControllerTest.java | 73 final long[] hits = ReflectionHelpers.getField(mController, "mHits"); in handleSettingClicked_userRestricted_shouldDoNothing() 84 final long[] hits = ReflectionHelpers.getField(mController, "mHits"); in handleSettingClicked_userNotRestricted_shouldStartActivity()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
D | AddDevicePreferenceControllerTest.java | 95 BroadcastReceiver receiver = ReflectionHelpers.getField( in addDevice_bt_resume_on_then_off() 112 BroadcastReceiver receiver = ReflectionHelpers.getField( in addDevice_bt_resume_off_then_on()
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | LargeParcelable.java | 188 field = parcelableClass.getField(STABLE_AIDL_SHARED_MEMORY_MEMBER); in toLargeParcelable() 266 fieldSharedMemory = parcelableClass.getField(STABLE_AIDL_SHARED_MEMORY_MEMBER); in reconstructStableAIDLParcelable()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/ |
D | ReflectionHelpers.java | 31 public static <R> R getField(Object object, String fieldName) { in getField() method in ReflectionHelpers
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | DatabaseIndexingUtils.java | 38 final Field f = clazz.getField(FIELD_NAME_SEARCH_INDEX_DATA_PROVIDER); in getSearchIndexProvider()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/search/ |
D | DatabaseIndexingUtils.java | 38 final Field f = clazz.getField(FIELD_NAME_SEARCH_INDEX_DATA_PROVIDER); in getSearchIndexProvider()
|