/frameworks/base/tools/aapt2/link/ |
D | ManifestFixer_test.cpp | 101 <application> in TEST_F() 108 </application> in TEST_F() 204 <application android:name=".MainApplication" /> in TEST_F() 213 xml::Element* application_el = manifest_el->FindChild("", "application"); in TEST_F() 251 <application android:name=".MainApplication" text="hello"> in TEST_F() 254 </application> in TEST_F() 275 xml::Element* application_el = manifest_el->FindChild({}, "application"); in TEST_F() 620 <application> 621 </application> 627 <application android:debuggable="false"> [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/CocoaPods/iOSCocoaPodsTester/iOSCocoaPodsTester/ |
D | AppDelegate.m | 40 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)laun… 41 // Override point for customization after application launch. 45 - (void)applicationWillResignActive:(UIApplication *)application { 46 …application is about to move from active to inactive state. This can occur for certain types of te… 50 - (void)applicationDidEnterBackground:(UIApplication *)application { 51 … user data, invalidate timers, and store enough application state information to restore your appl… 52 …// If your application supports background execution, this method is called instead of application… 55 - (void)applicationWillEnterForeground:(UIApplication *)application { 59 - (void)applicationDidBecomeActive:(UIApplication *)application { 60 …tasks that were paused (or not yet started) while the application was inactive. If the application… [all …]
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/ |
D | PartnerConfigHelperTest.java | 21 import static org.robolectric.RuntimeEnvironment.application; 72 PartnerConfigHelper helper = PartnerConfigHelper.get(application); in getDimension_withWrongConfigType_shouldThrowException() 74 helper.getDimension(application, TEST_COLOR_RESOURCE_NAME); in getDimension_withWrongConfigType_shouldThrowException() 79 PartnerConfigHelper helper = PartnerConfigHelper.get(application); in getDimension_shouldReturnExpectedDimension() 82 float result = helper.getDimension(application, TEST_DIMENSION_RESOURCE_NAME); in getDimension_shouldReturnExpectedDimension() 91 PartnerConfigHelper helper = PartnerConfigHelper.get(application); in getColor_shouldReturnExpectedColor() 94 int result = helper.getColor(application, TEST_COLOR_RESOURCE_NAME); in getColor_shouldReturnExpectedColor() 103 PartnerConfigHelper helper = PartnerConfigHelper.get(application); in getString_shouldReturnExpectedString() 106 String result = helper.getString(application, TEST_STRING_RESOURCE_NAME); in getString_shouldReturnExpectedString() 124 application in prepareFakeData()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | PartnerTest.java | 20 import static org.robolectric.RuntimeEnvironment.application; 61 Partner partner = Partner.get(application); in get_withPartnerPackage_shouldReturnNonNull() 68 Partner partner = Partner.get(application); in get_noPartnerPackage_shouldReturnNull() 83 Partner partner = Partner.get(application); in get_nonSystemPartnerPackage_shouldIgnoreAndReturnNull() 93 ResourceEntry entry = Partner.getResourceEntry(application, R.integer.suwTransitionDuration); in getResourceEntry_hasOverlay_shouldReturnOverlayValue() 105 final int color = Partner.getColor(application, R.color.suw_color_accent_dark); in getColor_partnerValuePresent_shouldReturnPartnerValue() 115 final CharSequence partnerText = Partner.getText(application, R.string.suw_next_button_label); in getText_partnerValuePresent_shouldReturnPartnerValue() 123 ResourceEntry entry = Partner.getResourceEntry(application, R.color.suw_color_accent_dark); in getResourceEntry_partnerValueNotPresent_shouldReturnDefault() 133 ResourceEntry entry = Partner.getResourceEntry(application, R.color.suw_color_accent_dark); in getResourceEntry_directBootUnawareNoValueDefined_shouldReturnDefaultValue() 175 shadowOf(application.getPackageManager()) in injectResources()
|
D | WizardManagerHelperTest.java | 21 import static org.robolectric.RuntimeEnvironment.application; 320 Settings.Global.putInt(application.getContentResolver(), Global.DEVICE_PROVISIONED, 1); in testIsUserSetupComplete() 321 Settings.Secure.putInt(application.getContentResolver(), "user_setup_complete", 1); in testIsUserSetupComplete() 322 assertThat(WizardManagerHelper.isUserSetupComplete(application)).isTrue(); in testIsUserSetupComplete() 324 Settings.Secure.putInt(application.getContentResolver(), "user_setup_complete", 0); in testIsUserSetupComplete() 325 assertThat(WizardManagerHelper.isUserSetupComplete(application)).isFalse(); in testIsUserSetupComplete() 331 Settings.Secure.putInt(application.getContentResolver(), Secure.DEVICE_PROVISIONED, 1); in testIsUserSetupCompleteCompat() 332 assertThat(WizardManagerHelper.isUserSetupComplete(application)).isTrue(); in testIsUserSetupCompleteCompat() 334 Settings.Secure.putInt(application.getContentResolver(), Secure.DEVICE_PROVISIONED, 0); in testIsUserSetupCompleteCompat() 335 assertThat(WizardManagerHelper.isUserSetupComplete(application)).isFalse(); in testIsUserSetupCompleteCompat() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
D | TileTest.java | 37 mContext = RuntimeEnvironment.application; in setUp() 75 assertThat(tile.getIcon(RuntimeEnvironment.application)).isNull(); in getIcon_noContextOrMetadata_returnNull() 82 assertThat(mTile.getIcon(RuntimeEnvironment.application)).isNull(); in getIcon_providedByUri_returnNull() 89 assertThat(mTile.getIcon(RuntimeEnvironment.application).getResId()) in getIcon_hasIconMetadata_returnIcon() 97 assertThat(mTile.getIcon(RuntimeEnvironment.application).getResId()) in getIcon_noIconMetadata_returnActivityIcon() 106 assertThat(tile.isIconTintable(RuntimeEnvironment.application)).isFalse(); in isIconTintable_hasMetadata_shouldReturnIconTintableMetadata() 109 assertThat(tile.isIconTintable(RuntimeEnvironment.application)).isTrue(); in isIconTintable_hasMetadata_shouldReturnIconTintableMetadata() 116 assertThat(tile.isIconTintable(RuntimeEnvironment.application)).isFalse(); in isIconTintable_noIcon_shouldReturnFalse() 124 assertThat(tile.isIconTintable(RuntimeEnvironment.application)).isFalse(); in isIconTintable_noTintableMetadata_shouldReturnFalse() 164 tile.getTitle(RuntimeEnvironment.application); in getTitle_shouldEnsureMetadataNotStale() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/ |
D | SimStatusImeiInfoPreferenceControllerTest.java | 46 RuntimeEnvironment.application) { in setUp() 57 extract(RuntimeEnvironment.application.getSystemService(UserManager.class)); in testIsAvailable_isAdminAndHasMobile_shouldReturnTrue() 60 extract(RuntimeEnvironment.application.getSystemService(ConnectivityManager.class)); in testIsAvailable_isAdminAndHasMobile_shouldReturnTrue() 69 extract(RuntimeEnvironment.application.getSystemService(UserManager.class)); in testIsAvailable_isAdminButNoMobile_shouldReturnFalse() 72 extract(RuntimeEnvironment.application.getSystemService(ConnectivityManager.class)); in testIsAvailable_isAdminButNoMobile_shouldReturnFalse() 81 extract(RuntimeEnvironment.application.getSystemService(UserManager.class)); in testIsAvailable_isNotAdmin_shouldReturnFalse()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/ |
D | FillContentLayoutTest.java | 20 import static org.robolectric.RuntimeEnvironment.application; 38 application, in testMeasureMinSize() 53 View child = new View(application); in testMeasureChildIsSmallerThanMaxSize() 56 application, in testMeasureChildIsSmallerThanMaxSize() 72 View child = new View(application); in testMeasureChildIsSmallerThanParent() 75 application, in testMeasureChildIsSmallerThanParent()
|
D | RichTextViewTest.java | 25 import static org.robolectric.RuntimeEnvironment.application; 55 RichTextView textView = new RichTextView(application); in testLinkAnnotation() 80 RichTextView textView = new RichTextView(application); in testOnLinkClickListener() 102 TestContext context = new TestContext(application); in testLegacyContextOnClickListener() 120 RichTextView textView = new RichTextView(application); in onTouchEvent_clickOnLinks_shouldReturnTrue() 138 RichTextView textView = new RichTextView(application); in onTouchEvent_clickOutsideLinks_shouldReturnFalse() 156 RichTextView textView = new RichTextView(application); in testTextStyle() 176 RichTextView view = new RichTextView(application); in testTextContainingLinksAreFocusable() 185 RichTextView textView = new RichTextView(application); in testTextContainingNoLinksAreNotFocusable() 196 RichTextView textView = new RichTextView(application); in testRichTextViewFocusChangesWithTextChange()
|
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/ |
D | SwitchItemTest.java | 23 import static org.robolectric.RuntimeEnvironment.application; 53 LayoutInflater inflater = LayoutInflater.from(application); in defaultLayout_baselineAligned_shouldBeFalse() 62 LayoutInflater inflater = LayoutInflater.from(application); in verboseLayout_clipPadding_shouldBeFalse() 65 application, in verboseLayout_clipPadding_shouldBeFalse() 211 View view = LayoutInflater.from(application).inflate(R.layout.suw_items_switch, null); in testAccessibility() 220 ViewGroup root = new FrameLayout(application); in createLayout() 222 TextView titleView = new TextView(application); in createLayout() 226 TextView summaryView = new TextView(application); in createLayout() 230 FrameLayout iconContainer = new FrameLayout(application); in createLayout() 234 ImageView iconView = new ImageView(application); in createLayout() [all …]
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/ |
D | LinkSpanTest.java | 21 import static org.robolectric.RuntimeEnvironment.application; 38 final TestContext context = new TestContext(application); in onClick_shouldCallListenerOnContext() 51 final TextView textView = new TextView(application); in onClick_contextDoesNotImplementOnClickListener_shouldBeNoOp() 62 final TestContext context = new TestContext(application); in onClick_contextWrapsOnClickListener_shouldCallWrappedListener() 75 final TestContext context = new TestContext(application); in onClick_shouldClearSelection()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/ |
D | README.txt | 20 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/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/iOSTestHarness/ |
D | AppDelegate.m | 11 - (BOOL)application:(UIApplication *)application 13 #pragma unused (application, launchOptions)
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | BackupManagerServiceTestUtils.java | 112 Application application, in setUpBackupManagerServiceBasics() argument 119 when(backupManagerService.getContext()).thenReturn(application); in setUpBackupManagerServiceBasics() 138 public static void setUpBinderCallerAndApplicationAsSystem(Application application) { in setUpBinderCallerAndApplicationAsSystem() argument 143 ShadowApplication shadowApplication = shadowOf(application); in setUpBinderCallerAndApplicationAsSystem() 164 public static PowerManager.WakeLock createBackupWakeLock(Application application) { in createBackupWakeLock() argument 166 (PowerManager) application.getSystemService(Context.POWER_SERVICE); in createBackupWakeLock()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 589 sp<FakeApplicationHandle> application = new FakeApplicationHandle(); in TEST_F() local 590 sp<FakeWindowHandle> window = new FakeWindowHandle(application, mDispatcher, "Fake Window", in TEST_F() 607 sp<FakeApplicationHandle> application = new FakeApplicationHandle(); in TEST_F() local 608 sp<FakeWindowHandle> windowTop = new FakeWindowHandle(application, mDispatcher, "Top", in TEST_F() 610 sp<FakeWindowHandle> windowSecond = new FakeWindowHandle(application, mDispatcher, "Second", in TEST_F() 628 sp<FakeApplicationHandle> application = new FakeApplicationHandle(); in TEST_F() local 629 sp<FakeWindowHandle> windowTop = new FakeWindowHandle(application, mDispatcher, "Top", in TEST_F() 631 sp<FakeWindowHandle> windowSecond = new FakeWindowHandle(application, mDispatcher, "Second", in TEST_F() 635 mDispatcher->setFocusedApplication(ADISPLAY_ID_DEFAULT, application); in TEST_F() 653 sp<FakeApplicationHandle> application = new FakeApplicationHandle(); in TEST_F() local [all …]
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/template/ |
D | ScrollViewScrollHandlingDelegateTest.java | 21 import static org.robolectric.RuntimeEnvironment.application; 46 scrollView = new BottomScrollView(application); in setUp() 47 View childView = new View(application); in setUp()
|
D | RequireScrollMixinTest.java | 27 import static org.robolectric.RuntimeEnvironment.application; 58 TemplateLayout templateLayout = new GlifLayout(application); in setUp() 121 final NavigationBar navigationBar = new NavigationBar(application); in testRequireScrollWithNavigationBar() 147 final Button button = new Button(application); in testRequireScrollWithButton()
|
/frameworks/base/tests/AccessoryDisplay/ |
D | README | 15 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/base/test-mock/src/android/test/mock/ |
D | MockService.java | 36 Application application) { in attachForTesting() argument 42 application, in attachForTesting()
|
/frameworks/native/opengl/specs/ |
D | EGL_ANDROID_blob_cache.txt | 39 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/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/util/ |
D | CarDrivingStateMonitorTest.java | 26 import static org.robolectric.RuntimeEnvironment.application; 67 mCarDrivingStateMonitor = CarDrivingStateMonitor.get(application); in setupCarState() 68 mShadowApplication = Shadows.shadowOf(application); in setupCarState() 74 CarDrivingStateMonitor.reset(application); in resetCarState()
|
D | CarWizardManagerHelperTest.java | 165 Context context = RuntimeEnvironment.application; in testIsUserSetupCompleteTrue() 176 Context context = RuntimeEnvironment.application; in testIsUserSetupCompleteFalse() 187 Context context = RuntimeEnvironment.application; in testIsDeviceProvisionedTrue() 198 Context context = RuntimeEnvironment.application; in testIsDeviceProvisionedFalse()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/ |
D | ExternalResources.java | 19 import static org.robolectric.RuntimeEnvironment.application; 50 application.getPackageManager().getPackageInfo(packageInfo.packageName, 0); in injectExternalResources() 53 shadowOf(application.getPackageManager()).addPackage(packageInfo); in injectExternalResources() 69 android.content.res.Resources res = application.getResources(); in forPackageName()
|
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/ |
D | build.gradle | 9 // NOTE: Do not place your application dependencies here; they belong 21 apply plugin: 'com.android.application'
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/gesture/ |
D | ConsecutiveTapsGestureDetectorTest.java | 21 import static org.robolectric.RuntimeEnvironment.application; 49 View view = new View(application); in setUp() 54 slop = ViewConfiguration.get(application).getScaledDoubleTapSlop(); in setUp()
|