/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
D | MapObexTestServer.java | 132 public int onPut(Operation operation) { in onPut() argument 136 HeaderSet reqHeaders = operation.getReceivedHeader(); in onPut() 142 step.mServerPreAction.execute(step, reqHeaders, operation); in onPut() 144 super.onPut(operation); in onPut() 159 public int onGet(Operation operation) { in onGet() argument 163 HeaderSet reqHeaders = operation.getReceivedHeader(); in onGet() 169 step.mServerPreAction.execute(step, reqHeaders, operation); in onGet() 171 super.onGet(operation); in onGet()
|
D | ObexTestServer.java | 77 public int onPut(Operation operation) { in onPut() argument 88 inStream = operation.openInputStream(); in onPut() 89 HeaderSet reqHeaders = operation.getReceivedHeader(); in onPut() 109 public int onGet(Operation operation) { in onGet() argument 120 outStream = operation.openOutputStream(); in onGet() 121 HeaderSet reqHeaders = operation.getReceivedHeader(); in onGet()
|
D | SdpManagerTestServer.java | 100 public int onPut(Operation operation) { in onPut() argument 110 public int onGet(Operation operation) { in onGet() argument 120 HeaderSet reqHeaders = operation.getReceivedHeader(); in onGet()
|
/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/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/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 …]
|
D | ndapi.c | 94 if (cursor->cond.operation == NJ_CUR_OP_LINK) { in check_search_cursor() 103 switch (cursor->cond.operation) { in check_search_cursor() 233 loctset->loct.status |= SET_LOCATION_OPERATION(cursor->cond.operation); in get_word_and_search_next_word() 238 (cursor->cond.operation == NJ_CUR_OP_FORE)) { in get_word_and_search_next_word()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarAlarmManager.java | 533 public void setExact(int type, long triggerAtTime, PendingIntent operation) { in setExact() argument 534 mAlarmManager.setExact(type, triggerAtTime, operation); in setExact() 537 public void setExactAndAllowWhileIdle(int type, long triggerAtTime, PendingIntent operation) { in setExactAndAllowWhileIdle() argument 538 mAlarmManager.setExactAndAllowWhileIdle(type, triggerAtTime, operation); in setExactAndAllowWhileIdle() 541 public void cancel(PendingIntent operation) { in cancel() argument 542 mAlarmManager.cancel(operation); in cancel()
|
D | SQLiteContentProvider.java | 231 final ContentProviderOperation operation = operations.get(i); in applyBatch() local 232 if (i > 0 && operation.isYieldAllowed()) { in applyBatch() 235 results[i] = operation.apply(this, results, i); in applyBatch()
|
/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/Browser/src/com/android/browser/provider/ |
D | SQLiteContentProvider.java | 213 final ContentProviderOperation operation = operations.get(i); in applyBatch() local 214 if (!callerIsSyncAdapter && isCallerSyncAdapter(operation.getUri())) { in applyBatch() 217 if (i > 0 && operation.isYieldAllowed()) { in applyBatch() 223 results[i] = operation.apply(this, results, i); in applyBatch()
|
/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/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregator2.java | 139 final int operation; in aggregateContact() local 142 operation = KEEP_INTACT; in aggregateContact() 148 operation = RE_AGGREGATE; in aggregateContact() 156 operation = KEEP_INTACT; in aggregateContact() 158 operation = CREATE_NEW_CONTACT; in aggregateContact() 162 if (operation == KEEP_INTACT) { in aggregateContact() 168 } 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/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2ForTesting.java | 61 public void setExact(int type, long triggerAtTime, PendingIntent operation) { in setExact() argument 66 PendingIntent operation) { in setExactAndAllowWhileIdle() argument 70 public void cancel(PendingIntent operation) { in cancel() argument
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 388 for (ContentProviderOperation operation : diff) { in saveContact() 389 Log.v(TAG, operation.toString()); in saveContact() 563 ContentProviderOperation operation = diff.get(i); in getInsertedRawContactId() local 564 if (operation.isInsert() && operation.getUri().getEncodedPath().contains( in getInsertedRawContactId() 796 for (ContentProviderOperation operation : rawContactOperations) { in addMembersToGroup() 797 Log.v(TAG, operation.toString()); in addMembersToGroup()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | AbstractContactsProvider.java | 221 final ContentProviderOperation operation = operations.get(i); in applyBatch() local 222 if (i > 0 && operation.isYieldAllowed()) { in applyBatch() 237 results[i] = operation.apply(this, results, i); in applyBatch()
|
/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
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 696 private SqlParams createSqlParams(String operation, Uri uri, String selection, in createSqlParams() argument 710 if (operation.equals(OP_QUERY) && callerHasReadTvListingsPermission()) { in createSqlParams() 725 if (!operation.equals(OP_QUERY)) { in createSqlParams() 726 throw new SecurityException(capitalize(operation) in createSqlParams() 789 if (operation.equals(OP_DELETE)) { in createSqlParams() 796 throw new UnsupportedOperationException(operation + " not permmitted on " + uri); in createSqlParams()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapVcardManager.java | 691 private Operation operation; field in BluetoothPbapVcardManager.HandlerForStringBuffer 698 operation = op; in HandlerForStringBuffer() 720 outputStream = operation.openOutputStream(); in onInit() 736 if (!BluetoothPbapObexServer.closeStream(outputStream, operation)) { in onTerminate()
|
/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()
|