/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/ |
D | DynamicLogger.java | 108 private static Method getMethod(Class<?> clazz, String name, Class<?>... parameterTypes) { in getMethod() method in DynamicLogger 110 return clazz.getMethod(name, parameterTypes); in getMethod() 187 mWtf = getMethod(logClass, "wtf", String.class, String.class); in DeviceSideRealLogger() 188 mExcWtf = getMethod(logClass, "wtf", String.class, String.class, Throwable.class); in DeviceSideRealLogger() 189 mE = getMethod(logClass, "e", String.class, String.class); in DeviceSideRealLogger() 190 mExcE = getMethod(logClass, "e", String.class, String.class, Throwable.class); in DeviceSideRealLogger() 191 mW = getMethod(logClass, "w", String.class, String.class); in DeviceSideRealLogger() 192 mExcW = getMethod(logClass, "w", String.class, String.class, Throwable.class); in DeviceSideRealLogger() 193 mI = getMethod(logClass, "i", String.class, String.class); in DeviceSideRealLogger() 194 mExcI = getMethod(logClass, "i", String.class, String.class, Throwable.class); in DeviceSideRealLogger() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | NotificationCompatUtils.java | 28 CompatUtils.getMethod(Notification.Builder.class, "setColor", int.class); 30 CompatUtils.getMethod(Notification.Builder.class, "setVisibility", int.class); 32 CompatUtils.getMethod(Notification.Builder.class, "setCategory", String.class); 34 CompatUtils.getMethod(Notification.Builder.class, "setPriority", int.class); 36 CompatUtils.getMethod(Notification.Builder.class, "build");
|
D | CompatUtils.java | 42 public static Method getMethod(final Class<?> targetClass, final String name, in getMethod() method in CompatUtils 48 return targetClass.getMethod(name, parameterTypes); in getMethod() 145 public <T> ToObjectMethodWrapper<T> getMethod(final String name, in getMethod() method in CompatUtils.ClassWrapper 147 return new ToObjectMethodWrapper<>(CompatUtils.getMethod(mClass, name, parameterTypes), in getMethod() 153 return new ToIntMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes), in getPrimitiveMethod() 159 return new ToFloatMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes), in getPrimitiveMethod() 165 return new ToBooleanMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes), in getPrimitiveMethod()
|
D | ViewCompatUtils.java | 29 private static final Method METHOD_getPaddingEnd = CompatUtils.getMethod( 31 private static final Method METHOD_setPaddingRelative = CompatUtils.getMethod( 35 private static final Method METHOD_setTextAlignment = CompatUtils.getMethod(
|
D | LocaleListCompatUtils.java | 25 CompatUtils.getMethod(CLASS_LocaleList, "get", int.class); 27 CompatUtils.getMethod(CLASS_LocaleList, "isEmpty");
|
D | InputMethodManagerCompatWrapper.java | 28 private static final Method METHOD_switchToNextInputMethod = CompatUtils.getMethod( 34 CompatUtils.getMethod(InputMethodManager.class,
|
D | InputMethodSubtypeCompatUtils.java | 53 private static final Method METHOD_isAsciiCapable = CompatUtils.getMethod( 86 CompatUtils.getMethod(InputMethodSubtype.class, "getLanguageTag");
|
D | InputMethodServiceCompatUtils.java | 27 CompatUtils.getMethod(InputMethodService.class, "enableHardwareAcceleration");
|
D | LooperCompatUtils.java | 32 private static final Method METHOD_quitSafely = CompatUtils.getMethod(
|
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/service/chat/ |
D | MinimalCpmChatService.java | 116 if (!TextUtils.equals(msg.getMethod(), Request.ACK)) { in sendSipRequest() 120 if (TextUtils.equals(msg.getMethod(), Request.BYE)) { in sendSipRequest() 130 if (TextUtils.equals(msg.getCSeq().getMethod(), Request.BYE)) { in sendSipResponse() 132 } else if (TextUtils.equals(msg.getCSeq().getMethod(), Request.INVITE) in sendSipResponse() 147 } else if (TextUtils.equals(request.getMethod(), Request.INVITE)) { in handleRequest() 188 if (TextUtils.equals(response.getCSeq().getMethod(), Request.INVITE) in handleResponse()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 198 Method method = clazz.getMethod("setDataSource", String.class); in createVideoThumbnail() 203 return (Bitmap) clazz.getMethod("captureFrame").invoke(instance); in createVideoThumbnail() 205 byte[] data = (byte[]) clazz.getMethod("getEmbeddedPicture").invoke(instance); in createVideoThumbnail() 210 return (Bitmap) clazz.getMethod("getFrameAtTime").invoke(instance); in createVideoThumbnail() 229 clazz.getMethod("release").invoke(instance); in createVideoThumbnail()
|
D | HttpClientFactory.java | 59 Method newInstance = clazz.getMethod("newInstance", String.class); in newHttpClient() 95 Method method = clazz.getMethod("close", (Class<?>[]) null); in close()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | RunMethodInstrumentation.java | 128 method = clazz.getMethod(methodName, Context.class, Bundle.class); in invokeMethod() 139 method = clazz.getMethod(methodName, Context.class); in invokeMethod() 149 method = clazz.getMethod(methodName); in invokeMethod()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ |
D | RedirectListenerTest.java | 114 when(mIHTTPSession.getMethod()).thenReturn(NanoHTTPD.Method.PUT); in timeOutForKnownGetRequest() 134 when(mIHTTPSession.getMethod()).thenReturn(NanoHTTPD.Method.GET); in receiveUnknownGetRequest() 156 when(mIHTTPSession.getMethod()).thenReturn(NanoHTTPD.Method.GET); in receiveKnownGetRequest()
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | PermissionHelper.java | 113 .getMethod("grantHealthPermission", String.class, String.class) in grantPermission() 130 .getMethod( in revokePermission() 148 .getMethod("revokeAllHealthPermissions", String.class, String.class) in revokeAllPermissions() 211 .getMethod( in getHealthDataHistoricalAccessStartDate()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/bhttp/ |
D | RequestControlData.java | 42 public abstract String getMethod(); in getMethod() method in RequestControlData 69 byte[] method = getMethod().getBytes(StandardCharsets.UTF_8); in knownLengthSerialize()
|
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/ |
D | AppActiveStreams.java | 53 public int getMethod() { in getMethod() method in AppActiveStreams.StreamCallbackWithState 118 int oldMethod = callbackWithState.getMethod(); in updateStreamingMethod()
|
/packages/services/Car/packages/ScriptExecutor/src/ |
D | JniUtils.cpp | 64 jmethodID getMethod = env->GetMethodID(persistableBundleClass.get(), "get", in pushBundleToLuaTable() local 73 ScopedLocalRef<jobject> value(env, env->CallObjectMethod(bundle, getMethod, key.get())); in pushBundleToLuaTable() 214 jmethodID getMethod = env->GetMethodID(listClass.get(), "get", "(I)Ljava/lang/Object;"); in pushBundleListToLuaTable() local 222 pushBundleToLuaTable(env, lua, env->CallObjectMethod(bundleList, getMethod, i)); in pushBundleListToLuaTable()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/android/car/ui/plugin/ |
D | PluginVersionProviderImpl.java | 112 final Method callback = rClazz.getMethod("getAssignedPackageIdentifiers"); in getAssignedPackageIdentifiers() 142 final Method callback = rClazz.getMethod("onResourcesLoaded", int.class); in rewriteRValues()
|
/packages/apps/Dialer/java/com/android/dialer/compat/telephony/ |
D | TelephonyManagerCompat.java | 161 .getMethod("setVisualVoicemailEnabled", PhoneAccountHandle.class, boolean.class) in setVisualVoicemailEnabled() 177 .getMethod("isVisualVoicemailEnabled", PhoneAccountHandle.class) in isVisualVoicemailEnabled()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/httpclient/ |
D | AdServicesHttpsClientTest.java | 203 assertEquals("GET", request1.getMethod()); in testGetAndReadNothingCorrectPath() 278 assertEquals("GET", request1.getMethod()); in testFetchPayloadCorrectPath() 587 assertEquals("GET", request1.getMethod()); in testFetchPayloadResponsesUsesCache() 638 assertEquals("GET", request1.getMethod()); in testFetchPayloadResponsesDefaultSkipsCache() 665 assertEquals("GET", request1.getMethod()); in testFetchPayloadResponsesNoCacheHeaderSkipsCache() 707 assertEquals("GET", request1.getMethod()); in testFetchPayloadCacheDisabledSkipsCache() 739 assertEquals("POST", request1.getMethod()); in testPostJsonCorrectPath() 751 assertEquals("POST", request1.getMethod()); in testPostJsonCorrectPath_DevOptionsEnabled() 762 assertEquals("POST", request1.getMethod()); in testPostJsonCorrectData() 928 assertThat(recordedRequest1.getMethod()) in testperformRequestAndGetResponseInBytes_postsCorrectData() [all …]
|
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/experimental/ |
D | AbstractFlagsRouletteRunner.java | 355 method1.getMethod().getName(), method2.getMethod().getName()); in sortMethodsByFlagSnapshotsAndName() 447 super(method.getMethod()); in FlagSnapshotMethod() 520 + getMethod() in toString()
|
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/javatests/com/android/libraries/rcs/simpleclient/service/chat/ |
D | SimpleChatSessionTest.java | 170 if (msg.getMethod().equals(Request.INVITE)) { in start_reply200_returnSuccessfulFuture() 199 if (msg.getMethod().equals(Request.INVITE)) { in start_reply404_returnFailedFuture()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | CompatUtils.java | 227 Class.forName(className).getMethod(methodName, parameterTypes); in isMethodAvailable() 261 return Class.forName(className).getMethod(methodName, parameterTypes) in invokeMethod()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/ |
D | ApiHelper.java | 52 member = getMethod(api); in resolve() 92 private static Method getMethod(String fullyQualifiedMethodName) throws ClassNotFoundException { in getMethod() method in ApiHelper
|