Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 161) sorted by relevance

1234567

/packages/modules/IPsec/api/
Dsystem-current.txt5 method @Nullable public android.net.eap.EapSessionConfig.EapAkaConfig getEapAkaConfig();
6method @Nullable public android.net.eap.EapSessionConfig.EapAkaPrimeConfig getEapAkaPrimeConfig();
7 method @NonNull public byte[] getEapIdentity();
8method @Nullable public android.net.eap.EapSessionConfig.EapMsChapV2Config getEapMsChapV2onfig();
9 method @Nullable public android.net.eap.EapSessionConfig.EapSimConfig getEapSimConfig();
14 method @NonNull public android.net.eap.EapSessionConfig build();
15 method @NonNull public android.net.eap.EapSessionConfig.Builder setEapAkaConfig(int, int);
16method @NonNull public android.net.eap.EapSessionConfig.Builder setEapAkaPrimeConfig(int, int, @No…
17 method @NonNull public android.net.eap.EapSessionConfig.Builder setEapIdentity(@NonNull byte[]);
18method @NonNull public android.net.eap.EapSessionConfig.Builder setEapMsChapV2Config(@NonNull Stri…
[all …]
Dsystem-lint-baseline.txt3 …Builder methods names should use setFoo() / addFoo() / clearFoo() style: method android.net.ipsec.…
17 …eap.EapSessionConfig does not declare a `getEapMsChapV2Config()` method matching method android.ne…
19 …android.net.ipsec.ike.ChildSaProposal does not declare a `getDhGroups()` method matching method an…
21 …e.ChildSaProposal does not declare a `getEncryptionAlgorithms()` method matching method android.ne…
23 …ke.ChildSaProposal does not declare a `getIntegrityAlgorithms()` method matching method android.ne…
25 …android.net.ipsec.ike.IkeSaProposal does not declare a `getDhGroups()` method matching method andr…
27 …ike.IkeSaProposal does not declare a `getEncryptionAlgorithms()` method matching method android.ne…
29 ….ike.IkeSaProposal does not declare a `getIntegrityAlgorithms()` method matching method android.ne…
31 ….ipsec.ike.IkeSessionParams does not declare a `getIkeOptions()` method matching method android.ne…
33 …e.IkeSessionParams does not declare a `getPcscfServerRequests()` method matching method android.ne…
[all …]
/packages/services/Car/car-lib/api/
Dsystem-current.txt6 method @MainThread public int canSwitchToAoap(@NonNull android.hardware.usb.UsbDevice);
7method @MainThread public abstract int isDeviceSupported(@NonNull android.hardware.usb.UsbDevice);
8 method public android.os.IBinder onBind(android.content.Intent);
57method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void addKeyEventHandl…
58method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void addKeyEventHandl…
59method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public java.util.Li…
60method @NonNull @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public android.os.B…
61method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void registerProjecti…
62method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) public void registerProjecti…
63method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION_STATUS) public void registerP…
[all …]
Dcurrent.txt5 method @Deprecated public void connect() throws java.lang.IllegalStateException;
6method @Deprecated public static android.car.Car createCar(android.content.Context, android.conten…
7method @Deprecated public static android.car.Car createCar(android.content.Context, android.conten…
8 method @Nullable public static android.car.Car createCar(android.content.Context);
9method @Nullable public static android.car.Car createCar(android.content.Context, @Nullable androi…
10 method public void disconnect();
11 method public int getCarConnectionType();
12 method @Nullable public Object getCarManager(String);
13 method public boolean isConnected();
14 method public boolean isConnecting();
[all …]
Dtest-current.txt5 method public void setEnableActivityBlocking(boolean);
13 method public void injectDrivingState(int);
21 method public boolean isDynamicRoutingEnabled();
/packages/modules/Cronet/api/
Dlint-baseline.txt3 …Acronyms should not be capitalized in method names: was `createURLStreamHandlerFactory`, should th…
7 …Use android.net.Uri instead of java.net.URL (method org.chromium.net.CronetEngine.createURLStreamH…
9 …Use android.net.Uri instead of java.net.URL (method org.chromium.net.CronetEngine.openConnection(j…
15 …Builder methods names should use setFoo() / addFoo() / clearFoo() style: method org.chromium.net.C…
17 …Builder methods names should use setFoo() / addFoo() / clearFoo() style: method org.chromium.net.C…
19 …Builder methods names should use setFoo() / addFoo() / clearFoo() style: method org.chromium.net.C…
21 …Builder methods names should use setFoo() / addFoo() / clearFoo() style: method org.chromium.net.C…
23 …Builder methods names should use setFoo() / addFoo() / clearFoo() style: method org.chromium.net.C…
25 …Builder methods names should use setFoo() / addFoo() / clearFoo() style: method org.chromium.net.U…
27 …Builder methods names should use setFoo() / addFoo() / clearFoo() style: method org.chromium.net.U…
[all …]
Dcurrent.txt10 method public abstract java.net.URLStreamHandlerFactory createURLStreamHandlerFactory();
11 method public abstract byte[] getGlobalMetricsDeltas();
12 method public abstract String getVersionString();
13method public abstract org.chromium.net.UrlRequest.Builder newUrlRequestBuilder(String, org.chromi…
14method public abstract java.net.URLConnection openConnection(java.net.URL) throws java.io.IOExcept…
15 method public abstract void shutdown();
16 method public abstract void startNetLogToFile(String, boolean);
17 method public abstract void stopNetLog();
22method public org.chromium.net.CronetEngine.Builder addPublicKeyPins(String, java.util.Set<byte[]>…
23 method public org.chromium.net.CronetEngine.Builder addQuicHint(String, int, int);
[all …]
/packages/services/Car/car-lib/api/released/
D2.txt4 method public void connect() throws java.lang.IllegalStateException;
5method public static android.car.Car createCar(android.content.Context, android.content.ServiceCon…
6method public static android.car.Car createCar(android.content.Context, android.content.ServiceCon…
7 method public void disconnect();
8 method public int getCarConnectionType();
9method public java.lang.Object getCarManager(java.lang.String) throws android.car.CarNotConnectedE…
10 method public boolean isConnected();
11 method public boolean isConnecting();
26method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int…
27 method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback);
[all …]
D1.txt4 method public void connect() throws java.lang.IllegalStateException;
5method public static android.car.Car createCar(android.content.Context, android.content.ServiceCon…
6method public static android.car.Car createCar(android.content.Context, android.content.ServiceCon…
7 method public void disconnect();
8 method public int getCarConnectionType();
9method public java.lang.Object getCarManager(java.lang.String) throws android.car.CarNotConnectedE…
10 method public boolean isConnected();
11 method public boolean isConnecting();
26method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int…
27 method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback);
[all …]
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsHttpClient.java112 public byte[] execute(String urlString, byte[] pdu, String method, boolean isProxySet, in execute() argument
115 Log.d(MmsService.TAG, "HTTP: " + method + " " + Utils.redactUrlForNonVerbose(urlString) in execute()
118 checkMethod(method); in execute()
152 if (METHOD_POST.equals(method)) { in execute()
178 } else if (METHOD_GET.equals(method)) { in execute()
240 private static void checkMethod(String method) throws MmsHttpException { in checkMethod() argument
241 if (!METHOD_GET.equals(method) && !METHOD_POST.equals(method)) { in checkMethod()
242 throw new MmsHttpException(0/*statusCode*/, "Invalid method " + method); in checkMethod()
476 final Method method = SubscriptionManager.class.getMethod("getSlotIndex", Integer.TYPE); in getSlotId() local
477 if (method != null) { in getSlotId()
[all …]
DMmsNetworkManager.java299 final Method method = mConnectivityManager.getClass().getMethod( in startMmsConnectivity() local
301 if (method != null) { in startMmsConnectivity()
302 return (Integer) method.invoke( in startMmsConnectivity()
314 final Method method = mConnectivityManager.getClass().getMethod( in endMmsConnectivity() local
316 if (method != null) { in endMmsConnectivity()
317 method.invoke( in endMmsConnectivity()
373 final Method method = cmClass.getDeclaredMethod("getMobileDataEnabled"); in isMobileDataEnabled() local
374 method.setAccessible(true); // Make the method callable in isMobileDataEnabled()
376 return (Boolean) method.invoke(mConnectivityManager); in isMobileDataEnabled()
DMmsRequest.java334 final Method method = connMgr.getClass().getMethod("requestRouteToHostAddress", in requestRouteToHostAddress() local
336 if (method != null) { in requestRouteToHostAddress()
337 return (Boolean) method.invoke(connMgr, TYPE_MOBILE_MMS, inetAddr); in requestRouteToHostAddress()
345 final Method method = connMgr.getClass().getMethod("requestRouteToHost", in requestRouteToHostAddress() local
347 if (method != null) { in requestRouteToHostAddress()
348 return (Boolean) method.invoke(connMgr, TYPE_MOBILE_MMS, in requestRouteToHostAddress()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java94 final Method method, final Object... args) { in invoke() argument
95 if (method == null) { in invoke()
99 return method.invoke(receiver, args); in invoke()
173 public ToObjectMethodWrapper(final Method method, final T defaultValue) { in ToObjectMethodWrapper() argument
174 mMethod = method; in ToObjectMethodWrapper()
186 public ToIntMethodWrapper(final Method method, final int defaultValue) { in ToIntMethodWrapper() argument
187 mMethod = method; in ToIntMethodWrapper()
198 public ToFloatMethodWrapper(final Method method, final float defaultValue) { in ToFloatMethodWrapper() argument
199 mMethod = method; in ToFloatMethodWrapper()
210 public ToBooleanMethodWrapper(final Method method, final boolean defaultValue) { in ToBooleanMethodWrapper() argument
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/
DRunMethodInstrumentation.java125 Method method = null; in invokeMethod() local
128 method = clazz.getMethod(methodName, Context.class, Bundle.class); in invokeMethod()
133 if (method != null) { in invokeMethod()
134 method.invoke(clazz, methodArgs); in invokeMethod()
139 method = clazz.getMethod(methodName, Context.class); in invokeMethod()
144 if (method != null) { in invokeMethod()
145 method.invoke(clazz, methodArgs); in invokeMethod()
149 method = clazz.getMethod(methodName); in invokeMethod()
150 method.invoke(clazz); in invokeMethod()
/packages/services/Telephony/testapps/TelephonyManagerTestApp/src/com/android/phone/testapps/telephonymanagertestapp/
DTelephonyManagerTestApp.java108 Method method = mFilteredMethods.get(position); in getView() local
109 String tags = Modifier.toString(method.getModifiers()) + ' ' in getView()
110 + getShortTypeName(method.getReturnType().toString()); in getView()
111 String parameters = getParameters(method.getParameterTypes(), method.getParameters()); in getView()
112 String methodName = (parameters == null) ? (method.getName() + "()") : method.getName(); in getView()
160 for (Method method : mMethods) { in filterMethods()
161 if (method.getName().toLowerCase().contains(text.toLowerCase())) { in filterMethods()
162 mFilteredMethods.add(method); in filterMethods()
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DBaseTestingActivity.java73 protected void addButton(String title, String method) { in addButton() argument
76 button.setTag(method); in addButton()
104 Method method = null; in handleCommand() local
109 method = m; in handleCommand()
113 Object[] args = new Object[method.getParameterTypes().length]; in handleCommand()
118 method.invoke(this, args); in handleCommand()
124 public static Intent getCommandIntent(Class<?> clazz, String method) { in getCommandIntent() argument
126 .putExtra(EXTRA_METHOD, method); in getCommandIntent()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/testutils/
DTvShadowActivityThread.java55 public Object invoke(Object proxy, @Nonnull Method method, Object[] args) in getPackageManager()
57 if (method.getName().equals("getApplicationInfo")) { in getPackageManager()
68 } else if (method.getName().equals("getActivityInfo")) { in getPackageManager()
79 } else if (method.getName().equals("getServiceInfo")) { in getPackageManager()
90 } else if (method.getName().equals("notifyPackageUse")) { in getPackageManager()
92 } else if (method.getName().equals("getPackageInstaller")) { in getPackageManager()
95 throw new UnsupportedOperationException("sorry, not supporting " + method in getPackageManager()
/packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/
DStreamingServiceTracker.java41 public void onStreamMethodUpdated(int method) { in onStreamMethodUpdated() argument
42 StreamingServiceTracker.this.onStreamMethodUpdated(method); in onStreamMethodUpdated()
100 private void onStreamMethodUpdated(int method) { in onStreamMethodUpdated() argument
101 if (mMethod != method) { in onStreamMethodUpdated()
102 mMethod = method; in onStreamMethodUpdated()
/packages/services/Mms/src/com/android/mms/service/
DMmsHttpClient.java119 public byte[] execute(String urlString, byte[] pdu, String method, boolean isProxySet, in execute() argument
122 LogUtil.d(requestId, "HTTP: " + method + " " + redactUrlForNonVerbose(urlString) in execute()
125 checkMethod(method); in execute()
178 if (METHOD_POST.equals(method)) { in execute()
202 } else if (METHOD_GET.equals(method)) { in execute()
298 private static void checkMethod(String method) throws MmsHttpException { in checkMethod() argument
299 if (!METHOD_GET.equals(method) && !METHOD_POST.equals(method)) { in checkMethod()
300 throw new MmsHttpException(0/*statusCode*/, "Invalid method " + method); in checkMethod()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/
DMediaPlayerListTest.java95 Method method = BrowsablePlayerConnector.class.getDeclaredMethod("setInstanceForTesting", in setUp() local
98 method.setAccessible(true); in setUp()
99 method.invoke(null, mockConnector); in setUp()
115 Method method = BrowsablePlayerConnector.class.getDeclaredMethod("setInstanceForTesting", in tearDown() local
117 method.setAccessible(true); in tearDown()
118 method.invoke(null, (BrowsablePlayerConnector) null); in tearDown()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java94 Method method = in setAdapterService() local
96 method.setAccessible(true); in setAdapterService()
97 method.invoke(null, adapterService); in setAdapterService()
116 Method method = in clearAdapterService() local
118 method.setAccessible(true); in clearAdapterService()
119 method.invoke(null, adapterService); in clearAdapterService()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DInstanceMethod.java28 private final Method method; field in InstanceMethod
34 this.method = instanceMethod; in InstanceMethod()
47 return method.invoke(receiverObject); in invoke()
49 return method.invoke(clazz, args); in invoke()
/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DAppActiveStreams.java35 StreamCallbackWithState(StreamingServiceCallback callback, int state, int method) { in StreamCallbackWithState() argument
38 mMethod = method; in StreamCallbackWithState()
57 public void setMethod(int method) { in setMethod() argument
58 mMethod = method; in setMethod()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorMenu.java66 for (Entry<String, Runnable> method : portal.methods().entrySet()) { in onPrepareSubMenu()
68 .add(method.getKey()) in onPrepareSubMenu()
71 method.getValue().run(); in onPrepareSubMenu()
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewBrowserActivity.java603 for (Method method : settings.getClass().getMethods()) { in about()
604 if (!methodIsSimpleInspector(method)) continue; in about()
606 summary.append(method.getName() + " : " + method.invoke(settings) + "\n"); in about()
621 private boolean methodIsSimpleInspector(Method method) { in methodIsSimpleInspector() argument
622 Class<?> returnType = method.getReturnType(); in methodIsSimpleInspector()
624 && method.getParameterTypes().length == 0); in methodIsSimpleInspector()

1234567