Searched refs:method (Results 1 - 25 of 49) sorted by relevance

12

/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
H A DEasSyncServiceTests.java53 HttpRequestBase method = new HttpPost();
59 svc.setHeaders(method, false);
60 Header[] headers = method.getHeaders("X-MS-PolicyKey");
64 method.removeHeaders("X-MS-PolicyKey");
65 svc.setHeaders(method, true);
66 headers = method.getHeaders("X-MS-PolicyKey");
73 method.removeHeaders("X-MS-PolicyKey");
74 svc.setHeaders(method, true);
75 headers = method.getHeaders("X-MS-PolicyKey");
81 method
[all...]
/packages/apps/Stk/src/com/android/stk/
H A DStkDigitsKeyListener.java19 import android.text.method.NumberKeyListener;
/packages/apps/Exchange/tests/src/com/android/exchange/
H A DEasSyncServiceTests.java53 HttpRequestBase method = new HttpPost();
59 svc.setHeaders(method, false);
60 Header[] headers = method.getHeaders("X-MS-PolicyKey");
64 method.removeHeaders("X-MS-PolicyKey");
65 svc.setHeaders(method, true);
66 headers = method.getHeaders("X-MS-PolicyKey");
73 method.removeHeaders("X-MS-PolicyKey");
74 svc.setHeaders(method, true);
75 headers = method.getHeaders("X-MS-PolicyKey");
81 method
[all...]
/packages/apps/Phone/src/com/android/phone/
H A DEditPinPreference.java23 import android.text.method.DigitsKeyListener;
24 import android.text.method.PasswordTransformationMethod;
103 * Externally visible method to bring up the dialog to
H A DGetPin2Screen.java24 import android.text.method.DigitsKeyListener;
H A DEnableFdnScreen.java25 import android.text.method.DigitsKeyListener;
H A DEnableIccPinScreen.java25 import android.text.method.DigitsKeyListener;
H A DEditPhoneNumberPreference.java29 import android.text.method.ArrowKeyMovementMethod;
30 import android.text.method.DialerKeyListener;
230 * This method attaches the EditText to the container specific to this
492 * Externally visible method to bring up the dialog.
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DCompatUtils.java104 Object receiver, Object defaultValue, Method method, Object... args) {
105 if (method == null) return defaultValue;
107 return method.invoke(receiver, args);
103 invoke( Object receiver, Object defaultValue, Method method, Object... args) argument
/packages/apps/Email/src/com/android/email/
H A DVendorPolicyLoader.java34 * contain a class called "com.android.email.policy.EmailPolicy" with a static public method
111 Method method = null;
117 method = clazz.getMethod(GET_POLICY_METHOD, ARGS);
127 mPolicyMethod = method;
141 * Calls the getPolicy method in the policy apk, if one exists. This method never returns null;
208 * Note, if we get this far, we expect "correct" results from the policy method. But throwing
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DHttpClientFactory.java39 // TODO: migrate GDataClient to use this util method instead of apache's
96 Method method = clazz.getMethod("close", (Class<?>[]) null);
97 method.invoke(client, (Object[]) null);
H A DBitmapUtils.java199 Method method = clazz.getMethod("setDataSource", String.class);
200 method.invoke(instance, filePath);
202 // The method name changes between API Level 9 and 10.
/packages/apps/Settings/tests/src/com/android/settings/bluetooth/
H A DUtf8ByteLengthFilterTest.java36 method = "filter",
42 method = "Utf8ByteLengthFilter",
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEventViewUtils.java86 * Finds the index of the given method in the "methods" list. If the method isn't present
90 * With the current definitions, this effectively converts DEFAULT and unsupported method
94 * @param method the method to search for in the values list
95 * @return the index of the method in the "values" list
97 public static int findMethodInReminderList(ArrayList<Integer> values, int method) { argument
98 int index = values.indexOf(method);
101 //Log.d(TAG, "Cannot find method (" + method
[all...]
/packages/apps/Mms/src/com/android/mms/transaction/
H A DHttpUtils.java85 * A helper method to send or retrieve data through HTTP protocol.
88 * @param url The URL used in a GET request. Null when the method is
90 * @param pdu The data to be POST. Null when the method is HTTP_GET_METHOD.
91 * @param method HTTP_POST_METHOD or HTTP_GET_METHOD.
98 String url, byte[] pdu, int method, boolean isProxySet,
109 + ((method == HTTP_POST_METHOD) ? "POST"
110 : ((method == HTTP_GET_METHOD) ? "GET" : "UNKNOWN")));
129 switch(method) {
144 Log.e(TAG, "Unknown HTTP method: " + method
97 httpConnection(Context context, long token, String url, byte[] pdu, int method, boolean isProxySet, String proxyHost, int proxyPort) argument
[all...]
/packages/apps/Exchange/exchange2/src/com/android/exchange/
H A DEasSyncService.java1194 * @param method the method we are going to send
1197 /*package*/ void setHeaders(HttpRequestBase method, boolean usePolicyKey) { argument
1198 method.setHeader("Authorization", mAuthString);
1199 method.setHeader("MS-ASProtocolVersion", mProtocolVersion);
1200 method.setHeader("User-Agent", USER_AGENT);
1201 method.setHeader("Accept-Encoding", "gzip");
1213 method.setHeader("X-MS-PolicyKey", key);
1259 * Convenience method for executePostWithTimeout for use other than with the Ping command
1261 protected EasResponse executePostWithTimeout(HttpClient client, HttpPost method, in argument
1275 executePostWithTimeout(HttpClient client, HttpPost method, int timeout, boolean isPingCommand) argument
[all...]
/packages/apps/Browser/src/com/android/browser/search/
H A DOpenSearchSearchEngine.java176 HttpGet method = new HttpGet(url);
177 HttpResponse response = mHttpClient.execute(method);
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupNames.java30 import android.text.method.TextKeyListener;
31 import android.text.method.TextKeyListener.Capitalize;
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
H A DGoogleSuggestClient.java116 HttpGet method = new HttpGet(suggestUri);
117 HttpResponse response = mHttpClient.execute(method);
/packages/apps/Calculator/src/com/android/calculator2/
H A DCalculatorDisplay.java24 import android.text.method.NumberKeyListener;
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarEventModel.java105 * Returns a new ReminderEntry, with the specified minutes and method.
108 * @param method Type of alert ({@link Reminders#METHOD_ALERT}, etc).
110 public static ReminderEntry valueOf(int minutes, int method) { argument
112 return new ReminderEntry(minutes, method);
116 * Returns a ReminderEntry, with the specified number of minutes and a default alert method.
128 * @param method Type of alert ({@link Reminders#METHOD_ALERT}, etc).
130 private ReminderEntry(int minutes, int method) { argument
133 mMethod = method;
171 * secondarily ascending by method type.
188 /** Returns the alert method
[all...]
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DDbTestUtils.java137 public Bundle call(String method, String request, Bundle args) { argument
/packages/apps/Mms/src/com/android/mms/ui/
H A DEditSlideDurationActivity.java24 import android.text.method.NumberKeyListener;
H A DSlideListItemView.java28 import android.text.method.HideReturnsTransformationMethod;
98 // TODO Auto-generated method stub
102 // TODO Auto-generated method stub
111 // TODO Auto-generated method stub
138 // TODO Auto-generated method stub
150 // TODO Auto-generated method stub
154 // TODO Auto-generated method stub
158 // TODO Auto-generated method stub
163 // TODO Auto-generated method stub
168 // TODO Auto-generated method stu
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSearchActivity.java136 public boolean onSearchClicked(int method) {
137 return SearchActivity.this.onSearchClicked(method);
413 protected boolean onSearchClicked(int method) { argument
426 getLogger().logSearch(getCorpus(), method, query.length());

Completed in 1159 milliseconds

12