/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowAlertDialogCompat.java | 52 final Object alertController = ReflectionHelpers.getField(realAlertDialog, "mAlert"); in getMessage() 53 return ReflectionHelpers.getField(alertController, "mMessage"); in getMessage() 57 final Object alertController = ReflectionHelpers.getField(realAlertDialog, "mAlert"); in getTitle() 58 return ReflectionHelpers.getField(alertController, "mTitle"); in getTitle() 62 final Object alertController = ReflectionHelpers.getField(realAlertDialog, "mAlert"); in getView() 63 return ReflectionHelpers.getField(alertController, "mView"); in getView()
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
D | SnepMessenger.java | 78 if (DBG) Log.d(TAG, "Got response from first fragment: " + snepResponse.getField()); in sendMessage() 79 if (snepResponse.getField() != remoteContinue) { in sendMessage() 81 snepResponse.getField() + ")"); in sendMessage() 99 … if (DBG) Log.d(TAG, "Got response from second fragment: " + snepResponse.getField()); in sendMessage() 100 if (snepResponse.getField() == remoteContinue) { in sendMessage() 122 …"Got continue response after second fragment: and now disconnecting..." + snepResponse.getField()); in sendMessage() 123 if (snepResponse.getField() == remoteContinue) { in sendMessage()
|
D | SnepServer.java | 162 } else if (request.getField() == SnepMessage.REQUEST_GET) { in handleRequest() 165 } else if (request.getField() == SnepMessage.REQUEST_PUT) { in handleRequest() 169 if (DBG) Log.d(TAG, "Unknown request (" + request.getField() +")"); in handleRequest()
|
/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
D | SnepBasicTests.java | 64 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField()); in testGetSmallNdef() 95 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField()); in testGetLargeNdef() 126 assertEquals(SnepMessage.RESPONSE_EXCESS_DATA, response.getField()); in testGetExcessiveNdef() 157 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField()); in testPutSmallNdef() 188 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField()); in testPutLargeNdef() 222 assertEquals(SnepMessage.RESPONSE_UNSUPPORTED_VERSION, response.getField()); in testUnsupportedVersion() 258 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField()); in testDifferentMinorVersion()
|
D | SnepValidationClientTests.java | 153 assertEquals(SnepMessage.RESPONSE_NOT_FOUND, response.getField()); in testUnavailable() 173 assertEquals(SnepMessage.RESPONSE_EXCESS_DATA, response.getField()); in testUndeliverable()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | CallFeaturesSettingTest.java | 72 getField("mPhone").set(mActivity, mMockPhone); in onResume_fdnIsAvailable_shouldShowFdnMenu() 86 getField("mPhone").set(mActivity, mMockPhone); in onResume_iccCardIsNull_shouldNotShowFdnMenu() 101 getField("mPhone").set(mActivity, mMockPhone); in onResume_fdnIsNotAvailable_shouldNotShowFdnMenu() 109 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 | 81 ReflectionHelpers.getField(mSwitchBar, "mSwitchChangeListeners"); in runThroughLifecycle_v2_isMonkeyRun_shouldNotRegisterListener() 96 ReflectionHelpers.getField(mSwitchBar, "mSwitchChangeListeners"); in runThroughLifecycle_isNotMonkeyRun_shouldRegisterAndRemoveListener() 112 ReflectionHelpers.getField(mSwitchBar, "mSwitchChangeListeners"); in runThroughLifecycle_v2_isNotMonkeyRun_shouldRegisterAndRemoveListener()
|
D | WirelessDebuggingEnablerTest.java | 97 ReflectionHelpers.getField(mWirelessDebuggingEnabler, "mSettingsObserver"); in adbWifiEnabled_switchBarShouldBeChecked() 117 ReflectionHelpers.getField(mWirelessDebuggingEnabler, "mSettingsObserver"); in adbWifiEnabled_switchBarShouldNotBeChecked()
|
/packages/apps/Nfc/src/com/android/nfc/sneptest/ |
D | ExtDtaSnepServer.java | 132 } else if (request.getField() == SnepMessage.REQUEST_GET) { in handleRequest() 137 } else if (request.getField() == SnepMessage.REQUEST_PUT) { in handleRequest() 143 if (DBG) Log.d(TAG, "Unknown request (" + request.getField() +")"); in handleRequest()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/firmwareversion/ |
D | FirmwareVersionDetailPreferenceControllerTest.java | 72 final long[] hits = ReflectionHelpers.getField(mController, "mHits"); in handleSettingClicked_userRestricted_shouldDoNothing() 83 final long[] hits = ReflectionHelpers.getField(mController, "mHits"); in handleSettingClicked_userNotRestricted_shouldStartActivity()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/ |
D | AddDevicePreferenceControllerTest.java | 94 BroadcastReceiver receiver = ReflectionHelpers.getField( in addDevice_bt_resume_on_then_off() 111 BroadcastReceiver receiver = ReflectionHelpers.getField( in addDevice_bt_resume_off_then_on()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | TetherPreferenceControllerTest.java | 100 ReflectionHelpers.getField(mController, "mBluetoothPan"); in goThroughLifecycle_shouldDestoryBluetoothProfile() 166 ReflectionHelpers.getField(mController, "mAirplaneModeObserver"); in airplaneModeOn_shouldUpdateSummaryToOff()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppInfoWithHeaderTest.java | 95 ReflectionHelpers.getField(mAppInfoWithHeader, "mPackageRemovedReceiver"); in packageRemoved_noAppEntry_shouldFinishActivity() 108 ReflectionHelpers.getField(mAppInfoWithHeader, "mPackageRemovedReceiver"); in packageRemoved_appEntryMatchesPackageName_shouldFinishActivity()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
D | Http.java | 93 String retryAfter = e.getHeaders().getField("Retry-After"); in getOrPost() 206 public @Nullable String getField(@NonNull String key) { in getField() method in Http.Headers
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | HvacUiService.java | 338 int currentFlags = (Integer) params.getClass().getField("privateFlags").get(params); in disableAnimations() 339 params.getClass().getField("privateFlags").set(params, currentFlags | 0x00000040); in disableAnimations()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
D | AnomalyDetectionJobServiceTest.java | 266 when(intValue.getField()).thenReturn(AnomalyDetectionJobService.STATSD_UID_FILED); in extractUidFromStatsDimensionsValue_extractCorrectUid() 285 when(floatValue.getField()).thenReturn(AnomalyDetectionJobService.STATSD_UID_FILED); in extractUidFromStatsDimensionsValue_wrongFormat_returnNull()
|
/packages/apps/Settings/src/com/android/settings/ |
D | CryptKeeper.java | 486 owner_info = service.getField(StorageManager.OWNER_INFO_KEY); in setupUi() 487 … pattern_visible = !("0".equals(service.getField(StorageManager.PATTERN_VISIBLE_KEY))); in setupUi() 488 … password_visible = !("0".equals(service.getField(StorageManager.PASSWORD_VISIBLE_KEY))); in setupUi()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | CryptKeeper.java | 486 owner_info = service.getField(StorageManager.OWNER_INFO_KEY); in setupUi() 487 … pattern_visible = !("0".equals(service.getField(StorageManager.PATTERN_VISIBLE_KEY))); in setupUi() 488 … password_visible = !("0".equals(service.getField(StorageManager.PASSWORD_VISIBLE_KEY))); in setupUi()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/ |
D | DatabaseIndexingUtils.java | 37 final Field f = clazz.getField(FIELD_NAME_SEARCH_INDEX_DATA_PROVIDER); in getSearchIndexProvider()
|