/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/junit/ |
D | MethodSorter.java | 18 import java.lang.reflect.Method; 33 public static final Comparator<Method> DEFAULT = new Comparator<Method>() { 34 public int compare(Method m1, Method m2) { 47 public static final Comparator<Method> NAME_ASCENDING = new Comparator<Method>() { 48 public int compare(Method m1, Method m2) { 71 public static Method[] getSortedMethods(Class<?> clazz, Method[] methods) { in getSortedMethods() 72 Comparator<Method> comparator = getSorter(clazz.getAnnotation(FixMethodOrder.class)); in getSortedMethods() 84 private static Comparator<Method> getSorter(FixMethodOrder fixMethodOrder) { in getSorter()
|
D | SafeAndroidJUnitRunner.java | 27 import java.lang.reflect.Method; 89 for (Method eachMethod : getSafeDeclaredMethods(eachClass)) { in scanAnnotatedMembers() 100 private static Method[] getSafeDeclaredMethods(Class<?> clazz) { in getSafeDeclaredMethods() 102 Method[] allMethods = clazz.getMethods(); in getSafeDeclaredMethods() 103 List<Method> safeMethodsList = new ArrayList<>(); in getSafeDeclaredMethods() 104 for (Method method : allMethods) { in getSafeDeclaredMethods() 121 Method[] safeMethods = safeMethodsList.stream().toArray(Method[]::new); in getSafeDeclaredMethods() 135 Method[] sortedMethods = MethodSorter.getSortedMethods(clazz, safeMethods); in getSafeDeclaredMethods()
|
/packages/modules/Wifi/framework/api/ |
D | lint-baseline.txt | 17 …Method 'setMacRandomizationSetting' documentation mentions permissions without declaring @Requires… 19 Method 'getMacAddress' documentation mentions permissions without declaring @RequiresPermission 21 …Method 'addLocalOnlyConnectionFailureListener' documentation mentions permissions already declared… 23 …Method 'addSuggestionConnectionStatusListener' documentation mentions permissions already declared… 25 …Method 'allowAutojoinGlobal' documentation mentions permissions without declaring @RequiresPermiss… 27 … Method 'getChannelData' documentation mentions permissions already declared by @RequiresPermission 29 …Method 'getPasspointConfigurations' documentation mentions permissions without declaring @Requires… 31 … Method 'getScanResults' documentation mentions permissions already declared by @RequiresPermission 33 …Method 'queryAutojoinGlobal' documentation mentions permissions without declaring @RequiresPermiss… 35 …Method 'registerScanResultsCallback' documentation mentions permissions already declared by @Requi… [all …]
|
D | module-lib-lint-baseline.txt | 27 …Method android.net.wifi.WifiScanner.configureWifiChange(android.net.wifi.WifiScanner.WifiChangeSet… 29 …Method android.net.wifi.WifiScanner.configureWifiChange(int, int, int, int, int, android.net.wifi.… 31 …Method android.net.wifi.WifiScanner.startTrackingBssids(android.net.wifi.WifiScanner.BssidInfo[], … 33 …Method android.net.wifi.WifiScanner.startTrackingWifiChange(android.net.wifi.WifiScanner.WifiChang… 35 …Method android.net.wifi.WifiScanner.stopTrackingBssids(android.net.wifi.WifiScanner.BssidListener)… 37 …Method android.net.wifi.WifiScanner.stopTrackingWifiChange(android.net.wifi.WifiScanner.WifiChange… 51 …Method 'setMacRandomizationSetting' documentation mentions permissions without declaring @Requires… 53 …Method 'setRepeaterEnabled' documentation mentions permissions already declared by @RequiresPermis… 55 Method 'getMacAddress' documentation mentions permissions without declaring @RequiresPermission 57 …Method 'addLocalOnlyConnectionFailureListener' documentation mentions permissions already declared… [all …]
|
D | system-lint-baseline.txt | 27 …Method android.net.wifi.WifiScanner.configureWifiChange(android.net.wifi.WifiScanner.WifiChangeSet… 29 …Method android.net.wifi.WifiScanner.configureWifiChange(int, int, int, int, int, android.net.wifi.… 31 …Method android.net.wifi.WifiScanner.startTrackingBssids(android.net.wifi.WifiScanner.BssidInfo[], … 33 …Method android.net.wifi.WifiScanner.startTrackingWifiChange(android.net.wifi.WifiScanner.WifiChang… 35 …Method android.net.wifi.WifiScanner.stopTrackingBssids(android.net.wifi.WifiScanner.BssidListener)… 37 …Method android.net.wifi.WifiScanner.stopTrackingWifiChange(android.net.wifi.WifiScanner.WifiChange… 71 …Method 'setMacRandomizationSetting' documentation mentions permissions without declaring @Requires… 73 …Method 'setRepeaterEnabled' documentation mentions permissions already declared by @RequiresPermis… 75 Method 'getMacAddress' documentation mentions permissions without declaring @RequiresPermission 77 …Method 'addLocalOnlyConnectionFailureListener' documentation mentions permissions already declared… [all …]
|
/packages/modules/Connectivity/framework/api/ |
D | module-lib-lint-baseline.txt | 7 …Method 'isTetheringSupported' documentation mentions permissions already declared by @RequiresPerm… 9 Method 'requestNetwork' documentation mentions permissions without declaring @RequiresPermission 11 Method 'requestNetwork' documentation mentions permissions without declaring @RequiresPermission 13 …Method 'requestRouteToHostAddress' documentation mentions permissions without declaring @RequiresP… 15 …Method 'getCaptivePortalApiUrl' documentation mentions permissions without declaring @RequiresPerm… 17 …Method 'getCaptivePortalData' documentation mentions permissions without declaring @RequiresPermis… 19 Method 'getOwnerUid' documentation mentions permissions without declaring @RequiresPermission 21 …Method 'getUnderlyingNetworks' documentation mentions permissions without declaring @RequiresPermi… 23 … Method 'setAllowedUids' documentation mentions permissions already declared by @RequiresPermission 25 …Method 'setSignalStrength' documentation mentions permissions already declared by @RequiresPermiss… [all …]
|
D | system-lint-baseline.txt | 7 …Method 'isTetheringSupported' documentation mentions permissions already declared by @RequiresPerm… 9 Method 'requestNetwork' documentation mentions permissions without declaring @RequiresPermission 11 Method 'requestNetwork' documentation mentions permissions without declaring @RequiresPermission 13 …Method 'getCaptivePortalApiUrl' documentation mentions permissions without declaring @RequiresPerm… 15 …Method 'getCaptivePortalData' documentation mentions permissions without declaring @RequiresPermis… 17 Method 'getOwnerUid' documentation mentions permissions without declaring @RequiresPermission 19 …Method 'getUnderlyingNetworks' documentation mentions permissions without declaring @RequiresPermi… 21 …Method 'setSignalStrength' documentation mentions permissions already declared by @RequiresPermiss… 23 …Method 'setUnderlyingNetworks' documentation mentions permissions already declared by @RequiresPer… 25 …Method 'setSignalStrength' documentation mentions permissions already declared by @RequiresPermiss… [all …]
|
D | lint-baseline.txt | 7 Method 'requestNetwork' documentation mentions permissions without declaring @RequiresPermission 9 Method 'requestNetwork' documentation mentions permissions without declaring @RequiresPermission 11 Method 'getOwnerUid' documentation mentions permissions without declaring @RequiresPermission 13 …Method 'setTrafficStatsUid' documentation mentions permissions without declaring @RequiresPermissi… 15 …Method 'setTrafficStatsUid' documentation mentions permissions without declaring @RequiresPermissi…
|
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/ |
D | DynamicLogger.java | 25 import java.lang.reflect.Method; 108 private static Method getMethod(Class<?> clazz, String name, Class<?>... parameterTypes) { in getMethod() 127 private static void call(LogLevel level, String tag, @Nullable Method method, Object... args) { in call() 148 @Nullable Method method, in call() 173 private final Method mWtf; 174 private final Method mExcWtf; 175 private final Method mE; 176 private final Method mExcE; 177 private final Method mW; 178 private final Method mExcW; [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | CompatUtils.java | 25 import java.lang.reflect.Method; 42 public static Method getMethod(final Class<?> targetClass, final String name, in getMethod() 94 final Method method, final Object... args) { in invoke() 171 private final Method mMethod; 173 public ToObjectMethodWrapper(final Method method, final T defaultValue) { in ToObjectMethodWrapper() 184 private final Method mMethod; 186 public ToIntMethodWrapper(final Method method, final int defaultValue) { in ToIntMethodWrapper() 196 private final Method mMethod; 198 public ToFloatMethodWrapper(final Method method, final float defaultValue) { in ToFloatMethodWrapper() 208 private final Method mMethod; [all …]
|
D | NotificationCompatUtils.java | 23 import java.lang.reflect.Method; 27 private static final Method METHOD_setColor = 29 private static final Method METHOD_setVisibility = 31 private static final Method METHOD_setCategory = 33 private static final Method METHOD_setPriority = 35 private static final Method METHOD_build =
|
D | ViewCompatUtils.java | 21 import java.lang.reflect.Method; 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(
|
/packages/modules/Permission/framework-s/api/ |
D | module-lib-lint-baseline.txt | 19 …Method 'addOnRoleHoldersChangedListenerAsUser' documentation mentions permissions already declared… 21 …Method 'addRoleHolderAsUser' documentation mentions permissions already declared by @RequiresPermi… 23 …Method 'addRoleHolderFromController' documentation mentions permissions already declared by @Requi… 25 …Method 'clearRoleHoldersAsUser' documentation mentions permissions already declared by @RequiresPe… 27 … Method 'getRoleHolders' documentation mentions permissions already declared by @RequiresPermission 29 …Method 'getRoleHoldersAsUser' documentation mentions permissions already declared by @RequiresPerm… 31 …Method 'removeOnRoleHoldersChangedListenerAsUser' documentation mentions permissions already decla… 33 …Method 'removeRoleHolderAsUser' documentation mentions permissions already declared by @RequiresPe… 35 …Method 'removeRoleHolderFromController' documentation mentions permissions already declared by @Re… 37 …Method 'setBrowserRoleHolder' documentation mentions permissions already declared by @RequiresPerm… [all …]
|
D | system-lint-baseline.txt | 19 …Method 'addOnRoleHoldersChangedListenerAsUser' documentation mentions permissions already declared… 21 …Method 'addRoleHolderAsUser' documentation mentions permissions already declared by @RequiresPermi… 23 …Method 'addRoleHolderFromController' documentation mentions permissions already declared by @Requi… 25 …Method 'clearRoleHoldersAsUser' documentation mentions permissions already declared by @RequiresPe… 27 … Method 'getRoleHolders' documentation mentions permissions already declared by @RequiresPermission 29 …Method 'getRoleHoldersAsUser' documentation mentions permissions already declared by @RequiresPerm… 31 …Method 'removeOnRoleHoldersChangedListenerAsUser' documentation mentions permissions already decla… 33 …Method 'removeRoleHolderAsUser' documentation mentions permissions already declared by @RequiresPe… 35 …Method 'removeRoleHolderFromController' documentation mentions permissions already declared by @Re… 37 …Method 'setRoleNamesFromController' documentation mentions permissions already declared by @Requir…
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/ |
D | ApiHelper.java | 24 import java.lang.reflect.Method; 92 private static Method getMethod(String fullyQualifiedMethodName) throws ClassNotFoundException { in getMethod() 128 private static Method getMethodWithParameters(Class<?> clazz, String methodName, in getMethodWithParameters() 146 Method[] allMethods = clazz.getDeclaredMethods(); in getMethodWithParameters() 148 for (Method method : allMethods) { in getMethodWithParameters() 179 private static Method getMethodWithoutParameters(Class<?> clazz, String methodName) { in getMethodWithoutParameters() 183 List<Method> methods = new ArrayList<>(); in getMethodWithoutParameters() 184 for (Method method : clazz.getDeclaredMethods()) { in getMethodWithoutParameters()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/api/ |
D | module-lib-lint-baseline.txt | 7 …Method 'requestLatestTetheringEntitlementResult' documentation mentions permissions already declar… 9 … Method 'startTethering' documentation mentions permissions already declared by @RequiresPermission 11 … Method 'startTethering' documentation mentions permissions already declared by @RequiresPermission 13 …Method 'stopAllTethering' documentation mentions permissions already declared by @RequiresPermissi… 15 … Method 'stopTethering' documentation mentions permissions already declared by @RequiresPermission
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/ |
D | AnnotationHelper.java | 25 import java.lang.reflect.Method; 42 Method[] objectMethods = Object.class.getMethods(); 45 for (Method method : objectMethods) { 85 Method[] methods = Class.forName(className).getDeclaredMethods(); in checkForAnnotation() 87 Method method = methods[j]; in checkForAnnotation() 167 private static boolean containsAddedInAnnotation(Method method, in containsAddedInAnnotation() 206 private static void validatedAddInOrBeforeAnnotation(Method method, in validatedAddInOrBeforeAnnotation() 238 private static boolean isExempt(Method method) { in isExempt()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | TestHttpServer.kt | 45 val method: Method = Method.GET, in <lambda>() 64 ?: "", Method.GET, uri.query ?: ""), in <lambda>() 90 if (Method.PUT == session.method || Method.POST == session.method) { in <lambda>()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastReceiverAppTest.java | 30 import java.lang.reflect.Method; 95 Method method = CellBroadcastReceiverApp.class.getDeclaredMethod("clearNewMessageList"); in clearNewMessageList() 104 Method method = CellBroadcastReceiverApp.class.getDeclaredMethod( in addNewMessageToList() 116 Method method = CellBroadcastReceiverApp.class.getDeclaredMethod( in removeReadMessage() 123 Method method = CellBroadcastReceiverApp.class.getDeclaredMethod("getLatestMessage"); in getLatestMessage() 129 Method method = CellBroadcastReceiverApp.class.getDeclaredMethod("getNewMessageList"); in getNewMessageList()
|
/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/testrunner/src/android/app/sdksandbox/testutils/testscenario/ |
D | SdkSandboxTestScenarioRunner.java | 34 import java.lang.reflect.Method; 78 Method[] testInstanceMethods = in onLoadSdk() 81 for (final Method method : testInstanceMethods) { in onLoadSdk() 103 Method methodFound = in onLoadSdk() 133 private Method findMethodOnTestInstance( in findMethodOnTestInstance() 147 final Method method, in invokeMethodOnTestInstance()
|
/packages/apps/Dialer/java/com/android/dialer/oem/ |
D | SystemPropertiesAccessor.java | 22 import java.lang.reflect.Method; 29 private Method systemPropertiesGetMethod; 33 Method systemPropertiesGetMethod = getSystemPropertiesGetMethod(); in get() 47 private @Nullable Method getSystemPropertiesGetMethod() { in getSystemPropertiesGetMethod()
|
/packages/modules/AppSearch/framework/api/ |
D | lint-baseline.txt | 3 …Method 'getRequiredPermissionsForSchemaTypeVisibility' documentation mentions permissions without … 5 …Method 'setRequiredPermissionsForSchemaTypeVisibility' documentation mentions permissions without … 7 …Method 'getRequiredPermissionsForSchemaTypeVisibility' documentation mentions permissions without … 9 …Method 'addRequiredPermissionsForSchemaTypeVisibility' documentation mentions permissions without …
|
D | module-lib-lint-baseline.txt | 3 …Method 'getRequiredPermissionsForSchemaTypeVisibility' documentation mentions permissions without … 5 …Method 'setRequiredPermissionsForSchemaTypeVisibility' documentation mentions permissions without … 7 …Method 'getRequiredPermissionsForSchemaTypeVisibility' documentation mentions permissions without … 9 …Method 'addRequiredPermissionsForSchemaTypeVisibility' documentation mentions permissions without …
|
D | system-lint-baseline.txt | 3 …Method 'getRequiredPermissionsForSchemaTypeVisibility' documentation mentions permissions without … 5 …Method 'setRequiredPermissionsForSchemaTypeVisibility' documentation mentions permissions without … 7 …Method 'getRequiredPermissionsForSchemaTypeVisibility' documentation mentions permissions without … 9 …Method 'addRequiredPermissionsForSchemaTypeVisibility' documentation mentions permissions without …
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/test/ |
D | ApiHelperTest.java | 33 import java.lang.reflect.Method; 88 Method method1 = assertMethod( in testResolve_methodWithOverloadedParameters() 92 Method method2 = assertMethod( in testResolve_methodWithOverloadedParameters() 199 private static Method assertMethod(String api, Class<?> expectedClass, String expectedName, in assertMethod() 201 Method method = assertMember(api, Method.class, expectedClass, expectedName); in assertMethod()
|