Home
last modified time | relevance | path

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

1234567

/packages/services/Car/car-lib/api/system-released/
Dsystem-1.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();
41method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int…
42 method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback);
[all …]
Dsystem-2.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();
46method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback, int…
47 method public void abandonAppFocus(android.car.CarAppFocusManager.OnAppFocusOwnershipCallback);
[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 @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) @NonNull public java.util.Li…
60method @RequiresPermission(android.car.Car.PERMISSION_CAR_PROJECTION) @NonNull 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/services/Car/car-lib/api/released/
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 …]
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 …]
/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/
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/Launcher3/quickstep/src/com/android/quickstep/
DQuickstepTestInformationHandler.java16 public Bundle call(String method) { in call() argument
18 switch (method) { in call()
34 return super.call(method); in call()
/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/TV/src/com/android/tv/ui/
DViewUtils.java36 Method method; in setTransitionAlpha() local
38 method = View.class.getDeclaredMethod("setTransitionAlpha", Float.TYPE); in setTransitionAlpha()
39 method.invoke(v, alpha); in setTransitionAlpha()
/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()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaBrowserConnector.java68 private boolean isValidCall(String method) { in isValidCall() argument
70 Log.e(TAG, "Ignoring callback " + method + " for " + mCallbackPackage + " seq: " in isValidCall()
75 Log.d(TAG, method + " " + mBrowseService.getPackageName() + idHash(mBrowser)); in isValidCall()

1234567