Searched defs:method (Results 101 - 125 of 137) sorted by relevance

123456

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/
H A DEventBus.java75 EventHandlerMethod method; field in class:EventHandler
77 EventHandler(Subscriber subscriber, EventHandlerMethod method, int priority) { argument
79 this.method = method;
85 return subscriber.toString(priority) + " " + method.toString();
90 * Represents the low level method handling a particular event.
96 EventHandlerMethod(Method method, Class<? extends EventBus.Event> eventType) { argument
97 mMethod = method;
131 * Event method signature:<ul>
139 * Interprocess-Event method signatur
943 isValidEventBusHandlerMethod(Method method, Class<?>[] parameterTypes, MutableBoolean isInterprocessEventOut) argument
[all...]
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerServiceImpl.java506 private boolean isValidEventLocked(String method, int sessionId) { argument
508 Slog.w(TAG, method + ": not logging event because history is null");
513 Slog.d(TAG, method + ": not logging event for session " + sessionId
/frameworks/base/tools/aapt/
H A DZipFile.cpp465 int method; local
468 scanResult = ZipUtils::examineGzip(inputFp, &method, &uncompressedLen,
470 if (!scanResult || method != ZipEntry::kCompressDeflated) {
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTelephonyTest.java466 public Bundle call(String method, String arg, Bundle extras) { argument
467 switch (method) {
477 fail("Method not expected: " + method);
H A DContextFixture.java135 public Bundle call(String method, String request, Bundle args) { argument
136 logd("call called, mNumKeyValuePairs: " + mNumKeyValuePairs + " method: " + method +
138 switch(method) {
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp1056 AString method; local
1058 data->getRequestField(0, &method);
1066 if (method.startsWith("RTSP/")) {
1104 if (method == "OPTIONS") {
1106 } else if (method == "SETUP") {
1108 } else if (method == "PLAY") {
1110 } else if (method == "PAUSE") {
1112 } else if (method == "TEARDOWN") {
1114 } else if (method == "GET_PARAMETER") {
1116 } else if (method
[all...]
/frameworks/base/core/java/android/content/
H A DContentProvider.java88 * main thread, and must avoid performing lengthy operations. See the method
399 String callingPkg, String method, @Nullable String arg, @Nullable Bundle extras) {
403 return ContentProvider.this.call(method, arg, extras);
800 * this content provider. This method can be called from multiple
822 * this content provider. This method can be called from multiple
844 * this content provider. This method can be called from multiple
868 * This method is called for all registered content providers on the
885 * from this method. (Instead, override
895 * This method is always called on the application main thread, and must
899 * Override this method t
398 call( String callingPkg, String method, @Nullable String arg, @Nullable Bundle extras) argument
1969 call(@onNull String method, @Nullable String arg, @Nullable Bundle extras) argument
[all...]
H A DContentResolver.java891 * Client code should only invoke this method when there is a strong indication (such as a user
1019 * ContentProvider.openFile()} method, so will <em>not</em> work with
1061 * ContentProvider.openFile()} method, so will <em>not</em> work with
1123 * method of the provider associated with the given URI, to retrieve any file stored there.
1176 * method of the provider associated with the given URI, to retrieve any file stored there.
1327 * {@link ContentProvider#openTypedAssetFile} method of the provider
1360 * {@link ContentProvider#openTypedAssetFile} method of the provider
1686 * Call a provider-defined method. This can be used to implement
1690 * @param method provider-defined method nam
1699 call(@onNull Uri uri, @NonNull String method, @Nullable String arg, @Nullable Bundle extras) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewDebug.java95 * When resolveId is true, and if the annotated field/method return value
390 * @deprecated This method is now unused and invoking it is a no-op
398 * @deprecated This method is now unused and invoking it is a no-op
406 * @deprecated This method is now unused and invoking it is a no-op
414 * @deprecated This method is now unused and invoking it is a no-op
422 * @deprecated This method is now unused and invoking it is a no-op
430 * @deprecated This method is now unused and invoking it is a no-op
840 * Rather than using reflection, it uses View's encode method to obtain all the properties.
1081 for (final Method method : methods) {
1082 // Ensure the method retur
1127 callMethodOnAppropriateTheadBlocking(final Method method, final Object object) argument
1622 invokeViewMethod(final View view, final Method method, final Object[] args) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DTelephonyRegistry.java1619 private void enforceNotifyPermissionOrCarrierPrivilege(String method) { argument
1627 private boolean checkNotifyPermission(String method) { argument
1631 String msg = "Modify Phone State Permission Denial: " + method + " from pid="
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DExprModel.java52 // each arg list receives a unique id even if it is the same arguments and method.
699 public CallbackWrapper callbackWrapper(ModelClass klass, ModelMethod method) { argument
700 final String key = CallbackWrapper.uniqueKey(klass, method);
703 wrapper = new CallbackWrapper(klass, method);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceHal.java358 private boolean checkSupplicantP2pIfaceAndLogFailure(String method) { argument
360 Log.e(TAG, "Can't call " + method + ": ISupplicantP2pIface is null");
379 Log.e(TAG, "Unsupported WPS provision method: " + info);
626 * @return String containing generated pin, if selected provision method
659 Log.e(TAG, "Invalid WPS config method: " + config.wps.setup);
721 * desired configuration method.
734 Log.e(TAG, "Unrecognized WPS configuration method: " + config.wps.setup);
1023 * This is a helper method that invokes groupAdd(networkId, isPersistent) internally.
2159 * Converts the Wps config method string to the equivalent enum value.
2193 "Invalid WPS config method
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp301 AString method; local
307 if (itemMeta->findString("cipher-method", &method)) {
314 // If method has changed (e.g., -> NONE); sufficient to check at the segment boundary
315 if (mSampleAesKeyItem != NULL && first && found && method != "SAMPLE-AES") {
316 ALOGI("decryptBuffer: resetting mSampleAesKeyItem(%p) with method %s",
317 mSampleAesKeyItem.get(), method.c_str());
323 method = "NONE";
325 buffer->meta()->setString("cipher-method", method
460 AString method; local
1485 AString method; local
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp162 // bitmap will go out of scope when we return from this method.
220 // bitmap will go out of scope when we return from this method.
739 uint16_t method; local
741 if (zip->getEntryInfo(entry, &method, NULL, NULL, NULL, NULL, NULL)) {
742 if (method == ZipFileRO::kCompressStored) {
/frameworks/base/core/java/android/app/
H A DInstrumentation.java120 private void checkInstrumenting(String method) { argument
124 throw new RuntimeException(method +
333 * This method will start profiling if isProfiling() returns true. You should
334 * only call this method if you set the handleProfiling attribute in the
412 * In addition to being synchronous, this method as some semantic
415 * (its class name is specified in the Intent that this method ultimately
481 * activity, through the {@link #waitForActivity} method. This will return
661 * <p> Whenever a new activity is started, this method will be called on instances created
1020 * Higher-level method for sending both the down and up key events for a
1108 * method
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeech.java60 * When you are done using the TextToSpeech instance, call the {@link #shutdown()} method
736 private <R> R runActionNoReconnect(Action<R> action, R errorResult, String method, argument
738 return runAction(action, errorResult, method, false, onlyEstablishedConnection);
741 private <R> R runAction(Action<R> action, R errorResult, String method) { argument
742 return runAction(action, errorResult, method, true, true);
745 private <R> R runAction(Action<R> action, R errorResult, String method, argument
749 Log.w(TAG, method + " failed: not bound to TTS engine");
752 return mServiceConnection.runAction(action, errorResult, method, reconnect,
836 * It is good practice for instance to call this method in the onDestroy() method o
2289 runAction(Action<R> action, R errorResult, String method, boolean reconnect, boolean onlyEstablishedConnection) argument
[all...]
/frameworks/base/core/java/android/text/
H A DLayout.java24 import android.text.method.TextKeyListener;
2039 private char getEllipsisChar(TextUtils.TruncateAt method) { argument
2040 return (method == TextUtils.TruncateAt.END_SMALL) ?
2046 char[] dest, int destoff, TextUtils.TruncateAt method) {
2060 c = getEllipsisChar(method); // ellipsis
2045 ellipsize(int start, int end, int line, char[] dest, int destoff, TextUtils.TruncateAt method) argument
/frameworks/base/core/java/android/widget/
H A DRemoteViewsAdapter.java915 private void processException(String method, Exception e) { argument
916 Log.e("RemoteViewsAdapter", "Error in " + method + ": " + e.getMessage());
1076 * This method allows an AdapterView using this Adapter to provide information about which
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp863 uint16_t method; local
868 if (!pZipFile->getEntryInfo(entry, &method, &uncompressedLen, NULL, NULL,
881 if (method == ZipFileRO::kCompressStored) {
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp374 jmethodID method = env->GetMethodID(clazz.get(), "set", "(IIJI)V"); local
375 env->CallVoidMethod(bufferInfo, method, (jint)offset, (jint)size, timeUs, flags);
711 jmethodID method = env->GetMethodID(clazz.get(), "set", "(IIJI)V"); local
724 env->CallVoidMethod(obj, method, (jint)offset, (jint)size, timeUs, flags);
1865 jmethodID method = env->GetMethodID(clazz.get(), "setNativeObjectLocked", "(J)V"); local
1866 CHECK(method != NULL);
1867 gPersistentSurfaceClassInfo.setNativeObjectLocked = method;
1873 method = env->GetMethodID(clazz.get(), "<init>", "()V");
1874 CHECK(method != NULL);
1875 gPersistentSurfaceClassInfo.ctor = method;
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java339 public Bundle call(String method, String name, Bundle args) { argument
341 switch (method) {
394 Slog.w(LOG_TAG, "call() with invalid method: " + method);
1468 // This check is not inside the name-based checks below because this method performs checks
1509 * Context, int, String, boolean)}, which should be in sync with this method.
1786 * is set, the said method will only allow values with the "-" prefix.
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java206 * <p>Typically set through a {@link NetPolicyXml} annotation in the test method.
1762 public Statement apply(Statement base, FrameworkMethod method, Object target) { argument
1763 for (Annotation annotation : method.getAnnotations()) {
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
H A DSetterStore.java154 for (HashMap<String, InverseDescription> method : mStore.inverseMethods.values()) {
155 for (InverseDescription inverseDescription : method.values()) {
178 public void addRenamedMethod(String attribute, String declaringClass, String method, argument
187 declaredOn.getQualifiedName().toString(), method);
193 String method, TypeElement declaredOn) {
202 declaredOn.getQualifiedName().toString(), method, event);
512 for (MethodDescription method : methods.values()) {
513 if (!method.isStatic) {
514 adapters.add(method.type);
518 for (MethodDescription method
192 addInverseMethod(String attribute, String event, String declaringClass, String method, TypeElement declaredOn) argument
600 createMultiAttributeSetter(MethodDescription method, String[] allAttributes, ModelClass[] attributeValues, MultiValueAdapterKey adapter) argument
1069 MultiValueAdapterKey(ProcessingEnvironment processingEnv, ExecutableElement method, String[] attributes, boolean takesComponent, boolean requireAll) argument
1126 public final String method; field in class:SetterStore.MethodDescription
1134 MethodDescription(String type, String method) argument
1143 MethodDescription(ExecutableElement method, int numAttributes, boolean takesComponent) argument
1184 InverseDescription(String type, String method, String event) argument
1189 InverseDescription(ExecutableElement method, String event, boolean takesComponent) argument
1645 setBindingAdapterCall(String method) argument
1687 setBindingAdapterCall(String method) argument
1706 ViewGetterCall(InverseDescription inverseDescription, ModelMethod method, BindingSetterCall eventCall) argument
1744 setBindingAdapterCall(String method) argument
1797 setBindingAdapterCall(String method) argument
[all...]
/frameworks/data-binding/internal-prebuilts/com/android/databinding/baseLibrary/1.0-rc3/
H A DbaseLibrary-1.0-rc3.jar ... .String attribute () public abstract java.lang.String method () } android/databinding/BindingMethods.class BindingMethods.java package android ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-baseLibrary.jar ... .String attribute () public abstract java.lang.String method () } android/databinding/BindingMethods.class BindingMethods.java package android ...

Completed in 1543 milliseconds

123456