Home
last modified time | relevance | path

Searched refs:debugApp (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DWaitForDebuggerPreferenceControllerTest.java80 final String debugApp = "foobar"; in onPreferenceChange_settingEnabledFoobarApp_waitForDebuggerShouldBeOn() local
81 Settings.Global.putString(mContentResolver, Settings.Global.DEBUG_APP, debugApp); in onPreferenceChange_settingEnabledFoobarApp_waitForDebuggerShouldBeOn()
86 .setDebugApp(debugApp, true /* waitForDebugger */, true /* persistent */); in onPreferenceChange_settingEnabledFoobarApp_waitForDebuggerShouldBeOn()
92 final String debugApp = "foobar"; in onPreferenceChange_settingDisabledFoobarApp_waitForDebuggerShouldBeOff() local
93 Settings.Global.putString(mContentResolver, Settings.Global.DEBUG_APP, debugApp); in onPreferenceChange_settingDisabledFoobarApp_waitForDebuggerShouldBeOff()
97 .setDebugApp(debugApp, false /* waitForDebugger */, true /* persistent */); in onPreferenceChange_settingDisabledFoobarApp_waitForDebuggerShouldBeOff()
102 final String debugApp = null; in updateState_settingEnabledNullDebugApp_preferenceShouldBeCheckedAndDisabled() local
103 Settings.Global.putString(mContentResolver, Settings.Global.DEBUG_APP, debugApp); in updateState_settingEnabledNullDebugApp_preferenceShouldBeCheckedAndDisabled()
114 final String debugApp = "foobar"; in updateState_settingEnabledFoobarApp_preferenceShouldBeCheckedAndDisabled() local
115 Settings.Global.putString(mContentResolver, Settings.Global.DEBUG_APP, debugApp); in updateState_settingEnabledFoobarApp_preferenceShouldBeCheckedAndDisabled()
[all …]
DSelectDebugAppPreferenceControllerTest.java89 final String debugApp = "foobar"; in updateState_foobarAppSelected_shouldUpdateSummaryWithDebugAppLabel() local
91 Settings.Global.putString(contentResolver, Settings.Global.DEBUG_APP, debugApp); in updateState_foobarAppSelected_shouldUpdateSummaryWithDebugAppLabel()
95 mContext.getString(com.android.settingslib.R.string.debug_app_set, debugApp)); in updateState_foobarAppSelected_shouldUpdateSummaryWithDebugAppLabel()
100 final String debugApp = null; in updateState_noAppSelected_shouldUpdateSummaryWithNoAppSelected() local
102 Settings.Global.putString(contentResolver, Settings.Global.DEBUG_APP, debugApp); in updateState_noAppSelected_shouldUpdateSummaryWithNoAppSelected()
/packages/apps/Settings/src/com/android/settings/development/
DSelectDebugAppPreferenceController.java68 final String debugApp = Settings.Global.getString( in handlePreferenceTreeClick() local
70 args.putString(DevelopmentAppPicker.EXTRA_SELECTING_APP, debugApp); in handlePreferenceTreeClick()
115 final String debugApp = Settings.Global.getString( in updatePreferenceSummary() local
117 if (debugApp != null && debugApp.length() > 0) { in updatePreferenceSummary()
120 getAppLabel(debugApp))); in updatePreferenceSummary()
127 private String getAppLabel(String debugApp) { in getAppLabel() argument
129 final ApplicationInfo ai = mPackageManager.getApplicationInfo(debugApp, in getAppLabel()
132 return lab != null ? lab.toString() : debugApp; in getAppLabel()
134 return debugApp; in getAppLabel()
DWaitForDebuggerPreferenceController.java60 final String debugApp = Settings.Global.getString( in onPreferenceChange() local
62 writeDebuggerAppOptions(debugApp, debuggerEnabled, true /* persistent */); in onPreferenceChange()
81 private void updateState(Preference preference, String debugApp) { in updateState() argument
85 writeDebuggerAppOptions(debugApp, debuggerEnabled, true /* persistent */); in updateState()
87 switchPreference.setEnabled(!TextUtils.isEmpty(debugApp)); in updateState()
DMockLocationAppPreferenceController.java76 final String debugApp = Settings.Global.getString( in handlePreferenceTreeClick() local
78 args.putString(DevelopmentAppPicker.EXTRA_SELECTING_APP, debugApp); in handlePreferenceTreeClick()