Home
last modified time | relevance | path

Searched refs:application (Results 1 – 25 of 125) sorted by relevance

12345

/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DWizardManagerHelperTest.java22 import static org.robolectric.RuntimeEnvironment.application;
299 Settings.Secure.putInt(application.getContentResolver(), Global.DEVICE_PROVISIONED, 1); in testIsUserSetupComplete()
300 Settings.Secure.putInt(application.getContentResolver(), "user_setup_complete", 1); in testIsUserSetupComplete()
301 assertTrue(WizardManagerHelper.isUserSetupComplete(application)); in testIsUserSetupComplete()
303 Settings.Secure.putInt(application.getContentResolver(), "user_setup_complete", 0); in testIsUserSetupComplete()
304 assertFalse(WizardManagerHelper.isUserSetupComplete(application)); in testIsUserSetupComplete()
310 Settings.Secure.putInt(application.getContentResolver(), Secure.DEVICE_PROVISIONED, 1); in testIsUserSetupCompleteCompat()
311 assertTrue(WizardManagerHelper.isUserSetupComplete(application)); in testIsUserSetupCompleteCompat()
313 Settings.Secure.putInt(application.getContentResolver(), Secure.DEVICE_PROVISIONED, 0); in testIsUserSetupCompleteCompat()
314 assertFalse(WizardManagerHelper.isUserSetupComplete(application)); in testIsUserSetupCompleteCompat()
[all …]
DGlifStyleTest.java21 import static org.robolectric.RuntimeEnvironment.application;
51 mContext = new ContextThemeWrapper(application, R.style.SuwThemeGlif_Light); in setUp()
DGlifDimensionTest.java20 import static org.robolectric.RuntimeEnvironment.application;
46 mContext = new ContextThemeWrapper(application, R.style.SuwThemeGlif_Light); in setUp()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DExpandableSwitchItemTest.java25 import static org.robolectric.RuntimeEnvironment.application;
131 LayoutInflater.from(application).inflate(mItem.getLayoutResource(), null); in testDrawableState()
161 ViewGroup root = new FrameLayout(application); in createLayout()
163 ViewGroup content = new FrameLayout(application); in createLayout()
167 TextView titleView = new TextView(application); in createLayout()
171 mSummaryView = new TextView(application); in createLayout()
175 FrameLayout iconContainer = new FrameLayout(application); in createLayout()
179 ImageView iconView = new ImageView(application); in createLayout()
183 SwitchCompat switchView = new SwitchCompat(application); in createLayout()
DSwitchItemTest.java22 import static org.robolectric.RuntimeEnvironment.application;
186 View view = LayoutInflater.from(application).inflate(R.layout.suw_items_switch, null); in testAccessibility()
195 ViewGroup root = new FrameLayout(application); in createLayout()
197 TextView titleView = new TextView(application); in createLayout()
201 TextView summaryView = new TextView(application); in createLayout()
205 FrameLayout iconContainer = new FrameLayout(application); in createLayout()
209 ImageView iconView = new ImageView(application); in createLayout()
213 mSwitch = new SwitchCompat(application); in createLayout()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DFillContentLayoutTest.java20 import static org.robolectric.RuntimeEnvironment.application;
40 application, in testMeasureMinSize()
55 View child = new View(application); in testMeasureChildIsSmallerThanMaxSize()
57 application, in testMeasureChildIsSmallerThanMaxSize()
73 View child = new View(application); in testMeasureChildIsSmallerThanParent()
75 application, in testMeasureChildIsSmallerThanParent()
/frameworks/base/tests/Camera2Tests/SmartCamera/
DREADME.txt20 How to build the application:
22 Otherwise, to build the application for a specific device, lunch to that device
25 and run adb install out/target/.../SmartCamera.apk. The application should
35 How to run the application:
36 On a Nexus 7, open up the application from the launcher, and the camera preview
42 The application tries to take good pictures for you automatically when in the
43 start mode. On stop, the application will capture whatever images are in the
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/
DLinkSpanTest.java20 import static org.robolectric.RuntimeEnvironment.application;
39 final TestContext context = new TestContext(application); in testOnClick()
50 final TextView textView = new TextView(application); in testNonImplementingContext()
61 final TestContext context = new TestContext(application); in testWrappedListener()
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/
DViewModelProviders.java37 private static void initializeFactoryIfNeeded(Application application) { in initializeFactoryIfNeeded() argument
39 sDefaultFactory = new DefaultFactory(application); in initializeFactoryIfNeeded()
123 public DefaultFactory(@NonNull Application application) { in DefaultFactory() argument
124 mApplication = application; in DefaultFactory()
DAndroidViewModel.java30 public AndroidViewModel(Application application) { in AndroidViewModel() argument
31 mApplication = application; in AndroidViewModel()
/frameworks/base/tools/aapt2/link/
DManifestFixer_test.cpp98 <application> in TEST_F()
105 </application> in TEST_F()
197 <application android:name=".MainApplication" /> in TEST_F()
206 xml::Element* application_el = manifest_el->FindChild("", "application"); in TEST_F()
243 <application android:name=".MainApplication" text="hello"> in TEST_F()
246 </application> in TEST_F()
260 xml::Element* applicationEl = manifestEl->FindChild({}, "application"); in TEST_F()
/frameworks/base/tests/AccessoryDisplay/
DREADME15 The sink application uses the UsbDevice APIs to receive connections
19 The sink application decodes encoded video from the source and
30 The source application uses the UsbAccessory APIs to connect
34 The source application uses the DisplayManager APIs to create
37 the application opens a Presentation on the new virtual display
/frameworks/support/lifecycle/extensions/src/androidTest/java/android/arch/lifecycle/viewmodeltest/
DTestViewModel.java25 public TestViewModel(Application application) { in TestViewModel() argument
26 super(application); in TestViewModel()
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt39 application start-up. Additionally, state-based re-compiles done
40 internally by the drivers add an unpredictable element to application
47 program. The management of the cache is handled by the application (or
56 Note that although this extension is written as if the application
60 application that uses EGL if it is supported by the underlying
73 * EGLSetBlobFunc is a pointer to an application-provided function that a
81 * EGLGetBlobFunc is a pointer to an application-provided function that a
106 is slow to compute or collect, the application may specify callback
115 the application. <set> points to a function that inserts a new value into
138 key, a client API implementation can call the application-provided callback
[all …]
/frameworks/base/core/proto/android/service/
Dpackage.proto73 // This component or application is in its default enabled state
76 // This component or application has been explictily enabled, regardless
79 // This component or application has been explicitly disabled, regardless of
82 // The user has explicitly disabled the application, regardless of what it has
85 // This application should be considered, until the point where the user actually
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/template/
DRequireScrollMixinTest.java30 import static org.robolectric.RuntimeEnvironment.application;
67 doReturn(application).when(mTemplateLayout).getContext(); in setUp()
127 final NavigationBar navigationBar = new NavigationBar(application); in testRequireScrollWithNavigationBar()
149 final Button button = new Button(application); in testRequireScrollWithButton()
DScrollViewScrollHandlingDelegateTest.java24 import static org.robolectric.RuntimeEnvironment.application;
54 mScrollView = spy(new BottomScrollView(application)); in setUp()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/
Dbuild.gradle8 // NOTE: Do not place your application dependencies here; they belong
19 apply plugin: 'com.android.application'
/frameworks/base/tools/aapt2/xml/
DXmlActionExecutor_test.cpp38 application_action.Action([&](Element* application) -> bool { in TEST() argument
39 application_el = application; in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingLog.java147 Application application = ActivityThread.currentApplication(); in wtf() local
149 if (Build.IS_DEBUGGABLE && application != null) { in wtf()
150 File f = new File(application.getDataDir(), "falsing-" in wtf()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/util/
DDimensionConsistencyTest.java20 import static org.robolectric.RuntimeEnvironment.application;
48 mContext = new ContextThemeWrapper(application, R.style.SuwThemeGlif_Light); in setUp()
/frameworks/base/wifi/tests/assets/hsr1/
DHSR1ProfileWithCACert.conf6 Content-Type: application/x-passpoint-profile; charset=UTF-8
50 Content-Type: application/x-x509-ca-cert
/frameworks/opt/setupwizard/library/recyclerview/test/robotest/src/com/android/setupwizardlib/template/
DRecyclerViewScrollHandlingDelegateTest.java25 import static org.robolectric.RuntimeEnvironment.application;
56 mRecyclerView = spy(new RecyclerView(application)); in setUp()
/frameworks/base/test-runner/src/android/test/
DServiceTestCase.java307 public void setApplication(Application application) { in setApplication() argument
308 mApplication = application; in setApplication()
/frameworks/support/room/integration-tests/testapp/src/main/java/android/arch/persistence/room/integration/testapp/
DCustomerViewModel.java41 public CustomerViewModel(Application application) { in CustomerViewModel() argument
42 super(application); in CustomerViewModel()

12345