/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardDataTest.java | 321 public final int operation; field in DashboardDataTest.ListUpdateResult.ResultData 325 public ResultData(int operation, int arg1, int arg2) { in ResultData() argument 326 this.operation = operation; in ResultData() 343 return operation == targetData.operation && arg1 == targetData.arg1 in equals() 349 if (this.operation != resultData.operation) { in compareTo() 350 return operation - resultData.operation; in compareTo()
|
/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 | 124 operation = match.group(5) 135 if operation[0] == 'R': 140 elif operation[0] == 'W': 146 if operation[0] == 'R': 153 elif operation[0] == 'W':
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperations.java | 55 public static String start(Context context, FileOperation operation, Callback callback) { in start() argument 60 Intent intent = createBaseIntent(context, jobId, operation); in start() 62 callback.onOperationResult(Callback.STATUS_ACCEPTED, operation.getOpType(), in start() 63 operation.getSrc().getItemCount()); in start() 89 Context context, String jobId, FileOperation operation) { in createBaseIntent() argument 93 intent.putExtra(EXTRA_OPERATION, operation); in createBaseIntent()
|
D | FileOperationService.java | 203 FileOperation operation = intent.getParcelableExtra(EXTRA_OPERATION); in onStartCommand() local 204 handleOperation(jobId, operation); in onStartCommand() 213 private void handleOperation(String jobId, FileOperation operation) { in handleOperation() argument 221 + ". Ignoring job request for operation: " + operation + "."); in handleOperation() 225 Job job = operation.createJob(this, this, jobId, features); in handleOperation() 233 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/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/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/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/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/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 465 FileOperation operation = mLocalState.claimPendingOperation(); in handleCopyResult() local 470 operation.dispose(); in handleCopyResult() 474 operation.setDestination(data.getParcelableExtra(Shared.EXTRA_STACK)); in handleCopyResult() 477 operation, in handleCopyResult() 763 final FileOperation operation = new FileOperation.Builder() in transferDocuments() local 770 operation.setDestination(destination); in transferDocuments() 773 operation, in transferDocuments() 780 mLocalState.mPendingOperation = operation; in transferDocuments()
|
/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()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | CPOWrapper.java | 46 public void setOperation(ContentProviderOperation operation) { in setOperation() argument 47 this.mOperation = operation; in setOperation()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | CPOWrapper.java | 47 public void setOperation(ContentProviderOperation operation) { in setOperation() argument 48 this.mOperation = operation; in setOperation()
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | MockAlarmManager.java | 41 public void set(int actualAlarmType, long actualAlarmTime, PendingIntent operation) { in set() argument 42 Assert.assertNotNull(operation); in set()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertUtils.java | 90 public void set(int type, long triggerAtMillis, PendingIntent operation) { in createAlarmManager() 92 mgr.setExact(type, triggerAtMillis, operation); in createAlarmManager() 94 mgr.set(type, triggerAtMillis, operation); in createAlarmManager() argument
|