/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioFrequencyActivity.java | 17 package com.android.cts.verifier.audio; 19 import com.android.cts.verifier.PassFailButtons; 20 import com.android.cts.verifier.R; 21 import com.android.cts.verifier.audio.wavelib.*; 22 import com.android.compatibility.common.util.ReportLog; 23 import com.android.compatibility.common.util.ResultType; 24 import com.android.compatibility.common.util.ResultUnit; 26 import android.app.AlertDialog; 27 import android.content.Context; 28 import android.media.AudioDeviceCallback; [all …]
|
/cts/suite/audio_quality/lib/include/audio/ |
D | RemoteAudio.h | 40 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/theme/src/android/theme/cts/ |
D | DeviceDefaultTest.java | 17 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.platform.test.annotations.Presubmit; 25 import android.test.ActivityInstrumentationTestCase2; 34 assertActionBar(android.R.style.Theme_DeviceDefault); in testGetActionBar_DeviceDefault() 38 assertNoActionBar(android.R.style.Theme_DeviceDefault_Dialog); in testGetActionBar_DeviceDefault_Dialog() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | SyncStorageEngineTest.java | 17 package android.content.cts; 19 import android.accounts.Account; 20 import android.content.ComponentName; 21 import android.content.ContentResolver; 22 import android.content.Context; 23 import android.content.ContextWrapper; 24 import android.content.Intent; 25 import android.content.PeriodicSync; 26 import android.content.res.Resources; 27 import android.content.SyncStatusInfo; [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerDrmTest.java | 16 package android.media.cts; 18 import android.media.cts.R; 20 import android.content.Context; 21 import android.content.pm.PackageManager; 22 import android.content.res.AssetFileDescriptor; 23 import android.graphics.Rect; 24 import android.hardware.Camera; 25 import android.media.AudioManager; 26 import android.media.MediaCodec; 27 import android.media.MediaDataSource; [all …]
|
/cts/suite/audio_quality/lib/include/task/ |
D | TaskCase.h | 41 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/text/src/android/text/method/cts/ |
D | KeyListenerCtsActivity.java | 17 package android.text.method.cts; 19 import android.app.Activity; 20 import android.os.Bundle; 21 import android.text.cts.R; 22 import android.text.method.BaseKeyListener; 23 import android.text.method.DateKeyListener; 24 import android.text.method.DateTimeKeyListener; 25 import android.text.method.DigitsKeyListener; 26 import android.text.method.MultiTapKeyListener; 27 import android.text.method.NumberKeyListener; [all …]
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | ServicePermissionTest.java | 17 package android.permission.cts; 19 import android.content.pm.PackageInfo; 20 import android.content.pm.PackageManager; 21 import android.test.AndroidTestCase; 38 android.Manifest.permission.ACCOUNT_MANAGER, 39 android.Manifest.permission.BIND_ACCESSIBILITY_SERVICE, 40 android.Manifest.permission.BIND_AUTOFILL_SERVICE, 41 android.Manifest.permission.BIND_CHOOSER_TARGET_SERVICE, 42 android.Manifest.permission.BIND_CONDITION_PROVIDER_SERVICE, 44 android.Manifest.permission.BIND_DREAM_SERVICE, [all …]
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
D | EphemeralService.java | 17 package com.android.cts.ephemeralapp1; 19 import android.app.Service; 20 import android.content.Intent; 21 import android.content.pm.PackageInfo; 22 import android.content.pm.PackageManager.NameNotFoundException; 23 import android.os.Binder; 24 import android.os.IBinder; 25 import android.os.IInterface; 26 import android.os.Parcel; 27 import android.os.RemoteException; [all …]
|
D | EphemeralResult.java | 17 package com.android.cts.ephemeralapp1; 19 import android.app.Activity; 20 import android.app.SearchManager; 21 import android.content.Intent; 22 import android.content.pm.PackageInfo; 23 import android.content.pm.ResolveInfo; 24 import android.content.pm.PackageManager.NameNotFoundException; 25 import android.net.Uri; 26 import android.os.Bundle; 27 import android.provider.SearchRecentSuggestions; [all …]
|
D | EphemeralActivity.java | 17 package com.android.cts.ephemeralapp1; 19 import android.app.Activity; 20 import android.app.SearchManager; 21 import android.content.Intent; 22 import android.content.pm.PackageInfo; 23 import android.content.pm.ResolveInfo; 24 import android.content.pm.PackageManager.NameNotFoundException; 25 import android.net.Uri; 26 import android.os.Bundle; 27 import android.provider.SearchRecentSuggestions; [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RenderTarget.java | 16 package android.graphics.cts; 18 import static android.opengl.EGL14.EGL_ALPHA_SIZE; 19 import static android.opengl.EGL14.EGL_BLUE_SIZE; 20 import static android.opengl.EGL14.EGL_CONFIG_CAVEAT; 21 import static android.opengl.EGL14.EGL_CONTEXT_CLIENT_VERSION; 22 import static android.opengl.EGL14.EGL_DEFAULT_DISPLAY; 23 import static android.opengl.EGL14.EGL_DEPTH_SIZE; 24 import static android.opengl.EGL14.EGL_GREEN_SIZE; 25 import static android.opengl.EGL14.EGL_HEIGHT; 26 import static android.opengl.EGL14.EGL_NONE; [all …]
|
D | ColorTest.java | 16 package android.graphics.cts; 18 import static android.support.test.InstrumentationRegistry.getInstrumentation; 23 import android.content.res.Resources; 24 import android.graphics.Color; 25 import android.support.test.filters.SmallTest; 26 import android.support.test.runner.AndroidJUnit4; 27 import android.util.TypedValue; 42 { 0xff000000, android.R.color.background_dark }, in resourceColor() 43 { 0xffffffff, android.R.color.background_light }, in resourceColor() 44 { 0xff000000, android.R.color.black }, in resourceColor() [all …]
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskCase.cpp | 30 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/net/app2/src/com/android/cts/net/hostside/app2/ |
D | MyForegroundService.java | 16 package com.android.cts.net.hostside.app2; 18 import static com.android.cts.net.hostside.app2.Common.TAG; 19 import static com.android.cts.net.hostside.app2.Common.TEST_PKG; 21 import android.R; 22 import android.app.Notification; 23 import android.app.NotificationChannel; 24 import android.app.NotificationManager; 25 import android.app.Service; 26 import android.content.Intent; 27 import android.os.AsyncTask; [all …]
|
D | MyActivity.java | 16 package com.android.cts.net.hostside.app2; 18 import static com.android.cts.net.hostside.app2.Common.ACTION_FINISH_ACTIVITY; 19 import static com.android.cts.net.hostside.app2.Common.TAG; 20 import static com.android.cts.net.hostside.app2.Common.TEST_PKG; 22 import android.app.Activity; 23 import android.content.BroadcastReceiver; 24 import android.content.Context; 25 import android.content.Intent; 26 import android.content.IntentFilter; 27 import android.os.AsyncTask; [all …]
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
D | GeneralDelegateTest.java | 16 package com.android.cts.delegate; 18 import static android.app.admin.DevicePolicyManager.DELEGATION_APP_RESTRICTIONS; 19 import static android.app.admin.DevicePolicyManager.DELEGATION_BLOCK_UNINSTALL; 20 import static android.app.admin.DevicePolicyManager.DELEGATION_CERT_INSTALL; 21 import static android.app.admin.DevicePolicyManager.DELEGATION_PERMISSION_GRANT; 22 import static android.app.admin.DevicePolicyManager.DELEGATION_PACKAGE_ACCESS; 23 import static android.app.admin.DevicePolicyManager.DELEGATION_ENABLE_SYSTEM_APP; 25 import android.app.admin.DevicePolicyManager; 26 import android.content.BroadcastReceiver; 27 import android.content.ComponentName; [all …]
|
/cts/tests/tests/shortcutmanager/throttling/src/android/content/pm/cts/shortcutmanager/throttling/ |
D | InlineReply.java | 16 package android.content.pm.cts.shortcutmanager.throttling; 18 import static android.content.pm.cts.shortcutmanager.common.Constants.INLINE_REPLY_REMOTE_INPUT_CAP… 19 import static android.content.pm.cts.shortcutmanager.common.Constants.INLINE_REPLY_TITLE; 21 import android.app.Notification; 22 import android.app.Notification.Action; 23 import android.app.Notification.Builder; 24 import android.app.NotificationManager; 25 import android.app.PendingIntent; 26 import android.app.RemoteInput; 27 import android.content.BroadcastReceiver; [all …]
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | ThemeDeviceActivity.java | 17 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/framework/base/activitymanager/app/src/android/server/am/ |
D | BroadcastReceiverActivity.java | 17 package android.server.am; 19 import static android.server.am.Components.BroadcastReceiverActivity.ACTION_TRIGGER_BROADCAST; 20 import static android.server.am.Components.BroadcastReceiverActivity.EXTRA_BROADCAST_ORIENTATION; 21 import static android.server.am.Components.BroadcastReceiverActivity.EXTRA_DISMISS_KEYGUARD; 22 import static android.server.am.Components.BroadcastReceiverActivity.EXTRA_DISMISS_KEYGUARD_METHOD; 23 import static android.server.am.Components.BroadcastReceiverActivity.EXTRA_FINISH_BROADCAST; 24 import static android.server.am.Components.BroadcastReceiverActivity.EXTRA_MOVE_BROADCAST_TO_BACK; 25 import static android.view.WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD; 27 import android.app.Activity; 28 import android.app.KeyguardManager; [all …]
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTestCase.java | 17 package android.appwidget.cts; 22 import android.app.Instrumentation; 23 import android.appwidget.AppWidgetProviderInfo; 24 import android.appwidget.cts.provider.FirstAppWidgetProvider; 25 import android.appwidget.cts.provider.SecondAppWidgetProvider; 26 import android.content.ComponentName; 27 import android.content.pm.PackageManager; 28 import android.os.ParcelFileDescriptor; 29 import android.support.test.InstrumentationRegistry; 30 import android.support.test.runner.AndroidJUnit4; [all …]
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp2/src/com/android/cts/ephemeralapp2/ |
D | EphemeralActivity.java | 17 package com.android.cts.ephemeralapp2; 19 import android.app.Activity; 20 import android.app.SearchManager; 21 import android.content.Intent; 22 import android.content.pm.PackageInfo; 23 import android.content.pm.ResolveInfo; 24 import android.content.pm.PackageManager.NameNotFoundException; 25 import android.net.Uri; 26 import android.os.Bundle; 27 import android.provider.SearchRecentSuggestions; [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MyRemotableView.java | 17 package android.widget.cts; 19 import android.content.Context; 20 import android.content.Intent; 21 import android.os.Bundle; 22 import android.util.AttributeSet; 23 import android.widget.RemoteViews; 24 import android.widget.TextView; 47 @android.view.RemotableViewMethod 56 @android.view.RemotableViewMethod 65 @android.view.RemotableViewMethod [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
D | DeviceAdminKeyguardDisabledFeaturesActivity.java | 17 package com.android.cts.verifier.admin; 19 import android.app.admin.DevicePolicyManager; 20 import android.content.ComponentName; 21 import android.content.Context; 22 import android.content.Intent; 23 import android.content.pm.PackageManager; 24 import android.content.pm.ResolveInfo; 25 import android.hardware.fingerprint.FingerprintManager; 26 import android.provider.Settings; 28 import com.android.cts.verifier.ArrayTestListAdapter; [all …]
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | GlTestBase.java | 17 package android.opengl.cts; 19 import android.opengl.EGLConfig; 20 import android.opengl.EGLContext; 21 import android.opengl.EGLDisplay; 22 import android.opengl.EGLSurface; 30 import static android.opengl.EGL14.EGL_HEIGHT; 31 import static android.opengl.EGL14.EGL_NONE; 32 import static android.opengl.EGL14.EGL_NO_CONTEXT; 33 import static android.opengl.EGL14.EGL_NO_DISPLAY; 34 import static android.opengl.EGL14.EGL_NO_SURFACE; [all …]
|