/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardDataTest.java | 374 public final int operation; field in DashboardDataTest.ListUpdateResult.ResultData 378 public ResultData(int operation, int arg1, int arg2) { in ResultData() argument 379 this.operation = operation; in ResultData() 396 return operation == targetData.operation && arg1 == targetData.arg1 in equals() 402 if (this.operation != resultData.operation) { in compareTo() 403 return operation - resultData.operation; in compareTo() 415 return "op:" + operation + ",arg1:" + arg1 + ",arg2:" + arg2; in toString()
|
/packages/services/Car/tools/io_analysis/ |
D | check_io_trace.py | 77 operation = match.group(4) 90 if operation[0] == 'R': 94 elif operation[0] == 'W': 100 if operation[0] == 'R': 104 elif operation[0] == 'W': 117 operation = words[cmd_pos + 2] 118 if not operation.startswith("R"):
|
D | check_io_trace_all.py | 142 operation = match.group(5) 153 if 'R' in operation[0]: 158 elif 'W' in operation[0]: 164 if 'R' in operation[0]: 171 elif 'W' in operation[0]:
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperations.java | 58 public static String start(Context context, FileOperation operation, Callback callback, in start() argument 64 Intent intent = createBaseIntent(context, newJobId, operation); in start() 66 callback.onOperationResult(Callback.STATUS_ACCEPTED, operation.getOpType(), in start() 67 operation.getSrc().getItemCount()); in start() 93 Context context, String jobId, FileOperation operation) { in createBaseIntent() argument 97 intent.putExtra(EXTRA_OPERATION, operation); in createBaseIntent()
|
D | FileOperationService.java | 212 FileOperation operation = intent.getParcelableExtra(EXTRA_OPERATION); in onStartCommand() local 213 handleOperation(jobId, operation); in onStartCommand() 222 private void handleOperation(String jobId, FileOperation operation) { in handleOperation() argument 230 + ". Ignoring job request for operation: " + operation + "."); in handleOperation() 234 Job job = operation.createJob(this, this, jobId, features); in handleOperation() 242 Future<?> future = getExecutorService(operation.getOpType()).submit(job); in handleOperation()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderOperations.java | 67 Operation operation = new Operation(folder, add); in add() local 69 mOperations.put(folder.name, operation); in add() 108 Operation operation = mOperations.get(canonicalName); in hasApplyOperation() local 109 return operation.mAdd; in hasApplyOperation() 130 Operation operation = mOperations.get(canonicalName); in hasRemoveOperation() local 131 return !operation.mAdd; in hasRemoveOperation()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | OperationProgressDialog.java | 43 @StringRes int prepareResId, final FileOperation operation) { in OperationProgressDialog() argument 66 operation.addMessageListener(new Handler.Callback() { in OperationProgressDialog() 81 operation.removeMessageListener(this); in OperationProgressDialog() 91 FileOperation operation) { in create() argument 94 switch (operation.getOpType()) { in create() 116 return new OperationProgressDialog(activity, jobId, titleResId, prepareResId, operation); in create()
|
D | DialogController.java | 50 void showProgressDialog(String jobId, FileOperation operation); in showProgressDialog() argument 164 public void showProgressDialog(String jobId, FileOperation operation) { in showProgressDialog() argument 165 assert(operation.getOpType() != FileOperationService.OPERATION_UNKNOWN); in showProgressDialog() 167 if (!shouldShowProgressDialogForOperation(operation.getOpType())) { in showProgressDialog() 175 mCurrentProgressDialog = OperationProgressDialog.create(mActivity, jobId, operation); in showProgressDialog()
|
/packages/apps/TimeZoneUpdater/src/main/com/android/timezone/updater/ |
D | RulesCheckReceiver.java | 107 DistroOperation operation = getOperation(context, token); in onReceive() local 108 if (operation == null) { in onReceive() 116 Log.d(TAG, "Time zone operation: " + operation + " received."); in onReceive() 117 switch (operation.mType) { in onReceive() 126 handleCopyAndInstall(context, token, operation.mDistroFormatVersion, in onReceive() 127 operation.mDistroRulesVersion); in onReceive() 130 Log.w(TAG, "Unknown time zone operation: " + operation in onReceive()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarAlarmManager.java | 503 public void set(int type, long triggerAtTime, PendingIntent operation) { in set() argument 504 mAlarmManager.set(type, triggerAtTime, operation); in set() 507 public void setExact(int type, long triggerAtTime, PendingIntent operation) { in setExact() argument 508 mAlarmManager.setExact(type, triggerAtTime, operation); in setExact() 511 public void setExactAndAllowWhileIdle(int type, long triggerAtTime, PendingIntent operation) { in setExactAndAllowWhileIdle() argument 512 mAlarmManager.setExactAndAllowWhileIdle(type, triggerAtTime, operation); in setExactAndAllowWhileIdle() 515 public void cancel(PendingIntent operation) { in cancel() argument 516 mAlarmManager.cancel(operation); in cancel()
|
D | SQLiteContentProvider.java | 232 final ContentProviderOperation operation = operations.get(i); in applyBatch() local 233 if (i > 0 && operation.isYieldAllowed()) { in applyBatch() 236 results[i] = operation.apply(this, results, i); in applyBatch()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | ActionModeHandler.java | 238 mode.getMenuInflater().inflate(R.menu.operation, menu); in onCreateActionMode() 288 int operation = MediaObject.SUPPORT_ALL; in computeMenuOptions() local 293 operation &= support; in computeMenuOptions() 300 operation &= ~MediaObject.SUPPORT_EDIT; in computeMenuOptions() 304 operation &= SUPPORT_MULTIPLE_MASK; in computeMenuOptions() 307 return operation; in computeMenuOptions() 423 final int operation = computeMenuOptions(selected); in updateSupportedOperation() 456 MenuExecutor.updateMenuOperation(mMenu, operation); in updateSupportedOperation()
|
D | MenuExecutor.java | 345 MediaOperation operation = new MediaOperation(action, ids, listener); in startAction() local 346 mTask = mActivity.getBatchServiceThreadPoolIfAvailable().submit(operation, null); in startAction() 354 MediaOperation operation = new MediaOperation(action, ids, null); in startSingleItemAction() local 355 mTask = mActivity.getBatchServiceThreadPoolIfAvailable().submit(operation, null); in startSingleItemAction() 418 public MediaOperation(int operation, ArrayList<Path> items, in MediaOperation() argument 420 mOperation = operation; in MediaOperation()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | OpenWnnDictionaryImpl.java | 417 protected void createQuery( String keyString, WnnWord wnnWord, int operation, int order) { in createQuery() argument 422 if( operation != WnnDictionary.SEARCH_LINK ) { in createQuery() 426 switch( operation ) { in createQuery() 535 public int searchWord( int operation, int order, String keyString ) { in searchWord() argument 544 createQuery( keyString, null, operation, order ); in searchWord() 567 … int ret = OpenWnnDictionaryImplJni.searchWord( this.mWnnWork, operation, order, keyString ); in searchWord() 580 public int searchWord( int operation, int order, String keyString, WnnWord wnnWord ) { in searchWord() argument 589 createQuery( keyString, wnnWord, operation, order ); in searchWord() 612 … int ret = OpenWnnDictionaryImplJni.searchWord( this.mWnnWork, operation, order, keyString ); in searchWord()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2ForTesting.java | 61 public void set(int type, long triggerAtTime, PendingIntent operation) { in set() argument 65 public void setExact(int type, long triggerAtTime, PendingIntent operation) { in setExact() argument 70 PendingIntent operation) { in setExactAndAllowWhileIdle() argument 74 public void cancel(PendingIntent operation) { in cancel() argument
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
D | ndbdic.c | 100 static NJ_INT16 search_yomi_node(NJ_UINT8 operation, NJ_UINT8 *node, 605 if ((condition->operation == NJ_CUR_OP_FORE) && in search_node() 755 if (condition->operation == NJ_CUR_OP_FORE) { in search_node() 798 if ((condition->operation == NJ_CUR_OP_FORE) && in search_node() 847 if (condition->operation == NJ_CUR_OP_FORE) { in search_node() 1190 switch (con->operation) { in njd_b_search_word() 1226 switch (con->operation) { in njd_b_search_word() 1280 switch (con->operation) { in njd_b_search_word() 1641 ret = search_yomi_node(condition->operation, in search_node2() 1661 if (condition->operation == NJ_CUR_OP_FORE) { in search_node2() [all …]
|
D | ndldic.c | 178 if ((con->operation == NJ_CUR_OP_COMP) || in njd_l_search_word() 179 (con->operation == NJ_CUR_OP_FORE)){ in njd_l_search_word() 189 switch (con->operation) { in njd_l_search_word() 198 return get_cand_by_sequential(iwnn, con, loctset, con->operation, comp_flg); in njd_l_search_word() 204 return get_cand_by_sequential(iwnn, con, loctset, con->operation, 0); in njd_l_search_word() 223 return get_cand_by_evaluate(iwnn, con, loctset, con->operation); in njd_l_search_word() 225 ret = get_cand_by_evaluate2(iwnn, con, loctset, con->operation, hIdx); in njd_l_search_word() 229 ret = get_cand_by_evaluate2(iwnn, con, loctset, con->operation, hIdx); in njd_l_search_word() 250 return get_cand_by_sequential(iwnn, con, loctset, con->operation, 0); in njd_l_search_word() 253 return get_cand_by_evaluate(iwnn, con, loctset, con->operation); in njd_l_search_word() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 466 FileOperation operation = mLocalState.claimPendingOperation(); in onCopyDestinationPicked() local 471 operation.dispose(); in onCopyDestinationPicked() 475 operation.setDestination(data.getParcelableExtra(Shared.EXTRA_STACK)); in onCopyDestinationPicked() 477 mInjector.dialogs.showProgressDialog(jobId, operation); in onCopyDestinationPicked() 480 operation, in onCopyDestinationPicked() 784 final FileOperation operation = new FileOperation.Builder() in transferDocuments() local 791 operation.setDestination(destination); in transferDocuments() 793 mInjector.dialogs.showProgressDialog(jobId, operation); in transferDocuments() 796 operation, in transferDocuments() 804 mLocalState.mPendingOperation = operation; in transferDocuments()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalImage.java | 239 int operation = SUPPORT_DELETE | SUPPORT_SHARE | SUPPORT_CROP in getSupportedOperations() local 242 operation |= SUPPORT_FULL_IMAGE | SUPPORT_EDIT; in getSupportedOperations() 246 operation |= SUPPORT_ROTATE; in getSupportedOperations() 250 operation |= SUPPORT_SHOW_ON_MAP; in getSupportedOperations() 252 return operation; in getSupportedOperations()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputConnection.java | 433 final int operation, final long timeout, final int n, final int flags) { in getTextBeforeCursorAndDetectLaggyConnection() argument 440 detectLaggyConnection(operation, timeout, startTime); in getTextBeforeCursorAndDetectLaggyConnection() 452 final int operation, final long timeout, final int n, final int flags) { in getTextAfterCursorAndDetectLaggyConnection() argument 459 detectLaggyConnection(operation, timeout, startTime); in getTextAfterCursorAndDetectLaggyConnection() 463 …private void detectLaggyConnection(final int operation, final long timeout, final long startTime) { in detectLaggyConnection() argument 466 final String operationName = OPERATION_NAMES[operation]; in detectLaggyConnection() 468 StatsUtils.onInputConnectionLaggy(operation, duration); in detectLaggyConnection()
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | SQLiteContentProvider.java | 223 final ContentProviderOperation operation = operations.get(i); in applyBatch() local 224 if (!callerIsSyncAdapter && isCallerSyncAdapter(operation.getUri())) { in applyBatch() 227 if (i > 0 && operation.isYieldAllowed()) { in applyBatch() 233 results[i] = operation.apply(this, results, i); in applyBatch()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/database/ |
D | AnnotatedCallLogContentProvider.java | 274 ContentProviderOperation operation = operations.get(i); in applyBatch() local 275 int match = uriMatcher.match(operation.getUri()); in applyBatch() 285 throw new IllegalArgumentException("Unknown uri: " + operation.getUri()); in applyBatch() 287 ContentProviderResult result = operation.apply(this, results, i); in applyBatch()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/services/ |
D | FileOperationServiceTest.java | 307 TestFileOperation operation = new TestFileOperation(OPERATION_COPY, urisSupplier, stack); in createCopyIntent() local 309 return createBaseIntent(getContext(), createJobId(), operation); in createCopyIntent() 321 TestFileOperation operation = new TestFileOperation(OPERATION_DELETE, urisSupplier, stack); in createDeleteIntent() local 323 return createBaseIntent(getContext(), createJobId(), operation); in createDeleteIntent()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator2.java | 141 final int operation; in aggregateContact() local 144 operation = KEEP_INTACT; in aggregateContact() 150 operation = RE_AGGREGATE; in aggregateContact() 158 operation = KEEP_INTACT; in aggregateContact() 160 operation = CREATE_NEW_CONTACT; in aggregateContact() 164 if (operation == KEEP_INTACT) { in aggregateContact() 170 } else if (operation == CREATE_NEW_CONTACT) { in aggregateContact()
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/ |
D | OpenWnnDictionaryImplJni.c | 385 (JNIEnv *env, jobject obj, jlong wnnWork, jint operation, jint order, jstring keyString) in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord() argument 389 if( !( operation == jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_SEARCH_EXACT || in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord() 390 operation == jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_SEARCH_PREFIX || in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord() 391 operation == jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_SEARCH_LINK ) || in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord() 413 work->cursor.cond.operation = operation; in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord() 420 if( operation == jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_SEARCH_LINK ) { in Java_jp_co_omronsoft_openwnn_OpenWnnDictionaryImplJni_searchWord()
|