Searched refs:code (Results 1 - 25 of 84) sorted by path

1234

/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_hfpclient.cpp545 static jboolean sendDtmfNative(JNIEnv *env, jobject object, jbyte code) { argument
550 if ( (status = sBluetoothHfpClientInterface->send_dtmf((char)code)) != BT_STATUS_SUCCESS) {
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientService.java364 public boolean sendDTMF(BluetoothDevice device, byte code) { argument
369 return service.sendDTMF(device, code);
673 public boolean sendDTMF(BluetoothDevice device, byte code) { argument
681 msg.arg1 = code;
H A DHeadsetClientStateMachine.java2672 private native boolean sendDtmfNative(byte code); argument
/packages/apps/Browser/src/com/android/browser/
H A DPhoneUi.java104 public boolean dispatchKey(int code, KeyEvent event) { argument
H A DUI.java137 boolean dispatchKey(int code, KeyEvent event); argument
H A DXLargeUi.java241 public boolean dispatchKey(int code, KeyEvent event) { argument
245 switch (code) {
/packages/apps/Calculator/
H A Darity-2.1.2.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/javia/ org/javia/arity/ org/javia/arity/Compiler ...
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventFragment.java785 public void setDoneCode(int code) { argument
786 mCode = code;
H A DEditEventHelper.java500 // TODO: clean up this code.
1085 // one to make it easier to handle in code as 0,1,2.
1388 public void setDoneCode(int code); argument
/packages/apps/Camera2/
H A DAndroid.mk25 --version-code $(version_code_package) \
/packages/apps/Camera2/src/com/android/camera/exif/
H A DExifData.java232 byte[] code = new byte[8];
233 System.arraycopy(buf, 0, code, 0, 8);
236 if (Arrays.equals(code, USER_COMMENT_ASCII)) {
238 } else if (Arrays.equals(code, USER_COMMENT_JIS)) {
240 } else if (Arrays.equals(code, USER_COMMENT_UNICODE)) {
/packages/apps/ContactsCommon/
H A DAndroid.mk49 # Open-source libphonenumber libraries as found in code.google.com/p/libphonenumber
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListFilter.java126 int code = filterType;
128 code = code * 31 + accountType.hashCode();
129 code = code * 31 + accountName.hashCode();
132 code = code * 31 + dataSet.hashCode();
134 return code;
258 * Adds the account query parameters to the given {@code uriBuilder}.
/packages/apps/Email/emailcommon/
H A DAndroid.mk18 # the emailcommon files themselves plus everything under src/org (apache code). All of our
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DPolicy.java293 int code = mRequireEncryption ? 1 : 0;
294 code += (mRequireEncryptionExternal ? 1 : 0) << 1;
295 code += (mRequireRemoteWipe ? 1 : 0) << 2;
296 code += (mMaxScreenLockTime << 3);
297 code += (mPasswordComplexChars << 6);
298 code += (mPasswordExpirationDays << 12);
299 code += (mPasswordHistory << 15);
300 code += (mPasswordMaxFails << 18);
301 code += (mPasswordMinLength << 22);
302 code
398 appendPolicy(StringBuilder sb, String code, int value) argument
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DOAuthAuthenticationActivity.java32 * should obtain an authorization code, which can be used to obtain access and
64 // providers use, or how the authentication code is returned.
84 mAuthenticationCode = uri.getQueryParameter("code");
143 public OAuthTokenLoader(Context context, String providerId, String code) { argument
146 mCode = code;
175 final String code = data.getString(EXTRA_AUTHENTICATION_CODE);
176 return new OAuthTokenLoader(this, providerId, code);
/packages/apps/Email/src/com/android/email/mail/internet/
H A DOAuthAuthenticator.java36 public static final String OAUTH_REQUEST_CODE = "code";
82 final String code) throws MessagingException, IOException {
94 nvp.add(new BasicNameValuePair(OAUTH_REQUEST_CODE, code));
81 requestAccess(final Context context, final String providerId, final String code) argument
/packages/apps/Email/src/com/android/email/mail/store/
H A DImapConnection.java187 // NOTE: Unlike similar code in POP3, I'm going to rethrow as-is. There is a lot
188 // of other code here that catches IOException and I don't want to break it.
241 * Create an {@link ImapResponseParser} from {@code mTransport.getInputStream()} and
351 // if the response code indicates an error occurred within the server, indicate that
508 final String code = ie.getResponseCode();
511 // if the response code indicates expired or bad credentials, throw a special exception
512 if (ImapConstants.AUTHENTICATIONFAILED.equals(code) ||
513 ImapConstants.EXPIRED.equals(code)) {
567 // if the response code indicates an error occurred within the server, indicate that
/packages/apps/Exchange/src/com/android/exchange/
H A DEasResponse.java39 // MSFT's custom HTTP result code indicating the need to provision
117 * Determine whether an HTTP code represents an authentication error
118 * @param code the HTTP code returned by the server
119 * @return whether or not the code represents an authentication error
121 private static boolean isAuthError(int code) { argument
122 return (code == HttpStatus.SC_UNAUTHORIZED) || (code == HttpStatus.SC_FORBIDDEN);
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DContactsSyncParser.java193 work.code = getValue();
208 home.code = getValue();
223 other.code = getValue();
333 work.state, work.country, work.code);
337 home.state, home.country, home.code);
341 other.state, other.country, other.code);
689 String code; field in class:ContactsSyncParser.Address
694 return city != null || country != null || code != null || state != null
1200 String country, String code) {
1207 cvCompareString(cv, StructuredPostal.POSTCODE, code)
1199 addPostal(Entity entity, int type, String street, String city, String state, String country, String code) argument
[all...]
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasAutoDiscover.java177 final int code = response.getStatus();
191 if (code == HttpStatus.SC_UNAUTHORIZED) {
194 } else if (code != HttpStatus.SC_OK) {
196 LogUtils.d(TAG, "Bad response code when posting autodiscover: %d", code);
H A DEasSearchGal.java65 final int code = response.getStatus();
66 if (code == HttpStatus.SC_OK) {
80 LogUtils.d(LogUtils.TAG, "GAL lookup returned %d", code);
/packages/apps/Gallery2/gallerycommon/
H A DAndroid.mk18 # the emailcommon files themselves plus everything under src/org (apache code). All of our
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
H A DExifData.java232 byte[] code = new byte[8];
233 System.arraycopy(buf, 0, code, 0, 8);
236 if (Arrays.equals(code, USER_COMMENT_ASCII)) {
238 } else if (Arrays.equals(code, USER_COMMENT_JIS)) {
240 } else if (Arrays.equals(code, USER_COMMENT_UNICODE)) {
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
H A DExifData.java232 byte[] code = new byte[8];
233 System.arraycopy(buf, 0, code, 0, 8);
236 if (Arrays.equals(code, USER_COMMENT_ASCII)) {
238 } else if (Arrays.equals(code, USER_COMMENT_JIS)) {
240 } else if (Arrays.equals(code, USER_COMMENT_UNICODE)) {

Completed in 1982 milliseconds

1234