Home
last modified time | relevance | path

Searched refs:setAccessible (Results 1 – 25 of 119) sorted by relevance

12345

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DKeySetUtils.java30 pkField.setAccessible(true); in getPubKey()
44 pkField.setAccessible(true); in getPubKeyRefCount()
58 ksField.setAccessible(true); in getKeySetRefCount()
72 ksField.setAccessible(true); in getKeySetMapping()
79 ksField.setAccessible(true); in getLastIssuedKeyId()
86 ksField.setAccessible(true); in getLastIssuedKeySetId()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DTestUtils.java43 constructor.setAccessible(true); in createSensorEvent()
54 setter.setAccessible(true); in setSensorType()
58 f.setAccessible(true); in setSensorType()
65 setter.setAccessible(true); in setMaximumRange()
71 constr.setAccessible(true); in createSensor()
80 constr.setAccessible(true); in createSensor()
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/
DOverpoweredReflectionHelper.java33 field.setAccessible(true); in makeFieldVeryAccessible()
37 modifiersField.setAccessible(true); in makeFieldVeryAccessible()
54 getFieldsMethod.setAccessible(true); in getModifiersField()
77 field.setAccessible(true); in setStaticField()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooper.java58 LOOPER_CONSTRUCTOR.setAccessible(true);
60 THREAD_LOCAL_LOOPER_FIELD.setAccessible(true);
62 MESSAGE_QUEUE_MESSAGES_FIELD.setAccessible(true);
64 MESSAGE_NEXT_FIELD.setAccessible(true);
66 MESSAGE_WHEN_FIELD.setAccessible(true);
68 MESSAGE_MARK_IN_USE_METHOD.setAccessible(true);
/frameworks/base/core/tests/coretests/src/android/service/notification/
DConditionTest.java84 id.setAccessible(true); in testLongFields_viaParcel_classic()
87 summary.setAccessible(true); in testLongFields_viaParcel_classic()
90 line1.setAccessible(true); in testLongFields_viaParcel_classic()
93 line2.setAccessible(true); in testLongFields_viaParcel_classic()
148 id.setAccessible(true); in testLongFields_viaParcel()
151 summary.setAccessible(true); in testLongFields_viaParcel()
154 line1.setAccessible(true); in testLongFields_viaParcel()
157 line2.setAccessible(true); in testLongFields_viaParcel()
249 fieldAccessFlagsField.setAccessible(true); in validate_invalidSource_throws()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTestUtils.java51 constructor.setAccessible(true); in createNewInstance()
73 methodReflection.setAccessible(true); in invokeStaticMethod()
97 methodReflection.setAccessible(true); in invokeStaticMethodThrowsException()
121 methodReflection.setAccessible(true); in invokeNonStaticMethod()
146 methodReflection.setAccessible(true); in invokeNonStaticMethodThrowsException()
DPhoneStateListenerTest.java91 field.setAccessible(true); in testTriggerServiceStateChanged()
107 field.setAccessible(true); in testTriggerUserMobileDataStateChanged()
120 field.setAccessible(true); in testTriggerOutgoingCallEmergencyNumberChanged()
143 field.setAccessible(true); in testTriggerOutgoingSmsEmergencyNumberChanged()
DPhoneStateListenerExecutorTest.java71 field.setAccessible(true); in testTriggerServiceStateChanged()
86 field.setAccessible(true); in testTriggerUserMobileDataStateChanged()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationChannelGroupTest.java49 mName.setAccessible(true); in testLongStringFields()
52 mId.setAccessible(true); in testLongStringFields()
55 mDescription.setAccessible(true); in testLongStringFields()
DAutomaticZenRuleTest.java130 name.setAccessible(true); in testLongInputsFromParcel()
133 conditionId.setAccessible(true); in testLongInputsFromParcel()
136 owner.setAccessible(true); in testLongInputsFromParcel()
139 configActivity.setAccessible(true); in testLongInputsFromParcel()
142 trigger.setAccessible(true); in testLongInputsFromParcel()
234 typeField.setAccessible(true); in validate_invalidType_throws()
DNotificationChannelTest.java176 mName.setAccessible(true); in testLongStringFields()
179 mId.setAccessible(true); in testLongStringFields()
182 mDesc.setAccessible(true); in testLongStringFields()
185 mParentId.setAccessible(true); in testLongStringFields()
188 mGroup.setAccessible(true); in testLongStringFields()
191 mConversationId.setAccessible(true); in testLongStringFields()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DPinnerServiceTest.java163 unpinAppsMethod.setAccessible(true); in unpinAll()
166 unpinAnonRegionMethod.setAccessible(true); in unpinAll()
175 pinnerHandlerField.setAccessible(true); in waitForPinnerService()
184 pinKeysArrayField.setAccessible(true); in getPinKeys()
191 pinnedAppsField.setAccessible(true); in getPinnedApps()
199 ctor.setAccessible(true); in getPinnerServiceDump()
205 dumpMethod.setAccessible(true); in getPinnerServiceDump()
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
DNfcAdapterExtras.java83 method.setAccessible(true); in getNfcAdapterExtrasInterfaceFromNfcAdapter()
104 method.setAccessible(true); in getContextFromNfcAdapter()
192 method.setAccessible(true); in attemptDeadServiceRecoveryOnNfcAdapter()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/analytics/
DCallAnalyticsProviderTest.java318 updateEntryIfExistsOrInsert.setAccessible(true); in setUpTestForUpdateEntryIfExistsOrInsert()
329 updateEntryIfExistsOrInsert.setAccessible(true); in testUpdateEntryIfExistsOrInsertWhenCursorNull()
342 updateEntryIfExistsOrInsert.setAccessible(true); in testUpdateEntryIfExistsOrInsertWhenCursorInvalid()
356 updateEntryIfExistsOrInsert.setAccessible(true); in testUpdateEntryIfExistsOrInsertWhenCursorValidUpdateSuccess()
387 updateEntryIfExistsOrInsert.setAccessible(true); in testUpdateEntryIfExistsOrInsertWhenUpdateFailedDueToInvalidIdIndex()
405 updateEntryIfExistsOrInsert.setAccessible(true); in testUpdateEntryIfExistsOrInsertWhenUpdateFailedDueToInvalidCountIndex()
424 updateEntryIfExistsOrInsert.setAccessible(true); in testUpdateEntryIfExistsOrInsertWhenUpdateFailedDueToInvalidColumnIndex()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsTestBase.java51 MESSAGE_QUEUE_FIELD.setAccessible(true);
53 MESSAGE_WHEN_FIELD.setAccessible(true);
55 MESSAGE_NEXT_FIELD.setAccessible(true);
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/sensors/
DFakeSensorManager.java210 constr.setAccessible(true); in createSensor()
234 field.setAccessible(true); in setSensorField()
240 setter.setAccessible(true); in setSensorType()
282 constr.setAccessible(true); in createSensorEvent()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
DFaceDownDetectorTest.java256 constructor.setAccessible(true); in createTestEvent()
276 constr.setAccessible(true); in createSensor()
279 setter.setAccessible(true); in createSensor()
283 f.setAccessible(true); in createSensor()
/frameworks/base/tools/preload-check/device/src/com/android/preload/check/
DUtil.java39 statusField.setAccessible(true);
50 getResources.setAccessible(true); in getBootDexFiles()
/frameworks/layoutlib/bridge/src/android/os/
DLooper_Accessor.java30 sMainLooper.setAccessible(true); in cleanupThread()
/frameworks/base/tests/testables/src/android/testing/
DTestWithLooperRule.java117 field.setAccessible(true); in wrapFieldMethodFor()
131 nextField.setAccessible(true); in getNextStatement()
DTestableLooper.java67 MESSAGE_QUEUE_MESSAGES_FIELD.setAccessible(true);
69 MESSAGE_NEXT_FIELD.setAccessible(true);
71 MESSAGE_WHEN_FIELD.setAccessible(true);
/frameworks/base/test-runner/src/android/test/
DActivityTestCase.java73 field.setAccessible(true); in scrubClass()
/frameworks/layoutlib/common/src/com/android/layoutlib/common/util/
DReflectionUtils.java57 method.setAccessible(true); in getAccessibleMethod()
66 field.setAccessible(true); in getFieldValue()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DProcessRecordTests.java94 field.setAccessible(true); in setFieldValue()
96 mfield.setAccessible(true); in setFieldValue()
/frameworks/multidex/library/src/androidx/multidex/
DMultiDex.java395 field.setAccessible(true); in findField()
424 method.setAccessible(true); in findMethod()
610 elementConstructor.setAccessible(true); in ICSElementConstructor()
633 elementConstructor.setAccessible(true); in JBMR11ElementConstructor()
656 elementConstructor.setAccessible(true); in JBMR2ElementConstructor()

12345