Home
last modified time | relevance | path

Searched refs:sendBroadcast (Results 1 – 25 of 56) sorted by relevance

123

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DLockTaskUtilityActivity.java44 sendBroadcast(new Intent(CREATE_ACTION)); in onCreate()
50 sendBroadcast(new Intent(DESTROY_ACTION)); in onDestroy()
56 sendBroadcast(new Intent(RESUME_ACTION)); in onResume()
62 sendBroadcast(new Intent(PAUSE_ACTION)); in onPause()
80 sendBroadcast(new Intent(INTENT_ACTION)); in handleIntent()
/cts/hostsidetests/appsecurity/test-apps/NoRestartApp/src/com/android/cts/norestart/
DNoRestartActivity.java34 sendBroadcast(); in onCreate()
41 sendBroadcast(); in onNewIntent()
44 private void sendBroadcast() { in sendBroadcast() method in NoRestartActivity
48 sendBroadcast(intent); in sendBroadcast()
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/
DLifecycleActivity.java37 sendBroadcast(new Intent("android.intent.action.lifecycle_hasResumed")); in onResume()
43 sendBroadcast(new Intent("android.intent.action.lifecycle_onpause")); in onPause()
50 sendBroadcast(new Intent("android.intent.action.lifecycle_onstop")); in onStop()
57 sendBroadcast(new Intent("android.intent.action.lifecycle_ondestroy")); in onDestroy()
DFocusChangeActivity.java33 sendBroadcast(new Intent(Utils.GAINED_FOCUS)); in onWindowFocusChanged()
36 sendBroadcast(new Intent(Utils.LOST_FOCUS)); in onWindowFocusChanged()
DExtraAssistDataActivity.java63 sendBroadcast(new Intent(Utils.APP_3P_HASRESUMED)); in onResume()
DWebViewActivity.java46 sendBroadcast(new Intent(Utils.APP_3P_HASRESUMED)); in onCreate()
/cts/tests/tests/permission/src/android/permission/cts/
DTelephonyManagerPermissionTest.java180 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
185 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
190 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
196 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
202 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
208 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
213 getContext().sendBroadcast(intent); in testProtectedBroadcasts()
DNoBroadcastPackageRemovedPermissionTest.java67 mContext.sendBroadcast(createIntent(Intent.ACTION_PACKAGE_REMOVED)); in testSendBroadcast()
74 mContext.sendBroadcast(createIntent(Intent.ACTION_PACKAGE_REMOVED), in testSendBroadcast()
DRebootPermissionTest.java42 mContext.sendBroadcast(new Intent(Intent.ACTION_REBOOT)); in testBroadcastReboot()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleAdvertiserService.java200 sendBroadcast(new Intent(BLE_ADV_NOT_SUPPORT)); in handleIntent()
220 sendBroadcast(new Intent(BLE_START_ADVERTISE)); in handleIntent()
223 sendBroadcast(new Intent(BLE_STOP_ADVERTISE)); in handleIntent()
250 sendBroadcast(new Intent(BLE_START_POWER_LEVEL)); in handleIntent()
253 sendBroadcast(new Intent(BLE_STOP_POWER_LEVEL)); in handleIntent()
260 sendBroadcast(new Intent(BLE_START_SCANNABLE)); in handleIntent()
267 sendBroadcast(new Intent(BLE_START_UNSCANNABLE)); in handleIntent()
270 sendBroadcast(new Intent(BLE_STOP_SCANNABLE)); in handleIntent()
273 sendBroadcast(new Intent(BLE_STOP_UNSCANNABLE)); in handleIntent()
DBleClientService.java189 sendBroadcast(intent); in notifyConnected()
195 sendBroadcast(intent); in notifyDisconnected()
201 sendBroadcast(intent); in notifyServicesDiscovered()
208 sendBroadcast(intent); in notifyCharacteristicRead()
214 sendBroadcast(intent); in notifyCharacteristicWrite()
221 sendBroadcast(intent); in notifyCharacteristicChanged()
228 sendBroadcast(intent); in notifyDescriptorRead()
234 sendBroadcast(intent); in notifyDescriptorWrite()
240 sendBroadcast(intent); in notifyReliableWriteCompleted()
247 sendBroadcast(intent); in notifyReadRemoteRssi()
DBleServerService.java153 sendBroadcast(intent); in notifyOpenFail()
159 sendBroadcast(intent); in notifyConnected()
165 sendBroadcast(intent); in notifyDisconnected()
171 sendBroadcast(intent); in notifyServiceAdded()
177 sendBroadcast(intent); in notifyCharacteristicReadRequest()
183 sendBroadcast(intent); in notifyCharacteristicWriteRequest()
189 sendBroadcast(intent); in notifyDescriptorReadRequest()
195 sendBroadcast(intent); in notifyDescriptorWriteRequest()
201 sendBroadcast(intent); in notifyExecuteWrite()
DBleScannerService.java179 sendBroadcast(powerIntent); in onScanResult()
189 sendBroadcast(newIntent); in onScanResult()
197 sendBroadcast(responseIntent); in onScanResult()
219 sendBroadcast(scanIntent); in onScanResult()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java265 mContext.sendBroadcast(intent); in installCaCert()
274 mContext.sendBroadcast(intent); in removeCaCert()
283 mContext.sendBroadcast(intent); in verifyCaCert()
310 mContext.sendBroadcast(intent); in installKeyPair()
DScreenCaptureDisabledActivity.java32 sendBroadcast(new Intent(ACTIVITY_RESUMED)); in onResume()
DExampleIntentReceivingActivity1.java30 sendBroadcast(new Intent(CONFIRM_ACTION)); in onCreate()
DExampleIntentReceivingActivity2.java30 sendBroadcast(new Intent(CONFIRM_ACTION)); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DHceService.java45 sendBroadcast(completionIntent); in onApduSequenceComplete()
50 sendBroadcast(errorIntent); in onApduSequenceError()
/cts/tests/tests/telephony/src/android/telephony/cts/
DSmsReceiver.java28 context.sendBroadcast(new Intent(SmsManagerTest.SMS_DELIVER_DEFAULT_APP_ACTION)); in onReceive()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleActivityImmediateExit.java50 sendBroadcast(reply); in onStop()
DSimpleActivity.java45 sendBroadcast(reply); in onStart()
DSimpleActivityChainExit.java78 sendBroadcast(reply); in onStop()
/cts/hostsidetests/devicepolicy/app/AppRestrictionsTargetApp/src/com/android/cts/apprestrictions/targetapp/
DApplicationRestrictionsActivity.java53 sendBroadcast(new Intent(ACTION_RESTRICTIONS_VALUE) in handleIntent()
/cts/tests/tests/permission2/src/android/permission2/cts/
DProtectedBroadcastsTest.java94 getContext().sendBroadcast(intent); in testSendProtectedBroadcasts()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConstraintTest.java64 getContext().sendBroadcast(EXPEDITE_STABLE_CHARGING); in sendExpediteStableChargingBroadcast()

123