Home
last modified time | relevance | path

Searched refs:step (Results 1 – 25 of 57) sorted by relevance

123

/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DTestSequencer.java125 for(SeqStep step : mSequence) { in run()
126 long stepIndex = mSequence.indexOf(step); in run()
128 Log.i(TAG, "Executing step " + stepIndex + " of type: " + step.mType); in run()
130 switch(step.mType) { in run()
132 HeaderSet reqHeaders = step.mReqHeaders; in run()
138 step.validate(response, null); in run()
139 step.clientPostAction(response, null); in run()
143 HeaderSet reqHeaders = step.mReqHeaders; in run()
151 step.validate(null, op); in run()
152 step.clientPostAction(null, op); in run()
[all …]
DObexTest.java197 SeqStep step; in createBtPayloadTestSequence() local
199 step = sequencer.addStep(OPTYPE.CONNECT, sResponseCodeValidator); in createBtPayloadTestSequence()
202 step = sequencer.addStep(OPTYPE.PUT, sDataValidator); in createBtPayloadTestSequence()
203 step.mParams = defaultParams; in createBtPayloadTestSequence()
204 step.mUseSrm = true; in createBtPayloadTestSequence()
206 step = sequencer.addStep(OPTYPE.GET, sDataValidator); in createBtPayloadTestSequence()
207 step.mParams = defaultParams; in createBtPayloadTestSequence()
208 step.mUseSrm = true; in createBtPayloadTestSequence()
210 step = sequencer.addStep(OPTYPE.PUT, sDataValidator); in createBtPayloadTestSequence()
211 step.mParams = throttle100Params; in createBtPayloadTestSequence()
[all …]
DMapObexTestServer.java87 SeqStep step = mSequence.get(mOperationIndex); in onConnect() local
88 Assert.assertNotNull("invalid step index!", step); in onConnect()
89 if(step.mServerPreAction != null) { in onConnect()
90 step.mServerPreAction.execute(step, request, null); in onConnect()
110 SeqStep step = mSequence.get(mOperationIndex); in onDisconnect() local
111 Assert.assertNotNull("invalid step index!", step); in onDisconnect()
112 if(step.mServerPreAction != null) { in onDisconnect()
113 step.mServerPreAction.execute(step, request, null); in onDisconnect()
139 SeqStep step = mSequence.get(mOperationIndex); in onPut() local
140 Assert.assertNotNull("invalid step index!", step); in onPut()
[all …]
DMapStepsFolder.java33 SeqStep step; in addGoToMsgFolderSteps() local
38 step = sequencer.addStep(OPTYPE.GET, null); in addGoToMsgFolderSteps()
41 step.mReqHeaders = hs; in addGoToMsgFolderSteps()
42 step.mValidator = new MapBuildFolderStructurValidator(1, null); in addGoToMsgFolderSteps()
44 step = sequencer.addStep(OPTYPE.SET_PATH, ObexTest.getResponsecodevalidator()); in addGoToMsgFolderSteps()
47 step.mReqHeaders = hs; in addGoToMsgFolderSteps()
48 step.mClientPostAction = new MapSetClientFolder("telecom"); in addGoToMsgFolderSteps()
52 step = sequencer.addStep(OPTYPE.GET, null); in addGoToMsgFolderSteps()
55 step.mReqHeaders = hs; in addGoToMsgFolderSteps()
56 step.mValidator = new MapBuildFolderStructurValidator(1, null); in addGoToMsgFolderSteps()
[all …]
DMapStepsConvo.java26 SeqStep step; in addConvoListingSteps() local
34 step = addConvoListingStep(sequencer, in addConvoListingSteps()
44 step.mServerPreAction = new MapTestData.MapAddSmsMessages(count); in addConvoListingSteps()
47 step = addConvoListingStep(sequencer, in addConvoListingSteps()
58 step = addConvoListingStep(sequencer, in addConvoListingSteps()
69 step = addConvoListingStep(sequencer, in addConvoListingSteps()
80 step = addConvoListingStep(sequencer, in addConvoListingSteps()
91 step = addConvoListingStep(sequencer, in addConvoListingSteps()
102 step = addConvoListingStep(sequencer, in addConvoListingSteps()
113 step = addConvoListingStep(sequencer, in addConvoListingSteps()
[all …]
DSapServerTest.java397 SeqStep step = sequence.get(index); in addSubStep() local
398 step.add(request, response); in addSubStep()
410 for(SeqStep step : sequence) { in run()
413 if(step.requests != null) { in run()
414 for(SapMessage request : step.requests) { in run()
425 if(step.hasResponse() == true) { in run()
430 for(SapMessage response : step.responses) { in run()
443 for(SapMessage response : step.responses) { in run()
454 step.responses.remove(responseMatch); in run()
457 if(step.hasResponse() != true) { in run()
DMapObexLevelTest.java238 SeqStep step; in addConnectStep() local
241 step = sequencer.addStep(OPTYPE.CONNECT, null); in addConnectStep()
244 step.mReqHeaders = hs; in addConnectStep()
245 step.mValidator = new MapConnectValidator(); in addConnectStep()
257 public boolean validate(SeqStep step, HeaderSet response, Operation notUsed) in validate() argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCacheProcessing.java56 public boolean equals(CacheStep step) { in equals() argument
57 if (representations.size() != step.representations.size()) { in equals()
62 FilterRepresentation r2 = step.representations.get(i); in equals()
72 CacheStep step = new CacheStep(); in buildSteps() local
75 if (step.canMergeWith(representation)) { in buildSteps()
76 step.add(representation.copy()); in buildSteps()
78 steps.add(step); in buildSteps()
79 step = new CacheStep(); in buildSteps()
80 step.add(representation.copy()); in buildSteps()
83 steps.add(step); in buildSteps()
[all …]
/packages/apps/Email/
DCleanSpec.mk50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
53 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
55 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
56 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
57 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
58 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/com.android.email*)
59 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Email*)
[all …]
/packages/apps/Launcher3/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
52 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/Launcher2.apk)
53 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
54 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/Launcher2.apk)
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DPerNameExecutorTest.java50 step(); // run a1, b1 in testExecute()
53 step(); // run a2 in testExecute()
56 step(); // run a3 in testExecute()
58 step(); // should do nothing in testExecute()
67 step(); // run a1, b1 in testCancelPendingTasks()
73 step(); // do nothing in testCancelPendingTasks()
81 step(); // run a3, c1 in testCancelPendingTasks()
84 step(); // do nothing in testCancelPendingTasks()
109 private void step() { in step() method in PerNameExecutorTest
/packages/inputmethods/LatinIME/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/LatinIME*)
48 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/LatinIME.apk)
50 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libjni_latinime_intermediates)
51 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libjni_latinime_intermediates)
52 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libjni_latinime_intermediates)
53 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libjni_latinime_intermediates)
54 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libjni_latinime_intermediates)
/packages/apps/Gallery2/
DCleanSpec.mk46 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/Camera*)
47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Camera*)
48 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/Gallery*)
49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Gallery*)
50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Gallery*)
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Gallery*)
52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Gallery*)
/packages/apps/Launcher2/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
52 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/Launcher2.apk)
/packages/apps/UnifiedEmail/
DCleanSpec.mk50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/UnifiedEmail_intermediates)
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/UnifiedEmail_intermediates)
52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/UnifiedEmail_intermediates)
53 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/UnifiedEmail_intermediates)
54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/UnifiedEmail_intermediates)
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dsimdtest.cpp44 for (int step = 1; step < 32; step++) { in TestSkipWhitespace() local
48 for (size_t i = 0; i < 1024; i += step) in TestSkipWhitespace()
60 i += step; in TestSkipWhitespace()
/packages/services/Car/
DCleanSpec.mk48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.car*)
49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/PACKAGING/android.car*)
50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/android.support.car*)
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/PACKAGING/android.support.car*)
/packages/apps/Nfc/
DCleanSpec.mk51 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system/app/Nfc.apk)
52 $(call add-clean-step, rm -f $(PRODUCT_OUT)/system/app/NfcGoogle.apk)
53 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/NfcGoogle_intermediates)
/packages/services/Telecomm/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/Telecom_intermediates)
48 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/Telecomm)
49 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/Telecomm_intermediates)
/packages/apps/LegacyCamera/
DCleanSpec.mk46 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/APPS/Camera*)
47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Camera*)
48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Camera*)
/packages/providers/BookmarkProvider/
DCleanSpec.mk46 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Browser_intermediates)
47 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/Browser.apk)
48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Browser_intermediates)
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DBinaryDictOffdeviceUtils.java78 private String getStepDescription(final int step) { in getStepDescription() argument
79 switch (step) { in getStepDescription()
91 for (final int step : VALID_DECODER_CHAINS[mDecoderSpecIndex]) { in describeChain()
93 s.append(getStepDescription(step)); in describeChain()
110 for (final int step : VALID_DECODER_CHAINS[mDecoderSpecIndex]) { in getStream()
111 switch (step) { in getStream()
/packages/apps/LegacyCamera/src/com/android/camera/
DExif.java123 int step = 1; in pack() local
126 step = -1; in pack()
132 offset += step; in pack()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DBoundedRational.java546 private static BigInteger genFactorial(long n, long step) { in genFactorial() argument
547 if (n > 4 * step) { in genFactorial()
548 BigInteger prod1 = genFactorial(n, 2 * step); in genFactorial()
552 BigInteger prod2 = genFactorial(n - step, 2 * step); in genFactorial()
562 for (long i = n - step; i > 1; i -= step) { in genFactorial()
/packages/apps/Settings/
DCleanSpec.mk47 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Settings_intermediates)
48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Settings_intermediates)

123