Home
last modified time | relevance | path

Searched refs:android (Results 1 – 25 of 2885) sorted by relevance

12345678910>>...116

/cts/tests/tests/app/src/android/app/cts/
DLifecycleTest.java18 package android.app.cts;
21 import android.app.Activity;
22 import android.app.Dialog;
23 import android.content.ComponentName;
24 import android.content.Context;
25 import android.content.Intent;
26 import android.content.res.Configuration;
27 import android.content.res.Resources.Theme;
28 import android.database.Cursor;
29 import android.graphics.Bitmap;
[all …]
DLaunchTest.java17 package android.app.cts;
19 import android.app.Activity;
20 import android.app.Dialog;
21 import android.content.ComponentName;
22 import android.content.Context;
23 import android.content.Intent;
24 import android.content.res.Resources.Theme;
25 import android.database.Cursor;
26 import android.graphics.Bitmap;
27 import android.graphics.Canvas;
[all …]
DLauncherActivityTest.java17 package android.app.cts;
19 import android.app.Activity;
20 import android.app.Instrumentation;
21 import android.app.LauncherActivity;
22 import android.app.LauncherActivity.ListItem;
23 import android.content.Context;
24 import android.content.Intent;
25 import android.test.InstrumentationTestCase;
26 import android.test.ActivityInstrumentationTestCase2;
27 import android.test.UiThreadTest;
[all …]
/cts/suite/audio_quality/lib/include/audio/
DRemoteAudio.h40 class RemoteAudio: public android::Thread {
48 bool downloadData(const android::String8 name, android::sp<Buffer>& buffer, int& id);
50 int getDataId(const android::String8& name);
57 android::sp<Buffer>& buffer);
61 bool getDeviceInfo(android::String8& data);
76 void sendCommand(android::sp<android::MessageHandler>& command);
79 bool waitForCompletion(android::sp<android::MessageHandler>& command, int timeInMSec);
82 android::sp<android::MessageHandler>& commandHandler);
84 void doStop(android::sp<android::MessageHandler>& commandHandler, AudioProtocol::CommandId id);
86 CommandHandler* toCommandHandler(android::sp<android::MessageHandler>& command) { in toCommandHandler()
[all …]
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionActivity.java17 package android.transition.cts;
19 import android.app.Activity;
20 import android.content.Context;
21 import android.content.Intent;
22 import android.graphics.Canvas;
23 import android.graphics.Paint;
24 import android.graphics.RadialGradient;
25 import android.graphics.Shader;
26 import android.graphics.drawable.ShapeDrawable;
27 import android.graphics.drawable.shapes.OvalShape;
[all …]
/cts/suite/audio_quality/lib/include/task/
DTaskCase.h41 bool getCaseName(android::String8& name) const;
43 bool registerBuffer(const android::String8& name, android::sp<Buffer>& buffer);
45 bool updateBuffer(const android::String8& name, android::sp<Buffer>& buffer);
47 android::sp<Buffer> findBuffer(const android::String8& name);
48 typedef std::pair<android::String8, android::sp<Buffer> > BufferPair;
50 std::list<BufferPair>* findAllBuffers(const android::String8& re);
52 android::sp<RemoteAudio>& getRemoteAudio();
106 bool registerValue(const android::String8& name, Value& val);
107 bool updateValue(const android::String8& name, Value& val);
108 bool findValue(const android::String8& name, Value& val);
[all …]
/cts/tests/tests/assist/testapp/src/android/voiceinteraction/testapp/
DTestApp.java17 package android.assist.testapp;
19 import android.assist.common.Utils;
21 import android.app.Activity;
22 import android.content.Intent;
23 import android.graphics.Bitmap;
24 import android.os.Bundle;
25 import android.util.Log;
26 import android.view.View;
27 import android.view.View.MeasureSpec;
28 import android.view.ViewGroup;
[all …]
DSecureActivity.java17 package android.assist.testapp;
19 import android.assist.common.Utils;
21 import android.app.Activity;
22 import android.content.Intent;
23 import android.os.Bundle;
24 import android.util.Log;
26 import android.view.View;
27 import android.view.ViewTreeObserver;
28 import android.view.ViewTreeObserver.OnGlobalLayoutListener;
29 import android.view.WindowManager;
[all …]
DScreenshotActivity.java16 package android.assist.testapp;
18 import android.assist.common.Utils;
20 import android.app.Activity;
21 import android.content.BroadcastReceiver;
22 import android.content.Context;
23 import android.content.Intent;
24 import android.content.IntentFilter;
25 import android.graphics.Color;
26 import android.os.Bundle;
27 import android.util.Log;
[all …]
/cts/tests/tests/theme/src/android/theme/cts/
DDeviceDefaultTest.java17 package android.theme.cts;
19 import android.app.Activity;
20 import android.content.Context;
21 import android.content.Intent;
22 import android.content.pm.PackageManager;
23 import android.content.res.Configuration;
24 import android.test.ActivityInstrumentationTestCase2;
33 assertActionBar(android.R.style.Theme_DeviceDefault); in testGetActionBar_DeviceDefault()
37 assertNoActionBar(android.R.style.Theme_DeviceDefault_Dialog); in testGetActionBar_DeviceDefault_Dialog()
41 assertNoActionBar(android.R.style.Theme_DeviceDefault_Dialog_MinWidth); in testGetActionBar_DeviceDefault_MinWidth()
[all …]
/cts/tests/expectations/
Dknownfailures.txt5 "android.alarmclock.cts.DismissAlarmTest#testAll",
6 "android.alarmclock.cts.SetAlarmTest#testAll",
7 "android.alarmclock.cts.SnoozeAlarmTest#testAll"
14 "android.app.usage.cts.UsageStatsTest"
21 …"android.accessibilityservice.cts.AccessibilityTextTraversalTest#testActionNextAndPreviousAtGranul…
22 …"android.accessibilityservice.cts.AccessibilityTextTraversalTest#testActionNextAndPreviousAtGranul…
29 "android.calllog.cts.CallLogBackupTest#testSingleCallBackup"
36 "android.dumpsys.cts.DumpsysHostTest#testBatterystatsOutput",
37 "android.dumpsys.cts.DumpsysHostTest#testGfxinfoFramestats"
44 "android.net.cts.SSLCertificateSocketFactoryTest#testCreateSocket",
[all …]
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/
DUnitTests.java16 package com.android.cts.tradefed;
18 import com.android.cts.tradefed.result.CtsXmlResultReporterTest;
19 import com.android.cts.tradefed.result.DeviceInfoResultTest;
20 import com.android.cts.tradefed.result.TestPackageResultTest;
21 import com.android.cts.tradefed.result.TestResultsTest;
22 import com.android.cts.tradefed.result.TestSummaryXmlTest;
23 import com.android.cts.tradefed.result.TestTest;
24 import com.android.cts.tradefed.result.TestLogTest;
25 import com.android.cts.tradefed.testtype.Abi;
26 import com.android.cts.tradefed.testtype.CtsTestTest;
[all …]
/cts/tests/tests/text/src/android/text/method/cts/
DKeyListenerCtsActivity.java17 package android.text.method.cts;
19 import com.android.cts.text.R;
21 import android.app.Activity;
22 import android.os.Bundle;
23 import android.os.SystemClock;
24 import android.text.method.BaseKeyListener;
25 import android.text.method.DateKeyListener;
26 import android.text.method.DateTimeKeyListener;
27 import android.text.method.DigitsKeyListener;
28 import android.text.method.MultiTapKeyListener;
[all …]
/cts/suite/audio_quality/lib/src/task/
DTaskCase.cpp30 static const android::String8 STR_NAME("name");
31 static const android::String8 STR_VERSION("version");
32 static const android::String8 STR_DESCRIPTION("description");
38 const android::String8* list[] = {&STR_NAME, &STR_VERSION, &STR_DESCRIPTION, NULL}; in TaskCase()
47 bool TaskCase::getCaseName(android::String8& name) const in getCaseName()
68 typename std::map<android::String8, T>& map, in registerGeneric()
69 const android::String8& name, T& data) in registerGeneric()
71 typename std::map<android::String8, T>::iterator it; in registerGeneric()
82 template <typename T> bool findGeneric(typename std::map<android::String8, T>& map, in findGeneric()
83 const android::String8& name, T& data) in findGeneric()
[all …]
/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeDeviceActivity.java17 package android.theme.app;
19 import android.app.Activity;
20 import android.content.Intent;
21 import android.os.Build;
22 import android.os.Bundle;
23 import android.theme.app.modifiers.DatePickerModifier;
24 import android.theme.app.modifiers.ProgressBarModifier;
25 import android.theme.app.modifiers.SearchViewModifier;
26 import android.theme.app.modifiers.TimePickerModifier;
27 import android.theme.app.modifiers.ViewCheckedModifier;
[all …]
/cts/tests/tests/assist/src/android/assist/cts/
DDisableContextTest.java17 package android.assist.cts;
19 import android.assist.common.Utils;
21 import android.app.Activity;
22 import android.app.assist.AssistContent;
23 import android.app.assist.AssistStructure;
24 import android.content.BroadcastReceiver;
25 import android.content.ComponentName;
26 import android.content.Context;
27 import android.content.Intent;
28 import android.content.IntentFilter;
[all …]
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp/src/com/android/cts/usepermission/
DUsePermissionTest.java17 package com.android.cts.usepermission;
19 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.assertDirNoAccess;
20 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.assertDirReadWriteAccess;
21 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.assertMediaNoAccess;
22 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.assertMediaReadWriteAcce…
23 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.logCommand;
25 import android.content.pm.PackageManager;
26 import android.os.Environment;
27 import android.support.test.uiautomator.UiDevice;
28 import android.support.test.uiautomator.UiObject;
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DMockPopupWindowCtsActivity.java17 package android.widget.cts;
19 import com.android.cts.widget.R;
21 import android.app.Activity;
22 import android.os.Bundle;
23 import android.widget.PopupWindow;
24 import android.view.View;
25 import android.view.View.OnApplyWindowInsetsListener;
26 import android.view.Window;
27 import android.view.WindowInsets;
DQuickContactBadgeTest.java17 package android.widget.cts;
19 import android.content.ContentUris;
20 import android.content.Context;
21 import android.content.ContextWrapper;
22 import android.content.Intent;
23 import android.net.Uri;
24 import android.os.Bundle;
25 import android.os.UserHandle;
26 import android.provider.ContactsContract;
27 import android.provider.ContactsContract.Contacts;
[all …]
/cts/tests/tests/permission/src/android/permission/cts/
DProviderPermissionTest.java17 package android.permission.cts;
19 import android.content.ContentValues;
20 import android.provider.CallLog;
21 import android.provider.Contacts;
22 import android.provider.Settings;
23 import android.test.AndroidTestCase;
24 import android.test.suitebuilder.annotation.MediumTest;
39 android.Manifest.permission.READ_CONTACTS); in testReadContacts()
49 android.Manifest.permission.WRITE_CONTACTS); in testWriteContacts()
59 android.Manifest.permission.READ_CALL_LOG); in testReadCallLog()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_QuickContactsTest.java17 package android.provider.cts;
19 import android.content.ContentUris;
20 import android.content.Context;
21 import android.content.ContextWrapper;
22 import android.content.Intent;
23 import android.graphics.Rect;
24 import android.net.Uri;
25 import android.os.Bundle;
26 import android.os.UserHandle;
27 import android.provider.Contacts;
[all …]
/cts/suite/audio_quality/test/
DTaskCaseTest.cpp40 android::sp<Buffer> buffer1(new Buffer(4, 4, true)); in TEST_F()
41 android::sp<Buffer> buffer2(new Buffer(4, 4, true)); in TEST_F()
42 android::sp<Buffer> buffer3(new Buffer(4, 4, true)); in TEST_F()
43 android::sp<Buffer> buffer4(new Buffer(4, 4, true)); in TEST_F()
45 const android::String8 BUFFER1("buffer1"); in TEST_F()
46 const android::String8 BUFFER2("buffer2"); in TEST_F()
47 const android::String8 BUFFER3("buffer3"); in TEST_F()
48 const android::String8 BUFFER4("buffer4"); in TEST_F()
54 android::sp<Buffer> buffer1f = mTaskCase->findBuffer(BUFFER1); in TEST_F()
57 const android::String8 NO_SUCH_BUFFER("no_such_buffer"); in TEST_F()
[all …]
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DGenericDeviceInfo.java16 package com.android.compatibility.common.deviceinfo;
18 import android.app.Activity;
19 import android.app.Instrumentation;
20 import android.content.Context;
21 import android.content.Intent;
22 import android.content.pm.FeatureInfo;
23 import android.content.pm.PackageManager;
24 import android.content.res.Configuration;
25 import android.os.Build;
26 import android.os.Bundle;
[all …]
/cts/hostsidetests/appsecurity/test-apps/UsePermissionAppCompat/src/com/android/cts/usepermission/
DUsePermissionCompatTest.java17 package com.android.cts.usepermission;
19 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.assertDirNoAccess;
20 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.assertDirReadWriteAccess;
21 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.assertMediaNoAccess;
22 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.assertMediaReadWriteAcce…
23 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.getAllPackageSpecificPat…
24 import static com.android.cts.externalstorageapp.CommonExternalStorageTest.logCommand;
26 import android.content.Context;
27 import android.content.pm.PackageManager;
28 import android.os.Environment;
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DInfrastructureTests.java16 package android.uirendering.cts.testclasses;
18 import android.graphics.Point;
19 import com.android.cts.uirendering.R;
21 import android.graphics.Canvas;
22 import android.graphics.Color;
23 import android.graphics.Rect;
24 import android.test.suitebuilder.annotation.SmallTest;
25 import android.uirendering.cts.bitmapcomparers.BitmapComparer;
26 import android.uirendering.cts.bitmapcomparers.MSSIMComparer;
27 import android.uirendering.cts.bitmapverifiers.RectVerifier;
[all …]

12345678910>>...116