/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | MockInCallService.java | 50 public void onCallAdded(Call call, int numCalls) {}; in onCallAdded() argument 51 public void onCallRemoved(Call call, int numCalls) {}; in onCallRemoved() argument 52 public void onCallStateChanged(Call call, int state) {}; in onCallStateChanged() argument 53 public void onParentChanged(Call call, Call parent) {}; in onParentChanged() argument 54 public void onChildrenChanged(Call call, List<Call> children) {}; in onChildrenChanged() argument 55 public void onConferenceableCallsChanged(Call call, List<Call> conferenceableCalls) {}; in onConferenceableCallsChanged() argument 56 public void onCallDestroyed(Call call) {}; in onCallDestroyed() argument 57 public void onDetailsChanged(Call call, Call.Details details) {}; in onDetailsChanged() argument 61 public void onPostDialWait(Call call, String remainingPostDialSequence) {} in onPostDialWait() argument 62 public void onCannedTextResponsesLoaded(Call call, List<String> cannedTextResponses) {} in onCannedTextResponsesLoaded() argument [all …]
|
D | BackgroundCallAudioTest.java | 91 Call call = mInCallCallbacks.getService().getLastCall(); in testAudioProcessingFromCallScreeningAllow() local 92 assertCallState(call, Call.STATE_AUDIO_PROCESSING); in testAudioProcessingFromCallScreeningAllow() 100 verifySimulateRingAndUserPickup(call, connection); in testAudioProcessingFromCallScreeningAllow() 117 Call call = mInCallCallbacks.getService().getLastCall(); in testHoldAfterAudioProcessingFromCallScreening() local 118 assertCallState(call, Call.STATE_AUDIO_PROCESSING); in testHoldAfterAudioProcessingFromCallScreening() 126 verifySimulateRingAndUserPickup(call, connection); in testHoldAfterAudioProcessingFromCallScreening() 128 call.hold(); in testHoldAfterAudioProcessingFromCallScreening() 129 assertCallState(call, Call.STATE_HOLDING); in testHoldAfterAudioProcessingFromCallScreening() 130 call.unhold(); in testHoldAfterAudioProcessingFromCallScreening() 131 assertCallState(call, Call.STATE_ACTIVE); in testHoldAfterAudioProcessingFromCallScreening() [all …]
|
D | VideoCallTest.java | 69 final Call call = inCallService.getLastCall(); in testMakeTwoWayVideoCall() local 71 assertCallState(call, Call.STATE_DIALING); in testMakeTwoWayVideoCall() 73 assertCallState(call, Call.STATE_ACTIVE); in testMakeTwoWayVideoCall() 75 assertVideoState(call, VideoProfile.STATE_BIDIRECTIONAL); in testMakeTwoWayVideoCall() 76 assertVideoCallbackRegistered(inCallService, call, true); in testMakeTwoWayVideoCall() 91 final Call call = inCallService.getLastCall(); in testMakeOneWayVideoCall() local 93 assertVideoState(call, VideoProfile.STATE_TX_ENABLED); in testMakeOneWayVideoCall() 94 assertVideoCallbackRegistered(inCallService, call, true); in testMakeOneWayVideoCall() 109 final Call call = inCallService.getLastCall(); in testUpgradeToVideo() local 110 assertVideoState(call, VideoProfile.STATE_AUDIO_ONLY); in testUpgradeToVideo() [all …]
|
D | ExtendedInCallServiceTest.java | 80 final Call call = inCallService.getLastCall(); in testMuteAndUnmutePhone() local 82 assertCallState(call, Call.STATE_DIALING); in testMuteAndUnmutePhone() 107 final Call call = inCallService.getLastCall(); in testSwitchAudioRoutes() local 108 assertCallState(call, Call.STATE_DIALING); in testSwitchAudioRoutes() 167 final Call call = inCallService.getLastCall(); in testPlayAndStopDtmfTones() local 168 assertCallState(call, Call.STATE_DIALING); in testPlayAndStopDtmfTones() 172 call.playDtmfTone('1'); in testPlayAndStopDtmfTones() 175 call.playDtmfTone('2'); in testPlayAndStopDtmfTones() 178 call.stopDtmfTone(); in testPlayAndStopDtmfTones() 181 call.playDtmfTone('3'); in testPlayAndStopDtmfTones() [all …]
|
D | RttOperationsTest.java | 65 final Call call = inCallService.getLastCall(); in testOutgoingRttCall() local 67 verifyRttEnabled(call, connection); in testOutgoingRttCall() 79 final Call call = inCallService.getLastCall(); in testIncomingRttCall() local 81 verifyRttEnabled(call, connection); in testIncomingRttCall() 92 final Call call = inCallService.getLastCall(); in testLocalRttUpgradeAccepted() local 93 verifyRttDisabled(call); in testLocalRttUpgradeAccepted() 97 call.sendRttRequest(); in testLocalRttUpgradeAccepted() 105 verifyRttEnabled(call, connection); in testLocalRttUpgradeAccepted() 116 final Call call = inCallService.getLastCall(); in testLocalRttUpgradeRejected() local 117 verifyRttDisabled(call); in testLocalRttUpgradeRejected() [all …]
|
D | HandoverTest.java | 80 Call call = mInCallCallbacks.getService().getLastCall(); in testHandoverSourceFailed() local 82 call.handoverTo(TestUtils.TEST_SELF_MANAGED_HANDLE_1, VideoProfile.STATE_BIDIRECTIONAL, in testHandoverSourceFailed() 89 assertEquals(call, callbackCall); in testHandoverSourceFailed() 92 call.disconnect(); in testHandoverSourceFailed() 104 Call call = mInCallCallbacks.getService().getLastCall(); in testHandoverDestinationFailed() local 107 call.handoverTo(TestUtils.TEST_SELF_MANAGED_HANDLE_1, VideoProfile.STATE_BIDIRECTIONAL, in testHandoverDestinationFailed() 114 assertEquals(call, callbackCall); in testHandoverDestinationFailed() 117 call.disconnect(); in testHandoverDestinationFailed() 131 final Call call = mInCallCallbacks.getService().getLastCall(); in testOutgoingHandoverRequestValid() local 134 call.handoverTo(TestUtils.TEST_HANDOVER_DEST_PHONE_ACCOUNT_HANDLE, in testOutgoingHandoverRequestValid() [all …]
|
D | ExternalCallTest.java | 76 Call call = placeExternalCall(); in testPullExternalCall() local 80 call.pullExternalCall(); in testPullExternalCall() 92 Call call = placeExternalCall(); in testNonPullableExternalCall() local 96 assertCallCapabilities(call, 0); in testNonPullableExternalCall() 102 call.pullExternalCall(); in testNonPullableExternalCall() 117 Call call = placeExternalCall(); in testPullCallCapabilityRemovedInEmergencyCall() local 127 assertDoesNotHaveCallCapabilities(call, Call.Details.CAPABILITY_CAN_PULL_CALL); in testPullCallCapabilityRemovedInEmergencyCall() 139 Call call = placeExternalCall(); in testTryToPullCallWhileInEmergencyCall() local 152 call.pullExternalCall(); in testTryToPullCallWhileInEmergencyCall() 164 Call call = getInCallService().getLastCall(); in placeExternalCall() local [all …]
|
D | WiredHeadsetTest.java | 46 final Call call = mInCallCallbacks.getService().getLastCall(); in testIncomingCallShortPress_acceptsCall() local 47 assertCallState(call, Call.STATE_RINGING); in testIncomingCallShortPress_acceptsCall() 51 assertCallState(call, Call.STATE_ACTIVE); in testIncomingCallShortPress_acceptsCall() 63 final Call call = mInCallCallbacks.getService().getLastCall(); in testIncomingCallLongPress_rejectsCall() local 64 assertCallState(call, Call.STATE_RINGING); in testIncomingCallLongPress_rejectsCall() 68 assertCallState(call, Call.STATE_DISCONNECTED); in testIncomingCallLongPress_rejectsCall() 102 final Call call = mInCallCallbacks.getService().getLastCall(); in testInCallShortPress_hangupCall() local 103 assertCallState(call, Call.STATE_DIALING); in testInCallShortPress_hangupCall() 106 assertCallState(call, Call.STATE_ACTIVE); in testInCallShortPress_hangupCall() 109 assertCallState(call, Call.STATE_DISCONNECTED); in testInCallShortPress_hangupCall()
|
/cts/tests/tests/telecom3/src/android/telecom/cts/ |
D | SelfManagedAwareInCallService.java | 44 public void onStateChanged(Call call, int state) { in onStateChanged() argument 50 public void onDetailsChanged(Call call, Call.Details details) { in onDetailsChanged() argument 55 public void onCallDestroyed(Call call) { in onCallDestroyed() argument 114 public void onCallAdded(Call call) { in onCallAdded() argument 115 super.onCallAdded(call); in onCallAdded() 116 if (!mCalls.contains(call)) { in onCallAdded() 117 mCalls.add(call); in onCallAdded() 119 call.registerCallback(callback); in onCallAdded() 120 mCallCallbacks.put(call, callback); in onCallAdded() 126 public void onCallRemoved(Call call) { in onCallRemoved() argument [all …]
|
D | SelfManagedAwareInCallServiceTest.java | 134 Call call = SelfManagedAwareInCallService.getInCallService().waitForCallAdded(); in testInCallServiceOutgoing() local 135 assertNotNull(call); in testInCallServiceOutgoing() 136 assertTrue(call.getDetails().hasProperty(Call.Details.PROPERTY_SELF_MANAGED)); in testInCallServiceOutgoing() 137 assertEquals(TEST_ADDRESS_1, call.getDetails().getHandle()); in testInCallServiceOutgoing() 158 Call call = SelfManagedAwareInCallService.getInCallService().waitForCallAdded(); in testInCallServiceIncoming() local 159 assertNotNull(call); in testInCallServiceIncoming() 160 assertTrue(call.getDetails().hasProperty(Call.Details.PROPERTY_SELF_MANAGED)); in testInCallServiceIncoming() 161 assertEquals(TEST_ADDRESS_1, call.getDetails().getHandle()); in testInCallServiceIncoming() 181 Call call = SelfManagedAwareInCallService.getInCallService().waitForCallAdded(); in testSelfManagedSignalling() local 182 assertNotNull(call); in testSelfManagedSignalling() [all …]
|
/cts/hostsidetests/security/ |
D | Android.mk | 15 LOCAL_PATH := $(call my-dir) 19 LOCAL_SRC_FILES := $(call all-java-files-under, src) 37 selinux_plat_seapp_contexts := $(call intermediates-dir-for,ETC,plat_seapp_contexts)/plat_seapp_con… 39 selinux_plat_seapp_neverallows := $(call intermediates-dir-for,ETC,plat_seapp_neverallows)/plat_sea… 41 selinux_plat_file_contexts := $(call intermediates-dir-for,ETC,plat_file_contexts)/plat_file_contex… 43 selinux_plat_property_contexts := $(call intermediates-dir-for,ETC,plat_property_contexts)/plat_pro… 45 selinux_plat_service_contexts := $(call intermediates-dir-for,ETC,plat_service_contexts)/plat_servi… 64 selinux_general_policy := $(call intermediates-dir-for,ETC,general_sepolicy.conf)/general_sepolicy.… 70 LOCAL_GENERATED_SOURCES := $(call local-generated-sources-dir)/android/cts/security/SELinuxNeverall… 81 include $(call all-makefiles-under,$(LOCAL_PATH))
|
/cts/ |
D | CleanSpec.mk | 47 $(call add-clean-step, rm -rf $(HOST_OUT_INTERMEDIATES)/EXECUTABLES/vm-tests-tf_intermediates) 48 $(call add-clean-step, rm -rf $(OUT_DIR)/host/common/obj/JAVA_LIBRARIES/cts-tradefed_intermediates/… 49 $(call add-clean-step, rm -rf $(HOST_OUT)/cts/android-cts/testcases/CtsUiHostTestCases*) 50 $(call add-clean-step, rm -rf $(HOST_OUT)/cts_instant/android-cts_instant/testcases/CtsJobScheduler… 51 $(call add-clean-step, rm -rf $(HOST_OUT)/cts_instant/android-cts_instant/testcases/CtsUiHostTestCa… 52 $(call add-clean-step, rm -rf $(HOST_OUT)/cts_instant/android-cts_instant/testcases/CtsDpiTestCases… 53 $(call add-clean-step, rm -rf $(HOST_OUT_INTERMEDIATES)/JAVA_LIBRARIES/CtsSecurityHostTestCases_int…
|
/cts/tests/tests/telecom/src/android/telecom/cts/carmodetestapp/ |
D | CtsCarModeInCallService.java | 64 public void onCallAdded(Call call) { in onCallAdded() argument 65 Log.i(TAG, "onCallAdded - " + call); in onCallAdded() 67 mCalls.add(call); in onCallAdded() 71 public void onCallRemoved(Call call) { in onCallRemoved() argument 72 Log.i(TAG, "onCallRemoved - " + call); in onCallRemoved() 74 mCalls.remove(call); in onCallRemoved() 101 for (Call call : mCalls) { in disconnectCalls() 102 call.disconnect(); in disconnectCalls()
|
/cts/apps/CtsVerifier/ |
D | Android.mk | 17 LOCAL_PATH:= $(call my-dir) 37 $(call java-files-in, src/com/android/cts/verifier) \ 38 $(call all-Iaidl-files-under, src) 75 $(call intermediates-dir-for,APPS,$(1))/package.apk 83 && adb install -r -t $(call apk-location-for,$(app))) \ 84 && adb install -r --instant $(call apk-location-for,$(pre-installed-instant-app)) \ 117 $(verifier-zip) : $(foreach app,$(apps-to-include),$(call apk-location-for,$(app))) 118 $(verifier-zip) : $(call intermediates-dir-for,APPS,CtsVerifier)/package.apk | $(ACP) 122 $(ACP) -fp $(call apk-location-for,$(app)) $(verifier-dir)/$(app).apk;) 126 $(call dist-for-goals, cts, $(verifier-zip):$(verifier-zip-name)) [all …]
|
/cts/tests/tests/telecom/Api29InCallServiceTestApp/src/android/telecom/cts/api29incallservice/ |
D | CtsApi29InCallService.java | 45 public void onCallAdded(Call call) { in onCallAdded() argument 46 super.onCallAdded(call); in onCallAdded() 47 if (!sCalls.contains(call)) { in onCallAdded() 50 sCalls.add(call); in onCallAdded() 55 public void onCallRemoved(Call call) { in onCallRemoved() argument 56 super.onCallRemoved(call); in onCallRemoved() 57 sCalls.remove(call); in onCallRemoved()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SipAudioCallTest.java | 45 SipAudioCall call = new SipAudioCall(mContext, sipProfile); in testSetAndGetAudioGroup() local 48 call.setAudioGroup(audioGroup1); in testSetAndGetAudioGroup() 49 assertEquals(AudioGroup.MODE_NORMAL, call.getAudioGroup().getMode()); in testSetAndGetAudioGroup() 53 call.setAudioGroup(audioGroup2); in testSetAndGetAudioGroup() 54 assertEquals(AudioGroup.MODE_MUTED, call.getAudioGroup().getMode()); in testSetAndGetAudioGroup()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/dialer/ |
D | DialerCallTestService.java | 58 public void onCallAdded(Call call) { in onCallAdded() argument 59 if (call.getState() == Call.STATE_RINGING) { in onCallAdded() 61 CtsIncomingCall.getInstance().setCall(call); in onCallAdded() 63 if (call.getDetails().getHandle() != null) { in onCallAdded() 64 intent.putExtra(EXTRA_CALL_NAME, call.getDetails().getHandle().getSchemeSpecificPart()); in onCallAdded()
|
/cts/tests/tests/renderscript/ |
D | Android.mk | 15 LOCAL_PATH:= $(call my-dir) 39 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) 49 include $(call all-makefiles-under,$(LOCAL_PATH))
|
/cts/tests/tests/rsblas/ |
D | Android.mk | 15 LOCAL_PATH:= $(call my-dir) 36 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) 46 include $(call all-makefiles-under,$(LOCAL_PATH))
|
/cts/tests/signature/api/ |
D | Android.mk | 17 LOCAL_PATH := $(call my-dir) 37 $(if $(call math_is_number,$(ver)),\ 39 … $(eval $(call build_xml_api_file,system-$(ver).api,prebuilts/sdk/$(ver)/system/api/android.txt))\ 44 $(foreach ver,$(call int_range_list,28,$(PLATFORM_SDK_VERSION)),\ 48 …$(eval $(call build_xml_api_file,$(lib)-$(ver)-$(api_level).api,prebuilts/sdk/$(ver)/$(api_level)/…
|
/cts/tools/vm-tests-tf/ |
D | Android.mk | 15 LOCAL_PATH := $(call my-dir) 22 LOCAL_SRC_FILES := $(call all-java-files-under, src) 42 LOCAL_SRC_FILES := $(call all-java-files-under, src build/src) 68 intermediates := $(call local-intermediates-dir) 82 $(call intermediates-dir-for,JAVA_LIBRARIES,cts-vmtests-dot,HOST,COMMON)/classes.jar 85 $(call intermediates-dir-for,JAVA_LIBRARIES,vmtests-generated-resources,HOST)/javalib.jar 87 $(call intermediates-dir-for,JAVA_LIBRARIES,vmtests-mains,,COMMON)/javalib.jar 90 $(LOCAL_BUILT_MODULE): PRIVATE_INTERMEDIATES_CLASSES := $(call intermediates-dir-for,JAVA_LIBRARIES… 93 $(LOCAL_BUILT_MODULE): PRIVATE_CLASS_PATH := $(call normalize-path-list, $(vmteststf_dep_jars)) 121 include $(call all-makefiles-under,$(LOCAL_PATH))
|
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
D | utils.h | 37 #define GL_CALL(call) \ argument 39 call; \ 45 #define GL_CALL(call) \ argument 47 call; \
|
/cts/tests/tests/telecom/ThirdPtyInCallServiceTestApp/src/android/telecom/cts/thirdptyincallservice/ |
D | CtsThirdPartyInCallService.java | 67 public void onCallAdded(Call call) { in onCallAdded() argument 69 super.onCallAdded(call); in onCallAdded() 70 sCalls.add(call); in onCallAdded() 74 public void onCallRemoved(Call call) { in onCallRemoved() argument 76 super.onCallRemoved(call); in onCallRemoved() 77 sCalls.add(call); in onCallRemoved()
|
/cts/tests/camera/ |
D | Android.mk | 15 LOCAL_PATH:= $(call my-dir) 42 $(call all-java-files-under, src) \ 43 $(call all-renderscript-files-under, src) 60 include $(call all-makefiles-under,$(LOCAL_PATH))
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | Utils.java | 49 private static void call(Intent intent) { in call() method in Utils 52 getContext().getContentResolver().call(UtilsProvider.URI, "", "", extras); in call() 88 call(intent); in grantClipUriPermission() 97 call(intent); in grantClipUriPermissionViaContext() 105 call(intent); in revokeClipUriPermissionViaContext() 112 call(intent); in setPrimaryClip() 118 call(intent); in clearPrimaryClip() 125 call(intent); in verifyOutgoingPersisted()
|