/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
CustomizationRestrictionsTest.java | 33 import java.lang.reflect.Method; 100 Method methodGetIdentifier = userHandleClass.getDeclaredMethod("getIdentifier", noParam); 108 Method methodGetUserIcon = umClass.getDeclaredMethod("getUserIcon", paramInt); 118 // wallpaper is different from the old one after we ran a setter method. 132 // Checking setBitmap() method. 139 // Checking setStream() method. 147 // Checking setResource() method.
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
PasswordMinimumRestrictionsTest.java | 24 import java.lang.reflect.Method; 58 for (String method : METHOD_LIST) { 60 .add(invokeGetMethod(method, mDevicePolicyManager, ADMIN_RECEIVER_COMPONENT)); 62 .add(invokeGetMethod(method, mParentDpm, ADMIN_RECEIVER_COMPONENT)); 106 for (String method : METHOD_LIST) { 108 invokeSetMethod(method, mDevicePolicyManager, null, TEST_PASSWORD_LENGTH); 112 fail("Failed to execute set method: " + setMethodName(method)); 119 for (String method : METHOD_LIST) { 121 invokeSetMethod(method, mParentDpm, null, TEST_PASSWORD_LENGTH) [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
DotDumper.java | 24 import com.android.dx.cf.iface.Method; 82 * @param name method name 83 * @return true if this method should be dumped 86 return args.method == null || args.method.equals(name); 105 if (!(member instanceof Method)) { 113 ConcreteMethod meth = new ConcreteMethod((Method) member, classFile,
|
SsaDumper.java | 22 import com.android.dx.cf.iface.Method; 41 * Dumper for the SSA-translated blocks of a method. 77 if (!(member instanceof Method)) { 91 new ConcreteMethod((Method) member, classFile, true, true);
|
/external/apache-http/android/src/android/net/http/ |
CertificateChainValidator.java | 27 import java.lang.reflect.Method; 189 Method updateMethod = tm.getClass().getDeclaredMethod("handleTrustStorageUpdate"); 234 Method method = x509TrustManager.getClass().getMethod("checkServerTrusted", local 238 method.invoke(x509TrustManager, chain, authType, domain);
|
/external/clang/lib/CodeGen/ |
CGObjCRuntime.h | 136 const ObjCMethodDecl *Method) = 0; 159 /// \param Method - The method being called, this may be null if synthesizing 169 const ObjCMethodDecl *Method = nullptr) = 0; 172 /// class initiated in a method for Class and with the given Self 175 /// \param Method - The method being called, this may be null if synthesizing 187 const ObjCMethodDecl *Method = nullptr) = 0; 194 /// Generate the named protocol. Protocols contain method metadata but no 198 /// Generate a function preamble for a method with the specifie [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/ |
FeatureUtil.java | 23 import java.lang.reflect.Method; 38 * A cache of annotated objects (typically a Class or Method) to its 101 * @param testerMethod a test method of a tester class 103 * method, its declaring class, or any of its superclasses. 107 public static TesterRequirements getTesterRequirements(Method testerMethod) 136 * Construct the full set of requirements for a tester method. 137 * @param testerMethod a test method of a tester class 139 * method, its declaring class, or any of its superclasses. 143 static TesterRequirements buildTesterRequirements(Method testerMethod) 155 * directly on a tester class or method [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
NavigableSetNavigationTester.java | 28 import java.lang.reflect.Method; 239 * Returns the {@link Method} instances for the test methods in this class that create a set with 249 public static Method[] getHoleMethods() { 250 return new Method[] {
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
TestThread.java | 30 import java.lang.reflect.Method; 43 * {@link #callAndAssertBlocks} method is ever called in a test, the lock-like object must have a 44 * method equivalent to {@link java.util.concurrent.locks.ReentrantLock#hasQueuedThread(Thread)}. If 45 * the {@link #callAndAssertWaits} method is ever called in a test, the lock-like object must have a 46 * method equivalent to {@link 48 * except that the method parameter must accept whatever condition-like object is passed into 88 * Causes this thread to call the named void method, and asserts that the call returns normally. 98 * Causes this thread to call the named method, and asserts that the call returns the expected 110 * Causes this thread to call the named method, and asserts that the call returns the expected 122 * Causes this thread to call the named method, and asserts that the call throws the expecte [all...] |
/external/guice/core/src/com/google/inject/internal/ |
BytecodeGen.java | 28 import java.lang.reflect.Method; 36 * net.sf.cglib.reflect.FastClass faster reflection}, {@link net.sf.cglib.proxy.Enhancer method 262 Method method = (Method) member; local 263 if (forType(method.getReturnType()) == SAME_PACKAGE) { 266 parameterTypes = method.getParameterTypes(); 328 // make the classic delegating loadClass method visible
|
/external/guice/core/src/com/google/inject/internal/util/ |
LineNumbers.java | 37 import java.lang.reflect.Method; 82 * @param member a field, constructor, or method belonging to the class used during construction 105 } else if (member instanceof Method) { 106 return member.getName() + org.objectweb.asm.Type.getMethodDescriptor((Method) member);
|
/external/guice/core/test/com/google/inject/matcher/ |
MatcherTest.java | 39 import java.lang.reflect.Method; 133 assertTrue(inSubpackage(stringPackageName).matches(Method.class)); 141 Matcher<Method> predicate = returns(only(String.class));
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
ICUTestCase.java | 19 import java.lang.reflect.Method; 29 * Currently there is only one method, testEHCS, which tests equals, hashCode, 90 * Clone will be tested if the method "clone" is public on the class of obj. 128 // look for public clone method and call it if available 129 Method method_clone = cls.getMethod("clone", EMPTY_CLASSES); 255 // oddness of clone, partly because arrays don't provide a Method for 273 Method cloneM = cls.getMethod("clone", EMPTY_CLASSES);
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
LocaleNameTest.java | 9 import java.lang.reflect.Method; 22 private static final Method GETDISPLAYSCRIPT_METHOD; 25 Method mGetDisplayScript = null;
|
/external/javassist/src/main/javassist/tools/rmi/ |
StubGenerator.java | 19 import java.lang.reflect.Method; 66 * This is a method declared in javassist.Translator. 88 * This is a method declared in javassist.Translator. 194 /* ms must not be an array of CtMethod. To invoke a method ms[i] 197 private void addMethods(CtClass proxy, Method[] ms) 202 Method m = ms[i]; 226 // if package method
|
/external/libweave/src/ |
device_registration_info_unittest.cc | 252 SendRequest(HttpClient::Method::kPost, dev_reg_->GetOAuthURL("token"), 273 SendRequest(HttpClient::Method::kPost, HasSubstr("upsertLocalAuthInfo"), 295 SendRequest(HttpClient::Method::kPost, dev_reg_->GetOAuthURL("token"), 324 SendRequest(HttpClient::Method::kPost, dev_reg_->GetOAuthURL("token"), 354 SendRequest(HttpClient::Method::kGet, dev_reg_->GetDeviceURL(), 414 SendRequest(HttpClient::Method::kPatch, 491 SendRequest(HttpClient::Method::kPost, 512 SendRequest(HttpClient::Method::kPost, dev_reg_->GetOAuthURL("token"), 535 SendRequest(HttpClient::Method::kPost, HasSubstr("upsertLocalAuthInfo"), 651 SendRequest(HttpClient::Method::kPatch, command_url_ [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowDialog.java | 18 import java.lang.reflect.Method; 116 Method onCreateMethod = Dialog.class.getDeclaredMethod("onCreate", Bundle.class); 121 Method onStartMethod = Dialog.class.getDeclaredMethod("onStart");
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
CameraFacade.java | 47 import java.lang.reflect.Method; 69 Method openCamera = Camera.class.getMethod("open", int.class); 98 Method method = camera.getClass().getMethod("setDisplayOrientation", int.class); local 99 method.invoke(camera, 90);
|
/external/testng/src/main/java/org/testng/internal/ |
TestNGMethod.java | 13 import java.lang.reflect.Method;
20 * This class represents a test method.
38 * @param method
41 public TestNGMethod(Method method, IAnnotationFinder finder, XmlTest xmlTest, Object instance) {
42 this(method, finder, true, xmlTest, instance);
45 private TestNGMethod(Method method, IAnnotationFinder finder, boolean initialize,
47 super(method.getName(), method, finder, instance); local [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
DataConnectionTest.java | 40 import java.lang.reflect.Method; 158 Method method = StateMachine.class.getDeclaredMethod("getCurrentState"); local 159 method.setAccessible(true); 160 return (IState) method.invoke(mDc); 166 Method method = DataConnection.class.getDeclaredMethod("getSuggestedRetryDelay", cArgs); local 167 method.setAccessible(true); 168 return (long) method.invoke(mDc, ar);
|
/libcore/luni/src/main/java/libcore/reflect/ |
AnnotationMember.java | 27 import java.lang.reflect.Method; 95 protected transient Method definingMethod; 125 * @param m element-defining method, reflected on the annotation type 127 * (return type of the defining method) 129 public AnnotationMember(String name, Object val, Class type, Method m) { 216 * false otherwise. Appropriate overloaded method of Arrays.equals() 332 * <br> Note, this method may return null if this element was constructed
|
GenericSignatureParser.java | 22 import java.lang.reflect.Method; 120 * @param genericDecl the GenericDeclaration calling this method 147 * Parses the generic signature of a method and creates the data structure 150 * @param genericDecl the GenericDeclaration calling this method 159 Method m = (Method) genericDecl; 181 * @param genericDecl the GenericDeclaration calling this method 211 * @param genericDecl the GenericDeclaration calling this method
|
/libcore/luni/src/test/java/libcore/java/io/ |
SerializationTest.java | 28 import java.lang.reflect.Method; 404 public Object invoke(Object proxy, Method method, Object[] args) { 436 public Object invoke(Object proxy, Method method, Object[] args) {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/ |
VendorPolicyLoader.java | 27 import java.lang.reflect.Method; 33 * contain a class called "com.android.email.policy.EmailPolicy" with a static public method 62 private final Method mPolicyMethod; 110 Method method = null; local 116 method = clazz.getMethod(GET_POLICY_METHOD, ARGS); 123 // Method not found -- probably not OK, but let's not crash here 126 mPolicyMethod = method; 140 * Calls the getPolicy method in the policy apk, if one exists. This method never returns null [all...] |
/art/runtime/ |
proxy_test.cc | 24 #include "mirror/method.h" 52 // Builds the method array. 58 methods_count, soa.AddLocalReference<jclass>(mirror::Method::StaticClass()), nullptr); 62 // Fill the method array 63 ArtMethod* method = javaLangObject->FindDeclaredVirtualMethod( local 65 CHECK(method != nullptr); 68 mirror::Method::CreateFromArtMethod(soa.Self(), method))); 69 method = javaLangObject->FindDeclaredVirtualMethod("hashCode", "()I", sizeof(void*)); 70 CHECK(method != nullptr) [all...] |