Searched defs:result (Results 351 - 375 of 680) sorted by last modified time

<<11121314151617181920>>

/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java242 private void includeFile(MatrixCursor result, String docId, File file) argument
270 final RowBuilder row = result.newRow();
286 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection));
292 final RowBuilder row = result.newRow();
300 return result;
441 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));
442 includeFile(result, documentId, null);
443 return result;
451 final MatrixCursor result = new DirectoryCursor(
454 includeFile(result, nul
[all...]
H A DTestDocumentsProvider.java132 final MatrixCursor result = new MatrixCursor(resolveRootProjection(projection));
133 final RowBuilder row = result.newRow();
141 return result;
150 final MatrixCursor result = new MatrixCursor(resolveDocumentProjection(projection));
151 includeFile(result, documentId, 0);
152 return result;
193 public boolean includeIfFinished(MatrixCursor result) { argument
196 includeFile(result, "_networkfile1", 0);
197 includeFile(result, "_networkfile2", 0);
198 includeFile(result, "_networkfile
393 includeFile(MatrixCursor result, String docId, int flags) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSimPinView.java175 abstract void onSimCheckResponse(final int result, final int attemptsRemaining); argument
183 final int[] result = ITelephony.Stub.asInterface(ServiceManager
186 Log.v(TAG, "supplyPinReportResult returned: " + result[0] + " " + result[1]);
190 onSimCheckResponse(result[0], result[1]);
249 void onSimCheckResponse(final int result, final int attemptsRemaining) {
256 if (result == PhoneConstants.PIN_RESULT_SUCCESS) {
261 if (result == PhoneConstants.PIN_PASSWORD_INCORRECT) {
277 + " CheckSimPin.onSimCheckResponse: " + result
[all...]
H A DKeyguardSimPukView.java227 abstract void onSimLockChangedResponse(final int result, final int attemptsRemaining); argument
233 final int[] result = ITelephony.Stub.asInterface(ServiceManager
236 Log.v(TAG, "supplyPukReportResult returned: " + result[0] + " " + result[1]);
240 onSimLockChangedResponse(result[0], result[1]);
313 void onSimLockChangedResponse(final int result, final int attemptsRemaining) {
320 if (result == PhoneConstants.PIN_RESULT_SUCCESS) {
325 if (result == PhoneConstants.PIN_PASSWORD_INCORRECT) {
/frameworks/base/packages/PrintSpooler/jni/
H A Dcom_android_printspooler_util_BitmapSerializeUtils.cpp93 int result = AndroidBitmap_getInfo(env, jbitmap, &targetInfo); local
94 if (result < 0) {
109 result = AndroidBitmap_lockPixels(env, jbitmap, &pixels);
110 if (result < 0) {
124 result = AndroidBitmap_unlockPixels(env, jbitmap);
125 if (result < 0) {
133 int result = AndroidBitmap_getInfo(env, jbitmap, &info); local
134 if (result < 0) {
148 result = AndroidBitmap_lockPixels(env, jbitmap, &pixels);
149 if (result <
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeService.java235 public void onProximityResult(int result) {
236 final boolean isNear = result == RESULT_NEAR;
574 abstract public void onProximityResult(int result); argument
584 // the pickup sensor interferes with the prox event, disable it until we have a result
611 private void finishWithResult(int result) { argument
620 onProximityResult(result);
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DKeyguardViewMediator.java1049 private void notifyScreenOnLocked(IKeyguardShowCallback result) { argument
1051 Message msg = mHandler.obtainMessage(NOTIFY_SCREEN_ON, result);
1245 // as a result of the callback, so remove any remaining messages from
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DGlobalScreenshot.java76 int result; field in class:SaveImageInBackgroundData
266 params[0].result = 0;
271 params[0].result = 1;
291 if (params.result > 0) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardClockPositionAlgorithm.java99 public void run(Result result) { argument
103 result.stackScrollerPaddingAdjustment = (int) (clockAdjustment*topPaddingAdjMultiplier);
105 + result.stackScrollerPaddingAdjustment;
107 result.clockY = y;
108 result.stackScrollerPadding = mKeyguardStatusHeight + padding;
109 result.clockScale = getClockScale(result.stackScrollerPadding,
110 result.clockY,
112 result.clockAlpha = getClockAlpha(result
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/util/
H A DIntArray.java44 public int[] toArray(int[] result) { argument
45 if (result == null || result.length < mSize) {
46 result = new int[mSize];
48 System.arraycopy(mData, 0, result, 0, mSize);
49 return result;
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java807 protected void onPostExecute(Boolean result) { argument
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardServiceWrapper.java118 public void onScreenTurnedOn(IKeyguardShowCallback result) { argument
120 mService.onScreenTurnedOn(result);
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp1828 jint result = -1; local
1842 result = JNI_VERSION_1_4;
1845 return result;
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java205 protected void onPostExecute(String result) { argument
209 myWebView.loadData(result, "text/html", null);
294 // Checks the user prefs and the network connection. Based on the result, decides
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java547 // password text itself; it's the result of a PBKDF2 hash with a randomly chosen (but
842 // cache the result in the active session
1423 byte[] result = new byte[bytes];
1425 result[i/2] = (byte) Integer.parseInt(digits.substring(i, i+2), 16);
1427 return result;
2700 // SHA-1 a byte array and return the result in hex
3185 int result = BackupTransport.TRANSPORT_OK;
3219 result = BackupTransport.AGENT_ERROR;
3224 result = BackupTransport.AGENT_ERROR;
3231 result
4273 setResult(int result) argument
[all...]
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java684 Bundle result = new Bundle();
685 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, false);
687 response.onResult(result);
713 public void onResult(Bundle result) {
714 if (result != null
715 && result.getBoolean(AccountManager.KEY_BOOLEAN_RESULT, false)) {
717 completeCloningAccount(response, result, account, toAccounts);
719 super.onResult(result);
756 public void onResult(Bundle result) {
760 super.onResult(result);
903 onResult(Bundle result) argument
1203 onResult(Bundle result) argument
1516 onResult(IAccountManagerResponse response, Bundle result) argument
2118 onResult(Bundle result) argument
2592 onResult(Bundle result) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActiveServices.java1862 "Unknown service start result: " + res);
2018 ArrayList<ServiceRecord> result) {
2037 result.add(service);
2015 collectForceStopServicesLocked(String name, int userId, boolean evenPersistent, boolean doit, ArrayMap<ComponentName, ServiceRecord> services, ArrayList<ServiceRecord> result) argument
H A DActivityManagerService.java356 // to respond with the result.
457 public Bundle result = null; field in class:ActivityManagerService.PendingAssistExtras
860 String result = Integer.toString(sourceUserId) + " @ " + uri.toString();
861 if (prefix) result += " [prefix]";
862 return result;
866 String result = Integer.toString(sourceUserId) + " @ " + uri.toSafeString();
867 if (prefix) result += " [prefix]";
868 return result;
1313 AppErrorResult res = (AppErrorResult) data.get("result");
1394 AppErrorResult res = (AppErrorResult) data.get("result");
[all...]
H A DAppErrorDialog.java39 AppErrorResult result, ProcessRecord app) {
46 mResult = result;
38 AppErrorDialog(Context context, ActivityManagerService service, AppErrorResult result, ProcessRecord app) argument
H A DProviderMap.java190 ArrayList<ContentProviderRecord> result) {
199 result.add(provider);
207 ArrayList<ContentProviderRecord> result) {
209 evenPersistent, userId, mSingletonByClass, result);
216 userId, mProvidersByClassPerUser.valueAt(i), result)) {
228 evenPersistent, userId, items, result);
187 collectForceStopProvidersLocked(String name, int appId, boolean doit, boolean evenPersistent, int userId, HashMap<ComponentName, ContentProviderRecord> providers, ArrayList<ContentProviderRecord> result) argument
205 collectForceStopProviders(String name, int appId, boolean doit, boolean evenPersistent, int userId, ArrayList<ContentProviderRecord> result) argument
H A DStrictModeViolationDialog.java43 AppErrorResult result, ProcessRecord app) {
50 mResult = result;
42 StrictModeViolationDialog(Context context, ActivityManagerService service, AppErrorResult result, ProcessRecord app) argument
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java282 null /* no result since this is a cancel */);
861 * Post a delayed message to the handler that will result in the cancellation of the provided
1195 public void onFinished(SyncResult result) { argument
1200 sendSyncFinishedOrCanceledMessage(this, result);
2769 runSyncFinishedOrCanceledLocked(null /* no result since this is a cancel */,
2799 + syncOperation + ", result " + syncResult);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DActiveSourceHandler.java97 private void invokeCallback(int result) { argument
102 mCallback.onComplete(result);
H A DDevicePowerStatusAction.java98 private void invokeCallback(int result) { argument
100 mCallback.onComplete(result);
H A DDeviceSelectAction.java204 private void invokeCallback(int result) { argument
209 mCallback.onComplete(result);

Completed in 797 milliseconds

<<11121314151617181920>>