/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39796/src/android/security/cts/CVE_2021_39796/ |
D | PocService.java | 32 public static Button mButton; field in PocService 73 if (mWindowManager != null && mButton != null) { in onDestroy() 74 mWindowManager.removeView(mButton); in onDestroy() 82 mButton = new Button(getApplicationContext()); in showFloatingWindow() 83 mButton.setText("OverlayButton"); in showFloatingWindow() 84 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow() 85 mButton.setTag(mButton.getVisibility()); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39692/src/android/security/cts/CVE_2021_39692/ |
D | PocService.java | 34 private Button mButton; field in PocService 75 if (mWindowManager != null && mButton != null) { in onDestroy() 76 mWindowManager.removeView(mButton); in onDestroy() 83 mButton = new Button(getApplicationContext()); in showFloatingWindow() 84 mButton.setText(context.getString(R.string.overlayButtonText)); in showFloatingWindow() 85 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow() 86 mButton.setTag(mButton.getVisibility()); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0523/src/android/security/cts/CVE_2021_0523/ |
D | PocService.java | 31 public static Button mButton; field in PocService 72 if (mWindowManager != null && mButton != null) { in onDestroy() 73 mWindowManager.removeView(mButton); in onDestroy() 80 mButton = new Button(getApplicationContext()); in showFloatingWindow() 81 mButton.setText(getResources().getString(R.string.overlay_button)); in showFloatingWindow() 82 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow() 89 mButton.setTag(mButton.getVisibility()); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2020-0015/src/android/security/cts/CVE_2020_0015/ |
D | PocService.java | 34 private Button mButton; field in PocService 75 if (mWindowManager != null && mButton != null) { in onDestroy() 76 mWindowManager.removeView(mButton); in onDestroy() 85 mButton = new Button(getApplicationContext()); in showFloatingWindow() 86 mButton.setText(context.getString(R.string.overlayButtonText)); in showFloatingWindow() 87 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow() 88 mButton.setTag(mButton.getVisibility()); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-183411279/src/android/security/cts/BUG_183411279/ |
D | OverlayService.java | 35 public Button mButton; field in OverlayService 76 if (mWindowManager != null && mButton != null) { in onDestroy() 77 mWindowManager.removeView(mButton); in onDestroy() 87 mButton = new Button(getApplicationContext()); in showFloatingWindow() 88 mButton.setText(getResources().getString(R.string.tapjacking_text)); in showFloatingWindow() 89 mButton.setTag(mButton.getVisibility()); in showFloatingWindow() 90 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-183963253/src/android/security/cts/BUG_183963253/ |
D | OverlayService.java | 35 public Button mButton; field in OverlayService 76 if (mWindowManager != null && mButton != null) { in onDestroy() 77 mWindowManager.removeView(mButton); in onDestroy() 87 mButton = new Button(getApplicationContext()); in showFloatingWindow() 88 mButton.setText(getResources().getString(R.string.tapjacking_text)); in showFloatingWindow() 89 mButton.setTag(mButton.getVisibility()); in showFloatingWindow() 90 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-183794206/src/android/security/cts/BUG_183794206/ |
D | OverlayService.java | 35 public Button mButton; field in OverlayService 76 if (mWindowManager != null && mButton != null) { in onDestroy() 77 mWindowManager.removeView(mButton); in onDestroy() 87 mButton = new Button(getApplicationContext()); in showFloatingWindow() 88 mButton.setText(getResources().getString(R.string.tapjacking_text)); in showFloatingWindow() 89 mButton.setTag(mButton.getVisibility()); in showFloatingWindow() 90 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-182810085/src/android/security/cts/BUG_182810085/ |
D | OverlayService.java | 35 public Button mButton; field in OverlayService 76 if (mWindowManager != null && mButton != null) { in onDestroy() 77 mWindowManager.removeView(mButton); in onDestroy() 87 mButton = new Button(getApplicationContext()); in showFloatingWindow() 88 mButton.setText(getResources().getString(R.string.tapjacking_text)); in showFloatingWindow() 89 mButton.setTag(mButton.getVisibility()); in showFloatingWindow() 90 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-182808318/src/android/security/cts/BUG_182808318/ |
D | OverlayService.java | 35 public Button mButton; field in OverlayService 76 if (mWindowManager != null && mButton != null) { in onDestroy() 77 mWindowManager.removeView(mButton); in onDestroy() 87 mButton = new Button(getApplicationContext()); in showFloatingWindow() 88 mButton.setText(getResources().getString(R.string.tapjacking_text)); in showFloatingWindow() 89 mButton.setTag(mButton.getVisibility()); in showFloatingWindow() 90 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-182282630/src/android/security/cts/BUG_182282630/ |
D | OverlayService.java | 35 public Button mButton; field in OverlayService 76 if (mWindowManager != null && mButton != null) { in onDestroy() 77 mWindowManager.removeView(mButton); in onDestroy() 87 mButton = new Button(getApplicationContext()); in showFloatingWindow() 88 mButton.setText(getResources().getString(R.string.tapjacking_text)); in showFloatingWindow() 89 mButton.setTag(mButton.getVisibility()); in showFloatingWindow() 90 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-183613671/src/android/security/cts/BUG_183613671/ |
D | OverlayService.java | 35 public Button mButton; field in OverlayService 76 if (mWindowManager != null && mButton != null) { in onDestroy() 77 mWindowManager.removeView(mButton); in onDestroy() 87 mButton = new Button(getApplicationContext()); in showFloatingWindow() 88 mButton.setText(getResources().getString(R.string.tapjacking_text)); in showFloatingWindow() 89 mButton.setTag(mButton.getVisibility()); in showFloatingWindow() 90 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-183411210/src/android/security/cts/BUG_183411210/ |
D | OverlayService.java | 35 public Button mButton; field in OverlayService 76 if (mWindowManager != null && mButton != null) { in onDestroy() 77 mWindowManager.removeView(mButton); in onDestroy() 87 mButton = new Button(getApplicationContext()); in showFloatingWindow() 88 mButton.setText(getResources().getString(R.string.tapjacking_text)); in showFloatingWindow() 89 mButton.setTag(mButton.getVisibility()); in showFloatingWindow() 90 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0586/src/android/security/cts/CVE_2021_0586/ |
D | PocService.java | 36 public static Button mButton; field in PocService 78 if (mWindowManager != null && mButton != null) { in onDestroy() 79 mWindowManager.removeView(mButton); in onDestroy() 86 mButton = new Button(getApplicationContext()); in showFloatingWindow() 87 mButton.setText(getResources().getString(R.string.overlay_button)); in showFloatingWindow() 88 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow() 95 mButton.setTag(mButton.getVisibility()); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-183410508/src/android/security/cts/BUG_183410508/ |
D | OverlayService.java | 35 public Button mButton; field in OverlayService 76 if (mWindowManager != null && mButton != null) { in onDestroy() 77 mWindowManager.removeView(mButton); in onDestroy() 87 mButton = new Button(getApplicationContext()); in showFloatingWindow() 88 mButton.setText(getResources().getString(R.string.tapjacking_text)); in showFloatingWindow() 89 mButton.setTag(mButton.getVisibility()); in showFloatingWindow() 90 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/TestOverlayRequestManageCredentials/src/android/security/cts/overlay/RequestManageCredentials/ |
D | PocService.java | 30 private Button mButton; field in PocService 56 mButton = new Button(this); in onStartCommand() 57 mButton.setText(getString(R.string.overlayBtnTxt)); in onStartCommand() 58 mWindowManager.addView(mButton, layoutParams); in onStartCommand() 59 mButton.setTag(mButton.getVisibility()); in onStartCommand() 78 mWindowManager.removeView(mButton); in onDestroy()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0315/src/android/security/cts/CVE_2021_0315/ |
D | PocService.java | 33 Button mButton; field in PocService 61 mButton = new Button(this); in onCreate() 62 mButton.setText(getString(R.string.overlayButtonText)); in onCreate() 63 mWindowManager.addView(mButton, mLayoutParams); in onCreate() 73 if (mWindowManager != null && mButton != null) { in onDestroy() 74 mWindowManager.removeView(mButton); in onDestroy()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0487/src/android/security/cts/CVE_2021_0487/ |
D | PocService.java | 33 private Button mButton; field in PocService 88 mWindowManager.removeView(mButton); in onDestroy() 96 mButton = new Button(this); in showFloatingWindow() 97 mButton.setText(getString(R.string.overlayButtonText)); in showFloatingWindow() 98 mWindowManager.addView(mButton, mLayoutParams); in showFloatingWindow() 99 mButton.setTag(mButton.getVisibility()); in showFloatingWindow()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20501/src/android/security/cts/CVE_2022_20501/ |
D | PocService.java | 31 private Button mButton; field in PocService 52 mButton = new Button(this); in onCreate() 53 mButton.setText(getString(R.string.overlayButtonText)); in onCreate() 54 mWindowManager.addView(mButton, layoutParams); in onCreate() 69 mWindowManager.removeView(mButton); in onDestroy()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20913/src/android/security/cts/CVE_2023_20913/ |
D | PocService.java | 33 private Button mButton; field in PocService 57 mButton = new Button(this); in onCreate() 58 mButton.setText(getString(R.string.textOverlayButton)); in onCreate() 59 mWindowManager.addView(mButton, layoutParams); in onCreate() 74 mWindowManager.removeView(mButton); in onDestroy()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0954/src/android/security/cts/CVE_2021_0954/ |
D | PocService.java | 32 Button mButton; field in PocService 68 mButton = new Button(this); in onCreate() 69 mButton.setText(getString(R.string.overlayButtonText)); in onCreate() 70 mWindowManager.addView(mButton, layoutParams); in onCreate() 86 if (mWindowManager != null && mButton != null) { in onDestroy() 87 mWindowManager.removeView(mButton); in onDestroy()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | CtsVerifierInCallUi.java | 35 Button mButton; field in CtsVerifierInCallUi 54 mButton = view.findViewById(R.id.telecom_default_dialer_end_button); in onCreate() 55 if (mButton == null) { in onCreate() 61 mButton.setOnClickListener(v -> { in onCreate()
|
/cts/tests/tests/packageinstaller/contentprovider/src/android/packageinstaller/contentprovider/cts/ |
D | ContentProviderAppVisibilityTestsBase.kt | 44 private var mButton: UiObject2? = null variable in android.packageinstaller.contentprovider.cts.ContentProviderAppVisibilityTestsBase 95 mButton = mUiDevice.findObject(By.text("OK")) in runTest() 121 if (mDialog != null && mButton != null && mButton!!.isEnabled) { in assertErrorDialogVisible() 122 mButton!!.click() in assertErrorDialogVisible() 129 if (mDialog != null || mButton != null) { in assertErrorDialogNotVisible()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0963/src/android/security/cts/CVE_2021_0963/ |
D | PocService.java | 33 Button mButton; field in PocService 67 mButton = new Button(context); in onStartCommand() 68 mButton.setText(context.getString(R.string.txtOverlayBtn)); in onStartCommand() 69 mWindowManager.addView(mButton, mLayoutParams); in onStartCommand() 80 mWindowManager.removeView(mButton); in onDestroy()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | LayoutAnimationActivity.java | 28 Button mButton; field in LayoutAnimationActivity 34 mButton = (Button) findViewById(R.id.button1); in onCreate() 36 mButton.setOnClickListener(new OnClickListener(){ in onCreate()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TransformationMethodTest.java | 64 private Button mButton; field in TransformationMethodTest 86 mButton = new Button(mActivity); in setup() 87 mButton.setFocusableInTouchMode(true); in setup() 92 layout.addView(mButton, new LayoutParams(LayoutParams.MATCH_PARENT, in setup() 116 mActivityRule.runOnUiThread(() -> mButton.requestFocus()); in testOnFocusChanged()
|