Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/
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/core/tests/coretests/src/android/app/
DNotificationChannelTest.java46 mName.setAccessible(true); in testLongStringFields()
49 mId.setAccessible(true); in testLongStringFields()
52 mDesc.setAccessible(true); in testLongStringFields()
55 mParentId.setAccessible(true); in testLongStringFields()
58 mGroup.setAccessible(true); in testLongStringFields()
61 mConversationId.setAccessible(true); in testLongStringFields()
DNotificationChannelGroupTest.java48 mName.setAccessible(true); in testLongStringFields()
51 mId.setAccessible(true); in testLongStringFields()
54 mDescription.setAccessible(true); in testLongStringFields()
DAutomaticZenRuleTest.java117 name.setAccessible(true); in testLongInputsFromParcel()
120 conditionId.setAccessible(true); in testLongInputsFromParcel()
123 owner.setAccessible(true); in testLongInputsFromParcel()
126 configActivity.setAccessible(true); in testLongInputsFromParcel()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DTestUtils.java34 constructor.setAccessible(true); in createSensorEvent()
45 setter.setAccessible(true); in setSensorType()
49 f.setAccessible(true); in setSensorType()
56 constr.setAccessible(true); in createSensor()
/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/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.java90 field.setAccessible(true); in testTriggerServiceStateChanged()
106 field.setAccessible(true); in testTriggerUserMobileDataStateChanged()
119 field.setAccessible(true); in testTriggerOutgoingCallEmergencyNumberChanged()
142 field.setAccessible(true); in testTriggerOutgoingSmsEmergencyNumberChanged()
DPhoneStateListenerExecutorTest.java70 field.setAccessible(true); in testTriggerServiceStateChanged()
85 field.setAccessible(true); in testTriggerUserMobileDataStateChanged()
DTelephonyPermissionsTest.java537 field.setAccessible(true); in setTelephonyMockAsService()
605 field.setAccessible(true); in setupMocksForDeviceIdentifiersErrorPath()
610 field.setAccessible(true); in setupMocksForDeviceIdentifiersErrorPath()
614 field.setAccessible(true); in setupMocksForDeviceIdentifiersErrorPath()
619 field.setAccessible(true); in setupMocksForDeviceIdentifiersErrorPath()
/frameworks/base/core/tests/coretests/src/android/service/notification/
DConditionTest.java72 id.setAccessible(true); in testLongFields_viaParcel()
75 summary.setAccessible(true); in testLongFields_viaParcel()
78 line1.setAccessible(true); in testLongFields_viaParcel()
81 line2.setAccessible(true); in testLongFields_viaParcel()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DPinnerServiceTest.java127 unpinAppMethod.setAccessible(true); in unpinAll()
138 pinnerHandlerField.setAccessible(true); in waitForPinnerService()
147 pinKeysArrayField.setAccessible(true); in getPinKeys()
154 pinnedAppsField.setAccessible(true); in getPinnedApps()
162 ctor.setAccessible(true); in getPinnerServiceDump()
168 dumpMethod.setAccessible(true); in getPinnerServiceDump()
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcNetworkAgentTest.java91 field.setAccessible(true); in setUp()
106 field.setAccessible(true); in verifyDisconnected()
DDataConnectionTest.java339 method.setAccessible(true); in getSuggestedRetryDelay()
345 method.setAccessible(true); in isUnmeteredUseOnly()
351 method.setAccessible(true); in isEnterpriseUse()
357 field.setAccessible(true); in isSuspended()
367 method.setAccessible(true); in setLinkProperties()
430 field.setAccessible(true); in testConnectOnIwlan()
585 field.setAccessible(true); in testDisconnectOnIwlan()
741 method.setAccessible(true); in getNetworkCapabilities()
747 method.setAccessible(true); in getDisallowedApnTypes()
1007 method.setAccessible(true); in testShouldSkip464XlatEvent()
[all …]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DCompareActivity.java94 getHardwareLayer.setAccessible(true); in loadBitmaps()
103 copyInto.setAccessible(true); in loadBitmaps()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DTestUtils.java35 field.setAccessible(true); in setOneHandedModeEnabled()
/frameworks/layoutlib/bridge/src/android/os/
DLooper_Accessor.java30 sMainLooper.setAccessible(true); in cleanupThread()
/frameworks/base/tests/testables/src/android/testing/
DTestableLooper.java64 MESSAGE_QUEUE_MESSAGES_FIELD.setAccessible(true);
66 MESSAGE_NEXT_FIELD.setAccessible(true);
68 MESSAGE_WHEN_FIELD.setAccessible(true);
/frameworks/base/test-runner/src/android/test/
DActivityTestCase.java73 field.setAccessible(true); in scrubClass()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DAnrHelperTest.java97 field.setAccessible(true); in setFieldValue()
99 mfield.setAccessible(true); in setFieldValue()
DProcessRecordTests.java91 field.setAccessible(true); in setFieldValue()
93 mfield.setAccessible(true); in setFieldValue()
/frameworks/layoutlib/common/src/com/android/layoutlib/common/util/
DReflectionUtils.java57 method.setAccessible(true); in getAccessibleMethod()
66 field.setAccessible(true); in getFieldValue()

1234